-
Search Results
-
Topic: Xin-Mo 2 player set up
I really have no idea what I’m doing wrong here. Only tested on SNES, but not managed to get Player 2 working.
Player 1 works fine.
Tested using jstest and evtest and all buttons for both controllers work fine, and inputs are correct.
What am I doing wrong here?
This is my retroarch setup:
# Enable input auto-detection. Will attempt to autoconfigure # joypads, Plug-and-Play style. input_autodetect_enable = false
# If desired, it is possible to override which joypads are being used for user 1 through 8. # First joypad available is 0. input_player1_joypad_index = 0 input_player2_joypad_index = 0
# Joypad buttons. # Figure these out by using RetroArch-Phoenix or retroarch-joyconfig. # You can use joypad hats with hnxx, where n is the hat, and xx is a string representing direction. # E.g. "h0up" input_player1_a_btn = 11 input_player1_b_btn = 13 input_player1_y_btn = 12 input_player1_x_btn = 10 input_player1_start_btn = 15 input_player1_select_btn = 14 input_player1_l_btn = 17 input_player1_r_btn = 16 input_enable_hotkey_btn = 14 input_exit_emulator_btn = 15 # input_player1_left_btn = -2 # input_player1_right_btn = +2 # input_player1_up_btn = -3 # input_player1_down_btn = +3 # input_player1_l2_btn = # input_player1_r2_btn = # input_player1_l3_btn = # input_player1_r3_btn = input_player2_a_btn = 1 input_player2_b_btn = 4 input_player2_y_btn = 5 input_player2_x_btn = 0 input_player2_l_btn = 2 input_player2_r_btn = 3 # input_player2_left_btn = # input_player2_right_btn = # input_player2_up_btn = # input_player2_down_btn = # Axis for RetroArch D-Pad. # Needs to be either '+' or '-' in the first character signaling either positive or negative direction of the axis, then the axis number. # Do note that every other input option has the corresponding _btn and _axis binds as well; they are omitted here for clarity. input_player1_left_axis = -2 input_player1_right_axis = +2 input_player1_up_axis = -3 input_player1_down_axis = +3 input_player2_left_axis = +1 input_player2_right_axis = -1 input_player2_up_axis = +0 input_player2_down_axis = -0
Thank you in advance
Topic: RetroPie Load Save Rom Data
this is my file in the “/opt/retropie/configs/snes” the retroarch.cfg file is
—————–RETROARCH.CFG—————# All settings made here will override the global settings for the current emulator core
video_shader = “/opt/retropie/emulators/RetroArch/shader/snes_phosphor.glslp”
video_shader_enable = “false”
video_smooth = “false”savestate_auto_save = “false”
savestate_auto_load = “true”
savefile_directory = “/home/pi/RetroPie/roms/snes”
savestate_directory = “/home/pi/RetroPie/roms/snes
video_font_size = “20.0000”input_state_slot_increase = “i”
input_state_slot_decrease = “o”
input_player1_joypad_index = “0”
input_player1_b_btn = “2”
input_player1_a_btn = “1”
input_player1_y_btn = “3”
input_player1_x_btn = “0”
input_player1_l_btn = “4”
input_player1_r_btn = “5”
input_player1_start_btn = “9”
input_player1_select_btn = “8”
input_player1_l_y_plus = “-1”
input_player1_up_axis = “-1”
input_player1_l_y_minus = “+1”
input_player1_down_axis = “+1”
input_player1_l_x_minus = “-0”
input_player1_left_axis = “-0”
input_player1_l_x_plus = “+0”
input_player1_right_axis = “+0”
input_enable_hotkey_btn = “8”
input_exit_emulator_btn = “9”
input_enable_hotkey_btn = “8”
input_state_state_btn = “4”
input_enable_hotkey_btn = “8”
input_load_state_btn = “5”
——-END—OF—-RETROARCH.CFG————–the games load as they start in SNES emulator but when I try to save and load the game it wont allow me to load it saying it failed
the Roms are in
/home/pi/RetroPie/roms/snes
im not sure what to do all I want for right now is to play SNES on the raspberry pi and be able to save and load my game data.
Any Help?
If you need more Info reply and ill respond.I’m having a wide range of issues configuring my controller. My first goal is to allow hotkeys to make Select+Start close the emulator. So here is what I have added to the bottom of my Retroarch.cfg file in order use my new USB controller:
input_driver = “linuxraw”
input_player1_joypad_index = “0”
input_player1_b_btn = “1”
input_player1_y_btn = “3”
input_player1_select_btn = “6”
input_player1_start_btn = “7”
input_player1_up_axis = “-1”
input_player1_down_axis = “+1”
input_player1_left_axis = “-0”
input_player1_right_axis = “+0”
input_player1_a_btn = “0”
input_player1_x_btn = “2”
input_player1_l_btn = “4”
input_player1_r_btn = “5”
input_enable_hotkey_btn = “6”
input_exit_emulator_btn = “7”Somehow, in the process of doing this, I’ve started getting a fatal error related containing this message: “init_video_input()” which must have something to do with no keyboard or input being detected, even when there IS a keyboard.
Any suggestions or words of wisdom would be appreciated.
It would make a really big difference if RetroPie gets polished and feels more like a real console. With GUI settings and no further need of ssh-ing or editing config files.
Just some simple settings like audio and video output like OPENelec has within XBMC.
Per emulator or in general. I noticed that the 2.4.2 beta introduced something similair to this and would love to see that evolve into a fully integrated system.Or standard hotkeys to switch between shaders. These little tweaks in the GUI would make it more user friendly.
So, I’ve looked at loads of forum posts, but I either don’t understand what they want me to do or they don’t work for me. Currently, I cannot save states when emulating games in RetroArch. For example, if I’m playing Sonic 2, and I get to the second level and I want to save the state I press the hotkey but in big yellow writing at the botton it says, “Unable to save state at retropie/roms”. I’ve given every folder on my RPi chmod -r 777 so permissions shouldn’t be a problem? Any help??
Thank you!
Hey everyone,
I am super new to this whole RetroPie project so please bare with me. I love this thing (talk about bringing back old memories) but I had a question. How come my controls partially work?
So I followed zsprawl’s post here:
Everything went fairly smooth other than I had to realize my controllers came up as 0 and 1 instead of 1 and 2 but that was easy enough to see (had a keyboard plugged in at first which is why it changed) and I did overclock to 900 (Medium) because of some audio/gameplay lag I saw. My Retro boots up great, I have my ROMs on it and the controller scrolls through everything perfectly in the main menus. I can launch games and play through SOME but not all games and this is the odd part. As some background, this is a Model B (512), Raspberry Pi with Buffalo Classic USB gamepad controller (looks like SNES) with an 8GB memory SD card.
So I will give an example, a certain hedgehog game plays great except you can hold the down arrow and tap the A or B button to do a super spin as with the console. There are a few other games that for whatever reason the original controls may not function (say a red hat moustache guy throwing pills like tetris) like the console and granted it can be due to the fact that its not a stock controller but here is the really odd part I cant figure out. The hot key, exit key, load and save do not work for me using the settings given in the post. I really just want to be able to exit the game and go back to the main menu to play another game without having to pull power and restart everytime. Below is my retoarch.cfg portion, can someone tell me what I maybe missing? Do I need to change 8 and 9 to 6 and 7 or something?
input_player1_joypad_index = “0”
input_player1_b_btn = “1”
input_player1_y_btn = “3”
input_player1_select_btn = “6”
input_player1_start_btn = “7”
input_player1_up_axis = “-1”
input_player1_down_axis = “+1”
input_player1_left_axis = “-0”
input_player1_right_axis = “+0”
input_player1_a_btn = “0”
input_player1_x_btn = “2”
input_player1_l_btn = “4”
input_player1_r_btn = “5”
input_player1_l2_btn = “4”
input_player1_r2_btn = “5”
input_player1_l3_btn = “4”
input_player1_r3_btn = “5”
input_player1_l_x_plus_axis = “-0”
input_player1_l_x_minus_btn = “2”
input_player1_l_y_plus_btn = “3”
input_player1_l_y_minus_axis = “-0”
input_player1_r_x_plus_btn = “3”
input_player1_r_x_minus_axis = “-0”
input_player1_r_y_plus_btn = “3”
input_player1_r_y_minus_axis = “+0”input_player2_joypad_index = “1”
input_player2_b_btn = “1”
input_player2_y_btn = “3”
input_player2_select_btn = “6”
input_player2_start_btn = “7”
input_player2_up_axis = “-1”
input_player2_down_axis = “+1”
input_player2_left_axis = “-0”
input_player2_right_axis = “+0”
input_player2_a_btn = “0”
input_player2_x_btn = “2”
input_player2_l_btn = “4”
input_player2_r_btn = “5”
input_player2_l2_btn = “4”
input_player2_r2_btn = “5”
input_player2_l3_btn = “4”
input_player2_r3_btn = “5”
input_player2_l_x_plus_axis = “-0”
input_player2_l_x_minus_btn = “2”
input_player2_l_y_plus_btn = “3”
input_player2_l_y_minus_axis = “-0”
input_player2_r_x_plus_btn = “3”
input_player2_r_x_minus_axis = “-0”
input_player2_r_y_plus_btn = “3”
input_player2_r_y_minus_axis = “+0”input_enable_hotkey_btn = “8”
input_exit_emulator_btn = “9”
input_save_state_btn = “5”
input_load_state_btn = “4”Topic: selective Hot Keys
So it seems there are certain commands that key off of the the hotkey when it is enabled in retroarch.cfg. If you disable hotkeys you can map those commands to specific buttons, so you do not need a combo of 2 buttons to issue those commands.
1. I wish there was a list somewhere of all the commands that turn into hotkey combos when hotkeys are enabled.
2. I wish there was a way you could have selective hotkeys, where you can decide whether a command from the hotkey command list is activated by a hotkey combo button press or by a single non-hotkeyed button.Topic: Everything was good…and now…
So, it took a clean install of RetroPie but I finally got my USB controller to work, except…I can’t seem to map my escape rom hotkey right, when I do it, everything seems right but when I am in game and I just press X it exits the game, not even what I mapped to escape. Maybe I am missing something, I’m sort of a noob with 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 = “9”
input_exit_emulator_btn = “8”
input_enable_hotkey_btn = “9”
input_save_state_btn = “4”
input_enable_hotkey_btn = “9”
input_load_state_btn = “5”I’m struggling to get the xbox360 controller to work, It works fine in the menus of EmulationStation, but when I go out to the SNES emulator, all the buttons are screwy (d-pad down for start and no movement at all for example) This is with Zelda a link to the past BTW!
This is the content of my retroarch.cfg file:
input_enable_hotkey = nul input_player1_joypad_index = "0" input_player1_b_btn = "1" input_player1_y_btn = "3z input_player1_select_btn = "6" input_player1_start_btn = "7" input_player1_up_btn = "h0up" input_player1_down_btn = "h0down" input_player1_left_btn = "h0left" input_player1_right_btn = "h0right" input_player1_a_btn = "0" input_player1_x_btn = "2" input_player1_l_btn = "4" input_player1_r_btn = "5" input_player1_l2_axis = "+2" input_player1_r2_axis = "+5" input_player1_l3_btn = "9" input_player1_r3_btn = "10" input_player1_l_x_plus_axis = "+0" input_player1_l_x_minus_axis = "-0" input_player1_l_y_plus_axis = "+1" input_player1_l_y_minus_axis = "-1" input_player1_r_x_plus_axis = "+3" input_player1_r_x_minus_axis = "-3" input_player1_r_y_plus_axis = "+4" input_player1_r_y_minus_axis = "-4" input_player1_joypad_index = "0" input_player1_b_btn = "5" input_player1_y_btn = "7" input_player1_select_btn = "12" input_player1_start_btn = "13" input_player1_up_btn = "0" input_player1_down_btn = "1" input_player1_left_btn = "2" input_player1_right_btn = "3" input_player1_a_btn = "4" input_player1_x_btn = "6" input_player1_l_btn = "8" input_player1_r_btn = "9" input_player1_l2_btn = "10" input_player1_r2_btn = "11" input_player1_l3_btn = "15" input_player1_r3_btn = "16" input_player1_l_x_plus_axis = "+0" input_player1_l_x_minus_axis = "-0" input_player1_l_x_minus_axis = "-0" input_player1_l_y_plus_axis = "+1" input_player1_l_y_minus_axis = "-1" input_player1_r_x_plus_axis = "+2" input_player1_r_x_minus_axis = "-2" input_player1_r_y_plus_axis = "+3" input_player1_r_y_minus_axis = "-3"
Also ES isn’t filling the entirety of my screen, although this is a minor problem, is there a way to force 1080p res?
Thanks in advance for any help!
Hello guys!
I’m new in Linux and Raspberry (I have it since Monday) and I have problem with SNES controller. I made SNES/NES controllers using raphnet circuits.
When I connect for example Logitech Rumble Pad, start sudo ./retroarch_setup.sh and then “Register…” I recive file with that name “LogitechLogitech(R)Precision(TM)Gamepad.cfg”. That file is located in /opt/retropie/emulators/RetroArch/configs.
But, when I repeat procedure for SNES controller, I recive file “raphnet.net(S)NES/ATARI_USB.cfg” (that name shows retroarch_setup.sh tool).
That file there isn’t in …/configs directory. I can’t find that file to edit it and add hotkeys, change buttons etc.
When I start X window, also I can’t find that file. I don’t know where it is.I’m using Raspberry B+, v.2.3.
Where can I find that file?
Hi Guys!
Trying to use the analog sticks of my 360 in some PSX Games that actually support it like Crash 3 or Ape Escape, but can’t find a hotkey or sth. to activate them. They were still recognised in other emulators, but the psx refuses to use them :-/
Is there something I’m missing in my retroarch.cfg?input_player1_joypad_index = "0" input_player1_b_btn = "0" input_player1_y_btn = "2" input_player1_select_btn = "8" input_player1_start_btn = "9" input_player1_up_btn = "h0up" input_player1_down_btn = "h0down" input_player1_left_btn = "h0left" input_player1_right_btn = "h0right" input_player1_a_btn = "1" input_player1_x_btn = "3" input_player1_l_btn = "4" input_player1_r_btn = "5" input_player1_l2_btn = "6" input_player1_r2_btn = "7" input_player1_l3_btn = "11" input_player1_r3_btn = "12" input_player1_l_x_plus_axis = "+0" input_player1_l_x_minus_axis = "-0" input_player1_l_y_plus_axis = "+1" input_player1_l_y_minus_axis = "-1" input_player1_r_x_plus_axis = "+2" input_player1_r_x_minus_axis = "-2" input_player1_r_y_plus_axis = "+3" input_player1_r_y_minus_axis = "-3" input_enable_hotkey_btn = "8" input_exit_emulator_btn = "9" input_save_state_btn = "5" input_load_state_btn = "4"
EDIT:
Works now, for everyone having the same Isse:
Add input_menu_toggle = F1 and input_hotkey_toggle = Esc to your retroarch.cfg.
Now start a game, hold down Esc and press F1, now you should be in the menu. Go to Settings->Input and change Device Type to Joypad w/ analog and Analog D-Pad Mode to Left Stick ( if you want to play games with analog stick that doesn’t support it like older PSX-Games ). Assign some additional buttons if you like (i.e. for Disc change etc. ), go back to the main menu and save the config. It will be stored in a libretro.cfg in the retropie/configs/all/ folder. Just replace the retroarch.cfg with this one and everything should work now :)hi ,
I am playing with USB gamepad & addedd following line to joypad configinput_enable_hotkey_btn = 4
input_eit_emulator_btn = 5
input_save_state_btn = 6
input_load_state_btn = 7
input_state_slot_increase = 10
input_state_slot_decrease = 11Using left trigger & corresponding key – i am able to exit game , save state , load state . But increasing or decreasing state button combination does nothing . Game gets saved in slot 0 .
Can you tell me how many states are supported ?
Do I have to configure anywhere else ?