Need help restoring a cfg file
-
How I went from where I was to here looking for help...
I had installed a fan translated TG-16 cd Rom and was having trouble getting it to see the correct CD bios.pce. I decided to pull up retroarch submenu and select an alternate BIOS for the rom (which didn’t help) and ended up locking myself out from being able to pull up the retroarch submenu again to undo the change. (I assume because the rom would no longer post I could no longer hotkey into the retroarch submenu).
Genius that I am, decided to access the config folder on the pie via my PC. I then deleted the tg16cd.cfg file thinking it would rebuild and give access back into the retroarch submenu. This of course was a big mistake as I now have removed the platform for pcengine, tg16, etc.. it seems I broke some dependencies.
I have just kicked off a compile of the main packages and plan to follow-up with the optional packages for a fresh new compile of those as well.
I guess my question is would it have been possible to rebuild the config file to a default for those emulators assuming I knew how (which I don’t)?
Am I headed in the right direction by trying to recompile the whole build? Or could I have saved myself a days worth of compile time by rebuilding the cfg file somehow?
-
@ghettowookie said in Need help restoring a cfg file:
Am I headed in the right direction by trying to recompile the whole build?
Not likely. If you think that a configuration file is at fault here, then why re-compile the program ?
Or could I have saved myself a days worth of compile time by rebuilding the cfg file somehow?
Probably yes. If it's a configuration file that is faulty, you can always get the default from a RetroPie image or asked for it from another user.
-
@mitu said
Not likely. If you think that a configuration file is at fault here, then why re-compile the program ?
I was thinking that the tg-16 cfg file might be one installed as a default for the emulator, and that maybe a recompile would restore what was lost.
Right now when I attempt to kick off a rom I get an error that says no cfg file available for tg-16. Also if I attempt a scrape the scrapper fusses about not having a platform set for the rom. Oddly enough I can get the hucard roms to kick off without the cfg, just not the cd-ROMs.Probably yes. If it's a configuration file that is faulty, you can always get the default from a RetroPie image or asked for it from another user.
Would anyone here be kind enough to see if the tg-16 config file is located in the root config folder under the tg16 or the tg-16 cd system folder, and post the default?
-
@ghettowookie I don't have a
tg-16
system, but here is the default one forpcengine
, from/opt/retroarch/configs/pcengine
.# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/pcengine/" #include "/opt/retropie/configs/all/retroarch.cfg"
-
@mitu said in Need help restoring a cfg file:
@ghettowookie I don't have a
tg-16
system, but here is the default one forpcengine
, from/opt/retroarch/configs/pcengine
.# Settings made here will only override settings in the global retroarch.cfg if placed above the #include line input_remapping_directory = "/opt/retropie/configs/pcengine/" #include "/opt/retropie/configs/all/retroarch.cfg"
@mitu thank you. This looks like the retroarch cfg file (which I have). Would you by chance have the emulators.cfg? (I realize you may have some emulators that I don’t in your config).
-
Here is my
emulators.cfg
filelr-beetle-pce-fast = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-beetle-pce-fast/mednafen_pce_fast_libretro.so --config /opt/retropie/configs/pcengine/retroarch.cfg %ROM%" default = "lr-beetle-pce-fast" lr-beetle-supergrafx = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-beetle-supergrafx/mednafen_supergrafx_libretro.so --config /opt/retropie/configs/pcengine/retroarch.cfg %ROM%" lr-fbalpha-pce = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbalpha/fbalpha_libretro.so --subsystem pce --config /opt/retropie/configs/pcengine/retroarch.cfg %ROM%" lr-fbalpha-sgx = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbalpha/fbalpha_libretro.so --subsystem sgx --config /opt/retropie/configs/pcengine/retroarch.cfg %ROM%" lr-fbalpha-tg = "/opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-fbalpha/fbalpha_libretro.so --subsystem tg --config /opt/retropie/configs/pcengine/retroarch.cfg %ROM%"
You should probably trim it down, since you don't have installed all the emulators there.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.