Game Specific Config?

This topic contains 5 replies, has 4 voices, and was last updated by  dEdNd 2 years, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #82161

    bobbyt
    Participant

    I was hoping to setup game specific configs.

    I came up with the idea to modify the es_system.cfg file as follows:

    <command>/opt/retropie/supplementary/runcommand/runcommand.sh 4 “/opt/retropie/emulators/RetroArch/installdir/bin/retroarch -L /opt/retropie/emulatorcores/picodrive/picodrive_libretro.so –config /opt/retropie/configs/all/retroarch.cfg –appendconfig /opt/retropie/configs/mastersystem/retroarch.cfg –appendconfig %ROM%.cfg %ROM%”</command>

    This way if there was a config file setup in the Roms directory, something like:

    /home/pi/RetroPie/megadrive/GAMENAME.bin.cfg

    It would get loaded.

    I found one sizable problem when doing this however…

    I see the following error:

    Could not load rom: ‘%ROM%’

    Which is indicating that the config IS being loaded as I’d hoped, BUT because the variable %ROM% now occurs twice in the same command, only the very FIRST occurrence of the variable is being replaced. The one referencing the actual Rom at the very end of the string is being left untouched…

    Does anybody know how I might work around this? I don’t want custom configs for every game but some would be nice for specific games.

    I’m hoping someone can either direct me how to fix this problem, or perhaps give me an alternate method to set this up…

    #82184

    Floob
    Member

    Maybe you could load a custom retroarch.cfg once you are in the game using the rgui with F1?

    RetroPie help guides --> https://goo.gl/Yfy8kj
    Please read this before asking for help --> http://goo.gl/eLErnl

    #82260

    bobbyt
    Participant

    If I’m not mistaken it will effect more than just the current Rom. I’m hoping to get something setup with no overhead…

    Im just surprised that I can only use the variable once…

    #92840

    janezkranjc
    Participant

    Did you figure out a solution to your problem?

    #92908

    janezkranjc
    Participant

    I just added a pull request, where it is now possible to have a custom config for each rom (that uses retroarch). It was merged into the retropie script so if you update it you will get the ability to edit custom config inside the menu (press m or x while loading game).

    It works in the same way as you described in your issue.

    #97037

    dEdNd
    Participant

    Will this work on RetroPie 1.x versions. No really big on updating to a newer version.

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

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

PLEASE NOTE: All orders that are placed between January 14th and January 28th will be shipped on January 29th. Dismiss