Saving specific configurations for separate games
-
@edmaul69 Your idea seems like it is the solution. I havent gotten it to work yet. I'm trying really hard to figure out whats preventing it from working and double checked everything thrice by now. I believe I edited the files correctly and Im sure the permissions are correct.
After some trial and error I figured out that individual cfg files are not being loaded when running a game; the one that calls our homemade retroarchcore.cfg.
If I use the runcommand to check what custom cfg is being loaded, I see my custom cfg file. But when the emulator starts it seems to still take its cfg from somewhere else as it does not change settings that were set in the custom cfg (I tested this with various settings). I'm kind of at a loss right now.
-
you can save per-game core options. look within the retroarch GUI (select + retropadX). in the quick menu > options menu, you can change settings and 'save game options file' or something like that.
-
@dankcushions Hello, thanks for your suggestion, yes, there is a "save core overrides" and "save game overrides" button in the GUI. But it does not seem to be saving OR it doesn't seem to be loading these overrides when lauching a game.
The OP had the same problem I think, if I read his first post.
If I save an game override with say pad1type 'analog', all psx games will now have controller 1 on analog, not just that one game.
Same thing happens when saving a core override, it just happens on all games, not just that one. -
@goodpi31 that's not what i said. go to the 'options' menu.
-
@dankcushions hmm. the options menu has nothing that saves files- do you maybe mean the 'save game/core remap file' ?
( quick menu overview, options menu part 1, option menu part 2 )
-
@dankcushions Well, just in case: I just tried the save game remap file, didnt work. Then I tried the save core remap file, also didnt work unfortunately.
-
Do you have retroarch OSD enabled (this yellow text on start of emulation)? If not then enable it so You'll see what's going on.
I had some problems with core config loading on mame2010 so in fact I couldn't disable OSD. In final I found out that you have to be careful using this core/game specifig config because they have some hierarchy when loading them.
I think it's best to just remove all of that additional config retroarch core and game specific files for psx and try to configure Ape Escape one more try and then just save game specific config. Maybe when You have core specific file and additional configs it just doesn't use it because every other option is already loaded from other file. -
@Melvin.FoX Thanks Fox, I'll try that. Yes I have the OSD enabled, it doesn't give much info on startup- just that a ps3 controller gets connected.
-
per game configs/overrides/remaps are nothing to do with per-game core options. i'll get a screenshot, one second...
-
@Melvin.FoX I restored the cfg files and removed the files I've created. But no luck getting it to load my analog or standard controller type settings.
But: Since you said you couldnt disable OSD, I tried disabling it. And turns out: I can't (?).
I tried changing a few more settings in
/opt/retropie/configs/all/retroarch.cfg
, just to see if it would load. none of them are loaded by the emulator.This is weird by the way- I wasn't editing these cfg files before I started this thread, this pi is pretty much a fresh install with latest build, the only thing I did was update all installed packages from source and add ps3 drivers.
-
ok, you need to enable "load content-specific core options" in the settings > configuration menu. this should probably be turned on by default - i'm not sure why it isn't. a question for retroarch, really.
once that is enabled, if you go into the quick menu > options menu, you'll see a 'create game options file'. change the core otpions you want for that game, then select this option to save the file.
this is the only proper way to do this.
-
@dankcushions I'm on it :-)
-
@dankcushions Again thanks!
We're getting closer.
After following your instructions I can see (here) the 'create game-options file'. I setup my pad types to analog. And make a game options file. It gives the message: core options file created succesfully.
I quit the game and load a different one to play with different pad type settings.
I go back to the game I just made the game options file for. Previously saved settings are not loaded. The load content specific core options is disabled again. Pad types are the same as the previous game.
I tried it with multiple games, cause I thought maybe the one I've been trying so much with got messed up. But all the same outcome.
-
@goodpi31 ok i think i have it - any changes you make to the main retroarch config will not save in retropie by default. so, the 'load content specific core options' option will revert once you exit.
you need to change that option for psx (or all libretro emulators) via the https://github.com/retropie/retropie-setup/wiki/Configuration-Editor
-
@dankcushions I would dig a bit more. I had also this problems with saving my configs. I tried to clean up things as much as I could. So I found a file that was causing the problem (unfortunately I can't remember what that was :(). It was saved by me just by clicking some of the save config option. When I had OSD enabled when running emu I saw something like Config override loaded. When I deleted this file this prompt disapeared.
If you will revert to situation where you run game and changing OSD option will be remember then you are good to go and You will be sure that changing one option (or just saving game specific config) will work and be loaded next time You run it. I will advice you to try it that way as it helped me.
-
I tried changing a few more settings in
/opt/retropie/configs/all/retroarch.cfg
, just to see if it would load. none of them are loaded by the emulator.You have to get to
/opt/retropie/configs/psx/
and find what do You have there. Maybe there are some config files that will override this one in.../all/retroarch.cfg
. Just make a backup of those files and change their name to *.cfg.bak and try one more time. -
@Melvin.FoX said in Saving specific configurations for separate games:
@dankcushions I would dig a bit more. I had also this problems with saving my configs. I tried to clean up things as much as I could. So I found a file that was causing the problem (unfortunately I can't remember what that was :(). It was saved by me just by clicking some of the save config option. When I had OSD enabled when running emu I saw something like Config override loaded. When I deleted this file this prompt disapeared.
If you will revert to situation where you run game and changing OSD option will be remember then you are good to go and You will be sure that changing one option (or just saving game specific config) will work and be loaded next time You run it. I will advice you to try it that way as it helped me.
yes, if you randomly edit files and select options like you have done, and advised @goodpi31 to do, you will end up in a mess. i agree :)
don't edit any of these files manually unless you know exactly what you're doing and what it will achieve. the way i have instructed is the only way it works for per-game core options.
-
@dankcushions where do I adviced to edit options so it will cause mess?
-
@Melvin.FoX you're talking about game-specific configs which is completely different from game-specific core options and will not solve the issue.
-
**Summery of solution: How to set controller type to analog/standard PER individual game** First open the [configuration editor](https://github.com/retropie/retropie-setup/wiki/Configuration-Editor). From here navigate to: [Edit RetroPie/RetroArch Configurations] -> [806 configedit] -> [2 advanced] -> [1 configure libretro options] -> [psx/retroarch] Set: game_specific_options to true. Quit the configuration editor and load the game. Open the GUI (select+button x). Navigate to the [quick menu] -> [options menu]. Here set your pad type for each of the controllers you want to use. After setting up your controllers select 'create game options file' ([looks like this](https://postimg.org/image/fow3w0eqp/)). Your individual game controller settings should now be saved :D
Thanks again everyone so much for helping!! :) Much much appreciated.
Maybe this should go on the wiki, cause I couldnt find anything about this anywhere !
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.