lr-scummvm + Skyscraper + emulationstation
-
I am confused, how emulationstation works with lr-scummvm. Can someone help me?
I want to start my games directly from the emulationstation gamelist for scummvm, so I appended the suffix .svm to each game like
scummvm/Baphomets Fluch 1.svm/
and added
scummvm/Baphomets Fluch 1.svm/Baphomets Fluch.svm
with containing the shortname
sword1
.I see
Baphomets Fluch 1
in the gamelist and a click starts lr-scummvm, but unfortunately it says Game not found. Also there is no media info available. Skyscraper says:
#1/50 (T1) Pass 1 ---- Game 'Baphomets Fluch 1' not found :( ----
It does not look into the .svm file?!If I remove .svm from the game name, I'll find
Baphomets Fluch 1
in the gamelist in emulationstation but after starting the game is still not found.Can you show me how you setup your games with lr-scummvm, which are also found by Skyscraper and can be run from the emulationstation without going into an subdirectory for each game?
-
@OrcLex said in lr-scummvm + Skyscraper + emulationstation:
Baphomets Fluch 1
Try to use the long names and short names from this page: https://www.scummvm.org/compatibility/
Also the correct way to add the games is this: https://retropie.org.uk/docs/ScummVM/
For example:
scummvm/Broken Sword-The Shadow of the Templars/Broken Sword-The Shadow of the Templars.svm/sword1:sword1
Make sure that you change the emulator from runcommand menu. Also it's not possible to launch the games with the standalone Scummvm with this shortcuts.
As for the Skyscraper, I have good results if I use instead of screenscraper the thegamesdb.
-
@sugarfree
well, I tried this but I still fail. I do not need an addtitional subdirectory for each game so my directory path is now:scummvm/Broken Sword-The Shadow of the Templars.svm/
I renamed the shortname to the complete double shortname with colons
sword1:sword1
without any content, right?
I also tried thegamesdb instead of screenscraper with Skyscaper and had some better and some worse results.
However, I found media and meta information for this game and it is in the scummvm game list and can be started directly.
But it still fails starting with Game not found in scummvm.
I verified the configuration for the command to run: the default emulator for scummvm is lr-scummvm.I'm still confused... any ideas?
The documentation from retropie at https://retropie.org.uk/docs/ScummVM/ only handles the standalone scummvm and seems to be different to lr-scummvm, right? here we have the single shortname inside the complete gamename.svm file:
echo "tentacle" > "/home/pi/RetroPie/roms/scummvm/Day of the Tentacle/Day of the Tentacle.svm"
-
@OrcLex
With "Bathomets Fluch" I also had the problem that the game was not found. From a certain SCUMMVM version, other video files were provided for the cutscenes in this game. My old files no longer worked.
Can you exclude this? -
I just tested Broken Sword with lr-scummvm on RetroPie 4.8.9 on a Pi3B, and the game launched with this :
Game name folder: Broken Sword - The Shadow of the Templars
Game folder content: CLUSTERS MUSIC SMACKSHI SPEECH sword1.svmGame launch also with this:
Game name folder: Broken Sword - The Shadow of the Templars.svm
Game folder content: CLUSTERS MUSIC SMACKSHI SPEECH sword1.svm*I notice bad performance in this emulator. I don't know if this is normal for a Pi3B because I'm only using standalone ScummVM.
-
@sugarfree
Ok, I have in my game folder for Bathomets Fluch different files than you. I do not have CLUSTERS and SMACKSHI. Maybe this is a different version and not supported anymore as @Swampy has mentioned? This confused me because I knew it was working sometime ago, but you're right, the other games seem to run!However, I renamed all the other games to "<Full Title>.svm" and added the empty file <gameid> with double colons and this is working for the rest of the games!
Also Skyscraper now finds all games with the correct shortname/gameid file.Thank you very much!
-
I found this:
Note: Since ScummVM 2.7.0 the folder structure from the original media needs to be preserved. Older versions of ScummVM allowed to move files to the top level folder, while they now need to remain in their respective subdirectories. If your game is no longer detected by ScummVM, you may need to move back the files to their original subdirectories.
https://wiki.scummvm.org/index.php/Broken_Sword_1The game needs
CLUSTERS folder (with *.clu and swordres.rif file) MUSIC folder (Except 2M29.WAV in CD2) SMACKSHI folder SPEECH folder Rename speech.clu on CD1 to speech1.clu Rename speech.clu on CD2 to speech2.clu
I moved the files *.clu and swordres.rif to CLUSTERS and now the game is running again!
But my folder SMACKSHI is empty. Can you list the files you have in that folder? In case these files still exist in my game folder, I would like to move them too.Thanks!
-
The single file launcher for both scummvm variants (native/libretro) can be achieved like this:
- Make a folder with the ScummVM Game Id with the extension, thus
sword1.svm
in theroms/scummvm/
folder. - Put the gamefiles into that folder, and add no
*.svm
in here - Run scummvm from ES, select Add Game in ScummVM, select the folder
sword1.svm
you just created - Remember / note the gameid provided by ScummVM autodetection (maybe
sword1-win-gb
, e.g containing some variants information)
Now, if the game id from autodetect is different than your created game id folder, there are two options to rectify the situation:
-
Either edit the
scummvm.ini
(in/opt/retropie/configs/scummvm
) and change the ini section name from[sword1-win-gb]
to[sword1]
-
Or rename the game folder from
sword1.svm/
tosword1-win-gb/
in the filesystem.
You may encounter files (not directories) with the extension
*.svm
directly below theroms/scummvm/
folder. These are caused by the lines in+Start ScummVM.sh
:while read id desc; do echo "$desc" > "/home/pi/RetroPie/roms/scummvm/$id.svm" done < <(/opt/retropie/emulators/scummvm/bin/scummvm --list-targets | tail -n +3)
Disable/remove them to avoid having these re-appear after each ScummVM run.
Remove also the files*.svm
withfind $HOME/RetroPie/roms/scummvm/ -name "*.svm" -type f -exec rm -f {}
Important: Key is to have the game id folder name match the entry in the scummvm.ini for the native ScummVM the game id derived from the folder is passed to ScummVM.
In contrast lr-scummvm does not rely on
*.svm
files/folders at all. (Technical details: When launching lr-scummvm the absolute path of the game is passed to the libretro core. The core then searches for a*.scummvm
(sic!) file with the game id in that path, if that is not found it falls back to autodetection.)With this setup Skyscraper will detect and scrape the games properly.
Epilogue:
Also keep in mind that ScummVM and lr-scummvm are usingscummvm.ini
files in different locations.ScummVM:
/opt/retropie/configs/scummvm
lr-scummvm:$HOME/RetroPie/BIOS/scummvm
This setup works but may be a awkward (imposing file/foldernames, many manual steps in the right order, possibility of diversion of
scummvm.ini
files). Thus I came up with a more user-friendly approach, you may read the gory details in this thread - Make a folder with the ScummVM Game Id with the extension, thus
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.