Homepage Forums RetroPie Project Everything else related to the RetroPie Project New user looking for a descent how to guide…

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4350
    sasquatch606
    Participant

    I’ve installed RetroPie and I freaking love it! I am having difficulty finding a safe way to exit (specifically NES games now but it applies to all the emulators I guess) a game and not lose my progress. I was very excited to start playing some custom Super Techmo Bowl roms and equally frustrated when my data was gone upon exiting (ESC). Can anyone point me in the right direction?

    #4359
    kitchuk
    Participant

    You need to save your progress in game the exit the emulator. This should create a save file.

    #4360
    kitchuk
    Participant

    With nes you can create save states and load states within the retroarch.cfg

    #4361
    sasquatch606
    Participant

    Ah. I’ve noticed when I hit f4 in the emulator, the screen flashes ”failure to load state”. Is there a default f key that will create a save state?

    Sent from my Nexus 4 using Tapatalk

    #4372
    kitchuk
    Participant

    Try pressing F1 or going into the retroarch.cfg within the config folder. Here you can view the button config and even change them to your liking if you wish.

    #4374
    trimmtrabb
    Participant

    Are you using a gamepad? Here is my retroarch.cfg, located in /home/pi/RetroPie/configs/all/ This file contains your gamepad configuration for all the Retroarch emulators, NES included.

    input_player1_joypad_index = "0"
    input_player1_b_btn = "1"
    input_player1_y_btn = "3"
    input_player1_select_btn = "8"
    input_player1_start_btn = "9"
    input_player1_up_axis = "-5"
    input_player1_down_axis = "+5"
    input_player1_left_axis = "-4"
    input_player1_right_axis = "+4"
    input_player1_a_btn = "0"
    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_l3_btn = "11"
    input_player1_r3_btn = "12"
    input_player1_l_x_plus_axis = "+0"
    input_player1_l_x_minus_axis = "-0"
    input_player1_l_y_plus_axis = "+1"
    input_player1_l_y_minus_axis = "-1"
    input_player1_r_x_plus_axis = "+2"
    input_player1_r_x_minus_axis = "-2"
    input_player1_r_y_plus_axis = "+3"
    input_player1_r_y_minus_axis = "-3"
    
    input_enable_hotkey_btn = "8"
    input_exit_emulator_btn = "9"
    
    input_enable_hotkey_btn = "8"
    input_save_state_btn = "5"
    
    input_enable_hotkey_btn = "8"
    input_load_state_btn = "4"
    
    input_enable_hotkey_btn = "8"
    input_state_slot_increase_btn = "7"
    
    input_enable_hotkey_btn = "8"
    input_state_slot_decrease_btn ="6"
    
    input_enable_hotkey_btn = "8" 
    input_menu_toggle_btn = "3" 
    

    I have assigned the save/load function to the shoulder buttons of my Xbox gamepad, enabled with a hotkey button (the back button). You can assign your own buttons but you need to determine how the buttons are recognised by the OS. You can install the jtest utility:
    sudo apt-get install joystick
    and then run:
    jstest /dev/input/js0 (assuming you only have one gamepad plugged in)
    This will tell you which buttons are being pressed so you can edit the retroarch.cfg accordingly.

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.