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
[germansky]
gameid=sky
language=de
path=C:\games\SteelSky\
description=Beneath a Steel Sky w/ German subtitles
[germandott]
gameid=tentacle
path=C:\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).