Jump to content
LaunchBox Community Forums

Launchbox Integration with SCUMMVM


Recommended Posts

Posted

Did some hands-on testing and learned a few things...

Using -c (scummvm.ini):

  • If you start ScummVM without "scummvm.ini" in the same folder as the exe, it will be created in %AppData%.  And save states etc. will be saved there as well.
  • If you use the -c parameter (or --config= ), regardless of what you set it to, Saves will be saved into the %AppData% folder.  Unless you use the --savepath= parameter as well.  Same with --logfile= and anything else that gets saved to disc.
  • If you start ScummVM with "scummvm.ini" in the same folder as the exe, and no -c parameter, everything gets saved in a "portable" fashion.

 

Using -p:

When launching a game with the -p parameter, ScummVM will see it as a "new game" but still identify it (monkey2) correctly.  But it will then suffix the "new games" id with -1.  And since the scummvm.ini file doesn't contain a specific section for "[monkey2-1]", no custom settings you originally made will load.  This 'suffix thing' is the same with save states.  

If you manually edit the scummvm.ini and copy/paste the [monkey2] section and rename it [monkey2-1], upon launching with -p, ScummVM will again, find a "new game". This time suffixing it with -2.  ...We call this an uphill battle.

 

The Fix:

I tried this, that and the other thing to be able to load the saved game-specific settings and nothing worked.  Except 1.

  • Open ScummVM
  • Select the game you made specific changes to (Monkey Island 2)
  • Click Game Options
  • Make note of the ID (monkey2)
  • Close ScummVM
  • In LaunchBox, edit the game
  • In the Emulation section
    • check the box Use Custom Command-line Parameters
    • In the space below it, put
      • -f monkey2 %noromfile%
    • (if you prefer, you can change -f to --fullscreen.  Same thing.)
  • Click OK to save and close
  • Wash, rinse and repeat for other games you've made custom settings for
  • Play games

 

Final Note:

With that, you can revert the emulators Default Command-Line Parameters to -p %romfile% --auto-detect --fullscreen.  (removing the -c config parameter)

  • Like 1
Posted (edited)
59 minutes ago, JoeViking245 said:

When launching a game with the -p parameter, ScummVM will see it as a "new game" but still identify it (monkey2) correctly.  But it will then suffix the "new games" id with -1.  And since the scummvm.ini file doesn't contain a specific section for "[monkey2-1]", no custom settings you originally made will load.  This 'suffix thing' is the same with save states.  

If you manually edit the scummvm.ini and copy/paste the [monkey2] section and rename it [monkey2-1], upon launching with -p, ScummVM will again, find a "new game". This time suffixing it with -2.  ...We call this an uphill battle.

 That's true, I fell a lot of times in that id-1 hole in the past. The other way for avoiding the "id-1" change and also to the save games I think is to 1st add the games to ScummVM as normal as you importing them (making sure you use the same scummvm.ini file of course) and in addition to that (as I do in my own setup) I use a [id_name].scummvm file (a txt file with the id text inside and changed the extension to .scummvm) "as the rom" files instead of just the game folder, but all that are a bit more... you know... later stuff.
First I'm trying to help setting-up the basis as LaunchBox is intended to do ( *in a portable fashion) and then "build" from there. 😉

Edited by Tsik
  • Like 1
Posted
4 hours ago, Tsik said:

Its ok, just leave everything else for now and lets concentrate just to the steps I show you (I now they are baby steps but trust me on this).

Will wait for confirmation on the above steps and continue with more custom stuff.

Cheers 🙂

Thank you so much for your patience!

I did the steps above. baby steps indeed :)

You can write the rest of the process and i'll follow the instructions, I'm going AFK soon :/ 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...