Raspberry Pie Game Art Just Loads and No Game
You lot tin now transform your Raspberry Pi into an all-in-one retro gaming panel! Thank you to the RetroPie projection you can play a multitude of onetime console games, such a SNES, NES, SEGA Mega Bulldoze, Atari and many more on your Raspberry Pi.
This tutorial will take yous through the basic set-up to go you lot started using RetroPie with ii USB controllers. In order to convert your raspberry pi into a retro gaming console volition need:
- A Raspberry Pi
- An SD card, 4GB or larger
- USB mouse and keyboard (for the initial set-upwardly)
- USB controllers (I used a basic USB SNES style controller)
- A Windows/Mac/Linux calculator to transfer your ROMs
In order to play retro-video games you demand a game ROM and an emulator to play information technology on. An emulator is an application that mimics a specific console (such as a SNES) and allows you play a ROM for that panel. A ROM is simply a digital copy of game. RetroPie already has many emulators installed on it but in order to play the games you'll have to discover and the download specific ROMs yourself.
Step ane. Copy an epitome of RetroPie to an SD bill of fare
Past far the easy way to get RetroPie up and running quickly on your Raspberry Pi is to re-create a downloaded paradigm of it onto a SD card.
To start with download the RetroPie epitome from hither . The file nearly 1.6GB so this may take a while. I wish you may too donate to the RetroPie project here too.
Once this has downloaded extract the files and 'flash' the image onto a blank SD card. Instructions on how to do and so tin can be found here.
At present that RetroPie prototype is on your SD bill of fare insert it into your raspberry Pi and kicking it up.
Step 2. Initial configurations
To begin with, in order to configure all the settings, yous'll need a mouse and keyboard plugged into the Pi.
On first kicking the Raspberry Pi configuration script should run automatically and yous'll be presented with a configuration menu. If, for some reason, the configuration menu doesn't load automatically and your taken straight to the RetroPi emulationstation hit F4 to have yous dorsum to the final, and then type the follow command to get to the configuration card:
sudo raspi-config
The configuration-card should look similar this:
Aggrandize the root file arrangement past selecting the first pick 'Expand Filesystem'. This should have a few seconds to complete
Go back the main raspi-config menu, next we will adjust the retentiveness split to change the corporeality of memory made available to the GPU. A l/50 split works well for running Retropie. From the menu select the 'Advanced options' tab.
Side by side select then the 'Memory split' option.
If you're running the 256MB Model A and so enter 128 here and if y'all're running the 512MB Model B enter 256 here and hitting Ok. You lot'll then exist taken back to to the main carte, select finish using the tab button on your keyboard.
Now reboot your raspberry pi using the command:
sudo reboot
On boot this time the emulationstation will load. The emulationstation is the graphical front end installed by RetroPie and is designed to allow y'all to use your Pi every bit if it were a retro console - with only a controller, not requiring a keyboard.
The start time the emulationstation boots you lot will be asked to configure your controls. If you take a controller already plugged in yous can configure the navigation controls to this, otherwise set the controls to a keyboard. It should recognise that you take a controller plugged in, if non then yous may need to install need a driver for your controller to work. You'll too exist prompted to configure controls for a second controller. If y'all take a 2nd controller plugged in then practice then, if not hold whatever push on the outset controller to skip this.
Note that this only configures the controls to navigate the emulationstation menu and not the controls for playing games in the emulators themselves, we'll configure those subsequently.
If y'all ever desire to reconfigure these controls, for a different controller for instance, we volition demand to remove the .cfg file first. To do this go back to your last by pressing F4 from the emulationstation. From hither type the following command:
cd .emulationstation
and then
sudo rm es_input.cfg
Now reload the emulationstation once more by typing the following command:
cd
emulationstation
You volition at present be prompted to configure the navigation controls like before.
So that's the initial set up-upwardly done. Adjacent we'll need to configure a controller for use in the emulators.
Step 3 Configuring a Controller
For this gear up-upward I used a USB SNES style controller. From the emulationstation printing F4 to go back to the terminal. From here enter the following commands to configure your controller:
cd RetroPie/emulators/RetroArch/tools
then
./retroarch-joyconfig >> ~/RetroPie/configs/all/retroarch.cfg
This will outset the configuration process:
Follow the prompts on screen to map the buttons of your controller. Towards the finish y'all will be asked to enter controls for buttons that your controller may not accept eastward.yard L2 and R2 buttons and analogue sticks. I was using a SNES style USB controller so I just used the select button to map these remaining controls. Merely press whatever push for these then nosotros'll edit them out afterward.
Now we will comprehend how to set-up a 2nd controller also as editing out those actress buttons.
Note. This configuration for a second controller will but work if the 2nd controller is is identical to the first i that you've already configured.
Go back to the last (if you're not there already) by pressing F4 from the emulationstation.
From here blazon the following control to go load the GUI:
startx
You'll be presented with a Windows way desktop. Go to the LXDE menu in the bottom left corner then navigate to accessories, and then file director.
Navigate to the folder RetroPie/configs/all. From here open up the file retroarch.cfg.
If you curlicue to the bottom of the file you'll find the controller mappings for the first controller that you just configured on the previous step.
At present we can delete the lines that map the controls for buttons we don't take. If you mapped all the extra controls to a single button like I did earlier then the inputs for these will all have the same number. Delete the lines of lawmaking that are highlighted above.
This will delete the mapping for buttons L2, L3, L2 and L3 and the analogue stick configurations since I don't accept these buttons on my controller.
Once you lot've deleted these lines copy and paste the remaining lines (that map the buttons we will use) to the lesser of the sheet. Y'all should now accept 2 identical blocks of code. We're now going to edit the 2d block so that it maps the controls for a 2nd controller.
We need to change the joypad index to define a second controller and so change the top line of the second block of lawmaking from:
input_player1_joypad_index = "0"
to
input_player2_joypad_index = "1"
For the remaining lines, of the 2nd block of code, wherever you run into player1 replace it with player2. Once you've washed this your code should look similar this:
That's the 2nd controller fix-upwards complete.
You could also repeat this method to add multiple controllers. Merely create another copy of the code and supplant the names with player3 and modify the joy pad index to "2"
When your running a ROM in guild to salve and exit the game you have to hit ESC on your keyboard. If nosotros want to exist able to do this without using a keyboard nosotros'll have take to add some more code then we're able to practise so using our controller.
Since nosotros've already mapped all our buttons nosotros'll accept to set a hotkey that must be held down to utilise (such every bit select) and and so an exit key (such as outset), which volition now only work if the hot fundamental button is held downwards. Add the post-obit line at the bottom of the file to gear up a hotkey:
input_enable_hotkey_btn = ''eight''
Hither I set the hotkey to select, which is my button number 8. Supercede this with the number that corresponds to the select button on your controller (you tin discover this out past looking at the lawmaking for the controller mappings we merely configured). Adjacent add the following line:
input_exit_emulator_btn = ''ix''
Once more supervene upon the number with the one that corresponds to the start button on your controller.
Adding this ways you can now exit and salvage your games by pressing the start button whilst besides property down select.
Now yous've washed this salve the file and exit.
Annotation. We configured the controls for all the emulators by editing the retroarch.cfg file in the folder RetroPie/configs/all. Information technology is also possible to configure the controls for individual emulators. This can be done by opening the config folder for a specific emulator and editing the retroarch.cfg constitute in that location. Any controller mappings placed here will override the configurations written in the configs/all file.
Footstep 4 - Copying ROMs over to your Pi
At present the controllers are set up-up the side by side thing to exercise is put some ROMs onto your Raspberry Pie so you can kickoff playing some old school games!
You lot'll need to download some ROMS kickoff. Obviously yous only going to download non-pirated official ROMs, right? Where ever you get you ROMs from but exist sure to scan information technology with anti virus tool.
An piece of cake way to motion files over to your Pi from your computer is to employ the WinSCP program. You tin can download the program from here. Download and install the latest installation packet:
Brand certain that your computer and raspberry pi are both connected to the aforementioned network via a LAN cablevision or a wireless adapter.
In lodge to connect to your raspberry Pi using WinSCP you'll need to know your Pi's IP address. Go to the terminal on your pi type the follow control:
ifconfig
Write down the number after 'inet addr:'. It will wait something like '192.168.1.80'
Open up WinSCP on your computer.
For this session select File protcool: SCP. The 'Host name' is the IP address of your Pi (that you but wrote down). The Username and Password are that of your Pi, which are ready by default to username: pi and password: raspberry. Click 'Login' and information technology should open a window like this:
You can navigate through the files on your computer on the left-hand and the files on your raspberry Pi on the right.
On the right-paw side open the folder RetroPie so the folder roms.
In club to copy a ROM to your pi simply elevate and drop It from information technology's location on your computer to it's corresponding ROM folder on the Raspberry Pi, due east.1000 if its a NES game copy it to the NES folder.
Before copying over a ROM make certain it'due south already been extracted on your computer kickoff otherwise the emulator won't recognise it. Some emulators all the same, such as MAME, require the ROM to remain zipped in order for them to work.
After this you''ll exist ready to start gaming!
Now when you lot kick your Pi and become to the emulationstation you lot'll be able to play the ROM's you've just copy over. You tin can navigate through the different emulators in the emulationstation by scrolling left and right. Annotation that a emulator volition not 'announced' until you've copied a ROM for that specific emulator over to the Pi.
Optional – Box art and descriptions for your ROMS
It's possible to download and install box art and game descriptions for all the ROM'due south you accept. Whilst this isn't at all necessary it is a cool little addition to brand your RetroPie emulationstation look footling amend.
In social club to practise this you'll need to be continued to the net. Make sure you accept a keyboard plugged in and get to the terminal (by pressing F4 from the emulationstation). First we need to download the es-scraper tool which will detect, download and install the box art for our ROMS. Type the following commands to get the es-scraper tool:
cd RetroPie/supplementary
then
git clone http://github.com/elpendor/ES-scraper
Now that the es-scraper is installed we tin can go to the retro-pie setup menu to utilize it. Blazon the following:
cd
cd RetroPie-Setup
sudo ./retropie_setup.sh
This will bring you a menu like the one below:
From here select the thrird tab 'Setup'
In guild for the es-scraper to work nosotros need to disable 'Offset Emulation Station on boot', which is the 4th tab down.
Select 'Original boot behaviour' and yous should and so be taken back to the 'Setup' menu. From here select the 12th tab on the menu 'Run ES-Scraper'.
Select the first option '(Re-)scape of the ROMs directory'. The es-scarper will now expect for the box-art and game decription for all your ROMs and install them into your RetroPie.
If you add any more than games at a after date only run this again to download the box art for your new games.
When information technology's finished it will bring yous dorsum to the RetroPie setup menu. Enable 'Offset Emulation Station on kicking' again and then exit the menu by selecting Cancel (using the tab push button on your keyboard). In one case back at the final reboot your raspberry pi using the command sudo reboot .
At present when the emulationstation loads box art and game description for your ROMs will be displayed.
And that's the basic initial set-up of of the RetroPie complete! Now go play some retro games!
If your having problems setting upward your RetroPie in that location are plenty of online resources bachelor which provide troubleshooting tips and more advanced set-upward data regarding the RetroPie:
PetRockBlock - The official folio for the RetroPie project
Raspberry Pi forums
Source: https://thepihut.com/blogs/raspberry-pi-tutorials/how-to-convert-your-raspberry-pi-into-a-retro-gaming-console
0 Response to "Raspberry Pie Game Art Just Loads and No Game"
Post a Comment