• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

lr-scummvm + Skyscraper + emulationstation

Scheduled Pinned Locked Moved Help and Support
lr-scummvmgamesskyscrapersvmscummvm
8 Posts 4 Posters 278 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O
    OrcLex
    last edited by 16 Feb 2025, 17:19

    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?

    1 Reply Last reply Reply Quote 0
    • S
      sugarfree
      last edited by sugarfree 16 Feb 2025, 17:45

      @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.

      O 1 Reply Last reply 17 Feb 2025, 17:27 Reply Quote 0
      • O
        OrcLex @sugarfree
        last edited by 17 Feb 2025, 17:27

        @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"
        
        S 1 Reply Last reply 17 Feb 2025, 19:53 Reply Quote 0
        • S
          Swampy @OrcLex
          last edited by 17 Feb 2025, 19:53

          @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?

          Linux is like wigwam: no Gates, no Windows and Apache inside.

          O 1 Reply Last reply 19 Feb 2025, 07:39 Reply Quote 0
          • S
            sugarfree
            last edited by 18 Feb 2025, 06:25

            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.svm

            Game 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.

            O 1 Reply Last reply 18 Feb 2025, 19:11 Reply Quote 0
            • O
              OrcLex @sugarfree
              last edited by 18 Feb 2025, 19:11

              @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!

              1 Reply Last reply Reply Quote 0
              • O
                OrcLex @Swampy
                last edited by 19 Feb 2025, 07:39

                @Swampy @sugarfree

                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_1

                The 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!

                1 Reply Last reply Reply Quote 1
                • L
                  Lolonois
                  last edited by 22 Feb 2025, 09:09

                  The single file launcher for both scummvm variants (native/libretro) can be achieved like this:

                  1. Make a folder with the ScummVM Game Id with the extension, thus sword1.svm in the roms/scummvm/ folder.
                  2. Put the gamefiles into that folder, and add no *.svm in here
                  3. Run scummvm from ES, select Add Game in ScummVM, select the folder sword1.svm you just created
                  4. 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/ to sword1-win-gb/ in the filesystem.

                  You may encounter files (not directories) with the extension *.svm directly below the roms/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 with find $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 using scummvm.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

                  1 Reply Last reply Reply Quote 0
                  8 out of 8
                  • First post
                    8/8
                    Last post

                  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.

                    This community forum collects and processes your personal information.
                    consent.not_received