Homepage Forums Search Search Results for 'hotkey'

Viewing 35 results - 351 through 385 (of 1,077 total)
  • Author
    Search Results
  • cyberpete
    Participant

    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?

    #102073
    dankcushions
    Participant

    another (sort of) solution for this issue is to use player 2’s coin button. eg, if i have two USB SNES controllers plugged in, I can hit ‘select’ on player 2 and it puts a credit in. you have to be careful to then press start on player 1, or you might end up with 2 players joining the game (if you’re playing alone!)

    it looks like the fba/mame libretro cores don’t like having the hotkey as the same key for the coin button. that makes the above make sense, as only the p1 controller has a hotkey (you can’t start-select quit with p2, by default).

    has anyone logged a ticket with retroarch? with a bit of luck this issue is fixed in 1.2 already.

    #102036
    kommissar
    Participant

    Hi everybody !

    I got the same problem with some cps2 roms. I swapped SELECT for L as “hotkey enabler”.
    Basically, i add this line in the cps2/retroarch.cfg (i added a cps2 menu, that s why it s not fba folder) :

    
    input_enable_hotkey_btn = "4"
    

    to override this line in the controller config :

    
    input_enable_hotkey_btn = "6"
    

    And it works… not completely.

    For the game nwarr.zip (Night warriors, one of my fav saturn game :D), when i long press on [L], the emulator considers it is a short press. I also tried by swapping triggers for hotkey enabler, same bug (respectively on [R]).

    Way to reproduce that :
    * Put [L] as hotkey enabler.
    * In “Night Warriors: Darkstalkers’ Revenge” (rom : nwarr.zip), play as Victor (Frankenstein).
    * Perform a short press on L : Victor hits with a BIG punch
    * Perform a long press on L : Victor hits with a BIG punch (the bug is here, he must hit with a big electrified punch)
    (If you don’t know the game, perform a short/long press on [R], you will see what i mean by electrified hit)

    For info : I updated retroarch via retropie-setup, I use a Buffalo SNES controller.

    ∆ + 0 / 9
    Participant

    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.

    deepcorealpha
    Participant

    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 = nul

    kommissar
    Participant

    Well, i just tried on a fresh install of Retropie v.3b4 and … the behavior is the same : runcommand.sh line 671: 3034 Segmentation fault.
    The steps i did for this install :
    * Write the image on SD card
    * Detect my pad with emulationstation (/opt/retropie/configs/all/retroarch-joypads/USB,2-axis_8-button_gamepad__.cfg generated)
    * Add “Alex kidd in Miracle World” (all my childhood :D) in mastersystem roms directory.
    * Edit the retroarch.cfg in mastersystem in order to enable shaders (with and without the 1st line):

    
    video_shader = /opt/retropie/emulators/retroarch/shader/phosphor.glslp
    video_shader_enable = true
    

    * Edit USB,2-axis_8-button_gamepad__.cfg : i tested 2 configs :

    
    /* other buttons... */
    input_shader_prev_axis = "-1"
    input_shader_next_axis = "+1"
    input_enable_hotkey_btn = "6"
    

    and

    
    /* other buttons... */
    input_enable_hotkey_btn = "6"
    input_shader_prev_axis = "-1"
    input_shader_next_axis = "+1"
    

    I swapped +/-0 and +/-1, same result on the respective shader assign button.

    The complete log file : /tmp/runcommand.log

    
    RetroArch: rarch_log_libretro: [libretro INFO] :: detected SMS ROM
    
    RetroArch [WARN] :: resolve_extensions :: [GL]: GLES implementation does not have BGRA8888 extension.
    32-bit path will require conversion.
    /opt/retropie/supplementary/runcommand/runcommand.sh: line 671:  4442 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-picodrive/picodrive_libretro.so --config /opt/retropie/configs/mastersystem/retroarch.cfg "/home/pi/RetroPie/roms/mastersystem/Alex Kidd in Miracle World (UE) [!].sms" --appendconfig /tmp/retroarch.cfg
    
    
    #101843

    In reply to: Save states in GBA?

    herbfargus
    Member

    see this page: https://github.com/RetroPie/RetroPie-Setup/wiki/Game-Boy-Advance

    F10 lets you access the menu in GPSP

    Alternatively you can press x or m as the rom loads and change the default emulator to lr-gpsp which supports the default hotkeys with retroarch (select+right bumper= save, select+left bumper= load)

    Floob
    Member

    Try changing
    input_enable_hotkey = nul
    to
    input_enable_hotkey = alt

    in your
    /opt/retropie/configs/all/retroarch.cfg

    Then in game, hold “select” and check “m” and “n” work to change shader.

    kommissar
    Participant

    Of course. It’s the controller configuration file located here :
    /opt/retropie/configs/all/retroarch-joypads/USB,2-axis8-buttongamepad.cfg

    I forgot to precise : when i use the hotkey (SELECT + “left” or “right”), i leave the emulator. Unfortunately, i don’t see any log error message on the screen.

    #101812
    Anonymous
    Inactive

    UPDATE 2: Got it working. *facepalm*

    Of course I had to do the command:

    sudo cat /opt/retropie/configs/all/retroarch-joypads/XboxGamepad(userspacedriver\).cfg >> /opt/retropie/configs/all/retroarch.cfg

    … to get the controller working in the emulators, with input_hotkey_enable_btn and all those features.

    I don’t know what’s up with the latest RetroPie 2.6 revision, before I started messing around with “install binary scripts” and stuff my old USB-joypad .cfg-file was defined and ran from the folder:

    /opt/retropie/emulators/retroarch/configs/

    (Never needed to touch the retroarch.cfg file for setting up my old controller, in other words)

    Anyway, problem SOLVED :D

    /Alucard

    kommissar
    Participant

    Hi 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 :D

    Big thanks to buzz for the solution !!!

    #101805
    herbfargus
    Member

    Its by design with retroarch- anytime a joypad is plugged in it overrides the nulbinding of the keyboard, basically you don’t need a hotkey to exit with a keyboard so it doesn’t expect one but with a joypad often you use the hotkey to exit for gameplay (it would be kind of annoying to press start and have it exit instead of starting the game) if you have a joypad plugged in along with your keyboard you can press select on the joypad and ESC on the keyboard to exit. Or you can change the hotkey settings in the setup script to choose alt- then you’ll press alt+ESC to exit.

    halle
    Participant

    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!

    #101670
    doakey3
    Participant

    I fixed this issue by typing

    jstest /dev/input/js0 I observed the values of the joypads as I pushed them. I pressed ctrl+c to exit that and typed:

    jscal -c /dev/input/js0

    This allowed me to recalibrate the controller’s joypads. I ran

    jstest /dev/input/js0

    again and saw that the values had changed. I went to /opt/retropie/configs/all/retroarch.cfg
    and edited the line:
    input_autodetect_enable = true
    and I changed it to false
    For good measure I deleted my joypad’s auto config file by going to
    /opt/retropie/configs/all/retroarch-joypads
    and removed all files there.

    I then went to
    /opt/retropie/configs/n64
    and edited the retroarch.cfg file there.

    #include "/opt/retropie/configs/all/retroarch.cfg"
    fast_forward_ratio = "2.0"
    
    input_joypad_driver = "linuxraw"
    input_device_p1 = "0"
    input_player1_joypad_index = 1
    input_player1_b_btn = 2
    input_player1_a_btn = 1
    input_player1_up_btn = 12
    input_player1_down_btn = 14
    input_player1_right_btn = 13
    input_player1_left_btn = 15
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_l2_btn = 8
    input_player1_r2_btn = 7
    input_player1_l_btn = 6
    input_player1_r_y_plus_axis = +2
    input_player1_r_y_minus_axis = -2
    input_player1_r_x_plus_axis = +3
    input_player1_r_x_minus_axis = -3
    input_player1_l_y_plus_axis = +1
    input_player1_l_y_minus_axis = -1
    input_player1_l_x_plus_axis = +0
    input_player1_l_x_minus_axis = -0 
    
    input_enable_hotkey_btn = 14
    input_exit_emulator_btn = 9
    input_load_state_btn = 7
    input_save_state_btn = 6

    The important part about this file is to specify that you want the joypad driver to be “linuxraw”.

    After doing this, link was able to run and I had no problems with the controls. Unfortunately, the joystick calibration will be undone at reboot.

    You can use jscal -p to read the calibration settings.

    Then call the function

    jscal -s 1,6,128…..(a bunch of numbers) /dev/input/js0

    ideally, you would have a script run at startup that would call this function for you, but I haven’t made it that far yet.

    #101525

    In reply to: MAME without keyboard

    leiptrstormr
    Participant

    [quote=101300]I don’t know of any way to change those configs but you could try switching to lr-mame4all for the default emulator- that uses retroarch configs
    [/quote]

    The global retroarch input configs use select as coin insert on Final Burn Alpha, but not in advance mame or mame4all. Without coin insert, everything else is useless. I can’t even use the start + select hotkeys to exit the game. From what I understand, configs are in /opt/retropie/configs with /all being global. My retroarch.cfg inputs look like this and I am using RPi2 V3 beta4 image.

    Edit: Ok so I figured out default settings on RPi2 V3 beta4 doesn’t use lib retro mame4all.
    /opt/retropie/configs/mame-mame4all/emulators.cfg
    Change to default=”lr-imame4all”

    juicebag85
    Participant

    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.

    leiptrstormr
    Participant

    I’m having a similar issue with Street Fighter and Darkstalker buttons in FBA. A, B, and X are punch buttons and Y, LT, and LB are kick. This is an issue on the Hori EX2 because the LB and RB buttons are at the top with Start and Select (back). I tried changing RT and LB numbers, but it doesn’t fix anything. These are my global retroarch.cfg inputs

    Edit: I guess I should also mention this is with RPi2 V3 beta4 image

    input_device = “Hori Fighting Stick EX2”
    input_vender_id = 3853
    input_product_id = 13
    input_driver = “udev”
    input_player1_joypad_index = 0
    input_player1_b_btn = 1
    input_player1_a_btn = 0
    input_player1_y_btn = 3
    input_player1_x_btn = 2
    input_player1_l_btn = 4
    input_player1_r_btn = 5
    input_player1_l2_btn = 6
    input_player1_r2_btn = 7
    input_player1_start_btn = 9
    input_player1_select_btn = 8
    input_player1_up_btn = h0up
    input_player1_down_btn = h0down
    input_player1_left_btn = h0left
    input_player1_right_btn = h0right
    input_enable_hotkey_btn = 8
    input_exit_emulator_btn = 9
    input_save_state_btn = 5

    drgonzo247
    Participant

    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

    #101389

    In reply to: Controller issues

    flipbug
    Participant

    Hi Muco,

    This is what I use :) The code below excludes the typical config stuff at the top.

    With the F710, make sure the switch at the front is on ‘D’. Also, watch out for the ‘mode’ button as this switches input from Dpad to left joystick.

    Lastly, you may want a separate config for PSX as the buttons are different.

    
    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_axis = "+2"
    input_player1_r2_axis = "+5"
    input_player1_l3_btn = "9"
    input_player1_r3_btn = "10"
    input_player1_l_x_plus_btn = "h0right"
    input_player1_l_x_minus_btn = "h0left"
    input_player1_l_y_plus_btn = "h0down"
    input_player1_l_y_minus_btn = "h0up"
    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_enable_hotkey_btn = "6"
    input_exit_emulator_btn = "7"
    input_enable_hotkey_btn = "6"
    input_save_state_btn = "4"
    input_enable_hotkey_btn = "6"
    input_load_state_btn = "5"
    input_enable_hotkey_btn = "6"
    input_state_slot_increase_btn = "+2"
    input_enable_hotkey_btn = "6"
    input_state_slot_decrease_btn = "+5"
    input_enable_hotkey_btn = "6"
    input_menu_toggle_btn = "3"
    
    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_axis = "+2"
    input_player2_r2_axis = "+5"
    input_player2_l3_btn = "9"
    input_player2_r3_btn = "10"
    input_player2_l_x_plus_btn = "h0right"
    input_player2_l_x_minus_btn = "h0left"
    input_player2_l_y_plus_btn = "h0down"
    input_player2_l_y_minus_btn = "h0up"
    input_player2_r_x_plus_axis = "+3"
    input_player2_r_x_minus_axis = "-3"
    input_player2_r_y_plus_axis = "+4"
    input_player2_r_y_minus_axis = "-4"
    input_enable_hotkey_btn = "6"
    input_exit_emulator_btn = "7"
    input_enable_hotkey_btn = "6"
    input_save_state_btn = "4"
    input_enable_hotkey_btn = "6"
    input_load_state_btn = "5"
    input_enable_hotkey_btn = "6"
    input_state_slot_increase_btn = "+2"
    input_enable_hotkey_btn = "6"
    input_state_slot_decrease_btn = "+5"
    input_enable_hotkey_btn = "6"
    input_menu_toggle_btn = "3"
    #101280
    petrockblog
    Keymaster

    im working on some changes in the next day or two that should improve this for the next beta, but for now you can try the hotkey option in the supplementary menu and disable the hotkey button or something or change it to something else. That may well sort it.

    Floob
    Member

    You could put this file in:
    /opt/retropie/configs/all/retroarch-joypads

    I think you can call it anything – try “joypadtest.cfg”
    It may well need a different driver name

    input_device = "2 Serial/Keyboard/Mouse/Joystick"
    input_driver = "udev"
    input_up_axis = "-1"
    input_right_axis = "+0"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_a_btn = "13"
    input_b_btn = "14"
    input_x_btn = "15"
    input_y_btn = "999"
    input_l_btn = "3"
    input_r_btn = "4"
    input_start_btn = "7"
    input_exit_emulator_btn = "7"
    input_select_btn = "6"
    input_enable_hotkey_btn = "6"

    Although this implies you may be better outputting keyboard keys from the Teensy:
    https://forums.adafruit.com/viewtopic.php?f=8&t=58901

    What you want is yellow text at the bottom of the screen when you start a retroarch based game, indicating it has found the joypad.

    Yes, you could be right about the / marks in the name – do you have a file here?
    /home/pi/.emulationstation/es_temporaryinput.cfg ?

    Floob
    Member

    For lr-fba I get around the issue by using a different hotkey enable (left shoulder in my case)

    FBA Retroarch core – coin controls

    Maybe others have got around it a different way.

    charco
    Participant

    Out of curiosity, can you exit lr-fba using your hotkey + exit (select + start in my case) as I am unable to do this and have been troubleshooting the issue with Floob for weeks.

    I have my Neo Geo roms in the Neo Geo folder as opposed to the fba folder, that wouldn’t have any affect on it would it?

    #101112
    Floob
    Member

    Maybe you pasted in the lines

    input_enable_hotkey_btn = “7”
    input_exit_emulator_btn = “6”

    if you fixed those and added
    input_enable_hotkey = alt

    it should work – but I dont know why your controls are set in there, these should be done in the auto config files, with overrides in the system version.
    A dull explanation of that is here:

    machtroid
    Participant

    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.

    #101093
    dragonjarvis
    Participant

    So after searching over an hour to find out how to use samba I created a new topic and asked around, because I thought I gave you the config datas you needed =/.

    However, I looked at some setup options and decided to download the xbox360 driver. After that it detected 2 controlers altough only one is plugged in, then I deleted all raspian files wich are not needed and after that i started a game.. controller works now but when i hit the hotkeys to open retroarch, it is completly bugged out! xD at first the option to select the savestates were gone but I tried to savestate anyway and after that i couldnt move the dpad in retroarch anymore and the font was craped out…

    So what I decide to do now is to save the savegame file of my game, completly format the SDcard yet again, then download the image for the 3rd time, just in case and then carefully watch a tutorial on how to install retropie again. I am kinda tired of this for now.

    I am afraid though that i might corrupt my sd card because I had to format it daily since retropie just refuses to work for me.

    I really, really apreciate your help though!!

    rasmushauschild
    Participant

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

    #101078
    dragonjarvis
    Participant

    So I did full binary and script just in case.

    My controller did not work at first, however during emulation it showed me when I unplug/plug it and then it kinda worked for a couple of seconds.
    I tried to reload my savestat BUT the savestate hotkey is now just the select button instead of select+right trigger.
    So I accidently overwirte my savestate and then the controller stopped working again.
    And loading the savestate is on select+left trigger, so I cannot test this out…

    Unfortunatly I dont have another controller to use now.

    What details do you need excactly?

    Pi Model: 2B
    RetroPie Version Used: 3.0 BETA 4
    Built From: SD Image, then run binary
    USB Devices connected: /
    Controller used: Speedlink XEOX sl-6556-BK
    Error messages received: if that means the runcommand log, its empty
    Guide used: Tutorial German
    File: how do i figure that out?
    Attachment of config files: I dont know or found a solution on which i need to show you
    How to replicate the problem: Play playstation game, savestate and loadstate often in a short time, because you kept dying.

    Yes, I did read Suggestion Support thread, however after even searching the internet for a couple of hours i couldn’t find proper solutions on how to show you the files and logs you may need.

    #101027
    jovinf88
    Participant

    Tried rom for NES, MegaDrive, Master System and SNES. Unfortunately, none of them are loading properly and return to the EmulationStation.

    I burned once again another v3beta4 image onto my SD card and set everything up from a fresh start. Next expanded, firmware update, binary install, updating script, mkjoystick, etc. EmulationStation frontend works flawless with controls.

    Cannot boot roms once again. Games will only load if emulator is switched from something NOT named with “lr-“. Not to mention I still haven’t figured the exit hotkey issue from my first post.

    I attached the txt/cfg files for retroarch/all and megadrive.

    jovinf88
    Participant

    My setup:
    RPi 2
    RetroPie v3.0 beta 4
    Burned Image to SD Card with Mac OSX Terminal
    Expanded Memory and Updated Scripts

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

    #100929
    iaaberg
    Participant

    I have done that and it hasn’t worked. I added the hash hoping that it would force it. I changed it back to as you mentioned, and just chose any button to see if I could get it to respond. I am also having a similar issue moving the hot key in NEO-GEO so I can add coins…(Included as well…

    For NES

    #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/nes/
    video_shader = /opt/retropie/emulators/retroarch/shader/phosphor.glslp
    video_shader_enable = false
    video_smooth = false
    input_b_btn = "11”
    input_a_btn = "12”
    

    For Neo-Geo

    #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_enable_hotkey_btn = “17”
    

    Is it possible that I’ve removed something somewhere that is telling Retroarch to ignore these other cfg files?

    #100920
    iaaberg
    Participant

    I copied the info from the retroarch-joypads/ cfg that my controller made and just reversed the A and B buttons. See below.

    #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/nes/
    video_shader = /opt/retropie/emulators/retroarch/shader/phosphor.glslp
    video_shader_enable = false
    video_smooth = false
    input_device = "8Bitdo NES30 GamePad"
    input_driver = "udev"
    input_b_btn = "11”
    input_y_btn = "15"
    input_select_btn = "21"
    input_start_btn = "22"
    input_up_btn = "0"
    input_down_btn = "5"
    input_left_btn = "2"
    input_right_btn = "3"
    input_a_btn = "12”
    input_x_btn = "14"
    input_l_btn = "17"
    input_r_btn = "18"
    input_enable_hotkey_btn = "21"
    input_exit_emulator_btn = "22"
    input_menu_toggle_btn = "14"
    input_load_state_btn = "17"
    input_save_state_btn = "18"
    input_reset_btn = "15”
    input_state_slot_increase_btn = "3"
    input_state_slot_decrease_btn = "2"
    
    #100894
    reprotie
    Participant

    [quote=100876]I also am using a Dualshock 4 (PS4) controller, and had the same issue, but I finally found out a solution!

    After looking through some of the setup options, one of the options was Install Retroarch autoconfigs (or something like that, it was very similar). I decided to just give it a whirl and install this, and it ended up working! I rebooted my Pi, went into Super Mario World for SNES and it worked perfectly.

    Also tested on The Legend of Zelda Minish Cap for GBA. Works fine! I hope this helps!

    I did not have to go back in and configure the controller manually after this. I just rebooted my Pi and it was already configured correctly.

    [/quote]

    Thanks for the help, Falcon! :D
    For anyone that couldn’t find the option, it’s located at:

    Retropie menu, retropie-setup
    "setup/config (to be used post install)"
    [Option 318] "Install Retroarch joypad config"

    Now the joypad almost works!

    What I find peculiar is that now I have 3 dragonrise cfgs:

    DragonRise_Inc.___Generic___USB__Joystick__.cfg
    DragonRise_Inc.___Generic___USB__Joystick__.bak

    (these ones where created “manually” while trying to setup before)

    DragonRise_Inc._Gamepad.cfg
    and
    DragonRiseInc.GenericUSBJoystick.cfg
    (these where download automatically, and are almost empty. The GenericUSB one only have “input_driver = “udev”)

    And Retroarch is reading… That one the I created before! Very weird.
    I’m sure of that, because I placed the code to go back to the ES menu pressing select+start, reset emulator, etc, inside this one, and he can understand that.

    But I still can’t make my analogs work. Here is the analog part of the code (auto-generated by the retroarch joy config before):

    [...]
    input_l3_btn = "10"
    input_r3_btn = "11"
    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"

    Again, I tried to place it inside each of dragon’s cfgs, placing it inside “\\RETROPIE\configs\all\retroarch.cfg”, “\\RETROPIE\configs\psx\retroarch.cfg”, etc

    I’m starting to think that this code have something wrong, but I can’t really understand what :o Maybe the axis notation?

    I’ll keep trying to figure out what is the problem, but any help is appreciated :)

    [EDIT]
    I discovered how! :D Thanks to this video from TechTipsta:

    His video is more indepth, configuring the .cfgs using a usb keyboard, directly on the Raspy. But you can do all using a wifi dongle, and sharing your config files via samba (already comes preconfigurated, at least in this version of retropie [v.3.0, beta 4])

    First, you need o configure 2 Retroarch specific buttons: one to toggle the hotkeys, another one to bring the retroarch config menu.
    On the video, he used select + f1 (the f1 is already on the “\\RETROPIE\configs\all\retroarch.cfg”, but it’s commented by default; you just need to open it, and uncomment the line, deleting the “#” in front of it), but you can use any button from your controller. can use any button you wish.

    In my case, I used the select + the equivalent of the triangle button on my generic controller. This code goes inside your gamepad cfg, located in

    \\RETROPIE\configs\all\retroarch-joypads\[yourjoypadname].cfg

    I’m my case, the code is:

    input_enable_hotkey_btn = "8"
    input_menu_toggle_btn = "0"

    After that, you just start the psx emulator, push your enable_hotkey button, the input_menu button, and voilá, you should bring up the retroarch menu.

    Now, you should be able to use your keyboard or your joypad to navigate thru the menus. But when I tried to use the joypad, the menus goes ballistic, and I can’t select anything. So, keep your keyboard with you, just in case! You are looking to go to:

    options> core options> pad1 type

    Change the pads type from STANDARD to ANALOG

    Now just go back 1 menu, select “resume content”, and you are done! :D
    I still have to test if this config “sticks” after shutting down the PI, and this menu have many more options to mess. I’ll edit this post in the case that I find something important! :D

    Ops, it doesn’t stick. That’s what I get for skipping the video :/

    After changing from standard to analog inside the core options, go back to settings > Input settings, and change “User1 Devicetype” from Retropad to Retropad w/ analog

    Go back to the “root” menu, and choose “Save New Config”
    It will change the “configuration files” above from retroarch.cfg to libretro.cfg. Everytime you save it again, it creates a new file (libretro-1.cfg, 2, 3, etc).

    After that, exit the emulator, press f4 on your keyboar to reset the Retropie. On the command line, we will append the libretro config file to the retroarch one, so it (theoretically) load the settings everytime.

    (Via samba, you can just open the 2 files, and ctrl+c, ctrl+v the settings from inside the libretro file to the retroarch one, but let’s do it the “clean” way)

    Type in the command line

    cd /opt/retropie/configs/psx
    (in the video, the path is …/configs/all; i think it changed since them, because retroarch saved everything inside the psx folder)

    Now type ls; You’ll see all the files on this directory, including the newly created libretro.cfg. To append it to the retroarch.cfg, just type

    cat libretro.cfg >> /opt/retropie/configs/psx/retroarch.cfg

    Theoretically, Retroarch should read this, and autoset the analog everytime. But isn’t working yet, I still need to manually change to analog everytime I restart the emulator :/

    I’ll keep messing with it, but as I said before, any help or hint is appreciated :D

    #100871
    reprotie
    Participant

    [quote=100854]Just got my raspberry pi today and I am having this issue as well, but it seems to be with all emulators (I have only tested NES/SNES so far though). Dpad is not working in any of the games I have tried, but the other buttons seem to be ok. When setting the controller up in the settings, all of the buttons seem to be recognized, except when I press the L2 button it adds it as L2 and R2 in the config settings as soon as I press it. But the main issue is that the dpad isn’t working; it’s unplayable without that.

    I am using the Dual Shock 4 / PS4 controller with a USB cable if that matters.

    [/quote]

    I’m not using a ps4 controller, but I’m having the same problem here. Changed from Lakka to Retropie and EmulationStation today, and I can’t figure out what the problem is, for the life of me :o

    My usb keyboard works fine, but the dpad and analogs just doesn’t work.
    I used jtest to see the inputs, used the new autoconfig via the ES menu, tried to setup the retroarch cfg manually, placing copies inside the “\config\[emulator]”, placing the controller config inside “\config\[emulator]\retroarch.cfg”… Still nothing. Tested Super Mario All-stars, A Link to The Past (snes), SuperMarioland (gb), castlevania (nes) and CTR (psone)
    (btw, I can control the games using the keyboard and the joypad at the same time.)

    I’m using the Version 3.0 BETA 4 (retropie-v3.0beta4-rpi2.img.gz), and this is my joypad config inside “\\RETROPIE\configs\all\retroarch.cfg”:

    input_device = "DragonRise Inc.   Generic   USB  Joystick  "
    input_driver = "udev"
    input_b_btn = "2"
    input_y_btn = "3"
    input_select_btn = "8"
    input_start_btn = "9"
    
    input_up_btn = "h0up"
    input_down_btn = "h0down"
    input_left_btn = "h0left"
    input_right_btn = "h0right"
    
    input_a_btn = "1"
    input_x_btn = "0"
    input_l_btn = "4"
    input_r_btn = "5"
    input_l2_btn = "6"
    input_r2_btn = "7"
    input_l3_btn = "10"
    input_r3_btn = "11"
    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 = "+2"
    input_r_x_minus_axis = "-2"
    input_r_y_plus_axis = "+3"
    input_r_y_minus_axis = "-3"
    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"
    input_reset_btn = "2"
    input_state_slot_increase_btn = "h0right"
    input_state_slot_decrease_btn = "h0left"

    Any help?

    #100806
    iaaberg
    Participant

    As an update, I have been fooling around with this more, and I’ve been able to get the hotkey buttons to change, so I know that it’s reading the retroarch.cfg custom file I’ve created. I’t just not allowing me to change core features. Example. I’ve changed the reset hotkey button to be several different ones, each working. Yet, the A and B buttons remain backwards. There has to be another core file that it’s finding somewhere.

Viewing 35 results - 351 through 385 (of 1,077 total)