Did you ever get this figured out? I am going crazy trying to get this to work.
There are some issues with 2 player games on SNES, such as Super Bomberman, the second controller only works if you hold down a button on the first controller. I’m using two SNES usb controllers, they work great on some games like Tetris 2 but on others they seem to act erratically. Anyone know a fix for this? I’ve been searching for hours with to no avail.
AnonymousInactive
Hey guys/gals,
I’m currently in the process of re-writing the SDCard as i’m running into filesystem corruption and likely need a different SD Card (problems after about 10 reboots or so)
It does work amazingly well though, when i’m using HDMI for video. I thought I was all set to go install it in my car but I tried using the RCA video out instead and although it all looked good, as soon as i launched the NES or SNES emulators by selecting a rom, the screen goes blank and i can hear the audio. If I press my couple buttons on the controller it’ll quit the emulator and I can blindly use the options to reboot it, and it comes back up for another try.
I’ve got RasPi model B (512mb), Targus Stowaway USB keyboard (portable, can fit in glovebox) and a USB adapter for my original SNES controller. Again, everything works beautifully if i use HDMI. I just can’t seem to use RCA video due to the blackout issue once launching ROMs.
I’ve done some searching but might be using the wrong terminology or phrasing. Has anyone ran into this before? I really only plan on using NES and SNES, but I did use the pre-build SD Card image just to make it easy on myself so it appears to have ‘everything’ on it.
SD Card is a 16gb class 10 card from SanDisk. Can provide details if required. I’m using the 5v 2A power supply my Galaxy S4 came with to power it. Due to the file system corruption i’ve tried setting the overvolt option to 2 and it seems to help the file system issues, but i don’t notice any difference with regards to the RCA video.
Thanks in advance :) I’m a windows guy (server admin, tech junkie), but I understand linux… though nothing too in depth.
Brian
AnonymousInactive
All,
I’ve dumped some roms in the Commodore 64 rom folder, but cannot seem to play them. Let me be a bit more specific.
I’m using SD card image 1.5
I’m playing via HDMI (No issues at all!)
The roms show up in the C64 emu menu
Roms are in the tap or t64 format
Inthe emu menu, I select the rom to play, and press the allocated launch button. Next, I am booted in to the c64 emulator, but am directed straight to what appears to be the c64 setup menu. From here I can browse around various menus, but not launch a rom.
Is there something special I need to be doing to have the C64 playable with USB SNES controllers? Select rom, press the launch button, playgame?
Is there a specific rom format that is preferred other than tap/t64? I know this was an issue with DGEN for me.
AnonymousInactive
Kinda ’nuff said in the title, but still. Whenever I run a ROM, it just shuts down. I am using a USB Keyboard as a controller (I don’t have another kind of USB “controller”.
Oh, also, when I ran retroarch-joyconfig, it said couldn’t open joystick #0. That might be the problem.
Hi,
I’m dealing with NES emulation.
I can start the rom but when I’m in the game tha pad does’t work at all and I have to plug in the keyboard to play.
In the NES emulator menu there is no buttons configuration and the joypad is properly selected as the P1 controller.
So I’ve tried to follow some online guides.
From the terminal I go to:
cd RetroPie/emulators/RetroArch/tools
and then launch:
./retroarch-joyconfig
Here start the problems:
1. the button mapping process is simply ununderstable. It refer to buttons with names and numbers that simply I can’t understand.
2. When I open the retroarch.cfg file to edit it I can’t find out the right lines at the bottom of it.
Is there someone who has a SNES USB pad as me and can just share with me a proper .cfg file?
Thanks a lot.
You were correct. Some of my ROMS were an incorrect format. Thanks for the help.
Now if i can just figure out how to install to USB Flash Drive ill be good to go!
I followed the instructions for setting up xboxdrv, and I got my wired controller working perfectly. I then changed the setting to wid instead of just id to change it to wireless, powered off the system and plugged in the wireless adapter. The controller reads, but it repeats key presses and acts weird. I’ve tried it with and without the USB hub, same with the wired controller. The wired works both ways and the wireless has the same errors both ways.
I don’t think it’s a power issue because I’m using an approved product, and it works fine with the wired controller.
Does anyone have any suggestions?
Sorry if this is a repeat post, I looked at the topics of the first page of threads and tried to google search something on it, but nothing turned up.
First of all, I would try and test everything without the USB controller being connected.
AnonymousInactive
I got one of those, it works perfectly.
Thanks for the questions.
No, my Raspberry isn’t overclocked.
No, I’m not using a powered usb hub. The keyboard has backlight but, even with only the USB pad plugged, the Raspberry freezes.
I’ve tried both, 1.5 and 1.6.1 BETA.
Hey mate, are you running overclocked?
are you using a powered usb hub?
are you using an sdimage? 1.5 or 1.6.1? or you build from source?
Hi,
I’ve tried many many times to install and re-install RetroPie on 2 different SD cards. Both of them are class 4, one is an 8 Gb SD card, the other one is 16 Gb.
I can setup my joypad (a SNES USB controller) and then RetroPie freezes.
Sometimes I can switch to Dukem Nukem from the start screen (I think is an Apple emulator) but it’s just a matter of time (a few seconds) and RetroPie freeze, freeze and freeze again.
Have I to give up?
Someone has the same problem?
i took all my other emulators and stuck them in a folder so just NES is where it should be since thats all im interested in. f10 to quit out of that apple emulator and f4 to get back to terminal. you can in theory map to a NAS but thats so much of a pain if you plug in a usb stick it will create a ROM folder on it just put your roms in the appropriate folder and when you plug it back in it will auto copy them off. hope that helps a little.
how do you get your joystick name? i have tried the input name and that doesn’t work for me and im out of ideas as to where to find the name. since its an analog device it does not show up in either of the two folders inside of /dev/input
i only say that on an assumption since the only devices listed in either of those folders are USB devices.
I can boot with the xbox360 controller detached, i suspect the problem will be solved if i use a powered usb hub
So I had no previous experience with linux or Raspberry Pi but decided that I wanted to learn mostly because of this project! I feel like I have done pretty well considering.
I was able to get everything to work with a keyboard and wanted to take it to the next level and get the actual NES controllers working and place it all in an NES shell like I had seen on some other blogs and videos.
I ran into issue with the NES controller once I tried to map the left and up keys. I have tried two usb to nes adapters and 3 controllers with no luck.
I am using Retrolink Retro-bit NES to USB adapters and they work perfectly on my mac and pc.
I am wondering if anyone has any helpful tips? A config file I can copy? Is the GPIO set up pretty easy if I was alright with the soldering?
Sorry for all the questions and thank you so much in advance!
Thanks!
A question for you, what did you use to allow overwriting the sound to the headphones instead of the USB speakers. I too have a pair of USB speakers connected to my 7-port powered hub. I’m going to mount an analog audio jack on the front of the table but I don’t know how to reroute the sound and disable the speakers.
Any help would be greatly appreciated! :)
i am running 1.5 disk image through hdmi, maybe it is my controller which i still cant get to work on the emulator menu just in games. (its a cheap snes usb)
Hi all,
I’ve installed retropie and my ROMs with amazing ease for linux related stuff so great news on that front. The installation is perfect but now I want to connect my original SNES controllers to use instead of the keyboard.
I’m wondering if I could use this:
Am I thinking far too simplistically or will this likely work?
Thankyou for any help.
AnonymousInactive
Hi,
I am having exactly the same issue. Emulator hangs on the DGEN splash screen. I have the same config as the opening poster (perhaps the controllers are a different brand :p) If it helps, we’re using the RetroPie v1.6 Beta disk image. NES is successfully working with two usb snes style controllers.
DGENRC: /home/pi/RetroPie/emulators/dgen-sdl contains “sample.dgenrc”. Is there a mthod for setting up DGEN separately that could be causing the hang?
Alternatively in .dgenrc there is a DGENRC file that contains two commented out lines, and the additional dgenrc.auto file that looks like:
# DGen/SDL v1.32
# This file is automatically overwritten.
key_pad1_up = "UP"
joy_pad1_up = "joystick0-axis1-min"
key_pad1_down = "DOWN"
joy_pad1_down = "joystick0-axis1-max"
key_pad1_left = "LEFT"
joy_pad1_left = "joystick0-axis0-min"
key_pad1_right = "RIGHT"
joy_pad1_right = "joystick0-axis0-max"
key_pad1_a = "a"
joy_pad1_a = "joystick0-button0"
key_pad1_b = "s"
joy_pad1_b = "joystick0-button1"
key_pad1_c = "d"
joy_pad1_c = "joystick0-button2"
key_pad1_x = "q"
joy_pad1_x = "joystick0-button3"
key_pad1_y = "w"
joy_pad1_y = "joystick0-button4"
key_pad1_z = "e"
joy_pad1_z = "joystick0-button5"
key_pad1_mode = "BACKSPACE"
joy_pad1_mode = "joystick0-button6"
key_pad1_start = "RETURN"
joy_pad1_start = "joystick0-button7"
key_pad2_up = "KP_8"
joy_pad2_up = "joystick1-axis1-min"
key_pad2_down = "KP_2"
joy_pad2_down = "joystick1-axis1-max"
key_pad2_left = "KP_4"
joy_pad2_left = "joystick1-axis0-min"
key_pad2_right = "KP_6"
joy_pad2_right = "joystick1-axis0-max"
key_pad2_a = "DELETE"
joy_pad2_a = "joystick1-button0"
key_pad2_b = "END"
joy_pad2_b = "joystick1-button1"
key_pad2_c = "PAGE_DOWN"
joy_pad2_c = "joystick1-button2"
key_pad2_x = "INSERT"
joy_pad2_x = "joystick1-button3"
key_pad2_y = "HOME"
joy_pad2_y = "joystick1-button4"
key_pad2_z = "PAGE_UP"
joy_pad2_z = "joystick1-button5"
key_pad2_mode = "KP_PLUS"
joy_pad2_mode = "joystick1-button6"
key_pad2_start = "KP_ENTER"
joy_pad2_start = "joystick1-button7"
key_fix_checksum = "F1"
joy_fix_checksum = ''
key_quit = "ESCAPE"
joy_quit = ''
key_craptv_toggle = "F5"
joy_craptv_toggle = ''
key_scaling_toggle = "F6"
joy_scaling_toggle = ''
key_screenshot = "F12"
joy_screenshot = ''
key_reset = "TAB"
joy_reset = ''
key_slot_0 = "0"
joy_slot_0 = ''
key_slot_1 = "1"
joy_slot_1 = ''
key_slot_2 = "2"
joy_slot_2 = ''
key_slot_3 = "3"
joy_slot_3 = ''
key_slot_4 = "4"
joy_slot_4 = ''
key_slot_5 = "5"
joy_slot_5 = ''
key_slot_6 = "6"
joy_slot_6 = ''
key_slot_7 = "7"
joy_slot_7 = ''
key_slot_8 = "8"
joy_slot_8 = ''
key_slot_9 = "9"
joy_slot_9 = ''
key_save = "F2"
joy_save = ''
key_load = "F3"
joy_load = ''
key_z80_toggle = "F10"
joy_z80_toggle = ''
key_cpu_toggle = "F11"
joy_cpu_toggle = ''
key_stop = "z"
joy_stop = ''
key_game_genie = "F9"
joy_game_genie = ''
key_fullscreen_toggle = "alt-RETURN"
joy_fullscreen_toggle = ''
key_debug_enter = "
”
joy_debug_enter = ”
key_prompt = “:”
joy_prompt = ”
bool_vdp_hide_plane_a = false
bool_vdp_hide_plane_b = false
bool_vdp_hide_plane_w = false
bool_vdp_hide_sprites = false
bool_vdp_sprites_boxing = false
int_vdp_sprites_boxing_fg = 16776960
int_vdp_sprites_boxing_bg = 65280
bool_autoload = false
bool_autosave = false
bool_autoconf = true
bool_frameskip = true
bool_show_carthead = false
str_rom_path = “roms”
bool_raw_screenshots = false
ctv_craptv_startup = off
scaling_startup = default
emu_z80_startup = cz80
emu_m68k_startup = musa
bool_sound = true
int_soundrate = 22050
int_soundsegs = 8
int_soundsamples = 0
int_volume = 100
key_volume_inc = “=”
joy_volume_inc = ”
key_volume_dec = “-”
joy_volume_dec = ”
bool_mjazz = false
int_nice = 0
int_hz = 50
bool_pal = true
region = ‘ ‘
str_region_order = “JUEX”
bool_fps = false
bool_buttons = false
bool_fullscreen = false
int_info_height = -1
int_width = -1
int_height = -1
int_scale = -1
int_scale_x = -1
int_scale_y = -1
int_depth = 0
bool_swab = false
bool_opengl = true
bool_opengl_aspect = true
int_opengl_width = -1
int_opengl_height = -1
bool_opengl_linear = true
bool_opengl_32bit = true
bool_opengl_swap = false
bool_opengl_square = false
bool_doublebuffer = true
bool_screen_thread = false
bool_joystick = true
The .emulationstation/es_systems.cfg fragment for mega drive looks like
DESCNAME=Sega Mega Drive / Genesis
NAME=megadrive
PATH=/home/pi/RetroPie/roms/megadrive
EXTENSION=.smd .SMD .md .MD .bin .BIN .zip .ZIP .gz .GZ .bz2 .BZ2
COMMAND=/home/pi/RetroPie/supplementary/runcommand/runcommand.sh 1 “/home/pi/RetroPie/emulators/dgen-sdl/dgen -f -r /home/pi/RetroPie/configs/all/dgenrc %ROM%”
# alternatively: COMMAND=export LD_LIBRARY_PATH=”/home/pi/RetroPie/supplementary/dispmanx/SDL12-kms-dispmanx/build/.libs”; /home/pi/RetroPie/emulators/dgen-sdl/dgen %ROM%
PLATFORMID=18`
Thank you very much for your help. I know we’re pretty keen to get sonic cranked up over here :)
I used the pre-made .img file from this site with a Raspberry Pi B rev 2.0, installed xboxdrv and setup all of the proper configuration files for the controller in /etc/rc.local and used retroarch-joyconfig to add the p1.cfg file to retroarch.cfg. The Xbox Wireless receiver is plugged into a 2.6 amp USB hub and the pi is powered by the hub as well. (Plugging the pi directly to the wall did not fix anything).
When I try to use the Xbox Wireless controller with emulators, it seems as though packets are being dropped (or something else?). For example, even when I am just in the ROM selection menu and press down on the d-pad, it often gets “stuck” and constantly repeats the d-pad down command until I hit something else on the controller. This trend continues within games, too.
Exiting everything and running “sudo xboxdrv” shows me that this is not a hardware problem because outside of the emulation station, all packets are received and the button never gets “stuck.” (E.g. when I press down on the d-pad dd=1 and immediately when I let up, and new line appears letting me known dd=0)
Any ideas?
AnonymousInactive
Question: would I just need to change the following section of the “retropie_setup.sh”:
# configure AdvanceMenu
function configure_advancemenu()
{
printMsg "Configuring AdvanceMenu"
mkdir -p "/home/$user/.advance/"
cp "./supplementary/advmenu.rc" "/home/$user/.advance/"
cat >> "/home/$user/.advance/advmenu.rc" << _EOF_
emulator "Atari 2600" generic "/usr/local/bin/retroarch" "-L <code>find $rootdir/emulatorcores/stella-libretro/ -name "*libretro*.so"</code> --config $rootdir/configs/all/retroarch.cfg --appendconfig $rootdir/configs/atari2600/retroarch.cfg %p"
emulator_roms "Atari 2600" "$rootdir/roms/atari2600"
to:
emulator "Atari 2600" generic "/usr/local/bin/retroarch" "-L
find $rootdir/emulatorcores/stella-libretro/ -name “*libretro*.so”` –config $rootdir/configs/all/retroarch.cfg –appendconfig $rootdir/configs/atari2600/retroarch.cfg %p”
emulator_roms “Atari 2600” “/mnt/usbdrive/roms/atari2600″`
AnonymousInactive
Good Morning! I’m trying to move my ROM folder locations to a USB pen drive. I can mount the USB pen drive and have it seen by RetroPie, I can change where the SMB Shares point too, but how do I modify where the ROM folders are? Currently they are all in ~/RetroPie/roms/SYSTEMNAME but I’d like to move them to something like /mnt/usbdrive/roms/SYSTEMNAME
Is this even possible?
Thanks!
So I have everything setup correctly as far as I can tell. I configured all the buttons on the PS2 style usb game pad using the configuration utility.
I can start the SNES emulator just find with Super Mario All Stars. I can even select which Mario game I want to play. (Super Mario 3) As soon as I get into the game after selecting Player 1 and selecting the save file the controller doesn’t do anything anymore. I’m on the map of the Mario world and I have to move around to select which level I want to play but nothing happens. The controller doesn’t respond. The keyboard doesn’t respond either unless I hit escape.
This is weird because everything seems to be working until I actually need to move Mario. Nothing happens.
Ideas?
Karloss, thank you so much. This seems to have worked.
I tried logging in via SSH to do the command, instead of doing it from the RP. Seems to have made a difference.
The gamepad is a little laggy, though, I suspect its the gamepad itself. A very cheap USB one from chinatown near my work. Maybe I’ll try to get a better one and see if it improves.
Regards
AnonymousInactive
Hi all,
After following the guide at http://lifehacker.com/how-to-turn-your-raspberry-pi-into-a-retro-game-console-498561192 I’m having issues when loading ROMs on the Mega Drive emulator.
Following is my Hardware, using RetroPie image 1.5
512mb Pi
1A DC adapter
8GB SD Card
2 USB Controllers
I have tried 3 ROMs, Sonic 1, 2 and World Of Illusion – though they all have the same issue: I get the DGEN splash screen, and my Pi simply hangs…
I have removed one of the controllers, to see if it’s power related, but no joy.
Any help greatfully recieved!
missed the sudo commands..
at the bottom on the /RetroPie/configs/all/retroarch.cfg file, you will see input_player1_joypad_index stuff, delete all of that…
then drop into terminal (F4) or ssh and do this..
cd ~/RetroPie/emulators/RetroArch/tools
sudo ./retroarch-joyconfig -o p1.cfg -p 1 -j 0
( -o for output file, -p for player, -j for joystick id )
then do this
sudo cat p*.cfg >> ~/RetroPie/configs/all/retroarch.cfg
this will setup the controls for the emulators, if you need to do the emulationstation controls, delete the esconfig file in the .emulationstation folder and reboot.
good luck
I.E. I create a blank file called whatever.cfg
and when I have the command in the right file, run something like:
./retroarch-joyconfig -o -p1 -j0 whatever.cfg
And then copy it into the retroarch.cfg
Brilliant (I don’t mean that sarcastically, I really appreciate it!)!!!
AnonymousInactive
Yeah, this confused me for a while as well, but here’s what you need to do.
What you need to do is take the output of /home/pi/RetroPie/emulators/RetroArch/tools/retroarch-joyconfig
and add it to the end of /home/pi/RetroPie/configs/all/retroarch.cfg
Just pipe the output of retroarch-joyconfig into a file and append that file to the end of retroarch.cfg
That should do it.
Hi Guys,
my RetroPie works fine, but i have following little problems.
1. i have a fullscreen in main menu but not in SNES.
2. i will configure a second usb controller. How it works?
Thanks a lot
Nils
Ok… So once I do the little trick above to get the CD to be the /tools/ folder, I’m able to run this:
./retroarch-joyconfig -0//./RetroPie/configs/all/retroarch.cfg
And the config runs!
Unfortunately when I go to RetroPie/configs/all/retroarch.cfg and check the file, there are no joystick inputs in the file (so the config never took).
Ideas?
[quote=1941]Im trying to do this and i constantly get Directory not found. I can go in open the directory in terminal but when i attempt to ./retroarch-joyconfig -o p1.cfg -p 1 -j 0 it just gives me Base File/Directory not found. Is it possible the keyboard im using is causing this? I have not been able to get a single directory to change and i know they exist. [/quote]
1941… Try this…
In Console, type: pwd… That will tell you what directory you are in.
Then type CD /home/pi/
Type PWD and you should see:
/home/pi/
Then tyoe: ls -F
It’ll get you all of the folders and files in that directory that you can CD to
I was able to get to the cd ~/RetroPie/emulators/RetroArch/tools/ folder this way but still haven’t figure out how to get joyconfig to run
ffffffffffuuuuuuuuuuuuuuuu…………….. This is driving me nuts LOL
So I found another relative thread with similar commands…
http://www.raspberrypi.org/phpBB3/viewtopic.php?f=78&t=42521
Here’s the code to run:
cd ~/RetroPie/emulators/RetroArch/tools/ &&
./retroarch-joyconfig -p 1 -j 1 >> ~/RetroPie/configs/all/retroarch.cfg
So I type that in and I still get:
“-bash: cd ~/home/pi/RetroPie/Configs/All no such file or directory”
I did a search in WinSCP and the retroarch-joyconfig is found at:
/home/pi/RetroPie/emulators/RetroArch/tools
ALMOST THERE!
Also I deleted es_systems.cfg in /home/pi/.emulationstation and reran emulationstation… This allowed me to reset the emulationstation navigation controls so now my PS2 USB controller as well as my keyboard work for navigating around emulationstation (selecting games, exiting, etc).
The keyboard works great in games, the PS USB controller is totally unresposnive.
Alsmost there!