Homepage Forums Search Search Results for 'hotkey'

Viewing 35 results - 36 through 70 (of 1,077 total)
  • Author
    Search Results
  • #118341

    In reply to: N64 xbox controller

    Gnuku
    Participant

    exactly same problem with 3.5 for n64
    for gamepad: d-pad and left analog are reversed, and hotkeys don’t work (like “select + x” to access RGHU). Also new scrappers can no longer be memorized after saving for n64 only. Only n64 is like that

    #118310
    gamesfan
    Participant

    You could go about this another way. The coin is a button press or keystroke. A script can be written (likely) that will capture the key stroke regardless of the system running or just the front end and increase the count by 1. If 4 coins are inserted the count will be 4

    Then each time you press start the button count would count down 4,3,2,1 etc.

    Then the script could listen for running processes ex. Mame.exe or pifba.exe etc. this way if the process isn’t running and a user presses start it won’t decrease the counter.

    In theory this would make emulated games like snes pay per play too as a user couldn’t send a start button unless coins were inserted.

    I have wrote similar scripts in autohotkey for Windows and Mame but don’t have any real experience with Linux.

    I’d like to see this happen, but people are very passionate about people charging for mame etc so your mileage may vary

    Bh

    #118264
    stevetb
    Participant

    Hi Mikegrice10,

    Here are the steps I followed to get the 8Bitdo SFC30 and NES30 to work after a reboot:

    1. Go to this link and download the configuration which you need:

    https://github.com/libretro/retroarch-joypad-autoconfig/blob/master/udev/8Bitdo-SFC30-GamePad-Bluetooth-Mode(START%2BR).cfg

    2. From that configuration you will want to add in your preferred hotkey, exit command, save state, load state, etc. These are not included in the posted CFG files.

    3. I ended up taking the contents of that .CFG file with my revisions and then pasted the text into the .CFG file for my SFC30 and NES30 .CFG files that already existed. Make sure to remove the existing text as well.

    4. Once text is inserted you will want to make sure to save.

    5. Now re-open each file and make sure it saved :)

    6. Last step I did was to delete the .BAK files for each controller that were already in place. THESE backup files are probably what are causing you grief. I am not sure and have not tested my theory that these .BAK files cause the primary .CFG file to regenerate upon reboot. Someone else may know if that is how it works on bootup.

    7. Now reboot and game! Everything should work.

    wowzer22
    Participant

    Hey Duck,

    Thanks for the speedy response. Any shot you can paste what oyu have in your retroarch.cfg? I believe mine is setup correctly but it might help to cross-reference.

    I looked at the github solution and while my fba2x.cfg is different, it doesn’t really explain why my buttons wouldn’t be working correctly. Here’s what mine contains (this appears to be just for PiFBA:

    [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
    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
    #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’ll try replacing it with theirs to see if it makes a difference. Wondering if that fixes all the games? It’s weird that Capcom has one set of button issues and a game like Wrestlefest has a completely different issue. The rest of the emulators in Retropie work flawlessly since running with your solution.

    Here’s what my RetroArch button layout looks like from Retroarch.cfg:

    # 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 = 4
    # input_player1_b_btn = 3
    # input_player1_y_btn = 0
    # input_player1_x_btn = 1
    # input_player1_start_btn = 6
    # input_player1_select_btn = 8
    # input_player1_l_btn = 2
    # input_player1_r_btn = 5
    # input_player1_left_btn =
    # input_player1_right_btn =
    # input_player1_up_btn =
    # input_player1_down_btn =
    # input_player1_l2_btn =
    # input_player1_r2_btn =
    # input_player1_l3_btn =
    # input_player1_r3_btn =
    input_player1_b_btn = 3
    input_player1_y_btn = 0
    input_player1_select_btn = 7
    input_player1_start_btn = 6
    input_player1_up_axis = -1
    input_player1_down_axis = +1
    input_player1_left_axis = -0
    input_player1_right_axis = +0
    input_player1_a_btn = 4
    input_player1_x_btn = 1
    input_player1_l_btn = 2
    input_player1_r_btn = 5
    input_player2_b_btn = 3
    input_player2_y_btn = 0
    input_player2_select_btn = 7
    input_player2_start_btn = 6
    input_player2_up_axis = -1
    input_player2_down_axis = +1
    input_player2_left_axis = -0
    input_player2_right_axis = +0
    input_player2_a_btn = 4
    input_player2_x_btn = 1
    input_player2_l_btn = 2
    input_player2_r_btn = 5
    input_enable_hotkey_btn = 9
    input_exit_emulator_btn = 8
    input_menu_toggle_btn = 1
    input_load_state_btn = 2
    input_save_state_btn = 5
    input_reset_btn = 3
    input_state_slot_increase_axis = +0
    input_state_slot_decrease_axis = -0
    input_volume_up_axis = -1
    input_volume_down_axis = +1

    Seems like player 1 and 2 should both have the same basic button configurations.

    godh8sme
    Participant

    input_device = “Logitech Gamepad F310”
    input_driver = “udev”
    input_r_y_plus_axis = “+4”
    input_l3_btn = “9”
    input_r_x_minus_axis = “-3”
    input_l2_btn = “4”
    input_start_btn = “7”
    input_exit_emulator_btn = “10”
    input_l_y_minus_axis = “-1”
    input_l_axis = “+2”
    input_load_state_axis = “+2”
    input_up_btn = “h0up”
    input_r_y_minus_axis = “-4”
    input_a_btn = “0”
    input_b_btn = “1”
    input_reset_btn = “1”
    input_down_btn = “h0down”
    input_r2_btn = “5”
    input_l_x_plus_axis = “+0”
    input_l_y_plus_axis = “+1”
    input_r3_btn = “10”
    input_right_btn = “h0right”
    input_state_slot_increase_btn = “h0right”
    input_x_btn = “2”
    input_menu_toggle_btn = “2”
    input_select_btn = “6”
    input_enable_hotkey_btn = “6”
    input_l_x_minus_axis = “-0”
    input_y_btn = “3”
    input_left_btn = “h0left”
    input_state_slot_decrease_btn = “h0left”
    input_r_x_plus_axis = “+3”

    No matter what I change input_exit_emulator_btn = to nothing will let me exit from any emulator. I have tried the jstest js0 and it recognizes all of the buttons without any problem.
    Any help would be much appreciated.

    mikeveli20
    Participant

    Currently it’s set to Select+Start by default but I’d like to change it to Select+R3 on my ps3 controller. This is the button combo I use for all other emulators.

    Edit: It appears this fork here will do it: https://github.com/recalbox/pifba

    Edit 2: I’ve just tested it and it works great. Was able to change the hotkey button to R3 and the quit button to select.

    #117613
    oleguer
    Participant

    This error are “fixed” on pcsx-rearmed (non libreto version) because this is the pad config:

    
    Port 1 device Standart (SCPH-1080)
    Port 2 device Standart (SCPH-1080)

    anyone know what I can do to export this config to lr-pcsx-rearmed to fix the problem??? ((I need export the config because in the non libreto version I cant save,load and use hotkey finction))

    #117480
    frank-w
    Participant

    no idea, how to get load/save states on mupen64 working?

    i tried also changing this lines in /retropie/opt/retropie/configs/n64/mupen64plus.cfg (will not be overwritten by autoconf):

    # Joystick event string for saving the emulator state
    Joy Mapping Save State = “J0B8/B7”
    # Joystick event string for loading the emulator state
    Joy Mapping Load State = “J0B8/B6”
    # Joystick event string for advancing the save state slot
    Joy Mapping Increment Slot = “J0B8/B5”

    take the button numbers from /retropie/opt/retropie/configs/all/retroarch-joypads/LogitechLogitechRumblePad2USB.cfg
    input_select_btn = “8”
    input_l_btn = “6”
    input_l2_btn = “4”
    input_l3_btn = “10”
    input_r_btn = “7”
    input_r2_btn = “5”
    input_r3_btn = “11”

    input_enable_hotkey_btn = “8”
    input_load_state_btn = “6”
    input_save_state_btn = “7”

    load/save works in snes-emulator with the retroarch-config and the config in snes/retroarch.cfg (same buttons, but config-keynames differ):
    input_player1_select_btn = “8”
    input_player1_start_btn = “9”
    input_player1_l_btn = “4”
    input_player1_r_btn = “5”
    input_player1_l2_btn = “6”
    input_player1_r2_btn = “7”
    input_player1_l3_btn = “10”
    input_player1_r3_btn = “11”
    input_enable_hotkey_btn = “8”
    input_exit_emulator_btn = “9”

    is that right? i did not found any explanation of the button-numbers.

    regards Frank

    #117468
    labelwhore
    Participant

    Try a different FBA emulator. I have found that with some FBA roms in some emulators you can’t insert a coin no matter what, even after reassigning the hotkey. Particularly Capcom roms. However, if you use the same rom in a different emulator, it works fine. With the right fba bios some games will run in nearly any of the fba emulators.

    #117237
    herbfargus
    Member

    Retroarch configs are set for the keyboard like they are joypads. so it would be your hotkey (i.e. select+X)

    #117140
    scottstan
    Participant

    [quote=117044]You can set the hotkey to be nul like I do here:
    input_enable_hotkey = nul
    [/quote]

    Thanks very much! This worked perfectly to allow a one button hotkey for “exit” and a one button hotkey for “pause.” Note that the you have to use the “input_pause_toggle_btn = ” for the pause hotkey.

    #117086
    Floob
    Member

    You only disable the hotkey enable button, so you still have hotkeys, its just they can be pressed on their own. This often isnt practical with joypads, but can work well with keyboard encoders, like you often have in bartops etc..

    #117062
    lilbud
    Participant

    If you disable hotkey, how do you exit emulator?

    Sent from my LG-D850 using Tapatalk

    kdbdallas
    Participant

    I am wanting to setup the hotkey that exits out of the emulators to be hooked up to a dedicated hardware button (specifically the reset button from the guts of a original NES).
    I currently have the power, LED, and original controllers from the original NES all working with help of the Controlblock v2.1, but I am not sure how I can get the hotkey working like this.

    Is it possible to hook up the button to one of the GPIO’s and then some how tell the hotkey to look at that GPIO?

    Any help would be much appreciated.

    Thanks!

    #117044
    Floob
    Member

    You can set the hotkey to be nul like I do here:
    input_enable_hotkey = nul

    scottstan
    Participant

    Hello all. I’m using a single player arcade setup with a xin-mo.

    I’m trying to set up an exit button that will exit the emulators when pressed. I am trying to avoid having to press two buttons to exit (i.e., hotkey). This works with MAME4ALL because it has the option in its TAB config menu. However, I can’t figure this out for my other emulators, including NES, SNES, and Genesis.

    I’m also trying to set up a pause button that will pause the emulators when pressed. Again, I am trying to avoid using a hotkey and I have this working in MAME4ALL, but not my other emulators.

    Thanks in advance!
    Scott

    #116951
    pixelbrei
    Participant

    okay … after a bit of testing and putting the roms in different folders and therefore different emulators as well, i found out, that the samples (at least for my test rom : berzerk) are only working when i put the roms in the folder for “mame-advmame”.

    here i create two subfolders for “artwork” and “samples” and (atleast for berzerk) the 0.375 roms and samples and stuff, seem to work.

    i did not change any other configs (no mame conf or pathschanges which seem to only be relevant for the libretro based mame stuff).

    tldr … assuming i did not made any major faults, soundsamples for mame only work in the advance mame right now … but .. i loove mame4all way more then advmame (shaders/overlays for advmame anyone ??) :( :)

    by the way .. can anyone guide me on how to setup hotkeys for advance mame ? ;)

    #116907
    Anonymous
    Inactive

    Yeah tried that, but can’t seem to get it to work. This is what I have…

    input_device = “USB,2-axis 8-button gamepad ”
    input_driver = “udev”
    input_r_btn = “5”
    #input_save_state_btn = “5”
    input_start_btn = “7”
    input_exit_emulator_btn = “7”
    input_l_btn = “4”
    #input_load_state_btn = “4”
    input_up_axis = “-1”
    input_a_btn = “0”
    input_b_btn = “1”
    input_reset_btn = “1”
    input_down_axis = “+1”
    input_right_axis = “+0”
    input_state_slot_increase_axis = “+0”
    input_x_btn = “2”
    input_menu_toggle_btn = “2”
    input_select_btn = “6”
    input_enable_hotkey_btn = “6”
    input_y_btn = “3”
    input_left_axis = “-0”
    input_state_slot_decrease_axis = “-0”
    input_shader_next_btn = “4”
    input_shader_prev_btn = “5”

    #116902
    pixelbrei
    Participant

    hey there,

    i was also struggeling today with shaders. my prob is more, that the shaders do not work the way i expect them to be, but this is another story ;). when troubleshooting this, i tried also to get the shader change when inside an emulator to work, to see the differences the shaders provide.

    in my case purely on mame4-all and fba, but i guess this is applicable for all retroarch bases emus.

    what i did was .. setting up the controller config here, to setup the general hotkey buttion and the buttons who are mapped to change the shaders when pressed in combination with the hotkey:

    – /opt/retropie/configs/all/retroarch-joypads

    in my case, i have an gpio controller in an arcade cab and therefore this file, but like before i guess this is also applicable to your joypads but with an other joypad.cfg file

    – GPIOController1.cfg (replace filename with the cfg your controller represents)

    here is a small snipped part from inside my conf …

    # define hotkey button
    input_enable_hotkey_btn = “8”
    # define hoteky combo keys
    input_exit_emulator_btn = “7”
    input_menu_toggle_btn = “2”
    input_select_btn = “6”
    input_start_btn = “7”
    input_state_slot_increase_axis = “+0”
    input_state_slot_decrease_axis = “-0”
    input_shader_next_btn = “0”
    input_shader_prev_btn = “1”

    maybe this helps with setting up your config … fingesr crossed ;)

    mirage
    Participant

    I hope this is the right place to post this info:

    This HDE receiver works perfectly with Retropie (tested on 3.4 and 3.5)
    Nothing else to do than plugging and enabling the xboxdrv from retropie menu.

    Holding the wireless button on the controller and on the receiver will get them to pair.
    No Lag, works in all retroarch emulator.

    Note 1: To enable analog input for psx change the following line in
    /opt/retropie/configs/all/retroarch-core-options.cfg

    pcsx_rearmed_pad1type = "standard"
    pcsx_rearmed_pad2type = "standard"

    to

    pcsx_rearmed_pad1type = "analog"
    pcsx_rearmed_pad2type = "analog"

    Note 2: Best method to map controller for each emulator:
    1 – create input configuration from emulation station
    2 – copy the following folder and its contentto the rom folder:
    copy:
    /opt/retropie/configs/all/retroarch-joypads/
    to (example)
    /opt/retropie/configs/psx/retroarch-joypads/
    3 – include the following line in the retroarch.cfg file of the emulator:
    example:
    in /opt/retropie/configs/psx/retroarch.cfg
    add this line before the #include… statement:
    joypad_autoconfig_dir = /opt/retropie/configs/psx/retroarch-joypads/
    4 – make sure the emulator rom folder is correctly called in the line you just entered.
    5 – Modify the inputs for the controller in the controller config file:
    /opt/retropie/configs/psx/retroarch-joypads/XboxGamepad(userspacedriver).cfg

    here are my settings for a few console:

    PSX:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    
    #input_up_axis = "-1"
    #input_down_axis = "+1"
    #input_left_axis = "-0"
    #input_right_axis = "+0"
    
    input_l2_btn = "6"
    input_r2_btn = "7"
    input_l_btn = "4"
    input_r_btn = "5"
    
    input_a_btn = "3"
    input_b_btn = "0"
    input_x_btn = "1"
    input_y_btn = "2"
    
    input_r_y_plus_axis = "+3"
    input_r_x_minus_axis = "-2"
    input_l_y_minus_axis = "-1"
    input_r_y_minus_axis = "-3"
    input_l_x_plus_axis = "+0"
    input_l_y_plus_axis = "+1"
    input_l_x_minus_axis = "-0"
    input_r_x_plus_axis = "+2"
    

    NES:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    input_l2_btn = "4"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_a_btn = "0"
    input_b_btn = "2"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    input_r_x_plus_axis = "+2"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_y_btn = "3"
    input_x_btn = "1"

    SNES:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_a_btn = "1"
    input_b_btn = "0"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    input_r_x_plus_axis = "+2"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_y_btn = "3"
    input_x_btn = "2"
    input_l_btn = "6"
    input_r_btn = "7"

    PCENGINE:

    input_device = "Xbox Gamepad (userspace driver)"
    input_driver = "udev"
    input_save_state_btn = "7"
    #input_l2_btn = "4"
    input_start_btn = "9"
    input_exit_emulator_btn = "9"
    input_load_state_btn = "6"
    input_up_btn = "h0up"
    input_a_btn = "0"
    input_b_btn = "2"
    input_reset_btn = "1"
    input_down_btn = "h0down"
    input_right_btn = "h0right"
    input_state_slot_increase_btn = "h0right"
    input_menu_toggle_btn = "2"
    input_select_btn = "8"
    input_enable_hotkey_btn = "8"
    input_left_btn = "h0left"
    input_state_slot_decrease_btn = "h0left"
    input_r_x_plus_axis = "+2"
    input_up_axis = "-1"
    input_down_axis = "+1"
    input_left_axis = "-0"
    input_right_axis = "+0"
    input_y_btn = "3"
    input_x_btn = "1"

    Advantage of using this controller config method is that you could load tons of different controller configurations and the system will attribute player 1 to the first type of controller connected and match the corresponding custom config you made in the folder /opt/retropie/configs/(ìnsert emulator name)/retroarch-joypads/
    .

    Hope this helps :)
    Mirage

    #116810
    Anonymous
    Inactive

    dammmm
    Maybe I’m very stupid for not seeing what is going on … nothing of this works for me.

    I add on my Mame-Mame4All folder, the same folder my game is the file .cgf with this information

    
    input_player1_start_btn = 5
    input_player1_select_btn = 4
    input_player1_b_btn = 2
    input_player1_a_btn = 0
    input_player1_y_btn = 1
    input_player1_x_btn = 3
    input_player1_l_btn = 7
    input_player1_r_btn = 6
    input_player1_l2_btn = nul
    input_player1_r2_btn = nul
    input_player1_l3_btn = nul
    input_player1_r3_btn = nul
    input_enable_hotkey_btn = 4
    
    input_remapping_directory = /opt/retropie/configs/mame-mame4all/
    
    #include /opt/retropie/configs/all/retroarch.cfg
    

    and looks like what in the attach and my INSERT COIN still not working … even when I remap to another button.

    where can I check the log of the MAME … witch files the emulator is loading, etc, etc??

    best regards
    Paulo Aboim Pinto
    Odivelas – Portugal

    #116737
    petrockblog
    Keymaster

    it is saving the gameslists – you need to wait. (you must have a lot of roms)

    I may introduce a hard shutdown as it did before – but meta data could be lost then.

    shaders do work – but must be configured from the configuration editor. (hotkeys wont work due to a changed file structure)

    #116699
    helpman
    Participant

    results so far:
    lr-mame2010 … no shaders at all. no messages on screen. nothing.
    on a curious note, I don’t know why, pressing button 6 (without hotkey button pressed) shows a configuration menu like mame, but can’t enter any opcion, and pressing up/down makes it go crazy, as if I never stopped pressing the button)

    lr-imame4all … nothing.

    lr-picodrive … nothing

    lr-fba … nothing

    lr-fceumm … nothing

    lr-snes9x-next … nothing

    helpman
    Participant

    Hi there!
    I had shaders working fine on 3.0 but since then I’ve been unable to make them work.
    I tried starting a 3.5 setup from scratch, but still can’t make the shaders work.

    (and BTW, retropie 3.5 takes AGES to load compared to other builds… it takes a long long time to load emulation station)

    on configs/all/retroarch.cfg,

    # Smoothens picture with bilinear filtering. Should be disabled if using pixel shaders.
    video_smooth = false
    # Path to shader. Shader can be either Cg, CGP (Cg preset) or GLSL, GLSLP (GLSL preset)
    video_shader = /opt/retropie/emulators/retroarch/shader/xsal/2xsal.glslp
    # Load video_shader on startup.
    # Other shaders can still be loaded later in runtime.
    video_shader_enable = true
    # Defines a directory where shaders (Cg, CGP, GLSL) are kept for easy access.
    video_shader_dir = /opt/retropie/emulators/retroarch/shader/

    that’s all I have set for video shaders…

    on remapping files (i.e. neogeo/retroarch.cfg)

    # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
    input_player1_joypad_index = 0
    input_player1_b_btn = 0
    input_player1_a_btn = 1
    input_player1_y_btn = 2
    input_player1_x_btn = 3
    input_player1_start_btn = 7
    input_player1_select_btn = 13
    input_player2_joypad_index = 1
    input_player2_b_btn = 0
    input_player2_a_btn = 1
    input_player2_y_btn = 2
    input_player2_x_btn = 3
    input_player2_start_btn = 7
    input_player2_select_btn = 13
    input_enable_hotkey_btn = 9
    input_shader_next_btn = 6
    input_shader_prev_btn = 5
    input_remapping_directory = /opt/retropie/configs/neogeo/
    #include “/opt/retropie/configs/all/retroarch.cfg”

    as you can see I mapped some buttons to test different shaders. they won’t work. nor the default keyboard mapped keys. it just won’t work.

    On another small thing that grinds my gears, on lr-mame2010 when I press start player 1 (button 7) it shows framerate on the top right, I’m still trying to find how to disable that…

    but why are shaders not working? please help!

    goodjaerb
    Participant

    I’m pretty sure this is brought up a lot but everything I’ve yet found doesn’t work.

    First thing is I am running on an Ubuntu 15.10 PC set up per the wiki.

    My mupen64plus.cfg claims I should be able to hit Back and Start J1B8/J1B9 to quit the emulator, but that doesn’t work, and all mention of it I can find online says mupen doesn’t support hotkeys like that.

    So I edit it to be just the back button J1B8 (which corresponds to jstest and the default mupen settings) and it still doesn’t exit. However I believe this is because even though I edit the file, when I run emulationstation / mupen64plus, something removes/rewrites/replaces the cfg because not only does it not work but when I check the file after it is reset to J1B8/J1B9, which I know doesn’t work.

    So I tried what I did with my reicast config and made it non-deletable/editable. Well when I run mupen64plus straight out of /opt/retropie/emulators/mupen64plus/bin it throws an error if it can’t alter the file and uses default settings anyway. So again it doesn’t use my cfg edits.

    I don’t understand if it’s suggested to edit these files why would emulationstation/mupen (and reicast fwiw) edit and replace them anyway. Is it something strange because I’m using Ubuntu instead?

    Also I would love to just use lr-mupen64plus because the retroarch configuration lets me exit, but the games don’t display right AT ALL. Maybe if someone can tell me why or how to fix lr-mupen64plus I’ll be ok.

    Thank you and I’m sorry it’s so much talking.

    #116608
    helpman
    Participant

    In my case I just needed to remap joystick buttons, so just as example… may give you a hint about what you need…

    in home/opt/retropie/configs/neogeo (as example) I have to swap button 0 and button 1, but just in case I set all buttons needed. You must edit the file retroarch.cfg

    # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

    input_player1_joypad_index = 0
    input_player1_b_btn = 0
    input_player1_a_btn = 1
    input_player1_y_btn = 2
    input_player1_x_btn = 3
    input_player1_start_btn = 7
    input_player1_select_btn = 13
    input_player2_joypad_index = 1
    input_player2_b_btn = 0
    input_player2_a_btn = 1
    input_player2_y_btn = 2
    input_player2_x_btn = 3
    input_player2_start_btn = 7
    input_player2_select_btn = 13
    input_enable_hotkey_btn = 9
    input_shader_next_btn = 6
    input_shader_prev_btn = 5

    input_remapping_directory = /opt/retropie/configs/neogeo/

    #include “/opt/retropie/configs/all/retroarch.cfg”

    as you can see if you compare it to yours, I added the input_blabhlahblah

    apart from remapping the buttons to others (in neogeo select insert coins so I set it to my button 13, which emulates the coin slot. even with the button changed, as the base retroarch hotkeys are still by default select+start, which are defined as button 9 and button 8, the hotkey still works and pressing both will exit the game back to emulation station.

    you can do this for every libretro based emulator.

    if you need to change buttons for a specific game, just make a copy of the retroarch.cfg file for that emulator, and place it on home/pi/retropie/roms/mame-mame4all (or the rom folder you need) and edit away.

    # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
    # configuracion mame juegos 6 botones
    input_player1_start_btn = “7”
    input_player1_select_btn = “13”
    input_player1_b_btn = “1”
    input_player1_a_btn = “2”
    input_player1_y_btn = “3”
    input_player1_x_btn = “4”
    input_player1_l_btn = “5”
    input_player1_r_btn = “6”
    input_player1_l2_btn = “nul”
    input_player1_r2_btn = “nul”
    input_player1_l3_btn = “nul”
    input_player1_r3_btn = “nul”
    input_player2_start_btn = “7”
    input_player2_select_btn = “13”
    input_player2_b_btn = “1”
    input_player2_a_btn = “2”
    input_player2_y_btn = “3”
    input_player2_x_btn = “4”
    input_player2_l_btn = “5”
    input_player2_r_btn = “6”
    input_player2_l2_btn = “nul”
    input_player2_r2_btn = “nul”
    input_player2_l3_btn = “nul”
    input_player2_r3_btn = “nul”
    input_enable_hotkey_btn = “9”
    input_shader_next_btn = “6”
    input_shader_prev_btn = “5”

    input_remapping_directory = /opt/retropie/configs/mame-mame4all/

    #include “/opt/retropie/configs/all/retroarch.cfg”

    this is a mapping for street fighter 2 championship edition.
    (I just moved all the buttons, as the button 0 is not used, but 1,2,3,4,5,6 instead.)
    so as the rom zip file is named sf2ce.zip, you must name this file “sf2ce.zip.cfg” and it will be loaded when this game runs.

    not sure if this helped you :D

    #116574
    helpman
    Participant

    I use a custom map on the opt/configs/emulators folder (inside each system there’s a retroarch.cfg file) there I set the standard buttons for that emulator.
    select+start hotkey still works!
    then for each game that needs a different map you create a cfg file with the same name as the rom on the roms folder, and only set the buttons you need to change there.

    #116565
    dankcushions
    Participant

    this is a good idea! right now lr-mame2003 has a few issues:
    – the hotkey (typically ‘select’ button) conflicts with insert coin (typically ‘select’ button) meaning the latter often doesn’t work (see https://github.com/libretro/mame2003-libretro/issues/8)
    – it is impossible to rebind buttons without also rebinding the core retroarch gui buttons. eg, if you change the A button to do something else than the default, then it will no longer be the ‘confirm’ button in retroarch (see https://github.com/libretro/mame2003-libretro/issues/10), which makes using the RGUI difficult.

    in theory you could use per-game .cfg files to correct the key mapping for those games, and also disable the hotkey, and just do without save states/the RGUI (neither or which i need), solving both problems.

    but then i’ve thought of a problem – you’d not be able to exit the game without a hotkey :( i think you can bind exit to a single button, but i don’t like that either (easy to do it by accident). dang…

    #116447

    In reply to: FBA coin button

    herbfargus
    Member

    It’s all explained on the wiki:

    https://github.com/RetroPie/RetroPie-Setup/wiki/FAQ#why-cant-i-insert-coins-in-arcade-emulators

    It’s really not that hard to comprehend if you’d take the time to use the resources available to you.

    Direct quote:

    but in the future in order to exit mame I would then have to press left bumper+start as i changed my hotkey to the left bumper.

    #116433

    In reply to: FBA coin button

    g0nz0uk
    Participant

    Hello,

    I got the coin button working but can only exit the game from 1 controller

    /opt/retropie/configs/all/retroarch-joypads/XboxGamepad(userspacedriver).cfg set input_enable_hotkey_btn = “10”

    Player 1

    input_device = “Xbox Gamepad (userspace driver)”
    input_driver = “udev”
    input_r_y_plus_axis = “+3”
    input_l3_btn = “11”
    input_r_x_minus_axis = “-2”
    input_r_btn = “7”
    input_save_state_btn = “7”
    input_l2_btn = “4”
    input_start_btn = “9”
    input_exit_emulator_btn = “9”
    input_l_y_minus_btn = “h0leftanalogup”
    input_l_btn = “6”
    input_load_state_btn = “6”
    input_up_axis = “-1”
    input_r_y_minus_axis = “-3”
    input_a_btn = “0”
    input_b_btn = “1”
    input_reset_btn = “1”
    input_down_axis = “+1”
    input_r2_btn = “5”
    input_l_x_plus_btn = “h0leftanalogright”
    input_l_y_plus_btn = “h0leftanalogdown”
    input_r3_btn = “12”
    input_right_axis = “+0”
    input_state_slot_increase_axis = “+0”
    input_x_btn = “2”
    input_menu_toggle_btn = “2”
    input_select_btn = “8”
    input_enable_hotkey_btn = “10”
    input_l_x_minus_btn = “h0leftanalogleft”
    input_y_btn = “3”
    input_left_axis = “-0”
    input_state_slot_decrease_axis = “-0”
    input_r_x_plus_axis = “+2”

    Player 2

    input_device = “Xbox Gamepad (userspace driver) #2”
    input_driver = “udev”
    input_r_y_plus_axis = “+3”
    input_l3_btn = “11”
    input_r_x_minus_axis = “-2”
    input_r_btn = “7”
    input_save_state_btn = “7”
    input_l2_btn = “4”
    input_start_btn = “9”
    input_exit_emulator_btn = “9”
    input_l_y_minus_btn = “h0leftanalogup”
    input_l_btn = “6”
    input_load_state_btn = “6”
    input_up_axis = “-1”
    input_r_y_minus_axis = “-3”
    input_a_btn = “0”
    input_b_btn = “1”
    input_reset_btn = “1”
    input_down_axis = “+1”
    input_r2_btn = “5”
    input_l_x_plus_btn = “h0leftanalogright”
    input_l_y_plus_btn = “h0leftanalogdown”
    input_r3_btn = “12”
    input_right_axis = “+0”
    input_state_slot_increase_axis = “+0”
    input_x_btn = “2”
    input_menu_toggle_btn = “2”
    input_select_btn = “8”
    input_enable_hotkey_btn = “10”
    input_l_x_minus_btn = “h0leftanalogleft”
    input_y_btn = “3”
    input_left_axis = “-0”
    input_state_slot_decrease_axis = “-0”
    input_r_x_plus_axis = “+2”

    helpman
    Participant

    I have a raspberry pi 2, memory split to 384, overclock set to pi2. (also tried without overclock, same result)
    everything runs fine with all emulators, but when I try to use lr-imame4all after loading the rom I only see a white screen. nothing else works, but the exit hotkey and back to emulation station.
    same happens with lr-mame2003.
    lr-fba-next which I use for neogeo works fine, though.

    duckclimber
    Participant

    Hi! I will write it more clear in the guide, thanks:-)

    RetroPie—>Configure RetroArch/Launch RetroArch RGUI—–>Settings—->Input—->”Input Hotkey Binds” and “input User 1/2/3 etc Binds”

    Remember to save the settings before exit.

    wowzer22
    Participant

    Hi,

    This seems excellent, thanks for putting it together!

    I’m having issues with Step 11:

    “Step 11: Go in to the RetroArch configuration and navigate to “input”, change the buttons you want for Player 1 and 2 for the Xin-mo. Then go to hotkeys menu and select what buttons you want for quitting a game, saving etc. ”

    Where exactly is this?

    Thanks!

    doceave
    Participant

    Hi there guys.

    I am feeling beyond stupid! This despite reading most of this forum with no success…

    I have RetroPie running alongside OSMC. Two FC30 controllers paired via bluetooth (each remote simulating a different set of keyboard key presses) — Essentially Retropie thus sees only a keyboard as an input. This is the only way I can get both controllers to pair reliably with the Pi!

    In lieu of getting some help here I have prepared a brand new installation with the controllers paired with the Pi and controller 1 setup for ES using the GUI at startup. No other mods.

    Keys are as follows:
    Controller I : Controller 2
    > Up – c : p
    > Down – d : q
    > Left – e : r
    > right – f : a
    > Start – o : y
    > Select – n : x
    > A – g : b
    > B – j : u
    > X – h : s
    > Y – i : t
    > Left shoulder – k : v
    > Right shoulder – m : w

    Please please will an expert here edit my configs/all/retroarch.cfg file (attached) such that I have the following hotkeys working:
    > Exit
    > Save state
    > Load state
    > Inc save slot
    > Dec save slot
    > Pause

    The only game I plan to play is Super Mario All Stars on SNES

    Help will be beyond appreciated :)

    #116341

    In reply to: AdvanceMame Exit Menu

    hobbswon
    Participant

    Sorry to necropost but this was the only info I could find…how did anybody get advmame to exit with a combo hotkey ( like start + select )??

    I thought this was only for retroarch cores?

    I was able to find the line for the safequit prompt to disable it…but I cannot find where the code for exiting the emulator is.

Viewing 35 results - 36 through 70 (of 1,077 total)