Enable save_config_on_exit

Home Forums RetroPie Project Ideas for Further Enhancements Enable save_config_on_exit

RetroPie has a new website and forum. Please visit https://retropie.org.uk/ for the new site. The new forum is located at https://retropie.org.uk/forum/. This forum is left here as a read-only archive.

This topic contains 2 replies, has 2 voices, and was last updated by Profile photo of gizmo98 gizmo98 3 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5659
    Profile photo of gizmo98
    gizmo98
    Participant

    RGUI cannot be used to change core specific settings. If we enable save_config_on_exit configs/all/retroarch.cfg will be overridden with core specific settings like libretto core, key bindings and shader settings. configs/<emulator>/retroarch.cfg will not be changed.

    Some changes are necessary to save only the core specific tetrarch.cfg:
    add #include "$rootdir/configs/all/retroarch.cfg" to every configs/<emulator>/retroarch.cfg

    Change..
    COMMAND=$rootdir/supplementary/runcommand/runcommand.sh 4 "$rootdir/emulators/RetroArch/installdir/bin/retroarch -Lfind $rootdir/emulatorcores/pocketsnes-libretro/ -name “*libretro*.so” | head -1--config $rootdir/configs/all/retroarch.cfg --appendconfig $rootdir/configs/snes/retroarch.cfg $__tmpnetplaymode$__tmpnetplayhostip_cfile $__tmpnetplayport$__tmpnetplayframes %ROM%"

    ..to..

    COMMAND=$rootdir/supplementary/runcommand/runcommand.sh 4 "$rootdir/emulators/RetroArch/installdir/bin/retroarch -Lfind $rootdir/emulatorcores/pocketsnes-libretro/ -name “*libretro*.so” | head -1--config $rootdir/configs/snes/retroarch.cfg $__tmpnetplaymode$__tmpnetplayhostip_cfile $__tmpnetplayport$__tmpnetplayframes %ROM%"

    ..and enable save_config_on_exit.

    #5664
    Profile photo of karloss
    karloss
    Participant

    Sorry, what is the need for this change?

    Sent from my Nexus 5 using Tapatalk

    #5669
    Profile photo of gizmo98
    gizmo98
    Participant

    If you start a libreto/retroarch core like pocketsnes or pscx_rearmed you can open a GUI (RGUI) with “F1” or with a “input_menu_toggle_btn” or an “input_menu_toggle_axis”. It is possible to change video, audio, input and path settings. Furthermore it is possible to change drivers. But your changes aren’t persistent. Your new settings will not be stored because save_config_on_exit = "false".

    It is a good idea to disable this option at the moment. Otherwise the main retroarch.cfg will be overritten (/configs/all/retroarch.cfg). If i change something in pocketsnes, no other emulator core should be influenced. For example, if rewind can be used with nes/mastersystem cores it slows down pscx_rearmed.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar