Homepage Forums Search Search Results for 'usb'

Viewing 35 results - 2,871 through 2,905 (of 3,655 total)
  • Author
    Search Results
  • sixfthick
    Participant
    Floob
    Member

    Hi,

    Here is a quick video showing how you configure a USB controller with MAME within EmulationStation/RetroPie
    As its different to the RetroArch config I thought it may help some people.

    #81366
    vasilisrk
    Participant

    Hi to everyone,
    This is my project.
    I still have some issues with controllers and I can’t figure it out. The joystick test seems to be ok but in the games doesn’t work very well(and for retropie menu only reads button A) I Also wondering if I can use for player1 gpio controller and for player2 an extra USB controller (in my case I have a Microsoft with 6 buttons)

    Thanks in advance.

    Anonymous
    Inactive

    I currently am using a PS3 controller wired through USB and a PS4 controller wired through USB and I’m having a problem with the controllers because depending on which one I have plugged in at any given time, the button layouts are different.

    So if sometimes I’m using just my PS3 controller then I have to make sure my controller settings in the RetroArch and mame config files are one way, or if I choose to just use my PS4 controller they have to be altered for that. And when I have them both plugged in, it seems random which controller it chooses to make js0 or js1. Is there any way for me to force a specific controller to be a specific location? I mean forcing the PS3 controller to be js0 always and the PS4 controller to be js1. And if not that, any way to setup the config files to know the difference.

    I know I could just get another PS3 or PS4 controller, so the mappings are the same, or get new controllers all together, but sometimes I’m using one, or both and I wanted to know if anyone knows a way to force specific controllers to be js0 or js1.

    #81341

    In reply to: SNES Pi

    scotty
    Participant

    I have a genesis 2 port adapter from retro-bit which I got working by editing the USBHID drivers and recompiling them. Not sure if the same issues would happen with an SNES one.

    uhv4ipgb
    Participant

    I just purchased a Raspberry Pi revB

    I Want to play old NES and SNES games (eventually sega and Atari…)

    But in regards to old NES and SNES games.
    Which controllers should I use.

    Should I purchase a USB NES controller. OR wire an original NES controller using the GPIO?

    I cannot find on google info regarding using a 3rd party USB NES controller. When I search I find problems with the D-Pad, arrows not working.

    But if I wire my original NES controller to the raspberry pi, it will look cluttered with the external GPIO…

    I’ve been reading about the NES/SNES controller since evening, its now 2am and I have a headache and am no closer to deciding.

    #81328

    In reply to: SNES Pi

    emilio3k
    Participant

    i have 2 original snes pads but i bought the usb one to play it on pc without carrying the big ass adapter wvery time to save space. my adapter has 2 snes port so it’s big. Did the 2 port adapter works if you know?

    #81320

    In reply to: SNES Pi

    emilio3k
    Participant

    Very cool setup. Is your repro controller (the right one) good? I bought recently a retro-usb snes controller from ebay and the d-pad was messy, very sensible touching the up button by pressing the left or right direction. I replaced the piece with the original snes part but didn’t help much.

    #81321

    In reply to: NESπ project

    scotty
    Participant

    I kept mine simple and used tomee USB adapters mounted inside the case for my both SNES and nes raspberry pis. It was easier but cost 10 bucks per adapter than the gpio method. In case it turns out you can’t use all four controllers directly into the pi that’s an option.

    Being in the US I am not sure how long 10cm is, but I have HDMI port savers that are a few inches but a little stiff in all of my pi builds.

    Never tried a CRT TV but I plan on trying to grab one that someone is throwing out.

    #81318
    emilio3k
    Participant

    Hello everyone, my name is Emilio from Italy and I’m totally new to this blog, and to the world of the raspberry pie. I am addicted to the NES since I was a kid and now that i discovered the pi I am going to build a “NESπ”. This are the characteristics of my project:

    -NES case
    -using the original NES ports for playin the nes
    -using 2 SNES ports (mounted on the back) for SNES games (or other 6 buttons games)
    -usb ports for other type of controllers (basically for psx controllers)
    -av rca out for playin retro style on my old crt tv
    -hdmi out
    -both rca stereo and 3,5mm jack outputs for the audio
    -and if it’s possible i’d like to add a vga out for pc monitors

    UPDATE: this will be the logo for the nes cartridge door!
    <3

    The only things i’ve got now are my original systems and controllers and I have to buy all the necessary to make the system. I read some tutorials and i am not very noob with linux but i need some advices to start this epic quest.

    My first questions are:
    -can i plug both NES and SNES ports to the RetroPie GPIO (4 ports in total)?
    -what is the quality of retrogames played on the CRT? (cause i usually play with my laptop plugged throug s-video to the CRT and the quality is worse than the original systems
    -can i find a hdmi 10cm long or i have to cut a longer one?
    -i’d like to use the reset button for the reset function in the emulators?

    So those are my initial questions.. I’d like to thank everybody who wants to help me to build the most amazing NESπ machine ever. I will add photos and schemes of my build as i start to work. THANKS A LOT!

    silversurfer91
    Participant

    Just got a fight stick, it is the xbox 360/ pc version and it is not just a plug and play fight stick and it connects to the pi via usb.

    I have been using emulation station some time now with a usb snes controller adapter(so I can use authentic snes controllers not the crappy usb 3rd party controllers) and they work just fine. I use most of the emulators except mame.

    My question as a noob to the forums is, What do I need to install or what inputs do I need to get this fight stick recognized by the pi so I can properly play some arcade titles.

    ps. the lights on the fight stick blink when I have it plugged into the pi, similar to the way an xbox or ps3 controller lights blink when they are finding a signal to pair up with the console…

    #79737
    odissine
    Participant

    Howahou … SO I’ve to install Ubuntu on a USB for using in live on a PC. And with Ubuntu I could launch directly the .py file ?
    I’ll try this WE :) THanks for your help

    #78391
    wrichards
    Participant

    I really dont want to rebuild this again, is there any way to get the B image to work with the B+ image? the usbs dont work w old, if I do have to rebuild it ARG…

    what image is most upto date and works with B+ 100%?

    thanks for any responses in advance..

    wrichards
    Guest

    I just got a new B+ unit, I thought it would just plug and play an image from my old B unit. well it boots but theres no power to any of the usb ports….

    any fix for this or ???

    scotty
    Participant

    I am trying to setup a Retrobit USB to Genesis Controller adapter and having no luck. I found that a driver was developed as well as a workaround to the issue that the Pi does not recognize left and up.

    https://github.com/robmcmullen/hid-atari-retrobit/blob/master/README.rst

    I am unable to compile the driver. The RetroPie image I used doesn’t have the right build modules or kernel headers (or whatever the term is) to make it work. Trying older versions of the give me an incompatible driver.

    The other workaround that I found involves recompiling the kernel by editing the hidinput driver. This seems like it would take way too long.

    Anyone have any luck with this using RetroPie that could help me out?

    #76394

    Topic: SNES Pi

    in forum Peoples Projects
    scotty
    Participant

    As an avid video game fan and collector I had amassed a decent collection of systems over time. Unfortunately my garage which was the home for this collection, did some collecting itself during Hurricane Sandy; 3 feet of water. This left me with a pile of non-function video game systems. Coming across this site I decided to discard the rusted guts and reuse the game cases for Raspberry Pis. I had done an NES and had so much fun I decided to do an SNES too. I also have a Atari in the queue with switches that look like tootsie rolls from corrosion.

    I looked at dozens of these projects to get ideas, and every implementation appears to be a little unique so besides being fun someone may learn something! I know I did.

    SNES
    I did a little better at documenting the before and after the second time around.
    Before

    Guts

    RetroBrite couldn’t save the case, and I tried.
    Retro

    So a new paint job
    Paint

    Bottom

    Used SNES USB adapters and carved the adapter with an exacto to fit in. Super Glue keeps them from moving.
    Front ports

    From Behind
    Back Ports

    Here is the inside.
    Guts New

    Created a custom label and slapped it on a flooded game. Its just for show doesnt do much else but look nice.
    Game

    Here it is all setup.
    Setup

    #76121
    escher
    Participant

    I can confirm that with the last update (2.3) the input_exit_emulator_btn isn’t working anymore.

    I used to configure it with a Zero Delay USB acarde adapter and always worked (as with a USB SNES controller).

    After upgrading to 2.3 it stopped working.

    I tried many configuration files, but none seems to work.

    lachie
    Guest

    first of all apologies if this has been answered elsewhere, but I haven’t been able to find an answer anywhere. So I am building a arcade coffee table using a raspberry pi and retropie. i have two usb slots on the side of the table for usb snes controllers and a usb encoder pcb

    (see here – http://www.ebay.com.au/itm/No-Delay-USB-Encoder-To-PC-For-Arcade-DIY-Parts-2Pin-Rocker-Happ-Style-Buttons-/201123993135?ssPageName=ADME:L:OU:AU:1120)

    connected to the encoder i have 3 arcade buttons that i would like to use to save, load and exit in roms. i have done a jstest and found the button numbers and added the encoder as player 3 in the retroarch config along with a the exit save and load inputs.

    The issue is that I can only seem to get two things working at once. I can either have the two snes controllers working as player 1 and player 2 and none of the save exit or load buttons working OR i can have just player 1 working and all 3 of the save load and exit buttons working but no player two.

    it seems to change between these two even without me adjusting the code

    any help would be appreciated

    thanks!

    boesiii
    Participant

    I have Retropie working with my usb wired controller and would like to use my xbox 360 wireless controller. Do I need the xbox 360 wireless adapter to get it to work with retropie or will any wireless adapter work?

    xbxo 360 wireless adapter – http://www.gamestop.com/xbox-360/accessories/xbox-360-wireless-network-adapter/40678

    wireless adapter – http://www.canakit.com/raspberry-pi-wifi.html

    skyjunkie
    Participant

    Hi, I have configured a USB SNES controller a few weeks ago however now it does not work :( how can I reset the configuration in the file system? and when I reconfigure the controller again how can it be programmed to be used on other emulators?

    I am running the latest ES

    I found this thread https://github.com/retropie/RetroPie-Setup/wiki/RetroPie-Arch-Linux-Flavor

    under section 5.1 it explains how but the files are not there with new ES

    Best regards

    Winkleink
    Guest

    First time installer.

    I installed RetroPie 2.3 today. All went well. Got Genesis,SNES, PSX and Atari 2600 games working with a USB gamepad.

    While testing the Atari ST emulator I must have messed up and the Pi froze so I unplugged the power.

    When the Pi restarted emulationstation is now corrupt.
    It still functions. I can use the gamepad to select games and once in the games all works well.
    Problem is I have no idea what I’m selecting.
    Here is a video I did to show what is happening. The thing in the corner is me showing the gamepad. I was hoping to show me selecting but the contrast to he screen was just to high.

    Any tips, advise greatly appreciated.

    #72072
    Floob
    Member

    Thats a great tip. Thanks.
    The post referenced is now at:
    http://www.libretro.com/forums/viewtopic.php?f=2&t=201

    For reference the file I needed to edit to do this was:
    /opt/retropie/emulators/RetroArch/configs/USBGamepad.cfg

    As explained above, your start and select codes may be different, but this is shown by the keys you have already mapped. Here is my file

    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"
    #71823
    Sattertje
    Guest

    When I started up I got No Gamepads detected.
    I have an xbox attached with usb.

    Also when I edit a file through ssh, I can’t change it because they are read only.

    What is wrong?

    electromaster64
    Participant

    I know how this is done for USB gamepad but I cannot get it to work using a keyboard. I have a teensy 2.0 set up as a USB keyboard that is set up like a SNES controller so there is not a dedicated escape button.

    Right now I have
    # input_enable_hotkey_btn = enter
    # input_exit_emulator = tab

    This is not working any suggestions?

    Florian
    Guest

    Hy

    I had similar issues. I also thought about a broken device (bluetooth, wifi, usb-controller). I even bought a new pi…

    The main issue was the power.

    Since i built in my pi in a original NES-Case i screwed a power connector to the case and soldered a usb-cable to it. then i plugged the cable to the mausberry powerswitch and from there to the pi.

    With this setup i had the same issues as you described above.

    When using a 2Amp power supply and connecting it directly to the pi i managed to get it up and running stable.

    good luck ;)

    charmilio
    Participant

    Good day, everyone. Just want to preface my complaining by saying that I love the Retropie project and I’ve been using it regularly for about half a year now. Just checked back and saw the new 2.0 update and I’ve been configuring it and really enjoying the new look.

    With that out of the way, I seem to have come into an issue causing me a lot of headaches. Most problems I can google-fu out and deal with, but I can’t seem to find any trace online of this sort of problem.

    After booting into Emulation Station with a wireless USB keyboard and my WiFi Adaptor, I can scroll between systems before I get a freeze. I tried plugging/unplugging various inputs to see what was causing it, even swapped around some power and HDMI cables and I’ve come to the conclusion that this happens when my wireless dongle is plugged in.

    I’ve been having issues getting it to consistantly log into my network (seems to be some issues with WPA-TKIP connections), but once I managed to sort of figure that out, I’ve now run into this new roadblock. When I watch the Pi itself during the boot process, the adaptor will light up after the initial ‘RetroPie’ splash screen and blink while the system finishes booting. Once I’m into EmulationStation, it begins blinking in two distinct patters, patterns that I think remind me of it trying to find a connection. Eventually the light goes out and then all my input devices stop being read. Now, I thought it was a power issue but I’ve been using the exact same hardware on my old EmulationStation with no issues so I don’t really think that’s the case.

    Booted it up again, this time with an ethernet connection, and no such problems occur. I can freely roam around the ES menu with no problems. It’s worth noting that I can exit out of ES while the adaptor is in and launch raspbian with no issues.

    I believe I have a regular model B, 50/50 memsplit, Moderate overclock. If there’s any more information I can give to make this solution easier just let me know, but I’m not the most literate when it comes to linux so please be gentle with my lack of extensive knowledge on the matter.

    Thanks for any assisstance.

    #68392
    Naurandir
    Guest

    Little change to prevent problems with tmp Files, sorry ^^

    #!/bin/sh
    #First Show USB Devices and Inputs inside dev that user knows what pi recognizes.
    echo Initialising Joystick Configuration...
    echo Showing all USB-Devices:
    sudo lsusb
    sleep 6
    echo " "
    echo " "
    echo Showing Devices in dev:
    sudo ls /dev/input
    echo Joysticks should be shown as js0, js1, js2 and so on.
    sleep 6s
    echo " "
    echo " "
    echo Remember your shown Devices for further configuration...
    sleep 3s
    echo Script will start in 5 Seconds...
    sleep 5s
    
    #Create Temp Data
    #Tempdata for Platform
    platformtemp="/home/pi/platformtjs.tmp"
    #Make Sure file is empty
    >$platformtemp
    
    #Tempdata for Joystick
    joysticktemp="/home/pi/joyconfig.tmp"
    #Make Sure file is empty
    >$joysticktemp
    
    #Tempdata for player
    playertemp="/home/pi/playerconfig.tmp"
    #Make Sure file is empty
    >$playertemp
    
    dialog --backtitle "Joystick-Configuration" \
    --title "Joystick-Configuration" \
    --msgbox 'Welcome to Joystick-Configuration' 6 60
    
    dialog --backtitle "Joystick-Configuration" \
    --title "Joystick-Configuration" \
    --yesno 'Would you like to Configure your Joystick?' 6 60
    response=$?
    case $response in
       0) starting=1;;
       1) dialog --backtitle "Joystick-Configuration" --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
       255) dialog --backtitle "Joystick-Configuration" --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
    esac
    
    #While Loop to configure more than one Player.
    while [ "$starting" = "1" ]
    do
    	#---------Platform-Index------------
    	dialog --backtitle "Joystick-Configuration: Platform Selection" \
    	--radiolist "Select a Platform to configure (Use SPACEBAR to select and ENTER to confirm):" 18 45 9 \
    	all "All" on \
    	gb "Game Boy" off \
    	gbc "Game Boy Advanced" off \
    	nes "Nintendo" off \
    	snes "Super Nintendo" off \
    	mastersystem "Sega Master System" off \
    	megadrive "Sega Mega Drive" off \
    	mame "M.A.M.E" off \
    	psx "Playstation 1" off 2> $platformtemp
    	
    	#Platform Type
    	platform=$(cat $platformtemp)
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Platform Selection" \
    	--title "Selected Platform" \
    	--msgbox "Platform -${platform}- was selected." 6 60
    	
    	#---------Joystick-Index------------
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Joystick-Index Selection" \
    	--radiolist "Select Joystick-Number (Use SPACEBAR to select and ENTER to confirm):" 18 45 9 \
    	0 "Joystick #0" on \
    	1 "Joystick #1" off \
    	2 "Joystick #2" off \
    	3 "Joystick #3" off \
    	4 "Joystick #4" off \
    	5 "Joystick #5" off \
    	6 "Joystick #6" off \
    	7 "Joystick #7" off \
    	8 "Joystick #8" off 2> $joysticktemp
    	
    	#Joystick-Index
    	joystickindex=$(cat $joysticktemp)
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Joystick-Index Selection" \
    	--title "Selected Joystick" \
    	--msgbox "Joystick-Index Number ${joystickindex} was selected." 6 60
    	
    	#--------Player-Index-------------
    	dialog --backtitle "Player-Configuration for -${platform}- Platforms: Player-Number Selection" \
    	--radiolist "Select Player-Number (Use SPACEBAR to select and ENTER to confirm):" 18 45 9 \
    	1 "Player #1" on \
    	2 "Player #2" off \
    	3 "Player #3" off \
    	4 "Player #4" off \
    	5 "Player #5" off \
    	6 "Player #6" off \
    	7 "Player #7" off \
    	8 "Player #8" off 2> $playertemp
    	
    	#Player-Index
    	playerindex=$(cat $playertemp)
    	dialog --backtitle "Player-Configuration for -${platform}- Platforms: Player-Number Selection" \
    	--title "Selected Player" \
    	--msgbox "Player-Number ${playerindex} was selected." 6 60
    	
    	#---------Start Joypad Configuration Script
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Starting Input" \
    	--title "Starting Input Configuration" \
    	--msgbox "Configuration of Joystick ${joystickindex} for Player ${playerindex} will start on Platform -${platform}- shortly. Before the Configuration starts it is recommended that all Buttons are used now to calibrate them." 8 60
    	
    	#Start known Joystick Script with correct Parameters.
    	sudo /opt/retropie/emulators/RetroArch/installdir/bin/retroarch-joyconfig -p $playerindex -j $joystickindex > /opt/retropie/configs/${platform}/p${playerindex}.cfg
    	#Finished
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Finished Config" \
    	--title "Configuration Finished" \
    	--msgbox "Configuration of Joystick ${joystickindex} for Player ${playerindex} is finished." 6 60
    	
    	#Ask if another Player should be configured.
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms." \
    	--title "Joystick-Configuration" \
    	--yesno 'Would you like to Configure another Joystick?' 6 60
    	response=$?
    	case $response in
    		0) 	starting=1;;
    		1) 	starting=0
    			dialog --backtitle "Joystick-Configuration for -${platform}- Platforms." --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
    		255) starting=0
    			 dialog --backtitle "Joystick-Configuration for -${platform}- Platforms." --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
    	esac
    	>$platformtemp
    	>$joysticktemp
    	>$playertemp
    done #Ende der While Schleife
    
    #After Configuration is finished all files have to be copied into retroarch.cfg
    sudo cp -f /opt/retropie/configs/${platform}/retroarch_original.cfg /opt/retropie/configs/${platform}/retroarch.cfg
    sudo cat /opt/retropie/configs/${platform}/p*.cfg >> /opt/retropie/configs/${platform}/retroarch.cfg
    
    #Remove all Temp Files
    rm $platformtemp
    rm $joysticktemp
    rm $playertemp
    
    Naurandir
    Guest

    Hello Guys!

    Because of the sometimes painfull usage of joyconfig (how do i start it, how do i copy settings into other emulators? and so on)
    i wrote a little script if anyone is interested.
    It is optimized for EmulationStation 2!

    what does it do?
    It shows you your usb devices (is the joystick recognized?)
    It shows your dev/input (js0, js1 to know where the joystick is).

    After that you can choose what platforms you want to create your input (default all).

    Next it asks which player you would like to edit.
    After that it starts the normal joyconfig script but with correct parameters and copies it into the correct retroarch.cfg.

    What you need to do:
    1. make copies of retroarch.cfg as retroarch_original.cfg WITHOUT any player input (because the script will refer always to retroarch_original.cfg, copies it into retroarch.cfg and append the joystick-input) in every config folder like all, nes, snes, mame,…
    [retroarch.cfg are located in /opt/retropie/configs/*/]

    2. make a file called Joystick.sh (or any other name you want) and copy following code into it:

    #!/bin/sh
    #First Show USB Devices and Inputs inside dev that user knows what pi recognizes.
    echo Initialising Joystick Configuration...
    echo Showing all USB-Devices:
    sudo lsusb
    sleep 6
    echo " "
    echo " "
    echo Showing Devices in dev:
    sudo ls /dev/input
    echo Joysticks should be shown as js0, js1, js2 and so on.
    sleep 6s
    echo " "
    echo " "
    echo Remember your shown Devices for further configuration...
    sleep 3s
    echo Script will start in 5 Seconds...
    sleep 5s
    
    #Create Temp Data
    #Tempdata for Platform
    platformtemp="/home/pi/platformtjs.tmp"
    #Make Sure file is empty
    >$platformtemp
    
    #Tempdata for Joystick
    joysticktemp="/home/pi/joyconfig.tmp"
    #Make Sure file is empty
    >$joysticktemp
    
    #Tempdata for player
    playertemp="/home/pi/playerconfig.tmp"
    #Make Sure file is empty
    >$playertemp
    
    dialog --backtitle "Joystick-Configuration" \
    --title "Joystick-Configuration" \
    --msgbox 'Welcome to Joystick-Configuration' 6 60
    
    dialog --backtitle "Joystick-Configuration" \
    --title "Joystick-Configuration" \
    --yesno 'Would you like to Configure your Joystick?' 6 60
    response=$?
    case $response in
       0) starting=1;;
       1) dialog --backtitle "Joystick-Configuration" --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
       255) dialog --backtitle "Joystick-Configuration" --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
    esac
    
    #While Loop to configure more than one Player.
    while [ "$starting" = "1" ]
    do
    	#---------Platform-Index------------
    	dialog --backtitle "Joystick-Configuration: Platform Selection" \
    	--radiolist "Select a Platform to configure (Use SPACEBAR to select and ENTER to confirm):" 18 45 9 \
    	all "All" on \
    	gb "Game Boy" off \
    	gbc "Game Boy Advanced" off \
    	nes "Nintendo" off \
    	snes "Super Nintendo" off \
    	mastersystem "Sega Master System" off \
    	megadrive "Sega Mega Drive" off \
    	mame "M.A.M.E" off \
    	psx "Playstation 1" off 2> $platformtemp
    	
    	#Platform Type
    	platform=$(cat $platformtemp)
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Platform Selection" \
    	--title "Selected Platform" \
    	--msgbox "Platform -${platform}- was selected." 6 60
    	
    	#---------Joystick-Index------------
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Joystick-Index Selection" \
    	--radiolist "Select Joystick-Number (Use SPACEBAR to select and ENTER to confirm):" 18 45 9 \
    	0 "Joystick #0" on \
    	1 "Joystick #1" off \
    	2 "Joystick #2" off \
    	3 "Joystick #3" off \
    	4 "Joystick #4" off \
    	5 "Joystick #5" off \
    	6 "Joystick #6" off \
    	7 "Joystick #7" off \
    	8 "Joystick #8" off 2> $joysticktemp
    	
    	#Joystick-Index
    	joystickindex=$(cat $joysticktemp)
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Joystick-Index Selection" \
    	--title "Selected Joystick" \
    	--msgbox "Joystick-Index Number ${joystickindex} was selected." 6 60
    	
    	#--------Player-Index-------------
    	dialog --backtitle "Player-Configuration for -${platform}- Platforms: Player-Number Selection" \
    	--radiolist "Select Player-Number (Use SPACEBAR to select and ENTER to confirm):" 18 45 9 \
    	1 "Player #1" on \
    	2 "Player #2" off \
    	3 "Player #3" off \
    	4 "Player #4" off \
    	5 "Player #5" off \
    	6 "Player #6" off \
    	7 "Player #7" off \
    	8 "Player #8" off 2> $playertemp
    	
    	#Player-Index
    	playerindex=$(cat $playertemp)
    	dialog --backtitle "Player-Configuration for -${platform}- Platforms: Player-Number Selection" \
    	--title "Selected Player" \
    	--msgbox "Player-Number ${playerindex} was selected." 6 60
    	
    	#---------Start Joypad Configuration Script
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Starting Input" \
    	--title "Starting Input Configuration" \
    	--msgbox "Configuration of Joystick ${joystickindex} for Player ${playerindex} will start on Platform -${platform}- shortly. Before the Configuration starts it is recommended that all Buttons are used now to calibrate them." 8 60
    	
    	#Start known Joystick Script with correct Parameters.
    	sudo /opt/retropie/emulators/RetroArch/installdir/bin/retroarch-joyconfig -p $playerindex -j $joystickindex > /opt/retropie/configs/${platform}/p${playerindex}.cfg
    	#Finished
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms: Finished Config" \
    	--title "Configuration Finished" \
    	--msgbox "Configuration of Joystick ${joystickindex} for Player ${playerindex} is finished." 6 60
    	
    	#Ask if another Player should be configured.
    	dialog --backtitle "Joystick-Configuration for -${platform}- Platforms." \
    	--title "Joystick-Configuration" \
    	--yesno 'Would you like to Configure another Joystick?' 6 60
    	response=$?
    	case $response in
    		0) 	starting=1;;
    		1) 	starting=0
    			dialog --backtitle "Joystick-Configuration for -${platform}- Platforms." --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
    		255) starting=0
    			 dialog --backtitle "Joystick-Configuration for -${platform}- Platforms." --title "Configuration Finished" --msgbox 'Joystick-Configuration will now end.' 6 60;;
    	esac
    	
    #Remove all Temp Files
    rm $platformtemp
    rm $joysticktemp
    rm $playertemp
    done #Ende der While Schleife
    
    #After Configuration is finished all files have to be copied into retroarch.cfg
    sudo cp -f /opt/retropie/configs/${platform}/retroarch_original.cfg /opt/retropie/configs/${platform}/retroarch.cfg
    sudo cat /opt/retropie/configs/${platform}/p*.cfg >> /opt/retropie/configs/${platform}/retroarch.cfg
    

    Save it and start your script!

    If you played around with the RaspberryPi like me and you have an Section called Applications at EmulationStation you can run this script directly from ES like i do.

    Hope it helps somebody ^^

    greetings Naurandir

    #68207
    Edward Mangion
    Guest

    Hey,the USB NES controller you got of amazon, have you opened it up?
    I know, random question, but in need of a picture of the PCB for a project.
    If you could reply with one I’d be rather greatful!
    Many thanks, Edward.

    kenno7
    Participant

    Hello,

    I have just started using RetroPie in the last week.
    I find it quite easy to use and setup.

    Just having a couple issues that I was wanting to get some help with.

    1) I have a wireless PS3 controller. It is setup and working when the usb cable is plugged in. However, when trying to set it up through bluetooth I can’t get it working. I’ve followed several guides and looked for solutions but am stuck when I type in : sudo ./sixpair

    I get an error saying “usb_claim_interface: Device or resource busy”

    Has anyone else had this / know how to fix it?

    2) I can’t play MAME games. They appear in the list of ROMs but when I try to play it I get an error saying:

    opt/retropie/supplementary/runcommand/runcommand.sh: line 60: /opt/retropie/emulators/mame4all-pi/mame: no such file or directory

    Do you know how I can fix this?

    3) I can’t get save states, load states and print screens working in any of my emulators. I have configured retroarch.cfg to say :

    input_save_state = n
    input_load_state = m

    But it does nothing… Is anything else meant to be setup for this?

    4) Not a major thing but every ROM I open there is a message that appears on the screen saying Joypad port #0 (Xbox Gamepad (userspace driver)) configured

    Is there a way to stop this message coming up?

    Thanks for your help :)

    droopie
    Participant

    [quote=17939]Thanks again. I have now got this working! huettmaster, you shouldn’t need to change the specific Xin-Mo cfg file at all. That’s the mistake I was making.

    The thing I was missing is that the cfg file that needs editing (/opt/retropie/configs/all/retroarch.cfg) has dummy configurations setup for up to 8 players, but they are much further down the file. I had just seen the keyboard config stuff at the top and assumed that was it. After checking a lot of other stuff I eventually scrolled all the way through the cfg and found what I was looking for. Feel a bit silly now. I ended up directly entering the key values for players one and two after jotting down the inputs. The joypad index for both was 0.

    Appreciate the help trimmtrabb. I at least feel like I understand the pi and retropie a little better now!
    [/quote]
    you rock! i signed up to the forums just to say that! question tho, say i have 4 players with a mix n match set of controllers. how the heck would i set that up? like if i have an xbox controller, a ps3 controller, and a n64 controller. all usb. i bet each control would have a different value so if player 1 has A button value 3, and player 2 has A value of 2, and so on… do i have to mark each control physically to know which is mapped to what? or how do i use the device name to assign to look up its map universally in a cfg file?

    Anonymous
    Inactive

    Hi, Just set up a brand new retropi on the b+, ran through all of the set-up, and had a normal PS3 controller wired into the usb port, went through set up with it, and it worked. Followed up with a restart, and now it does not respond at all. Not sure if I am missing something or what here. Any help is appreciated.

    Applicable warning – I am completely new to all of this, just got my first set up today.

    electromaster64
    Participant

    How do I change the keyboard settings? I know for a USB controller you go to RetroPie setup and run Configure RetroArch Controller to change how that works in game but how do you do that for a keyboard? The keyboard works fine in the menu but not in games.

    #65524

    In reply to: Missing emulators?

    lunarkingdom
    Participant

    if you put in a usb memory stick retropie will make a folder called “roms” that will have folders inside for all emulators, all you do is pull it out, hook it up to your pc and ad your rom files in the correct folder and re-insert it into the Pi, it will take a while depending on how many roms you added then restart your Pi and the ones that are compatible will show up, if you do not add any roms to an emulator it will not show up.

    rromo12
    Guest

    When I plugged in my flashdrive I was able to access the files without changing anything, are you looking in /media/usb?

    You should atleast be able to copy from the USB drive to the desktop without any issues?

    You’ll probably have to change the permissions of the /etc/emulationstation/themes/simple/ folder.

    What issue are you running into with your memory stick?

Viewing 35 results - 2,871 through 2,905 (of 3,655 total)