Problem starting scummvm games from emulationstation
I'm running latest RetroPie via the RetroPie-Install script on Ubuntu. Everything has been working great up until now, so I decided to get ScummVM games working.
I followed the instructions for adding Day of the Tentacle here:
Per the instructions, I have a "Day of the Tentacle.svm" file with "tentacle" inside it.
ScummVM shows up in EmulationStation, however it fails to run properly.
The runcommand.log shows:
$ more runcommand.log Parameters: Executing: bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh "Day of the Tentacle" scummvm: Stray argument 'Day' Usage: scummvm [OPTIONS]... [GAME] Try 'scummvm --help' for more options.
If I select the '+START SCUMMVM' menu item, it loads the gui properly, and I can find Day of the Tentacle via that. However, I would like to be able to launch it directly from emulationstation.
So on a hunch, I renamed "Day of the Tentacle.svm" to "tentacle.svm", and it puts an entry named 'DAY OF THE TENTACLE' in emulationstation ScummVM listing. If I click into that, there is then a 'TENTACLE' selection which launches properly, and directly into the game.
Anyone see this before? Thanks!
Sorry, I should include the relevant part of my es_systems.cfg, in case I'm doing something wrong:
<system> <name>scummvm</name> <fullname>ScummVM</fullname> <path>/home/pi/RetroPie/roms/scummvm</path> <extension>.sh .svm .SH .SVM</extension> <command>/opt/retropie/supplementary/runcommand/runcommand.sh 0 _SYS_ scummvm %ROM%</command> <platform>scummvm</platform> <theme>scummvm</theme> </system>
I think my "workaround" may not have worked. I loaded a game manually in the ScummVM loader, and that created a scummvm.ini entry, which I believe is making that work.
So I've come up with my own solution. I changed /opt/retropie/config/scummvm/emulators.cfg default entry to point to a custom launcher script of my own:
#!/bin/bash game="$1" pushd "/home/pi/RetroPie/roms/scummvm" >/dev/null /opt/retropie/emulators/scummvm/bin/scummvm --fullscreen --joystick=0 --extrapath="/opt/retropie/emulators/scummvm/extra" -p "/home/pi/RetroPie/roms/scummvm/$game.svm" --auto-detect popd >/dev/null
And then I just make sure the scummvm rom directories end in ".svm". This custom script utilizes the --auto-detect flag so that scummvm figures out what game it is. So far in my testing it works.
Obviously this launcher script could use some work, but it's doing the job so far.