Navigation

    RetroPie forum home
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    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

    Problem starting scummvm games from emulationstation

    Help and Support
    emulationstaton scummvm help ubuntu
    1
    4
    359
    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.
    • totalflipper
      totalflipper last edited by

      Hi!

      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:

      https://retropie.org.uk/docs/ScummVM/

      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.

      This problem seems to be related to the "runcommand.sh/+Start ScummVM.sh" plumbing.

      Anyone see this before? Thanks!

      1 Reply Last reply Reply Quote 0
      • totalflipper
        totalflipper last edited by

        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>
        
        1 Reply Last reply Reply Quote 0
        • totalflipper
          totalflipper last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • totalflipper
            totalflipper last edited by

            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.

            1 Reply Last reply Reply Quote 0
            • 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.