-
Search Results
-
Every time that I turn my Raspberry Pi B+ on, I have to completely reconfigure my 2 PS3 controllers that I connect via USB. This means that I have to reconfigure the controller with both Emulation Station and Retro Arch. How do I fix this? (They are both also still connected to the PS3, could that be the problem?)
So yeah! It’s finally complete, thanks to retropie and the controlblock! Took me a lot of hard work, but I’m happy as hell with it.
My goal was to create a SNES pi console that retained the clean look and gave me functionality above and beyond what I would get if I bought a similar console pre-made from the store.
Features:
– Runs the Retropie/Emulationstation OS
– Bluetooth integrated. Programmed to support PS3, PS4, HID and Wii/U controllers natively.
– Wireless N integrated for remote control and file transfer. Can be operated via phone or SSH.
– 16GB internal storage, NAS functionality via WLAN for external storage, streaming video, films and music.
– Support for NES, SNES, GBA, PSX, Megadrive/Genesis, GB, GBC, Arcade, Neo Geo, CPS1/2/3, Amiga and more all at full speed, all navigated through purely with a SNES pad or supported controller.
– Support for two real SNES pads via the front ports, up to 4 controllers configured at once.Ingredients
Hardware:
– SNES Console (bought one with a broken motherboard)
– Raspberry Pi B 2
– 16GB Micro SD
– OEM Bluetooth dongle
– TP-Link WiFi N dongle
– HDMI Extension lead
– Micro USB extension lead
– ControlBlock circuitry for polling the real SNES ports and controlling the LED and power switch
– Solder, wire and a new LED.Installation
I firstly started by installing Retropie and getting everything set up correctly, using the great guide at https://github.com/retropie/RetroPie-Setup/wiki – for a lot of people some of the more advanced settings may seem daunting, but I have enough linux experience to have a grasp on it all. Kinda.
The next step was to work out where everything went. I disassembled the console, and installed the USB and HDMI extension cables on the rear plate for power and video in/out. The adapters fitted into the slots with minimal filing/sanding, only requiring a bit of glue to keep them firmly in place. My plan to not alter the casing itself (apart from that removable plate) paid off in the end. The entire console is seamless and looks no different to a stock SNES (which was the point) and if the ports do break somehow in the future, the plate is easily replaceable and the Pi is not compromised in any way.
The next step was to solder the connections for the controller ports ready for installation into the controlblock for polling inputs. I de-soldered the original control PCB from the ports and attached wires. I wasn’t sure how many I would use until I got the circuitry to test them out – I ended up getting rid of half! Four of the pins didn’t even need to be used – I only needed 5v, clock, data, ground and latch.
And here is the image of how the wiring ended up when connected and installed to the control unit, along with the new LED and power switch connection:
As for mounting the Pi, I used four plastic spacers, glued to the base.
So really, that was it for the install. I made all the wires and components fit, plugged in the bluetooth and WiFi dongles and put the case back together again. After installing the controlblock service via sudo get-apt via the github repository, the console switched on and off as it was intended to via the power switch and the LED worked fine. However, there was a serious issue with polling the data for the SNES pads. Whilst it worked fine on the lowest clock setting, having it even close to Pi2 overclock (1ghz, 0 overvolt) resulted in random button presses and eventually a failure of the controller to be recognised at all….so I brought it up as an issue with the retropie team, and it was identified as a clock issue and fixed within a day. Awesome.
And like that, my console was finished:
But something was missing – yes, even more crazy extras that I probably neednt have bothered with. I bought this controller by 8bitdo – it’s a fantastic replica of the SNES original pad, and works via Bluetooth:
A little bit of coding later, and I had written a driver and set it up to work automatically upon boot!
As mentioned, it is configured to work and connect at boot automatically and then the front ports are set to player 2 and 3 for multiplayer. A PS3 or Wii U Pro Controller can be added for player 4 if I want some bomberman action!
So yeah. everything is controlled via the SNES pad. Quitting a game is a case of pressing SELECT+START together, or in the case of Game Boy games, I have set it to SELECT+L (because of the crazy Link’s Awakening save system).
What do you all think? good?
I have two USB gamepads both branded Retrolink. They are both recognized in ES. They both pass the jstest. They are both set up in retroarch. I installed beta 3.2 on two different pi’s. 1 was a b+ the other a b2 (each with their correct images). Same condition on both Pi’s. If I set the two up in different orders the problem switches between controllers.
I tried two different NES emulators and a SNES. Same issue.
I tried deleting all the configs as I’ve seen elsewhere on the forums and then resetting up the controllers, no joy.
The config is USBGamepad.cfg
Any ideas?
Hi Everyone,
I have 2 NES and 2 SNES controllers that I have converted to USB using the RetroKit from RetroUSB. The controllers work great but I find I have to remap the controllers every time I switch from NES to SNES or vice versa. Is there a way to have RetroPie and emulators detect that I have switched controllers and to load/use the appropriate mapping config file? Or is it possible to have multiple mappings saved and quickly select the appropriate mapping?
Thanks in advance!
Topic: NES Retropie
My second attempt on a raspberry pi project!
Hardware:
Bought myself a broken NES, removed the old hardware. Picked up a rpi 2 and ATXRaspi for a clean shutdown for de Pi, works perfect! Re-used the buttons from the NES. Got a nice blue Power LED. I got rid off the controller inputs and replaced it with USB. The NES now comes with a HDMI ouput and UTP for transferring ROMs.Software:
Used retropie software 3.0 BETA 2 for rpi 2.
With much help of this blog it starts up in a nice clean (no logo!) random splashscreen from sur0x. Used the scraper from sselph, with good results! It runs perfect!I have big performance Problems with my Raspberry Pi 2.0
Using retropie v3.0 (sd image)i have connected:
usb controller and wireless keyboardSNES games run poorly with bad sound and low fps (for example Mario, super metroid, F zero)
I don´t understand that because I saw a lot of videos of people running even starfox or n64 games fluidly
I´ve already set the clock to the raspi 2 setting, everything else is left default.
I´m new to RetroPie and hope someone can help me.
Two suggestions based on a couple ‘issues’ I ran into over the weekend. Hopefully these aren’t duplicates or requests.
1. I would love to be able to be able to DELETE roms using the USB ROM copy service. Say I add 9 new ROMs to my RetroPie, but only 7 of them work. Now I’m stuck with two ROMs on the machine that don’t work. In some cases, the machine not be available to operate locally with a connected keyboard, or SSH in. Maybe a subfolder called DELETE where the ROM file desired to be deleted could be placed. If it matches the file on RetroPie in name and size, delete it from both locations (to avoid clutter). Say I built a machine for a not-very-computer-literate friend who wants to put more ROMs on. That’s simple enough for them with the great USB ROM copy service – until they put MAME roms in the Atari7800 folder or vice-versa, and then I have to go running over there to take them off the list manually.
2. I see that some config files are pulled down the USB still and have folders for FROM and TO (don’t have it in front of me at work, sorry). How about being able to do the same thing with the configs/(each emulator)/*.cfg files? That way, in the absence of both a network connection and a keyboard, I can still modify these files?
I know, I get the irony of the whole thing, but over the weekend, I had a new test system with me to use as an arcade on the hotel’s TV. But it was setup for different controllers, and I had no way to log in to change them (but I did have my laptop with me so I could have off the USB stick).
Thank you,
Hi,
Brand new to all this.
I have a Raspberry Pi 2
Retropie 3.0 Beta installed via SD card
Speedlink Strike Wired Gamepad
USB KeyboardI’ve been following these instructions on lifehacker:
http://lifehacker.com/how-to-turn-your-raspberry-pi-into-a-retro-game-console-498561192I got as far as booting up the Pi with my gamepad connected. The gamepad configuration screen appears and it lets me press the keys for each command, but then won’t do anything else. After the final button has been set, the menu moves back to the top, with the command for ‘UP’ highlighted, but it is frozen there. I can’t move to the ‘ok’ button, and the keyboard doesn’t seem to let me do anything except exit using F4 and starting the process again.
Help would be appreciated!
Hi everyone,
I am having trouble getting retropie version 3 betta for the raspberry pi 2 to download the roms folder to the usb drive. I have gone through the set up, enabled the USB rom service (326), made a retropie folder on the flash drive, and I’m leaving my flash drive in for well over 30 seconds. I’ve tried reformatting my flash drive; nothing. I tried re-writing retropie to the SD card; nothing. I have no idea what to do at this point, seeing as how all of the help videos say to just plug the usb in and it downloads automatically, which I’ve seen it do on other systems. Any help would be greatly appreciated. Thanks!
Hi,
I use the RPi2 and I have two big problems:
1) Turning on/off:
The ControlBlock is very cool, but something didin’t work:
I’ve installed everything and it might seem to be ok.
So I connect the USB-to power. Then I switch my switch to ON.
The LED fades a lot of times and I see on the screen, that RetroPi is booting. Good
After successful loading I switch to OFF and the RetroPi shutdown. Cool! :) – until here!
When I then try to switch to ON again, the LED fades slow, but I didn’t see anything on the screen. Same when I try again switch to OFF (it fades then only too!)!
When I disconnect the power of the USB and connect it again, then it works again as written above.
I use that switch:
http://www.arcadeshop.de/Accessoires-Wippschalter-SDW-5A-grün_924.html
And I use a 2x USB power suply whiuch has 1000mA on port 1 and 2100mA on port2. I use port2.
I attach an image!2) After the ES is loaded my connected buttons/stick doesn’t work.
I install Mame stick and pushbuttons, I also connect the ground.
Before I install ControlBlock I have connected the IPac2 and it works with changes in “retroarch.cfg” – now I turn that changes into the standard values how they are after a clean installation. But it didn’t work.
I didn’t also know where to connect the buttons for “Pause” and “exit”?!Any idea?
Hi,
I’ve been using RetroPie to play Final Fantasy VIII (PSX), which requires you to hold down the select button and press square during some sequences. Currently, I’m unable to do this because the select button on the PS3 controller works as a toggle key to allow me to do stuff like exit the emulator (e.g. select + start exits the emulator).
Is there any way to assign the toggle key to a different button on the controller (e.g. R3) so that I can use the select button normally?
Thanks a lot to anyone who could assist. My info is below, and the input section of my retroarch config file is attached, if either helps.
Pi Model: 2B
RetroPie Version Used: 3.0 beta 2
Built From: SD image
Controller used: PS3 controller, have also set up Tomee USB SNES pad
How to replicate the problem: Playing Final Fantasy VIII using RetroPie, summon a GF and attempt to boost by holding the select button and pressing square.Topic: Doesn't copy roms to SD
Hi, how can I run the roms in my usb without copying they to the sd?
I saw this tutorial: http://mardell.me/blog/how-to-load-roms-from-a-usb-drive-on-retropie/
But I don’t want to change the directories.Thanks
When I run /opt/retropie/emulators/retroarch/retroarch-joyconfig:
Couldn’t open joystick #0Do you know how can I solve this problem. I was usins this joysctick in previous versions.
Joystick is detected as low-speed USB device number 5 using dwc_otg
idVendor=1292
Productor: NEOGEOX Arcade Stick
Manufacturer: TOMMO
TOMMO NEOGEOX Arcade Stick on usb-bcm2708_usb-1.5/input0Hi, I’m using RetroPie 3 (over OSMC with RetroPie Script).
I have a dual-shock like (not dual-shock) controller and after first boot (and splash screen with controller configuration for ES) lot of systems goes OK. All fine! Until I test PSX.
First of all, the analog doesn’t works. Ok, reading the forum I added to:
/opt/retropie/configs/all/retroarch-core-options.cfg the line pcsx_rearmed_pad1type = “analog”
Check that the path is “/all/” not “/psx/” because this doesn’t work.Ok, now I have analog detection! But not all fine. I detected that left analog “up” is not correctly calibrated (so is like half up) and, worst, the right analog is misconfigured (checked in Ape Scape).
I executed “RetroPie (menu) -> configure retroarch controller” and it generates the file:
/opt/retropie/emulators/retroarch/configs/MicrontekUSBJoystick.cfg
It doesn’t work, I try executing again the configurator but modifiying other keys (swap up and down, left and right, etc.) and nothing changed, up is still up in a game (tested in SNES games, for example).The script says that my “MicrontekUSBJoystick.cfg” will be used when my controller is detected, but is fake, this file isn’t readed (or is readed and overwrited)
How can I configure my controls?
Topic: 4 players in many emulators
Hy everybody!
As the title sugests, im looking for make 4 players available in the following emus: Mame, PiFba, N64, Mega Drive.
So far now i got to set things nice in mame and pifba, im stuck with the megadrive configs i’ve read about genesis-gx-plus and installed it, but i simply can’t figure out how to make 4 players works, i read somewhere that setting 4-wayplay or teamplay on p1 would work but this is not working here.
my setup is kinda odd, for I want to make the keyboard p1 and 3 usb joysticks the other 3 players.
They’re named differently and I (hope) managed to set their devices staticaly on udev (js0 will be always the same joystick, and so the others)If anyone seeing this post could help, even if I have to change emulator or mess in c/c++ code i will try to do.
All I need is to make sega genesis emu run with 4 players so me and my friends could play YuYu Hakusho Makyoutohissen. :D
If you need me to post any config files ask here, as well as any other info about setup. im running 3.0 beta 2 from retropie.
thanks in advance.I updated retropie from source. I use a USB controller. Afterwards, found all my settings for my hotkeys still work for the SNES emulator and everything is fine.
But then I checked my retroarch config…both the “all” and the SNES specific, and a couple ones that weren’t labeled as other emulators.
None of them had the hotkey setup, nor any of my settings. I had read the configurations would get overwritten, so I was surprised to find my save/load state buttons still worked. Now I’m concerned as to where it’s getting its commands from.
Any ideas where else to look?
Topic: Having issues with N64 ROMs
Hello all newbie here,
I am having issues with my N64 roms on Retropie, everytime I try to play a game it is horribly choppy and the sound will cut out randomly. Also most text dialogues are unreadable. My super nintendo Roms work fine, which leads me to believe it may be a proformence issue
here are some additional details
Pi Model: 2b
RetroPie Version Used: 3.0.0 Beta
Built From: SD Image
USB Devices connected: Steelseries 3gc controller
Controller used: same as aboveGuide used: http://lifehacker.com/how-to-turn-your-raspberry-pi-into-a-retro-game-console-498561192
Followed this guide, but instead of using wifi to transfer my roms I transfered them through a FlashdriveI’ve tried overclocking and such. Anyone have any suggestions?
Hi all I’m newb here.
Using Raspberry Pi 2
Installed from SD
v. 2.6.0
usb device: wifi keyboard
controller: GPIOI’m using this guide for the controller setup:
https://github.com/digitalLumberjack/mk_arcade_joystick_rpi#loading-the-driverEmulationStation was working originally but won’t load after installation of the joystick kernel module. The joystick works. I get the following error:
/usr/bin/emulationstation: line 17: /opt/retropie/supplementary/emulationstation/emulationstation: No such file or directory
I’m so close to realizing the dream! Here’s my cabinet build if anyone’s interested:
http://forum.arcadecontrols.com/index.php/topic,112805.0.htmlThanks in advance!
Topic: N64 controller
Hello, it’s very hard for me to properly configure the n64 controller. (English is not my first langage)
I may be wrong but I believe this config is wrong: /opt/retropie/emulators/retroarch/configs/USB_Gamepad.cfgThe file look like this:
input_device = “USB Gamepad ”
input_driver = “udev”
input_b_btn = “2”
input_y_btn = “3”
input_select_btn = “8”
input_start_btn = “9”
input_up_axis = “-1”
input_down_axis = “+1”
input_left_axis = “-0”
input_right_axis = “+0”
input_a_btn = “1”
input_x_btn = “0”
input_l_btn = “4”
input_r_btn = “5”input_enable_hotkey_btn = “8”
input_exit_emulator_btn = “9”
input_menu_toggle_btn = “0”
input_load_state_btn = “4”
input_save_state_btn = “5”I’m running a pi2 with the retropie beta 3.18beta.
It’s hooked up in a kraylix arcade cabinent, controls wired into an ultimarc j-pac usb-to-jamma board.The pi sees the j-pac as a usb keyboard, and all controls are mapped to keyboard button presses.
I’ve been unable to map controls in the pifba emulator. No changes I make in any config file affect the emulator as launched within emulationstation.
I’ve run the retropi-setup.sh, and the keyboard mappings there are correct.
I must be missing something… how can I get the controls working in FBA?
/opt/retropie/configs/all/retroarch.cfg:
(obviously not complete file)input_player1_a = a input_player1_b = s input_player1_y = q input_player1_x = w input_player1_start = 2 input_player1_select = 5 input_player1_l = z input_player1_r = x input_player1_left = d input_player1_right = g input_player1_up = f input_player1_down = r input_player1_l2 = c input_player1_r2 = v # input_player1_l3 = # input_player1_r3 = input_player2_a = lctrl input_player2_b = lalt input_player2_y = space input_player2_x = lshift input_player2_start = 1 input_player2_select = 6 input_player2_l = i input_player2_r = k input_player2_left = left input_player2_right = right input_player2_up = up input_player2_down = down input_player2_l2 = j input_player2_r2 = l # input_player2_l3 = # input_player2_r3 =
/opt/retropie/configs/fba/retroarch.cfg
#include "/opt/retropie/configs/all/retroarch.cfg" # All settings made here will override the global settings for the current emulator core input_remapping_directory = /opt/retropie/configs/fba/ input_player1_a = a input_player1_b = s input_player1_y = q input_player1_x = w input_player1_start = 2 input_player1_select = 5 input_player1_l = z input_player1_r = x input_player1_left = d input_player1_right = g input_player1_up = f input_player1_down = r input_player1_l2 = c input_player1_r2 = v # input_player1_l3 = # input_player1_r3 = input_player2_a = lctrl input_player2_b = lalt input_player2_y = space input_player2_x = lshift input_player2_start = 1 input_player2_select = 6 input_player2_l = i input_player2_r = k input_player2_left = left input_player2_right = right input_player2_up = up input_player2_down = down input_player2_l2 = j input_player2_r2 = l
/opt/retropie/emulators/retroarch/retroarch.cfg
(partial)input_player1_a = a input_player1_b = s input_player1_y = q input_player1_x = w input_player1_start = 2 input_player1_select = 5 input_player1_l = z input_player1_r = x input_player1_left = d input_player1_right = g input_player1_up = f input_player1_down = r input_player1_l2 = c input_player1_r2 = v # input_player1_l3 = # input_player1_r3 = input_player2_a = lctrl input_player2_b = lalt input_player2_y = space input_player2_x = lshift input_player2_start = 1 input_player2_select = 6 input_player2_l = i input_player2_r = k input_player2_left = left input_player2_right = right input_player2_up = up input_player2_down = down input_player2_l2 = j input_player2_r2 = l # input_player2_l3 = # input_player2_r3 =
/opt/retropie/configs/fba/fba2x.cfg
[Keyboard] # Get codes from /usr/include/SDL/SDL_keysym.h # ////// # // Player 1 # ///////////////////////// A_1=97 # A B_1=115 # S X_1=113 # Q Y_1=122 # Z L_1=120 # X R_1=99 # C START_1=50 # 2 SELECT_53 # 5 LEFT_1=100 # D RIGHT_1=103 # G UP_1=102 # F DOWN_1=114 # R QUIT=27 # ???? # /////// # // Player 2 # ///////////////////////// A_2=306 # L-CTRL B_2=308 # ALT // l-alt=308 r-alt=307 X_2=32 # SPACE Y_2=105 # I L_2=106 # j R_2=107 # k START_2=49 # 1 SELECT_2=54 # 6 LEFT_2=276 # LEFT RIGHT_2=275 # RIGHT UP_2=273 # UP DOWN_2=274 # DOWN [Graphics] DisplaySmoothStretch=1 # Display Effect: 0 none, 1 scanlines DisplayEffect=0 DisplayBorder=0 MaintainAspectRatio=0
/opt/retropie/emulators/pifba/fba2x.cfg
symlnk to above fba2x.cfg/opt/retropie/emulators/retroarch/configs directory doesn’t seem to contain a file for “keyboard”
Hello,
For those who use the Ultrastik 360 joystick there is a Raspberry Pi version of the ultrastikcmd utility (used for flashing maps to the joystick) which has been ported by Andy S. He helped me get everything installed and I’m pleased to say it works perfectly.
You can find the github repository here: UltrastikCmd
Here are the step by step instruction to get this running (thanks to Andy who answered all my questions)
Make sure you’re connected to the internet and in the terminal type:
wget https://github.com/andrewsil1/UltrastikCmd/archive/master.zipOnce downloaded type: unzip master.zip
Navigate to the unzipped folder: cd UltrastikCmd-Master/
Navigate to libusb-1.0.19: cd libusb-1.0.19/
Type the following:
sudo ./configure
sudo make
sudo make install
Once finished navigate back by typing: cd ..Navigate to libusb-compat-0.1.5: cd libusb-compat-0.1.5/
Type the following:
sudo ./configure
sudo make
sudo make install
Once finished navigate back by typing: cd ..Navigate to libhid-0.2.16: cd libhid-0.2.16/
Type the following:
sudo ./configure
sudo make
sudo make install
Once finished navigate back by typing: cd ..Navigate to ultrastikcmd-0.2: cd ultrastikcmd-0.2/
Type the following:
sudo ./configure
sudo make
sudo make installFinally type: sudo ldconfig
ultrastikcmd should now be ready to use.
To flash a map to the ultrastik type either:
sudo ultrastikcmd -u <full path to map file>
or:
sudo ultrastikcmd -v -u <full path to map file> if you want more verbose output.Replace <full path to map file> with the path to the map file you wish to upload. Map files can be found in: /usr/local/share/ultrastikcmd/maps
For example to flash the 4 way map to the ultrastik type:
sudo ultrastikcmd -u /usr/local/share/ultrastikcmd/maps/4-Way.umFor a description of the other available arguments type: ultrastikcmd – -help
I hope this is useful. Maybe it could be included in the retropie distro by default. A big thanks to Andy S for porting this and for helping me compile and install it.
Hello. i have some very hard problem. Im try to used all 3 gamepads.
1. USB Keyboard, 2. XBOX 360 Wirelles PAD and 3. Db9_GPIO_RPI as Amiga Joystick.All working in EMULATION STATION and Amiga joystick working in UAE4ALL and ATARI 800 but in all LIBRETRO emus my XBOX PAD is always configured as GAMEPAD #2 but in ES i see as GAMEPAD #3.
When dissable my db9_gpio_rpi (Amiga Joystick) when my XBOX 360 PAD is in ES as #2 when enbale db9_gpio_rpi XBOX 360 PAD is in ES as #3. Where i can change the # of gamepad or change db9_gpio_rpi (Amiga Joystick) to gamepad #3.
Thankyou for help :)
cheers