Viewing 35 posts - 1 through 35 (of 35 total)
  • Author
    Posts
  • flickcorp
    Participant
    Post count: 47

    In this tutorial I will show you my complete setup on my Pis these can be adjusted for either Pi 1 or Pi 2 only differences will be the minor adjustment of the overclock settings if you so choose to do so. This tutorial is recommended to be used with a PlayStation 3 controller whether wireless or wired but will assume you want it wireless using a usb bluetooth adapter. This tutorial assumes you know how to either login to your Pi via putty or through the Pi directly.

    The scripts provided will setup your Pi to run the following emulators.

    Genesis
    Game Gear
    GameBoy
    GameBoy Advance
    GameBoy Color
    Sega32x
    SegaCD
    PlayStation
    Nintendo
    Super Nintendo
    Nintendo 64

    Everything will and can be completed in 4 quick steps. From start to finish I was able to complete in less then 20mins only using 4 scripts and using a gui 3 times. I will break the codes down for the post but will provide quick and easy copy and paste scripts. You will need to provide your own roms and manually upload them but everything else is streamlined.

    Preffered Hardware:

    Raspberry Pi2
    8gb MicroSD card
    USB Bluetooth Dongle
    PlayStation 3 Controller

    ## Begin Installation – Write down IP Address

    sudo raspi-config

    ## Extend Filesystem, Reboot

    cd && sudo apt-get update && sudo apt-get upgrade && sudo apt-get install bluetooth bluez-utils blueman && sudo raspi-config && sudo apt-get autoremove && sudo reboot

    ## Hit [Y] if needed, Switch Overclock Settings, Split Memory 384, Force Audio HDMI, Exit

    cd && shopt -s extglob

    ## Enables shell expansions

    cd && sudo chmod 777 -R /home/pi/RetroPie/roms && sudo rm -R /home/pi/RetroPie/roms/* && sudo mkdir -m 777 /home/pi/RetroPie/roms/{gamegear,gb,gba,gbc,megadrive,n64,nes,psx,sega32x,segacd,snes}

    ## Permits, removes, and adds roms folders

    cd && sudo chmod 777 -R /opt/retropie/configs && sudo rm -R /opt/retropie/configs/{atari2600,atarilynx,c64,doom,fba,mame,mastersystem,mastersystem-genesis,msx,pcengine,quake,vectrex} && echo -e 'input_menu_toggle_btn = "9"\naspect_ratio_index = "1"' >> /opt/retropie/configs/all/retroarch.cfg && echo -e 'input_player1_b_btn = "13"\ninput_player1_y_btn = "14"\ninput_player1_select_btn = "0"\ninput_player1_start_btn = "3"\ninput_player1_up_btn = "4"\ninput_player1_down_btn = "6"\ninput_player1_left_btn = "7"\ninput_player1_right_btn = "5"\ninput_player1_a_btn = "10"\ninput_player1_x_btn = "12"\ninput_player1_l_btn = "15"\ninput_player1_r_btn = "11"\ninput_player1_l2_btn = "8"\ninput_player1_r2_btn = "9"\ninput_player1_l3_btn = "1"\ninput_player1_r3_btn = "2"\ninput_player1_l_x_plus_axis = "+0"\ninput_player1_l_x_minus_axis = "-0"\ninput_player1_l_y_plus_axis = "+1"\ninput_player1_l_y_minus_axis = "-1"\ninput_player1_r_x_plus_axis = "+2"\ninput_player1_r_x_minus_axis = "-2"\ninput_player1_r_y_plus_axis = "+3"\ninput_player1_r_nus_axis = "-3"' >> /opt/retropie/configs/megadrive/retroarch.cfg && echo -e 'input_player1_b_btn = "13"\ninput_player1_y_btn = "14"\ninput_player1_select_btn = "0"\ninput_player1_start_btn = "3"\ninput_player1_up_btn = "4"\ninput_player1_down_btn = "6"\ninput_player1_left_btn = "7"\ninput_player1_right_btn = "5"\ninput_player1_a_btn = "10"\ninput_player1_x_btn = "12"\ninput_player1_l_btn = "15"\ninput_player1_r_btn = "11"\ninput_player1_l2_btn = "8"\ninput_player1_r2_btn = "9"\ninput_player1_l3_btn = "1"\ninput_player1_r3_btn = "2"\ninput_player1_l_x_plus_axis = "+0"\ninput_player1_l_x_minus_axis = "-0"\ninput_player1_l_y_plus_axis = "+1"\ninput_player1_l_y_minus_axis = "-1"\ninput_player1_r_x_plus_axis = "+2"\ninput_player1_r_x_minus_axis = "-2"\ninput_player1_r_y_plus_axis = "+3"\ninput_player1_r_nus_axis = "-3"' >> /opt/retropie/configs/sega32x/retroarch.cfg && echo -e 'input_player1_b_btn = "13"\ninput_player1_y_btn = "14"\ninput_player1_select_btn = "0"\ninput_player1_start_btn = "3"\ninput_player1_up_btn = "4"\ninput_player1_down_btn = "6"\ninput_player1_left_btn = "7"\ninput_player1_right_btn = "5"\ninput_player1_a_btn = "10"\ninput_player1_x_btn = "12"\ninput_player1_l_btn = "15"\ninput_player1_r_btn = "11"\ninput_player1_l2_btn = "8"\ninput_player1_r2_btn = "9"\ninput_player1_l3_btn = "1"\ninput_player1_r3_btn = "2"\ninput_player1_l_x_plus_axis = "+0"\ninput_player1_l_x_minus_axis = "-0"\ninput_player1_l_y_plus_axis = "+1"\ninput_player1_l_y_minus_axis = "-1"\ninput_player1_r_x_plus_axis = "+2"\ninput_player1_r_x_minus_axis = "-2"\ninput_player1_r_y_plus_axis = "+3"\ninput_player1_r_nus_axis = "-3"' >> /opt/retropie/configs/segacd/retroarch.cfg && sudo sed -i 's/3 button pad/6 button pad/g' /opt/retropie/configs/all/retroarch-core-options.cfg

    ## Permits, removes, edits configs folders and files

    cd && sudo chmod 777 -R /opt/retropie/emulators && sudo rm -R /opt/retropie/emulators/{advmame,atari800,basilisk,cpc,dgen,dosbox,fbzx,gngeopi,hatari,jzintv,linapple,mame4all,mupen64plus,osmose,pifba,pisnes,scummvm,snes9x,uae4all,vice}

    ## Permits and removes emulators folders

    cd && sudo wget -P /opt/retropie/emulators/gpsp [PLEASE DO NOT POST LINKS TO ROMS]

    ## Downloads GBA Bios Files

    cd && sudo chmod 777 -R /home/pi/RetroPie/BIOS && sudo wget -P /home/pi/RetroPie/BIOS [NO LINKS TO ROMS] && sudo unzip /home/pi/RetroPie/BIOS/bios.zip -d /home/pi/RetroPie/BIOS/ && sudo rm -R /home/pi/RetroPie/BIOS/bios.zip

    ## Downloads Other Bios Files

    cd && sudo chmod 777 -R /etc/emulationstation && sudo rm -R /etc/emulationstation/themes/simple/{3do,amiga,amstradcpc,apple2,atari2600,atari5200,atari7800,atari800,atarifalcon,atarijaguar,atarijaguarcd,atarist,atarixe,c64,colecovision,dreamcast,fba,gc,intellivision,macintosh,mame,mastersystem,msx,nds,neogeo,ngp,ngpc,pc,pcengine,ports,ps2,psp,saturn,scummvm,wii,xbox,zmachine,zxspectrum,readme.txt}

    ## Permits and removes theme folders and files

    sudo sed -i 's#<textlist name="gamelist">#<textlist name="gamelist">\n\t\t\t<scrollSound>./sounds/coin.wav</scrollSound>#g' /etc/emulationstation/themes/simple/simple.xml && sudo sed -i 's#.zip .ZIP##g' /etc/emulationstation/es_systems.cfg && sudo sed -i 's#<extension>#<extension>.zip .ZIP #g' /etc/emulationstation/es_systems.cfg

    ## Adds Menu Sounds and Fixes Zip support

    sudo wget -P /etc/emulationstation/themes/simple https://www.dropbox.com/s/mraax8scjkwmtr6/themes.zip && sudo unzip -o /etc/emulationstation/themes/simple/themes.zip -d /etc/emulationstation/themes/simple/ && sudo rm -R /etc/emulationstation/themes/simple/themes.zip

    ## Downloads Theme Files

    cd && sudo chmod 777 -R /home/pi/RetroPie-Setup/supplementary/splashscreens && sudo rm -R /home/pi/RetroPie-Setup/supplementary/splashscreens/* && sudo wget -P /home/pi/RetroPie-Setup/supplementary/splashscreens/ https://www.dropbox.com/s/zkttf762vxwu56l/splashscreen.png

    ## Permits, removes, and downloads splashscreens

    cd && sudo chmod 777 -R /etc/splashscreen.list && echo -e '/home/pi/RetroPie-Setup/supplementary/splashscreens/splashscreen.png' > /etc/splashscreen.list

    ## Edits the splashscreen.list

    cd && sudo /home/pi/RetroPie-Setup/retropie_setup.sh && sudo /opt/retropie/supplementary/ps3controller/sixpair

    ## Install PS3 Controller Drivers

    cd && read -p "Press [Enter] to continue after you have uploaded some roms manually..." && clear && echo You Have Completed The Installation of RetroPie && sudo shutdown -r 1

    ## Complete Installation

    —————————————-

    You can download the txt file below for a easier streamlined code. It basically sets up your Pi in 3 Scripts with full featured bluetooth wireless PS3 controller with all configs, bios, etc.

    robertybob
    Participant
    Post count: 219

    So to confirm; you’re not building RetroPie from source or binaries, you’re taking a fresh 2.6 image and adding and removing bits from it?

    It’s an interesting idea to remove the RetroPie folders and ES Themes of the emulators you won’t be using – is there any benefit to it, other than saving a bit of space?

    You mention downloading sounds for ES – are these not installed by default?

    What is ‘fix zip support’?

    Is Sega CD emulation any good on the Pi? I tried 32x and it was pretty unreliable and slow.

    flickcorp
    Participant
    Post count: 47

    [quote=88861]So to confirm; you’re not building RetroPie from source or binaries, you’re taking a fresh 2.6 image and adding and removing bits from it?[/quote]

    Exactly you take a fresh copy of the 2.6.0 image and by using the scripts provided it will modify them.

    [quote=88861]It’s an interesting idea to remove the RetroPie folders and ES Themes of the emulators you won’t be using – is there any benefit to it, other than saving a bit of space?[/quote]

    In theory it will not only save space but less files that the Pi should have to load as it clearly removes alot of unneeded files most are relatively small but there are plenty. (who needs wii, xbox, etc. files in which we can’t emulate).

    [quote=88861]You mention downloading sounds for ES – are these not installed by default?[/quote]

    I do not believe there is any menu sounds by default. I provided a free source coin sound and background music .wav for future fix. The coin sound works while browsing your rom collection. I thought I had found a way for a background .wav file to play in the menu but ultimately it did not work once I find a file that I can link my code into on boot i’ll add it into the code.

    [quote=88861]What is ‘fix zip support’?[/quote]

    I fixed the extension issue the recent update had with the .zip .ZIP support. While messing with uploading roms I initially noticed that the GBA and a couple other emulators didn’t actually support .zip .ZIP in the extensions so I just removed all support entirely and replaced it using a quick find and replace code.

    [quote=88861]Is Sega CD emulation any good on the Pi? I tried 32x and it was pretty unreliable and slow.[/quote]

    Sega CD emulation I believe is hit and miss I have been able to get some games like Jurassic Park to work flawlessly but some just have issues. Using the new Raspberry Pi2 overclocked and with a 384 split I have had exceptional success with the 32x only a couple games seemed to mess up completely for example Mortal Kombat and Virtual Fighter ran clean.

    Feel free to modify the code and files provided as you see fit the original code was 15k or so lines of code was very pleased with myself when i was able to knock it down to less then 6k. As I test more emulators I’ll add more to the script but as of now that is all I included.

    robertybob
    Participant
    Post count: 219

    Wow thank you for such a thorough reply! I think what you’ve written is great :)

    I was reading through it and had an idea – tell me what you think:

    Some sort of webpage that generates your scripts above (to be used with 2.6), but that someone can customise. The output would be one long script that someone can simply cut and paste into Putty (for example) in one go:

    For example:
    Selecting which emulators they don’t want using checkboxes (this would generate the particular script to remove these from ES and RetroPie)

    Whether they want to use your controller config files for the various emulators

    Remove themes of systems they don’t want

    etc etc.

    Just trying to think of ways to make it as simply as possible for the most n00bish of people :)

    flickcorp
    Participant
    Post count: 47

    Should work can easilly be done with some basic html forms if I put the time in it I could probably work something out in a couple days or so. While I am at work I’ll take a look at something see if I can whip something up. It could be formatted kind of like the txt file I included in the original post.

    leftresponse
    Participant
    Post count: 5

    Signed up to WordPress to say thanks for spending time on this, it saved me a job.

    I’m working my way through the scripts now on a Raspberry Pi B, its grabbing all the emulators now so will let you know if I have any issues.

    If you don’t hear back from me, assume this guy is a hero.

    flickcorp
    Participant
    Post count: 47

    [quote=89922]Signed up to WordPress to say thanks for spending time on this, it saved me a job.

    I’m working my way through the scripts now on a Raspberry Pi B, its grabbing all the emulators now so will let you know if I have any issues.

    If you don’t hear back from me, assume this guy is a hero.
    [/quote]

    I assume everything went well?

    flickcorp
    Participant
    Post count: 47

    Maybe not if I am asked to remove I can if not alter it so u have to manually change it otherwise I feel no reason to change.

    petrockblog
    Keymaster
    Post count: 1827

    The rules have not changed – I have removed the link – OP: please do not post links to copyrighted firmware/roms

    texasliberal
    Participant
    Post count: 10

    So, just to clarify, basically we copy/paste (one at a time) each line/s of text that are separated by && signs? I think this is doable :)

    flickcorp
    Participant
    Post count: 47

    You can copy and paste the 3 lines within the text file to run the script quickly

    leftresponse
    Participant
    Post count: 5

    [quote=89960]

    <div class=”d4p-bbt-quote-title”>leftresponse wrote:</div>
    Signed up to WordPress to say thanks for spending time on this, it saved me a job.

    I’m working my way through the scripts now on a Raspberry Pi B, its grabbing all the emulators now so will let you know if I have any issues.

    If you don’t hear back from me, assume this guy is a hero.

    I assume everything went well?
    [/quote]

    Everything went well, very good script. For some reason I still had to manually clear the controller settings from megadrive/sega32x and segacd retroarch.cfg files. I use an xbox360 controller, and the values for the inputs were still sat there overriding my controller.

    If I could make a suggestion? Amend your scipt to auto set the shaders to “true”. Possibly even default the shader to the h2qx shader or something pretty. Personally I just think that looks the best.

    All in all, great work.

    Couple of questions,
    1. Is there a fix for some of the games showing blurry on N64? This looks to be an issue with emulator playing roms with .z64 extentions.

    2. Is there a way to reduce the controller input lag? Seems to be half a second to a second for me.

    corndwg01
    Participant
    Post count: 3

    Leftresponse, what did you do to get the 360 controller working? Mine works, but only in Emulation Station.

    flickcorp
    Participant
    Post count: 47

    You need to go into the setup script and register a retroarch controller once you do that it will recognize everything ingame

    corndwg01
    Participant
    Post count: 3

    Before I realized what I was doing, I entered the commands from your “## Permits, removes, and adds roms folders” section. Will that screw me up?

    flickcorp
    Participant
    Post count: 47

    That should delete all rom folders and create the ones I use that I’ve personally tested

    flickcorp
    Participant
    Post count: 47

    Well as long as I can make the time I will be posting a new revision of the script and the tutorial which shall include a script with or without the PS3 controller not to mention a bunch of other space saving

    leftresponse
    Participant
    Post count: 5

    I basically putty’d onto the RPi and editted the following:

    /opt/retropie/configs/megadrive/retroarch.cfg

    (sudo nano retroarch.cfg)

    I just removed all the controller input entries in there, and it fixed the problem. I had to also do it for megaCD and sega32x, all the other emulators worked already.

    If you’re not familiar with how to do this let me know.

    Anonymous
    Inactive
    Post count: 94

    Just a quick note if you only have a 4GB sd card connected then dont use this method as you’ll run out of space

    corndwg01
    Participant
    Post count: 3

    Just going through the RetroArch controller setup got me working. Thanks again guys!

    flickcorp
    Participant
    Post count: 47

    Blockaboots I use this on my 4gb setup so I’m not sure why you ran out of space you should have almost 1.6gb+ left

    leftresponse
    Participant
    Post count: 5

    Make sure you expand your storage blockaboots, this works for 4GB setup.

    texasliberal
    Participant
    Post count: 10

    would love if this included SNES controller configs for 2 players

    flickcorp
    Participant
    Post count: 47

    Send me two snes controllers and I’ll make this happen lol I prefer ps3 for wireless play

    insearchofthe
    Participant
    Post count: 1

    Thanks for putting this together!

    I ran through the steps and everything works fine except PSX and N64 aren’t showing as options for me in the Emulation Station menu. Any idea how to fix this and get them to appear?

    EDIT: NVM My roms were .7z files. Extracted them and it showed up.

    flickcorp
    Participant
    Post count: 47

    [quote=90702]Thanks for putting this together!

    I ran through the steps and everything works fine except PSX and N64 aren’t showing as options for me in the Emulation Station menu. Any idea how to fix this and get them to appear?

    EDIT: NVM My roms were .7z files. Extracted them and it showed up.
    [/quote]

    You can run them as zip files to keep size down however psx games run faster extracted well at least boot time

    flickcorp
    Participant
    Post count: 47

    ? You are the first person to complain and if you did not do my script from a fresh image that is not my fault. The script was made to be used from a fresh install. I do know how to make a complete image but it is not nessary.

    monstrx
    Participant
    Post count: 3

    [quote=91202]Hey all that work was great and all but wrong.You have it listed at the bottom
    a way to fix the zip file problem.I loaded it and crash my pi2 thanks.It did not fix the problem as soon as I did what you said for that and the sound option it locked my pie up.It took me at least 2weeks to get it the way I had it now Im back at square one.Remove this crap if you don’t want people breaking their pies.I was really upset.I though you new what you were doing.I started over and tried your method to no a veil.It does not work.ps3 controller and all,I got nothing.Damn damn damn.I give up.If you wanna make it right email me a complete image already setup.I doubt you would know how to do that. I knew I should have just left it alone.I really had close to 100hours + on what I had done.[/quote]

    I believe this would be point, Where you should learn to make backups. Before messing around with scripts. if you dont know exactly what you’re doing.
    Also i have used parts of flickcorp script on already configured RPi2. Which i found useful for me . And everything worked fine. Just to be on safe side. I’ve done backups of it prior to mess around.

    khayman
    Participant
    Post count: 35

    …like a french girl? ;-)

    Not to kick a dead horse, but it’s worth researching what individual components of a script do before going ahead and just executing it. If you’ve got something mostly working for you already it’s better to figure out what doesn’t work rather than just blanket apply a script designed for a vanilla image. Not that you asked for help (which you probably should have done… politely) but to fix you might try mounting the SD card on another computer and reverting es_systems.cfg.

    flickcorp
    Participant
    Post count: 47

    I believe this would be point, Where you should learn to make backups. Before messing around with scripts. if you dont know exactly what you’re doing.
    Also i have used parts of flickcorp script on already configured RPi2. Which i found useful for me . And everything worked fine. Just to be on safe side. I’ve done backups of it prior to mess around.

    I’m glad the script was useful lol have to add the title clearly says quick setup

    leftresponse
    Participant
    Post count: 5

    [quote=91202]Hey all that work was great and all but wrong.You have it listed at the bottom
    a way to fix the zip file problem.I loaded it and crash my pi2 thanks.It did not fix the problem as soon as I did what you said for that and the sound option it locked my pie up.It took me at least 2weeks to get it the way I had it now Im back at square one.Remove this crap if you don’t want people breaking their pies.I was really upset.I though you new what you were doing.I started over and tried your method to no a veil.It does not work.ps3 controller and all,I got nothing.Damn damn damn.I give up.If you wanna make it right email me a complete image already setup.I doubt you would know how to do that. I knew I should have just left it alone.I really had close to 100hours + on what I had done.[/quote]

    I call troll on this guy, nobody is that stupid.

    saving
    Participant
    Post count: 1

    Hi,

    Can you possibly create a img of this installation ready to use in berryboot?
    Im searching for a good retropie img ready to use for my dual boot with openelec kodi.

    flickcorp
    Participant
    Post count: 47

    nah if someone else wants to they can but id rather keep it a script on a fresh img

    Anonymous
    Inactive
    Post count: 1

    Great scripts makes installing and customising retropie a breeze. I’ve just got 1 issue. I can’t get the ps3 controller to work wirelessly. It works fine when cabled up but as soon as I unplug the cable all 4 lights start flashing on the controller and it wont pair. Any ideas?
    I’ve got a bluetooth dongle like this
    http://4tronix.co.uk/store/resources/image/18/a7/3.jpg

    smileyman
    Participant
    Post count: 1

    A few questions:
    So, is all this done on your computer directly to the sd card before it ever goes into the pi?

    Also, what is the splashscreen?

    Lastly, does this just get the folders made for roms? If so how would you move downloaded roms from websites not listed here onto the pi?

    Thanks

Viewing 35 posts - 1 through 35 (of 35 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.