[Scummvm-tracker] [ScummVM] #10334: LAUNCHER/CONSOLE: Misbehaving/Strange Behaviour when using wrong game ID

Hubert Maier trac at scummvm.org
Sun Nov 26 15:04:44 CET 2017


#10334: LAUNCHER/CONSOLE: Misbehaving/Strange Behaviour when using wrong game ID
--------------------+-----------------------
Reporter:  raziel-  |      Owner:  (none)
    Type:  defect   |     Status:  new
Priority:  normal   |  Component:  --Unset--
Keywords:           |       Game:
--------------------+-----------------------
 ScummVM 2.0.0git (Nov 26 2017 14:31:52)
 Features compiled in: Vorbis FLAC MP3 RGB zLib MPEG2 Theora AAC FreeType2
 JPEG PNG cloud (servers, local)

 I get a strange behaviour which i think might be a bug (but i'm not sure).

 Steps to reproduce: (at least what i did)
 You need some games installed and have a scummvm.ini ready.

 1) Go to your console
 2) Type "scummvm indy3" to start your game, *BUT* make sure that your game
 ID is different, .e.g.

 My (only) entry for Indiana Jones III looks like this

 [indy3-fm]
 description=Indiana Jones and the Last Crusade (FM-TOWNS/English)
 path=Games:GamesVM/Lucas Arts/Indiana Jones/The Last Crusade
 gameid=indy3
 language=en
 platform=fmtowns
 guioptions=sndNoSpeech sndNoMIDI midiTowns noAspect lang_English

 (Yeah, thank you, it *did* cost a little fortune on eBay) :-)

 2) Typing the wrong gameid ("indy3" instead of "indy3-fm"), leads to
 scummvm printing following message in console:
 User picked target 'indy3' (gameid 'indy3')...
   Looking for a plugin supporting this gameid... SCUMM [all games]
   Starting 'Indiana Jones and the Last Crusade'
 WARNING: SCUMM [all games] failed to instantiate engine: Path does not
 exist (target 'indy3', path')!

 Which is true, because i don't have an entry called "indy3" and as such no
 path configured.

 Now comes the weird part.

 4) I get a little window in which it tells me:
 Error running game: Path does not exist

 and after that i'm thrown into the LAUNCHER (which i didn't want in the
 first place)

 5) Now scroll either down to your original game entry and or see instantly
 that scummvm has magically added a new entry to the game's list (in my
 case) called "Indy3" (which is set to default everywhere when looking at
 it with "Edit Game"***).

 Well, i didn't want it to create a nerw entry and i didn't want to end up
 in Launcher again.

 Those are two misbehavings which needs to be fixed imho.

 The new entry is NOT saved btw. If i Quit the Launcher it won't be
 available in scummvm.ini.


 *** The same action leads to a crash in ResidualVM btw, but i'll create a
 bug report there aswell

 AmigaOS4 - PPC -SDL - BE
 gcc (adtools build 5.3.0) 5.3.0

--
Ticket URL: <https://bugs.scummvm.org/ticket/10334>
ScummVM <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list