Error compiling Scummvm (for button layout change)
-
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: ScummvmHow to replicate the problem:
- quit emulationstation by pressing F4
- cd RetroPie-Setup
- sudo ./retropie_packages.sh scummvm sources
- sudo nano /home/pi/RetroPie-Setup/tmp/build/scummvm/backends/events/sdl/sdl-events.cpp (editing the control)
- sudo ./retropie_packages.sh scummvm build
- cd /home/pi/RetroPie-Setup/tmp/build/scummvm
- 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
...
... -
@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
withscummvm-sdl1
. -
Success!
Thank you very much. I followed your commands and ignored the error message. -
@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.
-
@dudleydes Coming from ODROID, your commands were really helpful to configure my 8bitdo gamepad. Thank you!
-
@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
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.