Forum Replies Created
-
AuthorPosts
-
trimmtrabbParticipant
Try doing the updates on the old B first then and again.
trimmtrabbParticipantRetroarch.cfg in configs/all/ is the file you need to use so just copy that over.
trimmtrabbParticipantTo access the GUI you need to add this to retroarch.cfg:
input_menu_toggle = *
Where * is the button you wish to use. Then it is accessed by holding down the hotkey like the other buttons etc
trimmtrabbParticipantIf you bring up the Retroarch GUI have a look through the menus for an option to enable 2 player, can’t remember what’s in the GUI menu off the top of my head but you may find something in there. Also try adding this to player 2 controls:
input_player2_up_btn = “h0up”
input_player2_down_btn = “h0down”
input_player2_left_btn = “h0left”
input_player2_right_btn = “h0right”I’m guessing p2 is the Saitek pad?
Are there any other 2 player games you can try to rule out the rom being the issue?trimmtrabbParticipantAre you using the RetroPie image or installed via the setup script? If the latter something may not have installed correctly.
trimmtrabbParticipantHmm, so all p1 controls work in the Playstation emulator? Double check all p2 buttons are functioning:
jstest /dev/input/js1
I haven’t played any 2 player Playstation games but check there isn’t an option to enable 2 player in the Retroarch GUI, add this to retroarch.cfg:
input_menu_toggle =
(enabled via hotkey)
trimmtrabbParticipantCan you post the contents of your retroarch.cfg?
trimmtrabbParticipantYou have to create the folders
trimmtrabbParticipantSo both pads work in MAME/NES/SNES?
trimmtrabbParticipanttry j- 0 instead
trimmtrabbParticipantYes, once in Emulation Station press F4 to exit to the terminal
trimmtrabbParticipantHi, there’s a good guide here: https://www.petrockblock.com/forums/topic/updated-for-2-2-step-by-step-guide/
trimmtrabbParticipantAre you using HDMI or analogue audio?
trimmtrabbParticipantAre you using the analogue output?
trimmtrabbParticipantDid you run rpi-update? Strange that you’re getting usb drive corruption on the new model, have a look over at raspberrypi.org forums for advice
trimmtrabbParticipantI had issues with a Microsoft multimedia keyboard, check the list of problem keyboards here: http://elinux.org/RPi_USB_Keyboards
I had to buy another cheap keyboard in the end
07/21/2014 at 22:33 in reply to: Configuring 2-player controls from a single custom USB controller #17930trimmtrabbParticipant[quote=17554]Thanks trimmtrabb. I’ve done some more tweaking and still can’t get player 2 controls to work. The file you mentioned (/opt/retropie/configs/all/retroarch.cfg) seems to only specify the keyboard controls. Then it has these two lines to fetch the configs for my Xin-Mo controller:
input_autodetect_enable = “true”
joypad_autoconfig_dir = “/opt/retropie/emulators/RetroArch/configs/”I’ve looked in that folder and specifically found the Xin-Mo config which I can edit to my heart’s content. What I’m finding confusing is there seems to be three separate places where I could potentially put the code for player 2. Also I’m not sure whether I need to specify the input_player2_joypad_index, the input_device or the input_driver. I’ve tried putting my player 2 code in all these places to no avail:
/opt/retropie/configs/all/retroarch.cfg
/opt/retropie/emulators/RetroArch/retroarch.cfg
/opt/retropie/emulators/RetroArch/configs/Xin-MoXin-MoDualArcade.cfgIn the interest of completeness here’s the code I’ve been trying:
input_player2_b_axis = “-2″
input_player2_y_btn = “18″
input_player2_select_btn = “19″
input_player2_start_axis = “+3″
input_player2_up_btn = “12″
input_player2_down_btn = “13″
input_player2_left_btn = “11″
input_player2_right_btn = “14″
input_player2_a_axis = “+2″
input_player2_x_axis = “-3″These inputs are definitely correct as I’ve successfully used them to control player one as a test that everything was working. No dice for player two though.
What am I doing wrong??
[/quote]Run the joypad config:
sudo chown pi /opt/retropie/configs/all/retroarch.cfg cd /opt/retropie/emulators/RetroArch/installdir/bin sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg
(should be -j 0, try -j 1 if it doesn’t work)
Then edit retroarch.cfg in configs/all/ and copy player 1 controls but change 1 to 2. Then you need to specify which device player 2 uses, add this above p2 controls:
input_player2_joypad_index =
(should be 1)
To list the registered joystick devices with: ls /dev/input
trimmtrabbParticipantSee post #4 in this thread: https://www.petrockblock.com/forums/topic/xbox-controller-config/
trimmtrabbParticipantGlad you sorted it :-) The runcommand script switches the resolution down to VGA for better performance though I haven’t noticed any difference to be honest, maybe a small increase with N64/PSX emulation but nothing dramatic.
trimmtrabbParticipant[quote=17722]Having same problem with the missing directory structure. Using RetroPie version 2.2 which only brings BIOS and roms folders under RetroPie.
I have installed the image 2 times already and no luck.
I also tried the commands provided by Trimmtrabb, but it says ‘Couldn’t open joystick #0′
Any suggestions, how to proceed with this?
[/quote]Try -j 1 instead of -j 0
trimmtrabbParticipanttry changing runcommand.sh to 2 in es_systems.cfg located in /etc/emulationstation/
More info here: https://github.com/retropie/RetroPie-Setup/blob/master/supplementary/runcommand.sh
If that doesn’t work there is an option to change aspect ratio in the Retroarch GUI
07/19/2014 at 22:06 in reply to: Configuring 2-player controls from a single custom USB controller #17371trimmtrabbParticipantIf you’re using the latest image/most recent setup script the new location is /opt/retropie/configs/all/retroarch.cfg
trimmtrabbParticipantTry editing from terminal:
nano /opt/retropie/configs/all/retroarch.cfg
trimmtrabbParticipantYou can run them straight from usb, you need to edit es_systems.cfg located in etc/emulationstation/ to point to the flash drive.
trimmtrabbParticipantSee post #4 in this thread: https://www.petrockblock.com/forums/topic/xbox-controller-config/
trimmtrabbParticipantTry running the config as user: root password: raspberry
trimmtrabbParticipantWhich image are you using?
trimmtrabbParticipantOverclocking will help with performance but the Pi does struggle a bit with SNES and PSX emulation.
trimmtrabbParticipantLocation has changed with image 2.x Try this:
sudo chown pi /opt/retropie/configs/all/retroarch.cfg cd /opt/retropie/emulators/RetroArch/installdir/bin sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg
trimmtrabbParticipantI’m not sure, you can use jtest to work out which buttons are which:
jstest /dev/input/js0
07/17/2014 at 17:37 in reply to: Remove xpad and use xboxdrv instead to stop controller light flashing constantly #16699trimmtrabbParticipantXboxdrv does appear to have support for 3rd party Logitech pads: http://pingus.seul.org/~grumbel/xboxdrv/
When you edited rc.local did you make sure a wired pad is specified? (–id instead of –wid)
trimmtrabbParticipantYou don’t need to install xboxdrv on the latest RetroPie image. Just plug the pad in and follow prompts to configure Emulation Station after boot.
Then to configure controls for most of the emulators (the Retroarch cores):
sudo chown pi /opt/retropie/configs/all/retroarch.cfg cd /opt/retropie/emulators/RetroArch/installdir/bin sudo ./retroarch-joyconfig -j 0 >> /opt/retropie/configs/all/retroarch.cfg
^^ If -j 0 does not work try -j 1
trimmtrabbParticipant:-) Just to add, if you want to further modify retroarch.cfg:
nano /opt/retropie/configs/all/retroarch.cfg
You can determine the buttons on your pad with:
jstest /dev/input/js*
(replace * with device number as above)If you assign a hotkey you can map other functions to buttons already assigned: (replace * with the buttons from jtest etc)
input_enable_hotkey_btn = “*”
input_exit_emulator_btn = “*”
input_save_state_btn = “*”
input_load_state_btn = “*”
input_state_slot_increase_btn = “*”
input_state_slot_decrease_btn =”*”
input_menu_toggle_btn = “*”More info here: https://github.com/libretro/RetroArch/blob/master/retroarch.cfg
trimmtrabbParticipantFirst question – no. Second question, I think so, they would need to be .srm game saves and named the same as the rom file.
trimmtrabbParticipantIn terminal type:
ls /dev/input/
Note the device number your pad is assigned (should be js0)
Then run:
sudo chown pi /opt/retropie/configs/all/retroarch.cfg cd /opt/retropie/emulators/RetroArch/installdir/bin sudo ./retroarch-joyconfig -j * >> /opt/retropie/configs/all/retroarch.cfg
(replace * with device number of pad)
Follow prompts and you should be good to go
-
AuthorPosts