Appending multiple config files with –appendconfig

Home Forums RetroPie Project Everything else related to the RetroPie Project Appending multiple config files with –appendconfig

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 6 replies, has 2 voices, and was last updated by Profile photo of jonnygall jonnygall 2 years, 2 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #88554
    Profile photo of jonnygall
    jonnygall
    Participant

    in es_systems.cfg in RetroPie V2.3 I used to be able to add two config files with the –appendconfig option by putting a comma between them. I’m on V2.6 now and whenever I do that, RetroArch is not able to load the one config file after the comma. It says it is unable to load the content.

    #88560
    Profile photo of jonnygall
    jonnygall
    Participant

    To be more specific, I am trying to append /opt/retropie/configs/all/retroarchp2.cfg and here is the error RetroArch is giving me:

    RetroArch [ERROR] :: config_load_file :: Failed to append config “/opt/retropie/configs/all/retroarchp2.cfg,/tmp/retroarch-rate.cfg”

    #88566
    Profile photo of buzz
    buzz
    Keymaster

    please provide the actual config line in es_system.cfg please.

    The problem may be the way you are adding the config and a conflict with runcommand – which appends its own retroarch config with the video mode refreshrate in.

    #88602
    Profile photo of jonnygall
    jonnygall
    Participant

    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 4 "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/neslibretro/fceumm_libretro.so --config /opt/retropie/configs/all/retroarch.cfg --appendconfig /opt/retropie/configs/nes/retroarch.cfg,/opt/retropie/configs/all/retroarchp2.cfg %ROM%" "neslibretro"</command>

    • This reply was modified 2 years, 2 months ago by Profile photo of jonnygall jonnygall.
    #88803
    Profile photo of buzz
    buzz
    Keymaster

    theruncommand script adds an addition config – and it seems retroarch breaks at more than 2 configs added to appendconfig – I have opened a ticket here – https://github.com/libretro/RetroArch/issues/1439

    workarounds:

    don’t use runcommand so the additional config is not added.

    
    /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/neslibretro/fceumm_libretro.so --config /opt/retropie/configs/all/retroarch.cfg --appendconfig /opt/retropie/configs/nes/retroarch.cfg,/opt/retropie/configs/all/retroarchp2.cfg %ROM%"
    

    alternatively, you can just add /opt/retropie/configs/nes/retroarch.cfg and “include” your addition config from there (putting #include path/to/additional/config in there)

    #88805
    Profile photo of buzz
    buzz
    Keymaster

    i found the problem in the code and have now submitted a fix to retroarch for this. I will rebuild retroarch binaries once it has been included.

    #88824
    Profile photo of jonnygall
    jonnygall
    Participant

    Awesome! Thank you for taking your time to look into that. Works again.

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

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

Skip to toolbar