SHARE
TWEET

RGB COMMANDER/MAME 4 ALL RETROPIE

SloTayHolmes Aug 2nd, 2016 (edited) 659 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. RGB COMMANDER
  2. MAME 4 ALL Retropie
  3.  
  4. STEP 1 - CREATE NEW DIRECTORY:
  5. /opt/sh
  6.  
  7. $ cd /opt
  8. $ sudo mkdir sh
  9.  
  10.  
  11. STEP 2 - CREATE SHELL SCRIPT:
  12. /opt/sh/mame.sh
  13.  
  14. $ cd /opt/sh
  15. $ sudo nano mame.sh
  16.  
  17. Paste the following contents:
  18.  
  19. #!/bin/bash
  20. rom="${1,,}" #Lowercase conversion
  21. rgbcmd setlegacy,$rom
  22. /opt/retropie/emulators/mame4all/mame $rom
  23.  
  24. Type Control+X
  25. Type Y for YES
  26. Hit Return
  27.  
  28.  
  29. STEP 3 - MAKE SHELL SCRIPT EXECUTABLE:
  30. $ cd /opt/sh
  31. $ sudo chmod +x mame.sh
  32.  
  33.  
  34. STEP 4 - MODIFY EMULATORS.CFG
  35. /opt/retropie/configs/mame-mame4all/emulators.cfg
  36.  
  37. $ sudo nano /opt/retropie/configs/mame-mame4all/emulators.cfg
  38.  
  39. Find the following lines:
  40.  
  41. mame4all="/opt/retropie/emulators/mame4all/mame %BASENAME%"
  42. default="mame4all"
  43. 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%"
  44.  
  45. Then change the first line to:
  46.  
  47. mame4all="/opt/sh/mame.sh %BASENAME%"
  48.  
  49. Type Control+X
  50. Type Y for YES
  51. Hit Return
  52.  
  53. STEP 5 - RGBCMDD XML
  54. Under <emulators><!--sdlMAME--> on rgbcmdd.xml
  55. Make sure the process is indicated: emulator binary="mame"
  56. For housekeeping purposes, change <!--sdlMAME--> to <!--Mame4All-—>
  57.  
  58. STEP 6 - REBOOT
  59. $ sudo reboot
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top