ScummVM shortcut creator

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
sega dude
Posts: 5
Joined: Mon Apr 06, 2015 11:40 pm

ScummVM shortcut creator

Post by sega dude » Wed Apr 08, 2015 1:32 am

I have created an app for Windows that allows to you easily make desktop shortcuts to your ScummVM games. The app automatically detects your installed ScummVM games, and from there allows you to make desktop shortcuts for them.It also includes a full in app game-id list, so that you can match up your game ids with the game's full title. Any feedback is greatly appreciated.

Should run on Windows XP up. Windows XP users will require .Net Framework 4 if it's not already installed.

Planned features:
- Custom icon support
- Ability to create shortcuts places other than the desktop

Screenshot:
Image

Download

There is also a version for ResidualVM available here.
Last edited by sega dude on Tue Sep 01, 2015 4:06 pm, edited 1 time in total.

User avatar
raina
Posts: 231
Joined: Thu Jan 12, 2006 12:31 pm
Location: Oulu, Finland
Contact:

Post by raina » Wed Apr 08, 2015 5:49 am

Neat. Does it get the list of IDs from ScummVM or is it hardcoded and so automatically requires an update when ScummVM game support expands? One suggestion would be to show the command line that is being generated for the shortcut, especially if you plan to add GUI for more options.

sega dude
Posts: 5
Joined: Mon Apr 06, 2015 11:40 pm

Post by sega dude » Wed Apr 08, 2015 3:39 pm

raina wrote:Does it get the list of IDs from ScummVM or is it hardcoded and so automatically requires an update when ScummVM game support expands?
The Game id list? It gets them from a file that is included with the program.

User avatar
Raziel
ScummVM Porter
Posts: 1012
Joined: Tue Oct 25, 2005 8:27 am
Location: A haunted Castle somewhere in the Bavarian Mountains
Contact:

Post by Raziel » Wed Apr 08, 2015 6:18 pm

sega dude wrote:
raina wrote:Does it get the list of IDs from ScummVM or is it hardcoded and so automatically requires an update when ScummVM game support expands?
The Game id list? It gets them from a file that is included with the program.
You could make life easier for you and just read in the scummvm.ini file, all the used and available game ids are in there.
(Because if no games are installed, why would one want to create shortcuts in the first place?) ;-)

That would save you from keeping your extra file updated (because it would happen automatically with every new ScummVM release) and users would only get prompted for the games they've actually installed.

sega dude
Posts: 5
Joined: Mon Apr 06, 2015 11:40 pm

Post by sega dude » Wed Apr 08, 2015 9:14 pm

Let me clarify. The game ids in the "Game-id" dropdown do come from scummvm.ini in "C:\Users\<Username>\AppData\Roaming\ScummVM". Therefore, it only shows the games the user has installed.

The game ids in the table when you click the "Game ID list" button is from the file I mentioned before. This is only there for reference.

User avatar
LordHoto
ScummVM Developer
Posts: 1030
Joined: Sun Oct 30, 2005 3:58 pm
Location: Germany

Post by LordHoto » Thu Apr 09, 2015 1:05 am

I think it would be helpful to use ScummVM's naming scheme when it comes to game ids versus target ids/names.

For example, take the following excerpt from a config file (borrowed from our README):

Code: Select all

&#91;germansky&#93;
gameid=sky
language=de
path=C&#58;\games\SteelSky\
description=Beneath a Steel Sky w/ German subtitles

&#91;germandott&#93;
gameid=tentacle
path=C&#58;\german\tentacle\
description=German version of DOTT
Here, "germansky" and "germandott" are the target ids/names (they will also appear in the "--list-targets" output of the ScummVM executable). These are typically used, for example, to run games configured in ScummVM through the command line. I guess this is was you call "game-id".

On the other hand. The game id for the target "germansky" is "sky" (i.e. the value of the configuration key "gameid"). On the other hand the game id for target "germandott" is "tentacle". The possible game id values which a version of ScummVM supports/uses can be shown by using "--list-games". Game ids can be used to run games, which are not configured in the ScummVM configuration file, when supplying a path.

Please not that there must be no correlation between the target id/name and the game id at all. The user is free to choose a target id/name he wishes (as long as he does not use characters which are not allowed in the section name of an ini file).

MPinillos
Posts: 2
Joined: Mon Aug 24, 2015 8:35 am

Post by MPinillos » Mon Aug 24, 2015 10:02 am

That's so cool!

Could yo do the same thing with ResidualVM, if you don't mind? The work is done yet, I suposse, because ScummVM and ResidualVM use the same code and interface.


Anyway, thanks for thw work!

sega dude
Posts: 5
Joined: Mon Apr 06, 2015 11:40 pm

Post by sega dude » Mon Aug 24, 2015 12:52 pm

MPinillos wrote:That's so cool!

Could yo do the same thing with ResidualVM, if you don't mind?
I'm sure I can. Unfortunately, my dev machine is out of commission right now, so I won't be able to work on it until I get a new computer. But it shouldn't be too long.

MPinillos
Posts: 2
Joined: Mon Aug 24, 2015 8:35 am

Post by MPinillos » Thu Aug 27, 2015 12:51 am

sega dude wrote:
MPinillos wrote:That's so cool!

Could yo do the same thing with ResidualVM, if you don't mind?
I'm sure I can. Unfortunately, my dev machine is out of commission right now, so I won't be able to work on it until I get a new computer. But it shouldn't be too long.
It would be perfect! Thanks ;)

sega dude
Posts: 5
Joined: Mon Apr 06, 2015 11:40 pm

Post by sega dude » Tue Sep 01, 2015 4:07 pm

The ResidualVM version has been released. You can find the link to it in the original post above.

Post Reply