Saving specific configurations for separate games
-
@goodpi31 have you tried putting the line from the retroarch core options into the individual retroarch.cfg files? With some issues the emulator has had you might have to put all 8 players in the individual config files with the analogs all on or all off in each config.
@retrogamer0897 when you copied the retroarch.cfg for psx you might want to change the input remapping directory so it isnt pointing right back to /opt/retropie/configs/psx/retroarch.cfg
-
@edmaul69 Hi Ed, thanks for your comment. I tried it earlier, but I didnt test with all 8 players. So I just tried it again, but this time with all 8 players.
My controllers are currently set to padtyp 'standard'. I confirmed this to be the case in /opt/retropie/configs/all/retroarch-core-options.cfg. I wanted to see if I could make a game load with padtyp 'analog' by changing all the retroarch files you suggested.
I edited:
/opt/retropie/configs/all/retroarch.cfg
/opt/retropie/configs/psx/retroarch.cfg
and a custom retroarch cfg for the game:/home/pi/RetroPie/roms/psx/gamename.cue.cfgand added the lines:
pcsx_rearmed_pad1type = “analog”
pcsx_rearmed_pad2type = “analog”
pcsx_rearmed_pad3type = “analog”
pcsx_rearmed_pad4type = “analog”
pcsx_rearmed_pad5type = “analog”
pcsx_rearmed_pad6type = “analog”
pcsx_rearmed_pad7type = “analog”
pcsx_rearmed_pad8type = “analog”It didn't work. I think the retroarch.cfg type configs just can't be used with those settings.. or perhaps the retroarch-core-options.cfg overrides it.
-
@goodpi31 that sucks. It actually would have been nice to be able to preset these so we didnt have to worry about switching them. I would have gladly gone through all my psx games to configure them.
-
@edmaul69 Ah shoot, and here I was hoping you'd come up with a new plan :D And yea it sucks.
Hopefully someone has an answer/idea on how to solve this... or could point out if its a feature thats currently not possible.
-
@goodpi31 @retrogamer0897 @Floob good news is i figured out how to do this. first off, in the individual cfg files add this line:
core_options_path = "/opt/retropie/configs/psx/retroarchcore.cfg"
make sure you do not have this remapping in your individual .cfg files otherwise it will override your new settings
input_remapping_directory = /opt/retropie/configs/psx/
so you dont have to retype a path in every individual config file create a new config file located and called /opt/retropie/configs/psx/retroarchcore.cfg . in that file add these lines
pcsx_rearmed_pad1type = "analog" pcsx_rearmed_pad2type = "analog" pcsx_rearmed_pad3type = "analog" pcsx_rearmed_pad4type = "analog" pcsx_rearmed_pad5type = "analog" pcsx_rearmed_pad6type = "analog" pcsx_rearmed_pad7type = "analog" pcsx_rearmed_pad8type = "analog"
then you need to give 777 permissions to that file because retroarch needs to be able to edit/add core options to that file
-
@edmaul69 Wow ed, thanks! I'm gonna try it right away. Edit: Still trying
-
@goodpi31 it is a typo. I just corrected it as you were responding
-
@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.
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.