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

    Error compiling Scummvm (for button layout change)

    Scheduled Pinned Locked Moved Help and Support
    scummvmcompile failedbutton mapping
    6 Posts 5 Posters 1.5k 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.
    • J
      Jonas S
      last edited by

      I was tryin go change the button layout for Scummvm to a more intuitive one for ps3 by following a guide to edit and compile the source code. The "sudo make install" resulted in a fatal error.

      Pi Model or other hardware: Pi3
      RetroPie Version: 4.3.3 (updated from 4.3.1)
      Obtained from: Setup script
      Micro SD card: Sandisk Ultra 64 GB
      External HDD: 1 TB that contains all games and video previews (nothing else)
      USB Devices connected: HDD, keyboard
      Controller used: wireless keyboard, ps3 wireless (turned off)
      Error messages received: "fatal: No names found, cannot describe anything"
      Guide used: https://www.reddit.com/r/RetroPie/comments/3fi5mj/ps3_controller_and_scummvm/
      Emulator: Scummvm

      How to replicate the problem:

      1. quit emulationstation by pressing F4
      2. cd RetroPie-Setup
      3. sudo ./retropie_packages.sh scummvm sources
      4. sudo nano /home/pi/RetroPie-Setup/tmp/build/scummvm/backends/events/sdl/sdl-events.cpp (editing the control)
      5. sudo ./retropie_packages.sh scummvm build
      6. cd /home/pi/RetroPie-Setup/tmp/build/scummvm
      7. sudo make install
        => error

      First rows of the error message:
      pi@retropie:~/RetroPie-Setup/tmp/build/scummvm $ sudo make install
      fatal: No names found, cannot describe anything
      install -d "/opt/retropie/emulators/scummvm/bin/scummvm"
      install -c -m 755 "./scummvm" "/opt/retropie/emulators/scummvm/bin/scummvm"
      install -d "/opt/retropie/emulators/scummvm/share/man/man6/"
      install -c -m 644 "./dists/scummvm.6" "/opt/retropie/emulators/scummvm/share/man/man6/scummvm6"
      install -d "/opt/retropie/emulators/scummvm/share/pixmaps/"
      install -c -m 644 "./icons/scummvm.xpm" "/opt/retropie/emulators/scummvm/share/pixmaps/scummvm.xpm"
      etc
      ...
      ...

      D 1 Reply Last reply Reply Quote 0
      • D
        dudleydes @Jonas S
        last edited by

        @jonas-s I've carried out the steps you took and got the fatal: No names found, cannot describe anything message. Just ignore it. The ScummVM binary builds fine and seems to be working without issue.

        Here's an updated list of commands you should use to remap ScummVM for a PS3 controller:

        cd RetroPie-Setup
        sudo ./retropie_packages.sh scummvm depends
        sudo ./retropie_packages.sh scummvm sources
        sudo nano /home/pi/RetroPie-Setup/tmp/build/scummvm/backends/events/sdl/sdl-events.cpp
        

        Make the changes to sdl-events.cpp, save and exit. Now run the following:

        sudo ./retropie_packages.sh scummvm build
        sudo ./retropie_packages.sh scummvm install
        sudo ./retropie_packages.sh scummvm configure
        

        Restart ES and you should have the Start ScummVM script. Once you've tested ScummVM, you can run the following to remove the source code:

        cd RetroPie-Setup
        sudo ./retropie_packages.sh scummvm clean
        

        The SDL2 version of ScummVM doesn't work well with my PS3 controller so you may want to look at the SDL1 version. To do this, run the above commands replacing scummvm with scummvm-sdl1.

        fabio78F mpnuttallM 2 Replies Last reply Reply Quote 1
        • J
          Jonas S
          last edited by

          Success!
          Thank you very much. I followed your commands and ignored the error message.

          1 Reply Last reply Reply Quote 0
          • RiverstormR
            Riverstorm
            last edited by

            @dudleydes - Thanks for the steps. I tried it with the -sdl1 and used a XBOX 360 joystick. It took about an hour and 15 minutes.

            I ported it over to a new build. I just needed to temporarily change permissions on the directory/file and chmod +x scummvm to make it an executable and it worked perfectly on the handful of games I tested.

            The default controller layout of scummvm is definitely less than optimal so this is a nice tweak.

            1 Reply Last reply Reply Quote 0
            • fabio78F
              fabio78 @dudleydes
              last edited by

              @dudleydes Coming from ODROID, your commands were really helpful to configure my 8bitdo gamepad. Thank you!

              1 Reply Last reply Reply Quote 0
              • mpnuttallM
                mpnuttall @dudleydes
                last edited by

                @dudleydes Hi there. I know this thread is quite old, bit wonder if you can help me please.

                I already have Scummvm (SDL1) installed in Retropie and the games run - albeit with the less-than-ideal controller configuration.

                Could I just follow your instructions (replacing scummvm with scummvm-sdl1) up to the point of editing and saving sdl-events.ccp?

                I tried running through the full thing and it broke my install of Scummvm (thank the lord for backup images!), and so I'm not sure what else to try.

                I should say I have no understanding of coding whatsoever, I'm just trying to work my way through this by following the explicit instructions of helpful folk like yourself.

                Many thanks for any pointers you can give me.

                Mark

                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.