Homepage Forums Search Search Results for 'usb'

Viewing 35 results - 1,751 through 1,785 (of 3,655 total)
  • Author
    Search Results
  • boomgreen87
    Participant

    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?)

    rich
    Participant

    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?

    cloudwraith
    Participant

    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?

    trompstomp
    Participant

    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!

    #97997

    Topic: NES Retropie

    in forum Peoples Projects
    Anonymous
    Inactive

    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!

    x52p
    Participant

    I have big performance Problems with my Raspberry Pi 2.0
    Using retropie v3.0 (sd image)

    i have connected:
    usb controller and wireless keyboard

    SNES 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.

    #97935
    rich
    Participant

    I can confirm it now works. Awesome!

    Only issue is there is quite noticeable input lag – this is not present on the lower clocked settings or when using other controllers (bluetooth or usb).

    Any ideas?

    edit: hard gpu sync seems to have fixed it in FCEUMM at least!

    Fixes it in other emulators too, SNES runs beautifully.thanks!

    #97906
    flausch
    Participant

    Hello Rinusch!

    I have made this solution:

    Two DB9 connectors inside

    The GPIO driver für DB9 had to be installed manually, because the one included in retropie did not work (maybe because of a newer kernel after some updates)

    I also made an external usb to two DB9 adapter, bought here (you have to solder it yourself)
    http://www.sinchai.de/index.php?main_page=product_info&cPath=1&products_id=137

    Both solutions work flawless inside Retropie (testet with C64, Atari 2600, Atari ST)… except in UAE4ALL2.

    Concerning UAE4ALL2 I made some research, but with no pleasing result:
    I installed different forks of UAE4ALL2 but all of them have the same problem… hardcoded inputs.

    I did a request at one of the most promising forks called UAE4ARM:
    https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=110488

    So it looks like we have to hope and wait.

    #97892
    MarcoCol
    Participant

    Another feedback from me, hopefully, anyone know an answer!

    to 1)
    I noticed another strange situation:
    The switch is turned off, then I connect the USB-power-suply and the Raspberry boots! But only until the Retripi-title-splash. Then I see the shutdown-command!
    When I then switch it to on, nothing happens, without that fading LED.
    If the switch is on and I then connect the USB-power-supy, the Raspberry boots too but then he will not shutdown.

    to 2)
    I test all buttons with “jstest” and they work.
    But the button I’ve chosen for Coin1, didn’t work in MAME?!
    Also I can’t use and Exit-button, because I didn’t know where to connect to on the ControlBlock!
    Or must I configure them in a config file?

    mhkievit
    Participant

    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,

    thefoonc
    Participant

    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 Keyboard

    I’ve been following these instructions on lifehacker:
    http://lifehacker.com/how-to-turn-your-raspberry-pi-into-a-retro-game-console-498561192

    I 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!

    #97868
    rinusch
    Participant

    Hi Flausch,

    Interesting topic.
    I’m trying to achieve exactly the same: a 2 player Amiga/C64 gaming experience on the RPI (using Retropie).

    I’ve once soldered a small device which accepts two 9-pin Amiga/C64 joysticks and connects to an old game port (25 pins?). Now that this port has become obsolete, I’ve bought a gameport to USB adapter from Ebay which works fine on Windows (WinUAE).
    However, I haven’t managed to get it working on Emulationstation. I’m instead using a PS3 controller for that for the time being.
    I’ve managed to get Vice working with the C64 jostick (by having it ‘learn’ the controls).
    What I read about UAE4ALL2 however is that it has the controls pretty much hard coded, i.e. not configurable through a config file or whatever.
    If that’s really the case, I’d need to wait for an improved version of UAE4ALL2 and Retropie of which I don’t know how long it would take.

    So the solution you are looking into would be a good alternative.
    I’ll look into this as well. Can you keep me posted on any findings please? Trying to get this to work asap :)

    Regards,
    Rinusch

    zackula85
    Participant

    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!

    #97794
    phoenix
    Participant

    My problem is that when using Mame4all-Pi, I can hit TAB to bring up the menu, but then nothing will input.

    I’m using wireless xbox controllers, and for many games, I can’t insert coins, but some games work just fine using iMAME4ALL-lr.

    Does the xboxdrv interfere with the USB keyboard?

    edit: I solved the coin issue by using the suggestion in the Retropie Wiki FBA section (moving the exit/hotkey button). I still cannot input after hitting TAB when using MAME4ALL-PI.

    MarcoCol
    Participant

    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?

    #97765
    retrocomp
    Participant

    Hello. From “Menu” – “Configure Input” -> “No gamepads detected. Hold a button on your device to configure it” and I only can configure Keyboard.

    If I exit to shell with F4:
    pi@retropie ~ $ cd RetroPie-Setup
    pi@retropie ~/RetroPie-Setup $ sudo ./retropie_setup.sh
    3 – SETUP
    317 – Register RetroArch Controller
    OK to “Connect only…”
    Couldn’t open joystick #0.

    Creating a remote connection with ssh:

    pi@retropie ~ $ cat /proc/bus/input/devices
    I: Bus=0003 Vendor=1292 Product=4e47 Version=0100
    N: Name=”TOMMO NEOGEOX Arcade Stick”
    P: Phys=usb-bcm2708_usb-1.4/input0
    S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.0/0003:1292:4E47.0001/input/input0
    U: Uniq=
    H: Handlers=js0 event0
    B: PROP=0
    B: EV=1b
    B: KEY=1fff0000 0 0 0 0 0 0 0 0 0
    B: ABS=30000
    B: MSC=10

    I: Bus=0003 Vendor=045e Product=0752 Version=0111
    N: Name=”Microsoft Wired Keyboard 400″
    P: Phys=usb-bcm2708_usb-1.5/input0
    S: Sysfs=/devices/platform/bcm2708_usb/usb1/1-1/1-1.5/1-1.5:1.0/0003:045E:0752.0002/input/input1
    U: Uniq=
    H: Handlers=sysrq kbd event1
    B: PROP=0
    B: EV=120013
    B: KEY=10000 7 ff9f207a c14057ff febeffdf ffefffff ffffffff fffffffe
    B: MSC=10
    B: LED=7

    pi@retropie ~/RetroPie-Setup $ jstest /dev/input/js0
    Driver version is 2.1.0.
    Joystick (TOMMO NEOGEOX Arcade Stick) has 2 axes (Hat0X, Hat0Y)
    and 13 buttons (BtnX, BtnY, BtnZ, BtnTL, BtnTR, BtnTL2, BtnTR2, BtnSelect, BtnStart, BtnMode, BtnThumbL, BtnThumbR, ?).
    Testing … (interrupt to exit)
    Axes: 0: 0 1: 0 Buttons: 0:off 1:off 2:off 3:off 4:off 5:off 6:off 7:off 8:off 9:off 10:off 11:off 12:off

    pi@retropie ~/RetroPie-Setup $ ps -u pi
    PID TTY TIME CMD
    2325 ? 00:00:00 sshd
    2326 pts/0 00:00:00 bash
    2409 tty1 00:00:00 bash
    2416 tty1 00:00:00 emulationstatio
    2420 tty1 00:00:19 emulationstatio
    2536 pts/0 00:00:00 ps

    pi@retropie ~/RetroPie-Setup $ sudo /opt/retropie/emulators/retroarch/retroarch-joyconfig
    Couldn’t open joystick #0.

    tinytuft
    Participant

    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.

    #97753
    luc4s
    Participant

    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

    retrocomp
    Participant

    When I run /opt/retropie/emulators/retroarch/retroarch-joyconfig:
    Couldn’t open joystick #0

    Do 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/input0

    #97737
    eventhorizon
    Participant

    Try pressing ctrl-alt-del and connect the controller again when it waits. There isn’t any harm in rebooting and trying again in case you want to attempt connecting via both direct (USB) and bluetooth methods.

    paquito
    Participant

    Hi, 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?

    Yusuke Urameshi
    Participant

    I have a Pi2 and can’t configure it 4 players, really don’t know what am I missing, tried 4-wayplay and teamplayer on 1st and second devices.
    now I got no keyboard and only 1 of my 3 usb joysticks working in 3 button mode.
    Strange fact it is I can’t choose nothing except joypad auto on 3rd and 4th devices.

    pls some light on this my birthday will be within a month i would like to boost the party with the Pi.

    #97712
    eventhorizon
    Participant

    This is what I use:

    1. sudo vi /etc/rc.local

    2. Add the following code at the end, just before the “exit 0” line:

    echo Waiting for controller
    while ! ls /dev/js* 1>/dev/null 2>&1
    do
    sleep 1
    done
    echo Controller found

    3. Save

    4. Reboot

    What this does is wait indefinitely at bootup until a controller is connected. It works perfectly for my PS3 controller over either bluetooth or USB.

    Yusuke Urameshi
    Participant

    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.

    catmandu13
    Participant

    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?

    kngkoopa
    Participant

    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 above

    Guide 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 Flashdrive

    I’ve tried overclocking and such. Anyone have any suggestions?

    mikejkelley
    Participant

    Hi all I’m newb here.

    Using Raspberry Pi 2
    Installed from SD
    v. 2.6.0
    usb device: wifi keyboard
    controller: GPIO

    I’m using this guide for the controller setup:
    https://github.com/digitalLumberjack/mk_arcade_joystick_rpi#loading-the-driver

    EmulationStation 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.html

    Thanks in advance!

    #97467
    tabarnak
    Participant

    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.cfg

    The 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”

    cadestomp
    Participant

    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”

    ruckage
    Participant

    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.zip

    Once 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 install

    Finally 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.um

    For 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.

    #97430

    In reply to: No emulators showing.

    Anonymous
    Inactive

    @tendonut: I don’t know (lol)… But, if I put the USB with Roms, RetroPie detect some of them (from the MAME folder, .zip file) as FinalBurnAlpha roms.


    @herbfargus
    Today I tried to connect raspberry via WiFi, but it seems that my raspi doesn’t have a IP addres, how can I know if my raspi is correctly connected?

    Floob
    Member

    Does the text scroll off the screen?
    You can set a smaller font by changing this line (set the value to 12):
    video_font_size = 12

    Make sure it doesnt have a # at the start of the line

    Its in this file:
    /opt/retropie/configs/all/retroarch.cfg

    =====================

    Although I think this will solve it:

    USB SNES Controller – D-Pad not working in games

    jdaly82
    Participant

    So I noticed something today and maybe someone can figure this one out and maybe it can create a solution for this problem. I bought an N64 controller today and noticed that when I played SNES games the X and Y as well as the right and left shoulder buttons worked. So when it loaded I noticed the file name: Generic USB Joystick and went to /opt/retropie/emulators/retroarch/configs to find the file to see how the buttons where programmed, but he file isn’t there in that folder. Anyone have any ideas as to where the file is then? And if so maybe that’s why when I modify USBGamepad.cfg it doesn’t fix the problem on the SNES controller?

    #97417
    jonv
    Participant

    Does anyone use any of these USB N64 controllers available from funstock: http://www.funstock.co.uk/retro/pc-mac-usb-controllers
    successfully with Retropie N64 emulators?
    I wasn’t expecting such a choice!

    pawelkrak
    Participant

    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

Viewing 35 results - 1,751 through 1,785 (of 3,655 total)