emulationstation – L5J.NET https://l5j.net My Life, Electronics, Smart Home Thu, 18 Apr 2024 15:36:03 +0000 en-US hourly 1 https://wordpress.org/?v=7.1.1 https://l5j.net/wp-content/uploads/2021/04/cropped-L5JNET-150x150.png emulationstation – L5J.NET https://l5j.net 32 32 Building RetroPie PiGrrl Zero Plus with Sound https://l5j.net/retropie/building-retropie-pigrrl-zero-plus-with-sound/ https://l5j.net/retropie/building-retropie-pigrrl-zero-plus-with-sound/#comments Tue, 16 May 2017 18:20:07 +0000 http://l5j.net/?p=7147 Here is my entire build out of the RetroPie PiGrrl Zero Plus (WITH Sound) Retro Handled Gaming System.  What an awesome and a fun project to build; since my time is limited this took about 3-4 days to fully complete.  I did mess up in the beginning when I went to remove the the GPIO pins that come preinstalled.  I actually removed 2 pad’s from the board and I had to retrace the entire pad’s back to the build (this costed me a day in build time).

The device itself is pretty nice the battery time lasts about 1-3 hours depending on usage the buttons are clicky I actually went and installed soft buttons of A,B,X,Y buttons and kept the clicky buttons on the DPAD.  If you notice once I screwed down the screen the screws provided with the 3D printed build I over turned them causing the screws to come out of the plastic which pissed me off a lot.  I was able to sand the plastic down which made it less noticeable.
This can play almost anything from Arcade, Atari, Super Nintendo, Nintendo. Almost everything up til N64 (I tested playing Nintendo 64 ROMs it loaded them just could not handle them on the Pi Zero).

Here are the following guides I followed:
Main PiGrrl Build from Adafruit:
https://learn.adafruit.com/pigrrl-zer…

PiGRRL Zero Plus Build by Jpete (Jpete 3d prints most of the cases and hardware I used for this build he also helped me out a lot during this build).
http://www.thingiverse.com/thing:1769656

Some of the products I used:
Adafruit PiTFT 2.2″ – http://amzn.to/2qmOtML
Raspberry Pi Zero – http://amzn.to/2oFaEBi
PowerBoost 1000C – http://amzn.to/2qeVIHs
Battery Packs Lithium Ion Battery 3.7v 2000mAh – http://amzn.to/2pcdRa8
10x 6mm Tactile Buttons – https://www.adafruit.com/products/367
1x Slide Switch – https://www.adafruit.com/products/805
USB Mini Wifi Adapter – http://amzn.to/2ptDMLn
Tiny OTG Adapter – USB Micro to USB – http://amzn.to/2pcbowH
2×20-pin Strip Dual Male Header – http://amzn.to/2oQgaMK
Uxcell a13070200ux0794 SPST Momentary Push Button SMD Tactile Tact Switch, 6 mm x 3.5 mm x 4.3 mm – http://amzn.to/2oF8OAF

Products for the Audio
Mini Metal Speaker w/ Wires – 8 ohm 0.5W http://amzn.to/2oPXSvm
5Pcs 16mmx2mm 10K ohm Stereo Volume Control Wheel Potentiometer B103 http://amzn.to/2oTez9H
Adafruit Silicone Cover Stranded-Core Wire – 2m 30AWG White
http://amzn.to/2qfdhY3
Adafruit Silicone Cover Stranded-Core Wire – 2m 30AWG Yellow – http://amzn.to/2pGogN6
Adafruit Silicone Cover Stranded-Core Wire – 2m 26AWG Yellow – http://amzn.to/2pccqZr
Hakko CHP CSP-30-1 Wire Stripper, 30-20 Gauge Maximum Cutting Capacity – http://amzn.to/2ptt4US

These helping hands helped me out so much in this build
QuadHands™ Flex – Helping Hands Soldering Tool Add On – Add Four Flexible Metal Arms to Your Favorite PanaVise – http://amzn.to/2oT6nXg

PiGRRL Zero Plus Case https://www.etsy.com/listing/46545611…

PiGRRL Buttons https://www.etsy.com/listing/45984778…

PiGRRL PCB Gamepads https://www.etsy.com/listing/48642710…

PiGRRL Screw Kit https://www.etsy.com/listing/28069127…

]]>
https://l5j.net/retropie/building-retropie-pigrrl-zero-plus-with-sound/feed/ 2
RetroPie – The Best Products / Tutorial on Creating your own HyperPie Retro Gaming Center https://l5j.net/retropie/retropie-the-best-products-tutorial-on-creating-your-own-hyperpie-retro-gaming-center/ https://l5j.net/retropie/retropie-the-best-products-tutorial-on-creating-your-own-hyperpie-retro-gaming-center/#comments Wed, 19 Apr 2017 19:34:23 +0000 http://l5j.net/?p=7037 I’ve been testing RetroPie / EmulationStation / HyperPie / AttractMode custom images for months my favorite with the best interface has to be hands down HyperPie.  It could be a little laggy and time consuming finding the right ROM/Game you want.  However the different mods from running ROMs via USB, Creating a favorites list and the customizations available are endless.

First i’m going to start with all of the products that I used in my RetroPi/Raspberry Pi build.

CanaKit Raspberry Pi 3 Kit with Clear Case and 2.5A Power Supply

CanaKit Raspberry Pi 3 Kit with Clear Case and 2.5A Power Supply

This kit is great because it comes with the 2.5A power supply which is good for overclocking, it also includes the Raspberry Pi 3 B model, heatsinks and the case which I haven’t used.  I always switch it for a fan powered case.   $49.99  (Purchase)


Sliced 9 Layers Case Box + Cooling Fan +micro

Next I start off with 9 layer fan powered case which will keep your Raspberry Pi / RetroPie cool when you eventually overclock your device and it looks cool too!  $10.97 (Purchase)


SanDisk Ultra 128GB microSDXC

Next you want to make sure you have a good MicroSD card.  I would stay away from buying these 2nd hand and do not buy them from eBay.  I’ve purchased several from there and they were absolute garbage in the end caused me more money and headaches.  Also if you are using HyperPie I would stick with the 128GB version or 200GB version depending on what type of ROMs you are adding the HyperPie image itself takes about 60GB.  128GB $39.99  (Purchase)


Nintendo Wii U Pro Controller – Black

I’ve tested almost every controller for the RetroPie and I always went back to using the Wii U Pro controller.  I tried controllers from Xbox, PS3, 8bitDo, etc.  The Wii U Pro controller just feels right.  I’ve left the controller hooked up to the RetroPie for a full day I came back and it was still responsive.  It’s a lot more expensive then most controllers but it’s worth.  Also beware of fake knock-off brands.  $39.99  (Purchase)


High-Speed HDMI Cable – 3 Feet

If you do not have an HDMI cable laying around you are going to need one.  Any HDMI cable will do just make sure it’s long enough for your TV.  $6.99   (Purchase)

Product Break down:

CanaKit Raspberry Pi 3 Kit with Clear Case and 2.5A Power Supply $44.99

Sliced 9 Layers Case Box + Cooling Fan +micro $10.97

SanDisk Ultra 128GB microSDXC $39.99

Nintendo Wii U Pro Controller – Black $39.99

High-Speed HDMI Cable – 3 Feet $6.99


Setting up your RetroPie Image

Now that you have purchased and hopefully received your products it’s time to setup the RetroPie / HyperPie image onto your MicroSD.

You will need to download the following files.

[download id=”7096″] (This is to format your Micro-SD Card clean so you can begin to write the IMG file to your card).

[download id=”7099″] (This is the tool used for reading/writing .img files and making them bootable for your microsd).

[download id=”6968″] (The main image that you will be writing to your MicroSD).

]]>
https://l5j.net/retropie/retropie-the-best-products-tutorial-on-creating-your-own-hyperpie-retro-gaming-center/feed/ 1
RetroPie – Running ROMs from a Network Share https://l5j.net/retropie/retropie-running-roms-from-a-network-share/ https://l5j.net/retropie/retropie-running-roms-from-a-network-share/#comments Fri, 31 Mar 2017 16:05:57 +0000 http://l5j.net/?p=6980

Good to know: If you are accessing your RetroPie installation over SSH the default Raspbian username is pi and the default password is raspberry.

Copy the existing ‘roms’ folder structure to your server

For EmulationStation to be able to see your rom files the paths given to it within /etc/es_systems.cfg need to be recreated on your networked server. Connect to your RetroPie and browse to its roms folder for reference on how each system folder is named. Either copy these folders to your networked server or manually create the folders on your networked server using the same directory names.

If you prefer to not use the EmulationStation system directory names and keep the current folder structure you have on your networked server you’ll need to edit es_systems.cfg. Use this command to copy the configuration file to the home directory wherein it will be editable through SMB (//RETROPIE/configs/all/emulationstation) or FTP.

Code
cp-etcemulationstationes_systems-cfg-homepi-emulationstationes_systems-cfg

Mount your Share

If you haven’t already, now is a good time to tell Raspbian to wait for your network at boot.

Code
sudo-raspi-config

In there, select “Boot Options” and tell it Yes.

Option 1: Add to autostart.sh (Preferred if using v4.0+)

sudo nano /opt/retropie/configs/all/autostart.sh

Add the following line to the top of that file, being sure to adjust it for your personal settings, paths and options. This will make the local roms folder use your remote server roms folder instead.

Code
sudo-mount-t-cifs-o-usernamesomethingpasswordsomething-remotehostpathtoroms-homepiretropieroms

Good to know: If you’d like to host the entire RetroPie folder remotely you can do so by removing the /roms directories from the mount command above. Make sure to have a copy of the RetroPie installation on your remote server or EmulationStation won’t be able to start RetroPie!

Restart your Raspberry Pi with sudo reboot or by simply unplugging the power cord.

Alternatively, if you have a shared folder that allows guest access, you can use the following line in your autostart.sh:

Code
sudo-mount-t-cifs-o-guestuidpi-hostnameretropie-homepiretropie

This should also allow you to write save files to your NAS.

Option 2: Add to fstab

Using your favorite editor, open up fstab:

sudo nano /etc/fstab

Add the line to mount your network share. Mine looks like this:

Code
192-168-1-10storageroms-homepiretropie-cifs-usernameusernamepasswordpasswordnounixnoserverinodefaultsusersauto-0-0

First, make sure it will mount:

Code
sudo-mount-a

Restart and check the folder to make sure it didn’t have any issues mounting at boot

Code
sudo-reboot
Code
sudo-ls-retropieromssnes

With any luck (and if you have a ton of SNES ROMs like myself), it will be fairly apparent that it was able to mount the share at boot.

Saving Games

Go ahead and make sure everything works. Don’t get to far into a game though, you might not be able to save. If you hit ‘Select + R’ (default save command) and it gives you an error, the easiest solution I’ve found is as follows.

We need to edit retroarch.cfg by deleting the # infront of the savestate_directory and savefile_directory lines and put in the desired path. I’ll be using ~/RetroPie-Save. First, make the target folder:

cd
mkdir RetroPie-Save
sudo nano /opt/retropie/configs/all/retroarch.cfg 

Mine looks like this:

savestate_directory = /home/pi/RetroPie-Save
savefile_directory = /home/pi/RetroPie-Save

If you already have some save files, it would be a good idea to move them to the ~/RetroPie-Save folder we created.

For more information please visit: https://github.com/RetroPie/RetroPie-Setup/wiki/Running-ROMs-from-a-Network-Share

]]>
https://l5j.net/retropie/retropie-running-roms-from-a-network-share/feed/ 1
USB Audio and RetroPie for Better Sound https://l5j.net/retropie/usb-audio-and-retropie-for-better-sound/ https://l5j.net/retropie/usb-audio-and-retropie-for-better-sound/#comments Tue, 21 Mar 2017 14:10:34 +0000 http://l5j.net/?p=6855 Are you experiencing White noise, background hiss, low-volume, subdued bass, and missing trebles leave room for improvement — especially when using the Raspberry Pi with audio-enjoyment software, such as RetroPie and Kodi?

Is there a way to upgrade the Pi’s audio quality?

Yes! Using a small USB audio device that plugs into any of the Pi’s USB ports, audio can be rerouted to the USB audio device for improved audio quality.

This tutorial shows how to use the Plugable USB Audio Adapter with a Raspberry Pi 2 Model B, Raspberry Pi 3 running RetroPie to produce a boost in sound quality.

  • Louder sound output. No need to turn the volume up as much.
  • Stronger, deeper bass. Bass is almost missing with the Pi’s built-in audio.
  • High frequencies sound more distinct. Cymbals, glass, and trebles sound better.
  • More clarity.
  • Almost no noise. The Pi had a constant background noise (white noise) when playing sound. During moments of silence during the sound playback, the noise was distractingly audible. This adapter greatly reduces the noise. It does not eliminate it completely because faint noise can be heard if the volume on an amplifier is turned up to uncomfortable levels. However, the noise is practically in audible a normal listening levels.

Take note that sound quality also depends upon your speaker system and sound gear. While this adapter does improve the sound quality, if you are using cheap, tinny earphones, then you will probably not hear much of a difference. If you are using higher-quality headphones or speakers, then the sound difference will become noticeable.

Setting Up The Plugable USB Audio Adapter

Merely plugging in the USB audio device and turning on the Raspberry Pi will not produce audio through the USB audio. The Pi will still use its built-in audio. RetroPie must be configured to use USB audio instead.

Is the USB Audio Detected?

RetroPie will automatically register the USB device during boot. To test if RetroPie sees the device, go to the RetroPie terminal (either CTRL+ALT+F1 or ssh into RetroPie) and enter lsusb.

Code
lsusb
lsusb shows what USB devices are connected. C-Media is the Plugable USB Audio Adapter

This shows a list of all connected USB devices. What we are interested in is the C-Media Electronics, Inc. line. If visible, then that means the USB audio is connected, detected, and ready for use.

aplay

Next, enter aplay -l to see more detail about all detected audio devices.

Code
aplay-l
aplay -l shows all available audio cards for playback

This shows two “sound cards” connected to the operating system. Card 0 should always be the built-in Pi sound hardware (bcm2835), and Card 1 is the USB audio.

We can see that the Plugable USB audio device is identified as Card 1: [USB Audio Device]. So far, so good. Now, we need to edit a configuration file that tells the Pi to use this instead of the built-in audio.

  • Card 0 – bcm2835 (Built-in Pi Audio)
  • Card 1 – Plugable USB Audio Device

Edit /etc/asound.conf

For RetroPie 3.4 (Raspian Jessie), we must edit the /etc/asound.conf file. Previous versions of RetroPie required a different method involving /etc/modprobe.d/alsa-base.conf, but that does not work with RetroPie 3.4.

In the RetroPie terminal, open the config file:

Code
sudo-nano-etcasound-conf

The file might be empty, and that is okay. Add these lines:

Code
pcm-default-type-hw-card-1-ctl-default-type-hw-card-1

Simply put, this tells ALSA (Advanced Linux Sound Architecture) to use the USB audio instead of the built-in audio. Save and exit.

Restart

Now, restart RetroPie. Choosing “Restart System” from the EmulationStation “Quit” menu allows for proper shutdown.

The pi should now automatically detect and use the USB audio. Pick a game from EmulationStation and play. Be sure to remember to plug your speaker system into the USB audio’s green line-out jack using a 3.5mm plug and to turn up the volume for your speakers. It’s easy to forget this obvious step.

Adjusting Volume Output

You might want to adjust the mixer settings to your liking. In EmulationStation, enter the RetroPie settings, and choose “Configure Audio.” Then, choose “Mixer.” This opens AlsaMixer.

AlsaMixer. Adjusts the volume output

From here, you can control the volume of the USB audio. F6 lets you select which sound device to edit. In this case, I have Speaker (the green line out jack on the adapter) set to 81, which provides adequate line-level output without distortion. The Mic is set to 0 since it is not needed. Gain is set to 0 since, for my configuration, the volume is comfortable at these levels.

Once fine tuning is complete, the Pi should play audio through the USB audio adapter. For me, everything just works, and I have not experienced any issues.

Purchase:  Plugable USB Audio Adapter

]]>
https://l5j.net/retropie/usb-audio-and-retropie-for-better-sound/feed/ 3
RetroPie – Splash Screen – Hit It https://l5j.net/retropie/splash-screens/retropie-splash-screen-hit-it/ https://l5j.net/retropie/splash-screens/retropie-splash-screen-hit-it/#respond Tue, 21 Mar 2017 01:12:56 +0000 http://l5j.net/?p=6839 Installation Instructions:
Upload your file to the following directory on your RaspberryPi /home/pi/RetroPie/splashscreens
Choose Own SplashScreen from the RetroPie Setup Menu
More Installation Information

Download

]]>
https://l5j.net/retropie/splash-screens/retropie-splash-screen-hit-it/feed/ 0