-
Search Results
-
Topic: Save/load state gpio
How to use hotkeys for save state and load state when using the GPIO pins. Since i have connected my keys on my gameboy to the gpio pins i cannot follow the normal steps as when using a snes contoller because retropie sees my controller as a keyboard.
I have all the keys working in the games but dont know how to config so i can save and load.
ALso i cannot use select and start in emulationstation menus. They work fine in games.
Anyone that can poine me in the right direction?
Hi, I experience a weird behavior with the in-game retroarch menu.
First, I can enter and exit with the hotkeys with no problem, any number of times I want. I can navigate sub-menus, change shader, etc…
But once I select “save state” once, it goes back to the game and I can never go back to the main menu, and instead every time I press the hotkeys, it saves the state once more, and does not open the menu.I have been seeing this since version 3 beta 3
I updated to beta 4 just to be sure, and see the same problem.Pi Model: 2B
RetroPie Version Used: 3.0.0 Beta 3
Built From: SD Image (beta 3) => Binary (beta 4)
USB Devices connected: one joypad (DragonRise)
Controller used: DragonRise
Error messages received: none
How to replicate the problem: Open a game, enter in retroarch menu (I have Start+B set as hotkeys), select “save state”. The retroarch menu won’t open anymore.Thanks for your help.
We have rebuild an old dead Arcade cabinet and fitted it with retropie, image: RetroPie SD-card Image for Raspberry Pi 2 Version 3.0 BETA 4
It uses two seperate “DragonRiseInc.GenericUSBJoystick” joystickcontroller.
As the arcade cabinet only has 3 buttons+start+coin on each side, there are plenty of button connections left on the controllers.I would like to dedicate a button to exit the emulator and return to the retropie frontend.
I have managed to do so in AdvMame and Mame4All, but am having trouble in FBA.
The exitbutton is wired to js0-button 10 (verified by jstest /dev/input/js0)
my /opt/retropie/configs/fba/fba2x.cfg is as follows. As you can see, I tried to add QUIT to the joystick portion.
[Keyboard]
# Get codes from /usr/include/SDL/SDL_keysym.h
A_1=306
B_1=32
X_1=308
Y_1=304
L_1=122
R_1=120
START_1=13
SELECT_1=9
LEFT_1=276
RIGHT_1=275
UP_1=273
DOWN_1=274
QUIT=27
#player 2 keyboard controls, disabled by default
A_2=999
B_2=999
X_2=999
LEFT_1=276
RIGHT_1=275
UP_1=273
DOWN_1=274
QUIT=27
#player 2 keyboard controls, disabled by default
A_2=999
B_2=999
X_2=999
Y_2=999
L_2=999
R_2=999
START_2=999
SELECT_2=999
LEFT_2=999
RIGHT_2=999
UP_2=999
DOWN_2=999[Joystick]
# Get codes from “jstest /dev/input/js0”
# from package “joystick”
A_1=0
B_1=1
X_1=2
Y_1=3
L_1=4
R_1=6
START_1=9
SELECT_1=8
QUIT=10
#Joystick axis
JA_LR=0
JA_UD=1
#player 2 button configuration
A_2=0
B_2=1
X_2=2
Y_2=3
L_2=4
R_2=6
START_2=9
SELECT_2=8
#Joystick axis
JA_LR_2=0
JA_UD_2=1[Graphics]
DisplaySmoothStretch=1
# Display Effect: 0 none, 1 scanlines
DisplayEffect=0
DisplayBorder=0
MaintainAspectRatio=1[Sound]
I also altered my /opt/retropie/configs/all/retroarch.cfg file and added:
input_exit_emulator = escape
input_exit_emulator_btn = 10
input_enable_hotkey = nulHi everyone,
After digging the net for weeks, i didn’t find the answer to my issue.
I can’t set the hotkeys for switching the shaders ingame (previous/next shaders) in Retropie v.3b4 (rpi2).
I successfully set these hotkeys in the Retropie v.3 (rpi1) and v.2.6 (rpi1).
I just bought a Raspberry Pi 2, so i wanted to put the correct system version on my new Pi.This is my current config for my controller (iBuffalo Snes controller) :
# ====================================================================== # Config : iBuffalo SNES Classic Gamepad : Par défaut # ====================================================================== input_a_btn = "0" input_b_btn = "1" input_x_btn = "2" input_y_btn = "3" input_start_btn = "7" input_select_btn = "6" input_l_btn = "4" input_r_btn = "5" input_up_axis = "-1" input_down_axis = "+1" input_left_axis = "-0" input_right_axis = "+0" # ====================================================================== # Config : iBuffalo SNES Classic Gamepad : Hotkeys # [Select] + [Start] : Leave the game # [Select] + [R] : Save state # [Select] + [L] : Load state # [Select] + [B] : Reset # [Select] + [DPad-LEFT] : Previous shader # [Select] + [DPad-RIGHT] : Next shader # [Select] + [DPad-DOWN] : Decrease state slot # [Select] + [DPad-UP] : Increase state slot # ====================================================================== input_enable_hotkey_btn = "6" input_exit_emulator_btn = "7" input_save_state_btn = "5" input_load_state_btn = "4" input_reset_btn = "1" input_shader_prev_axis = "-0" input_shader_next_axis = "+0" input_state_slot_increase_axis = "-1" input_state_slot_decrease_axis = "+1"
This config works for the rpi1 version, but not the rpi2.
I also tried with the “btn” version of the hotkey on Y and X (input_shader_prev_btn). Same result. :/
Did i miss something ?PS : Sorry for my english. It’s not my native language. ^^
EDIT : 2015-07-14
Solution : Update RetroArch
In emulationstation : go to Retropie > RETROPIE-SETUP
Then : choose “5 Install individual emulators from binaries or source”
Find retroarch > binary
Reboot
And it works :DBig thanks to buzz for the solution !!!
Hello!
I’m new to Retropie and this is my first attempt to use emulation on my Raspberry Pi.
With my setup I’m using a XBox One Controller.
The controller works fine in RetroPie menu, but in the emulated games the left/right/up/down buttons won’t work.The controller is detected and the configuration guide works.
I’ve think there is a bug – and i found a workaround that works for me.
The problem is in the file /retropie/configs/all/retroarch-joypads/Microsoft_X-Box_One_pad.cfg
The original (not working file) looks like this:
input_device = "Microsoft X-Box One pad" input_driver = "udev" input_up = "h0up" input_right = "h0right" input_state_slot_increase = "h0right" input_down = "h0down" input_left = "h0left" input_state_slot_decrease = "h0left" input_a_btn = "0" input_b_btn = "1" input_reset_btn = "1" input_x_btn = "2" input_menu_toggle_btn = "2" input_y_btn = "3" input_l_axis = "+2" input_load_state_axis = "+2" input_r_axis = "-5" input_save_state_axis = "-5" input_l2_btn = "4" input_r2_btn = "5" input_l3_btn = "9" input_r3_btn = "10" input_start_btn = "6" input_exit_emulator_btn = "6" input_select_btn = "7" input_enable_hotkey_btn = "7" input_l_x_plus_axis = "+0" input_l_x_minus_axis = "-0" input_l_y_plus_axis = "+1" input_l_y_minus_axis = "-1" input_r_x_plus_axis = "+3" input_r_x_minus_axis = "-3" input_r_y_plus_axis = "+4" input_r_y_minus_axis = "-4"
The file working (manually edited) looks like this:
input_device = "Microsoft X-Box One pad" input_driver = "udev" input_up_btn = "h0up" input_right_btn = "h0right" input_state_slot_increase_btn = "h0right" input_down_btn = "h0down" input_left_btn = "h0left" input_state_slot_decrease_btn = "h0left" input_a_btn = "0" input_b_btn = "1" input_reset_btn = "1" input_x_btn = "2" input_menu_toggle_btn = "2" input_y_btn = "3" input_l_axis = "+2" input_load_state_axis = "+2" input_r_axis = "-5" input_save_state_axis = "-5" input_l2_btn = "4" input_r2_btn = "5" input_l3_btn = "9" input_r3_btn = "10" input_start_btn = "6" input_exit_emulator_btn = "6" input_select_btn = "7" input_enable_hotkey_btn = "7" input_l_x_plus_axis = "+0" input_l_x_minus_axis = "-0" input_l_y_plus_axis = "+1" input_l_y_minus_axis = "-1" input_r_x_plus_axis = "+3" input_r_x_minus_axis = "-3" input_r_y_plus_axis = "+4" input_r_y_minus_axis = "-4"
Note that the diffrence between the files are missing ‘_btn’ suffix
I hope this post can help other users and also notify the creator of retropie-software. Thanks!
So I tried to enable the rewind feature but I had so success so far.
I enabled it in the /opt/retropie/emulators/retroarch/retroarch.cfg
#### Misc # Enable rewinding. This will take a performance hit when playing, so it is disabled by default. # rewind_enable = true # Rewinding buffer size in megabytes. Bigger rewinding buffer means you can rewind longer. # The buffer should be approx. 20MB per minute of buffer time. # rewind_buffer_size = 20 # Rewind granularity. When rewinding defined number of frames, you can rewind several frames at a time, increasing the rewinding speed. # rewind_granularity = 1
And I bind my L2 Button of my Xbox 360 Controller to it in my /opt/retropie/emulators/retroarch/configs/XboxGamepad(userspacedriver).cfg
input_enable_hotkey_btn = "8" input_exit_emulator_btn = "6" input_save_state_btn = "5" input_load_state_btn = "4" input_pause_toggle_btn = "2" input_reset_btn = "1" input_menu_toggle_btn = "7" input_state_slot_increase_btn = "h0right" input_state_slot_decrease_btn = "h0left" input_disk_eject_toggle_btn = "10" input_disk_next_btn = "h0up" input_disk_prev_btn = "h0down" input_hold_fast_forward_btn = "3" input_rewind_btn = "+5"
I can’t really figure out what’s wrong. When I’m in a game and press the button, simply nothing happens. I tried snes and nes games. No succes with both.
Hi,
Using a Pi2 with the controlblock adapter.. Everything runs sweet apart from two things.
1. On the starting up of retropie it asks for my nes pad inputs every time? I have these wired directly to the control block.
2.Once i’ve entered the nes pad inputs I go through to playing a nes game which works fine since i’ve set up the retroarch.cfg file for it. When I exit the game using the hotkey select and start it renders the pad dead. The pad doesnt work anymore and the controlblock seems to die since I cant even turn it off with the toggle switch?
This is really annoying ;(
If anyone has any ideas I would seriously appreciate it
I have a very strange problem here – PC Engine (Turbografix 16) controls are not responding in-game, yet all of my Retroarch hotkeys are working for this system. I checked my /opt/retropie/configs/pcengine/retroarch.cfg to make sure nothing is out of sorts, but it is set up exactly like all of the other systems (snes, psx) and the controls for those systems are working just fine. Also, when I open my Retroarch menu and go to input mappings it has all of my buttons mapped correctly for the PCE emulator. Yet nothing in the game itself will respond. Controls for this system worked perfectly for me in Beta 2. Has anybody else experienced this?
EDIT – It is probably important to note that when I load a game and the PCE boot screen loads up and it says ‘Press Run Button’ I press start and it will then launch the game. Nothing after that, including the start button, will respond in-game.
Hi, I have made a custom gamepad/controller using an Arduino type called Teensy. For some reason The auto-controller-configuration in retropie does not save my configuration-file in the /opt/retropie/configs/all/retroarch-joypads directory. Therefore I would like, to write the file manually. How do I do this? Do I just edit one of the pre-configured controller files to the right name, button-numbers and hotkeys?
ThanksMy setup:
RPi 2
RetroPie v3.0 beta 4
Burned Image to SD Card with Mac OSX Terminal
Expanded Memory and Updated ScriptsArcade Buttons were setup for 2 player using digitalLumberjacks tutorial: https://www.raspberrypi.org/forums/viewtopic.php?f=78&t=83317
Went through the whole setup, tested and it worked with jstest for BOTH controllers. I added the below lines and mapped them to my corresponding buttons 6 (Select) and 7 (Start). In my case, I would like to exit by holding Start and then tapping Select. The originals given in the tutorial didn’t work for me either.
input_enable_hotkey_btn = “7″
input_exit_emulator_btn = “6″Buttons all work fine (including exit) with EmulationStation, PiFBA and MAME after configuring in the fba2x.cfg and the MAME menu with TAB key.
Test ROM didn’t load at first so I switched snes9x. Game loaded, but exit function is not working properly in RetroArch. The only way I can get out is by using the ESC key on my keyboard.
Read countless threads and just plain stuck. The multiple retroarch.cfg can be confusing.