Here is the example file : # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line I added a zoomed viewport to my system specific retroarch.cfg in /opt/retropie/configs/atarist/retroarch.cfg.
CFG to the /etc/emulationstation/es_systems.cfg for atarist. It looks like this : lr-hatari-configfile = "LD_LIBRARY_PATH='/opt/retropie/libretrocores/lr-hatari' /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-hatari/hatari_libretro.so -config /opt/retropie/configs/atarist/retroarch.cfg 'hatari -c %ROM%'"Īnd if we want to have the config files listed in emulationstation then we have to add. Now, basically, I tried the same with lr-hatari, and with success.įor now I made a runcommand for the emulators.cfg that can be pasted it there for loading the game-specific lr-hatari configfiles. So I looked into the standalone hatari as you can add options to load such configfile.īasically it's the same sort of problem when using lr-mess or lr-mame the libretro cores of MAME standalone.Ī year ago I discovered how to add options to a libretro core as lr-mess. Too bad the runcommand of lr-hatari in emulators.cfg in /opt/retropie/configs/atarist doesn't pick up configfiles. So now we have put the 1943.cfg file in our atarist roms directory and we want to load that file into lr-hatari. Renaming it somewhat different or making it uppercase can be solution if we want all the letters in the config filename.īut why not do it simply rename it as 1943.cfg as noted earlier. If we would rename it to 1943.st.cfg then we have a clash because the runcommand.sh script will append it as an game-specific retroarch.cfg but the file is not a retroarch.cfg file !. This is the config file we would like to load in lr-hatari so we copy the file somewhere inside the atarist roms directory and we rename it to 1943.cfg, for example. So if we are running 1943.st, for example, and we make a config-file in lr-hatari it will be saved as hatari.cfg. Now if we use lr-hatari and we save a configfile in the menu, of lr-hatari, then the default becomes /home/pi/.hatari/hatari.cfg linked to /opt/retropie/configs/atarist/hatari.cfg So if we have a file, for example, 1943.st, and if we add a configfile in the same directory called 1943.st.cfg then the runcommand.sh script will append that config as a game-specific retroarch.cfg file. Usually we use this for loading overlays for for example vectrex or the handelds (konamih etc in lr-mess) or the realistic overlays of Orionsangels. This script has the ability to add a game-specific retroarch.cfg file. Now when we run a game everything is passed through the runcommand.sh script. The standard reatroarch.cfg in /opt/retropie/configs/all will ultimately be included loading the standard values. When we want to add some retroarch specific setting for atarist we can do it in /opt/retropie/configs/atarist/retroarch.cfg. Retroarch.cfg in /opt/retropie/configs/atarist. So when we run a game with lr-hatari core in retroarch it will check the So the CFG file is fine, it's getting lr-hatari to load it that's the took some time to dig into the problem.īasically, as said earlier, we have to take into account that we don't mix different config files. But if I load the game normally and then load that config file manually from the lr-hatari menu, it works. It also isn't read if I leave it in the configs folder with that name. If I rename that file to Super Zazai Da!.st.cfg and put it in the folder along with the game file, it isn't read and the game tries to boot with default settings. SzPrintToFileName = /home/pi/.hatari/hatari.prn SzTosImageFileName = /home/pi/RetroPie/BIOS/TOS206.IMG SzDiskAFileName = /home/pi/RetroPie/roms/atarist/Super Zazai Da!.st SzAutoSaveFileName = /home/pi/.hatari/auto.sav SzMemor圜aptureFileName = /home/pi/.hatari/hatari.sav SzYMCaptureFileName = /home/pi/hatari.wav
The file it saved for Super Zazai Da! looks like this: (lr-hatari is broken in many ways and won't let you specify a name, so you have to create an empty config file first and save to that.) Nope, the config was saved by lr-hatari itself, into the /opt/retropie/configs/all/retroarch/config/atarist folder.