Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RGB COMMANDER
- MAME 4 ALL Retropie
- STEP 1 - CREATE NEW DIRECTORY:
- /opt/sh
- $ cd /opt
- $ sudo mkdir sh
- STEP 2 - CREATE SHELL SCRIPT:
- /opt/sh/mame.sh
- $ cd /opt/sh
- $ sudo nano mame.sh
- Paste the following contents:
- #!/bin/bash
- rom="${1,,}" #Lowercase conversion
- rgbcmd setlegacy,$rom
- /opt/retropie/emulators/mame4all/mame $rom
- Type Control+X
- Type Y for YES
- Hit Return
- STEP 3 - MAKE SHELL SCRIPT EXECUTABLE:
- $ cd /opt/sh
- $ sudo chmod +x mame.sh
- STEP 4 - MODIFY EMULATORS.CFG
- /opt/retropie/configs/mame-mame4all/emulators.cfg
- $ sudo nano /opt/retropie/configs/mame-mame4all/emulators.cfg
- Find the following lines:
- mame4all="/opt/retropie/emulators/mame4all/mame %BASENAME%"
- default="mame4all"
- lr-imame4all="/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-imame4all/mame2000_libretro.so --config /opt/retropie/configs/mame-mame4all/retroarch.cfg %ROM%"
- Then change the first line to:
- mame4all="/opt/sh/mame.sh %BASENAME%"
- Type Control+X
- Type Y for YES
- Hit Return
- STEP 5 - RGBCMDD XML
- Under <emulators><!--sdlMAME--> on rgbcmdd.xml
- Make sure the process is indicated: emulator binary="mame"
- For housekeeping purposes, change <!--sdlMAME--> to <!--Mame4All-—>
- STEP 6 - REBOOT
- $ sudo reboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement