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

    ScummVM and Emulationstation games launchers

    Scheduled Pinned Locked Moved Help and Support
    scummvmemulatiostationsvm
    23 Posts 7 Posters 5.1k 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.
    • L
      Lopiv2 @mitu
      last edited by Lopiv2

      @mitu When i add for example Day of the Tentacle, it creates a file called tentacle-es.svm, but inside this file, as the script does, there is a line wich says "Day of the Tentacle (Floppy/DOS/Spanish)". Anyway, if you don´t put the line,

       "/opt/retropie/emulators/scummvm/bin/scummvm -f tentacle-es"
      

      When you launch the game from ES, It will say "Day of the Tentacle (Floppy/DOS/Spanish) command not found", indeed if inside that file is written "tentacle-es" which is the id game, It will say the same, "command not found"

      I think what the script does is only creating the .svm file with content inside to be launched after that from ES, and that content is what i think it´s wrong...

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Lopiv2
        last edited by

        @lopiv2 Post the contents of /dev/shm/runcommand.log after you launch your game.

        L 1 Reply Last reply Reply Quote 0
        • L
          Lopiv2 @mitu
          last edited by

          @mitu It´s empty, no runcommand.log....

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Lopiv2
            last edited by

            @lopiv2 The file exists only after you launch your game, it's kept in RAM. If you rebooted, then it's no longer there, that's why I said to post the contents of the file after you launched the game (and got the error).

            L 1 Reply Last reply Reply Quote 0
            • L
              Lopiv2 @mitu
              last edited by

              @mitu Just because I´m not getting any errors now after launched, I dont get the runcommand.log, and i Haven´t rebooted the pi....so shm folder stills empty...

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @Lopiv2
                last edited by

                @lopiv2 runcommand.log is created regardless of any errors occurred during game launch. For instance, launching a ScummVM game shows:

                Parameters:
                Executing: bash /home/pi/RetroPie/roms/scummvm/+Start\ ScummVM.sh "queen"
                Virtual keyboard pack 'vkeybd_default' loaded successfully
                User picked target 'queen' (engine ID 'queen', game ID 'queen')...
                   Looking for a plugin supporting this target... Flight of the Amazon Queen
                

                Make sure you're looking in the correct folder. Did you modify the launch command for the game ? If you've removed runcommand from the launching command, then you'll not get a runcommand.log.

                L 1 Reply Last reply Reply Quote 0
                • L
                  Lopiv2 @mitu
                  last edited by

                  @mitu ok, my fault, es_config was wrong. I fixed it, and left the +Start ScummVM.sh script as it was at first, with $desc. Now I have all working with the svm files, short name in filename and desc inside this file. Only problem i Have is the next that is in the log:

                  Parameters: 
                  Executing: bash "/home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh"
                  Using game controller: PS3 Controller
                  Virtual keyboard pack 'vkeybd_default' loaded successfully
                  Using game controller: PS3 Controller
                  WARNING: Engine_SCUMM_create: No unique game candidate found, using first one!
                  Your game version appears to be unknown. If this is *NOT* a fan-modified
                  version (in particular, not a fan-made translation), please, report the
                  following data to the ScummVM team along with the name of the game you tried
                  to add and its version, language, etc.:
                    SCUMM gameid 'atlantis', file 'atlantis.000', MD5 'd8b3580b90ec2335f70c47027bfb3336'
                  
                  ALSA lib pcm.c:8424:(snd_pcm_recover) underrun occurred
                  User picked target 'atlantis' (engine ID 'scumm', game ID 'atlantis')...
                     Looking for a plugin supporting this target... SCUMM [all games]
                  /home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh: line 6: /home/pi/RetroPie/roms/scummvm/atlantis.svm: Permission denied
                  /home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh: line 6: /home/pi/RetroPie/roms/scummvm/indy3-vga.svm: Permission denied
                  /home/pi/RetroPie/roms/scummvm/+Start ScummVM.sh: line 6: /home/pi/RetroPie/roms/scummvm/tentacle-es.svm: Permission denied
                  
                  

                  Anyway i think the solution is the echo file executed as sudo, or some permission problems with that echo line. I have my ROMS in a SMB folder in a server, so maybe that´s the problem...

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Lopiv2
                    last edited by

                    @lopiv2 said in ScummVM and Emulationstation games launchers:

                    Anyway i think the solution is the echo file executed as sudo, or some permission problems with that echo line. I have my ROMS in a SMB folder in a server, so maybe that´s the problem...

                    sudo is not involved in the wrapper script for ScummVM and it shouldn't be - all files in the roms folder should be owned by the installation user and not by root. If you have issues with files being created, check the permissions of your share and try to fix them - it will affect other emulators which will not be able to save in the roms folder.

                    1 Reply Last reply Reply Quote 0
                    • H
                      HappySpaceInvdr @Lopiv2
                      last edited by HappySpaceInvdr

                      @Lopiv2 Sorry to resurrect an old thread, but I have the same problem as the OP and, after reading through the posts in this thread, I'm not sure I understand the solution...

                      Is the documentation at https://retropie.org.uk/docs/ScummVM/ out of date? It says you need to create a .svm inside each game directory that contains the "short name" of the game. I ran Skyscraper and my games were detected, but I've ended up in exactly the same situation as the OP first described.

                      Is the real setup process to forget about manually created .svm files, instead launch the ScummVM launcher, add your games in there, let that create the .svm files you need... and only then run Skyscraper?

                      Also, I see reference to lr-scummvm... how would I install that? I don't see that in the main packages (of RetroPie Setup); I only see "scummvm" and "scummvm-sdl1" in the optional packages section.

                      windgW S 2 Replies Last reply Reply Quote 0
                      • windgW
                        windg @HappySpaceInvdr
                        last edited by

                        @HappySpaceInvdr

                        I came to the same issue few months ago, i found a temporary solution that works well for me:

                        I put every .svm file, that was generated when i add the games from scummvm gui, inside the game folder and now the full name of the game appear on the emulationstation and the game start fine.

                        You can install lr-scummvm from experimental packages but i don't recommended because is based to an old version of scummvm.

                        My English isn't at a good level.

                        H 1 Reply Last reply Reply Quote 0
                        • S
                          sleve_mcdichael @HappySpaceInvdr
                          last edited by

                          @HappySpaceInvdr said in ScummVM and Emulationstation games launchers:

                          Is the real setup process to forget about manually created .svm files, instead launch the ScummVM launcher, add your games in there, let that create the .svm files you need...

                          Yes, that's how I've done. The .svm files it creates are not inside the individual game directories but beside them, inside the root scummvm directory:

                          pi@retropie:~/RetroPie/roms/scummvm $ ls
                           atlantis.svm
                          'Beneath a Steel Sky (CD VGA)'
                          'Day Of The Tentacle (CD Dos)'
                          'Flight of the Amazon Queen (CD DOS)'
                          'Indiana Jones and the Fate of Atlantis (CD DOS)'
                          'Leisure Suit Larry in the Land of the Lounge Lizards (Amiga)'
                           lsl1-amiga.svm
                          'Maniac Mansion (Floppy DOS v2 Enhanced)'
                           maniac-v2.svm
                           monkey2.svm
                          'Monkey Island 2 - LeChuck'\''s Revenge (Ultimate Talkie Edition - DOS)'
                           monkey.svm
                           queen-fallback.svm
                          'Sam and Max Hit the Road (CD DOS)'
                           samnmax.svm
                           sky.svm
                          'Space Quest 2 - Vohaul'\''s Revenge (Amiga)'
                           sq2-amiga.svm
                          '+Start ScummVM.sh'
                           tentacle.svm
                          'The Secret Of Monkey Island (Ultimate Talkie Edition - DOS)'
                          pi@retropie:~/RetroPie/roms/scummvm $
                          
                          H 1 Reply Last reply Reply Quote 1
                          • H
                            HappySpaceInvdr @windg
                            last edited by

                            @windg said in ScummVM and Emulationstation games launchers:

                            @HappySpaceInvdr

                            You can install lr-scummvm from experimental packages but i don't recommended because is based to an old version of scummvm.

                            Thanks for the info. I have tried it out as a comparison but you're right: it's an old version (2.1.1) and a bit glitchy with certain games, for example Blade Runner has visual issues.

                            1 Reply Last reply Reply Quote 0
                            • H
                              HappySpaceInvdr @sleve_mcdichael
                              last edited by

                              @sleve_mcdichael Thanks for confirming. It seems the automatically created .svm files are the opposite way round to the recommendataion for lr-scummvm in terms of file name and content.

                              • lr-scummvm: "Day of the Tentacle.svm: should contain the string "dott"
                              • ScummVM standalone: dott.svm should contain the string "Day of the Tentacle"
                              S 1 Reply Last reply Reply Quote 0
                              • S
                                sleve_mcdichael @HappySpaceInvdr
                                last edited by

                                @HappySpaceInvdr right, I haven't tried using the lr- version but it does appear from the docs that they are not cross-compatible. My tentacle.svm contains the string Day of the Tentacle (CD/English).

                                pi@retropie:~/RetroPie/roms/scummvm $ cat tentacle.svm 
                                Day of the Tentacle (CD/English)
                                

                                This works with stand-alone ScummVM.

                                1 Reply Last reply Reply Quote 0
                                • LolonoisL
                                  Lolonois
                                  last edited by

                                  The cumbersome setup (YMMV) of *.svm/*.scummvm launch files and interop between native ScummVM and lr-scummvm is an open issue.

                                  As another user phrased it is a "can of worms". To use this picture, I spilled out the can and aligned the worms: I proposed a setup to unify the requirements between native ScummVM and lr-scummvm.

                                  You can find the gory details at [1] with an option to testdrive, in that thread you can find also the initial topic [2] and the pending PR [3] as there is no decision yet.

                                  [1] https://retropie.org.uk/forum/topic/32058/scummvm-lr-scummvm-launcher-and-interoperability-improvements
                                  [2] https://retropie.org.uk/forum/topic/29349/emulationstation-scummvm-and-svm-files
                                  [3] https://github.com/RetroPie/RetroPie-Setup/pull/3430

                                  1 Reply Last reply Reply Quote 2
                                  • windgW
                                    windg
                                    last edited by

                                    Let's remove lr-scummvm, problem solved. :p

                                    My English isn't at a good level.

                                    retropieuser555R LolonoisL 2 Replies Last reply Reply Quote 0
                                    • retropieuser555R
                                      retropieuser555 @windg
                                      last edited by

                                      @windg I wouldn't say so, it's good to have the option if people want to play with shaders and overlays or to stream it on twitch or whatever other nice features Retroarch offers

                                      Pi 5 4GB

                                      Retroflag GPI with raspberry pi zero 2 w/ wifi

                                      Retroachievements:- lovelessrapture

                                      1 Reply Last reply Reply Quote 1
                                      • LolonoisL
                                        Lolonois @windg
                                        last edited by

                                        @windg well, the ScummVM RP documentation is not aligned with the implementation. And it will create a clutter in the scummvm/ folder, plus will rewrite the *.svm files everytime after exiting ScummVM, which is surplus.

                                        This and the missing interop with the LR variant made me to have a design which creates a more "it just works" experience for the user.

                                        1 Reply Last reply Reply Quote 1
                                        • M mcpat referenced this topic on
                                        • First post
                                          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.