"Core Override" for Shader NOT saving + changes Video settings on its own
-
Pi Model or other hardware: RP4 8gb
Power Supply used: CanaKit 3.5A USB-C Raspberry Pi 4 Power Supply with Noise Filter
RetroPie Version Used: 4.7.1
Built From: Pre made SD Image on RetroPie website (retropie-buster-4.7.1-rpi4_400.img), imaged via Mac ApplePiBaker program, on known-working Samsung EVO or Sandisk Ultra SD cards.
USB Devices connected: Wireless Rii 2.4g Keyboard (USB receiver dongle), Xbox360 wireless receiver
Controller used: Wireless Rii Keyboard, Xbox360 wireless receiver
Error messages received: none, says "configuration override loaded (or saved)" and all seems properGuide used: Your RetroPie documentation (although it doesn't say how to do "core override" on this page): https://retropie.org.uk/docs/Shaders-and-Smoothing/
Emulator: lr-snes9x (tried on ALL of mine to same effect though)
Attachment of config files: If you need these please tell me how to get them.
How to replicate the problem:Load a shader and test: Open any game (just tried one in lr-snes9x), enter menu (Select+X) to add a Shader: Load Shader Preset > selected zFastCRT, change 1 value on it (Shader #0 Filter from Linear to Nearest), Apply Changes, Back out to the game to see if I like it.
Save Shader for entire SNES core: Load any game again, go back into Select+X menu, Overrides > Save Core Overrides (says saved successfully). Back out of game.
Re-Load any game to test if Shader setting saved: Open a game and it says "configuration override loaded" on bottom right. BUT the Scanline setting is NOT loaded, AND the scaling of image is now letterboxed (seems like Settings > Video > Scaling > Aspect Ratio has changed from Core provided to Custom) - I have never changed that Video setting.
Further history of this and similar issues: This is my FOURTH build from scratch since xmas eve and some variation has happened on all. Setups are very simple:
• load up 4.7.1 on RP4 via ApplePi-Baker (Mac SD Imaging program)
• Edit config.txt with: disable_overscan=1, hdmi_drive=2, hdmi_ignore_cec_init=1
• change localization options + connect to WiFi, turn on SSH
• load Daphne optional emulator (reboot after each step above of course)
• stick in USB with ROMs and let them finish copying, reboot, then try to add scanlines (using 2x types: zFastCRT + Game Boy grid-type for handheld systems).
--- Most advanced thing I'll do is re-order systems in es_systems.cfg, use Skyscraper for videos/boxart, change display option to 1080p, set CPU to "performance" mode.This same issue has happened on SNES, NES, Genesis, Arcade (lr-fbneo + mame2003 I believe), GB, GBC, GBAdvance, TG16/PCE. When I try to fix the scanlines and the video mode (which again, I NEVER touched), via different overrides and global config savings it'll then start giving me "Failed saving config to "/opt/retropie/configs/snes/retroarch.cfg" (or whatever other .cfg file).
Any help is appreciated. I've literally built a hundred+ of these systems over the years (used to be involved in a ton of gaming clubs and helped everybody build them), although haven't touched one since 4.3 so maybe something changed?
-
-
@mitu said in "Core Override" for Shader NOT saving + changes Video settings on its own:
Shader presets are not saved with Overrides - they can be saved from the Shaders -> Save menu.
GREAT! Thank you! I was hoping it was something simple like this.
When I used the "Save Core Overrides" before, when I changed NOTHING but the scanlines, why would it change the video scaling on its own? I'm ashamed to admit but this has made me reformat and start over numerous times so this happens every time, even on fresh installs.
I can easily change the video scaling back to "core provided" in a game, but I can't figure out how to properly save that for the entire emulator. -- this is something I've tried to fix a dozen different ways and it usually ends with "Failed saving config" at some point... then i have to reformat again...
-
@dochartaigh said in "Core Override" for Shader NOT saving + changes Video settings on its own:
When I used the "Save Core Overrides" before, when I changed NOTHING but the scanlines, why would it change the video scaling on its own? I'm ashamed to admit but this has made me reformat and start over numerous times so this happens every time, even on fresh installs.
No sure, really, what you're referring to - do you mean that, when saving overrides with only the shader added, the video scaling option is saved wrong in the override ?
-
@mitu said in "Core Override" for Shader NOT saving + changes Video settings on its own:
No sure, really, what you're referring to - do you mean that, when saving overrides with only the shader added, the video scaling option is saved wrong in the override ?
Correct. For four installs now when I ONLY changed/added a shader, then (incorrectly) hit "Overrides > Save Core Overrides" (thinking it would save the shader setting), that when I exit and load ANY game in that system, that video aspect ratio setting has been changed to "Custom" instead of the default "Core Provided" for every single game. Just to double-confirm, I was never, ever, in any way, in the video settings, ever.
Thankfully on this current build (which just took 8+ hours to scrape the roms overnight... which I hope I won't have to ever do again) it's only the lr-snes9x which has the "Custom" video aspect setting now. I don't want to start messing around with how to correct this so could you please let me know how to fix this setting, and apply/save it for this core?
-
Just remove the override you saved.
-
@mitu said in "Core Override" for Shader NOT saving + changes Video settings on its own:
Just remove the override you saved.
I didn't see any option to remove an override, just save again. So change the setting I never changed back, then 'save core overrides'?
What to do when I try to save an override and it says "Failed saving config to "/opt/retropie/configs/snes/retroarch.cfg" like it's been doing left and right these past days? (seen a LOT of posts about this, and tried tons of things they say to try, but nothing has worked for me).
-
@dochartaigh said in "Core Override" for Shader NOT saving + changes Video settings on its own:
I didn't see any option to remove an override, just save again. So change the setting I never changed back, then 'save core overrides'?
You can remove the file with the override, should be in
\\retropie\configs\all\retroarch\config\Snes9x
.What to do when I try to save an override and it says "Failed saving config to "/opt/retropie/configs/snes/retroarch.cfg" like it's been doing left and right these past days? (seen a LOT of posts about this, and tried tons of things they say to try, but nothing has worked for me).
Are you sure you're trying to save an overrides and not straight up using 'Save Configuration' ? The name of the override is not usually
retroarch.cfg
. What version of RetroPie/RetroArch are you using ? -
@mitu said in "Core Override" for Shader NOT saving + changes Video settings on its own:
Are you sure you're trying to save an overrides and not straight up using 'Save Configuration' ? The name of the override is not usually
retroarch.cfg
. What version of RetroPie/RetroArch are you using ?That quote was from multiple pictures I took with my phone showing that error on several different cores - next time it crops up (hopefully never ;) I will write down exactly what I was doing.
_
_
_So back to the larger problem. In a different core this time, lr-fbneo, I'm going through my 3-4 player games and if needed changing dipswitch-type settings to enable more than the default 2-players. Can you please confirm these two things for me:
1.) When I change something in the options to turn on 3 or 4 players, the proper way to save this setting is to do Save Game Overrides, correct?
2.) Save Game Overrides is NOT supposed to change video settings I did NOT touch, correct?
What's happening is I change a dipswitch or options setting, Save Game Overrides, exit and re-launch the same game again, and the dipswitch setting IS saved correctly... but it's also automatically changing a video setting I did NOT touch. This has happened on 4x up-to-date builds, on multiple different emulators. I've also had issues (like described above) where I try to "Save CORE Overrides" to fix all the games where that video scaling setting was changed without my permission, and that isn't working (or working sporadically).
I took a ~15 minute video of this happening in multiple games, then made another 6 minute video of it happening again, then finally slimmed it down to aa little over 3 minutes if you could please kindly take a look:
If I'm missing up anything simple/stupid PLEASE let me know! And thank you for your help!
-
This post is deleted! -
@dochartaigh said in "Core Override" for Shader NOT saving + changes Video settings on its own:
@mitu said in "Core Override" for Shader NOT saving + changes Video settings on its own:
Are you sure you're trying to save an overrides and not straight up using 'Save Configuration' ? The name of the override is not usually
retroarch.cfg
. What version of RetroPie/RetroArch are you using ?That quote was from multiple pictures I took with my phone showing that error on several different cores - next time it crops up (hopefully never ;) I will write down exactly what I was doing.
_
_
_So back to the larger problem. In a different core this time, lr-fbneo, I'm going through my 3-4 player games and if needed changing dipswitch-type settings to enable more than the default 2-players. Can you please confirm these two things for me:
1.) When I change something in the options to turn on 3 or 4 players, the proper way to save this setting is to do Save Game Overrides, correct?
2.) Save Game Overrides is NOT supposed to change video settings I did NOT touch, correct?
What's happening is I change a dipswitch or options setting, Save Game Overrides, exit and re-launch the same game again, and the dipswitch setting IS saved correctly... but it's also automatically changing a video setting I did NOT touch. This has happened on 4x up-to-date builds, on multiple different emulators. I've also had issues (like described above) where I try to "Save CORE Overrides" to fix all the games where that video scaling setting was changed without my permission, and that isn't working (or working sporadically).
I took a ~15 minute video of this happening in multiple games, then made another 6 minute video of it happening again, then finally slimmed it down to aa little over 3 minutes if you could please kindly take a look:
If I'm missing up anything simple/stupid PLEASE let me know! And thank you for your help!
in your video you're changing in-game system menu options. these are not retroarch settings, and they're not dipswitches. system menu options are saved as .fs files in the roms directory as per https://retropie.org.uk/docs/lr-fbneo/#system-menu.
core overrides are for retroarch changes you do via the retroarch 'settings' menu.
core options are for retroarch core changes you do via the retroarch 'options' menu (eg, dispswitches set in this manner). see https://retropie.org.uk/docs/RetroArch-Core-Options/
as for your scaling issue - IMO diagnosing the bizarre and buggy interplay between retroarch overrides and configs is not fun, so let's see if we can sort your issue without having to resort to that. is a .fs file being created for the game? can you supply a verbose log? we probably should get rid of your overrides considering you don't need them - they could be stopping fbneo picking up the .fs file somehow. i would also want to see your retroarch.cfg and fbneo's retroarch.cfg.
-
@dankcushions said in "Core Override" for Shader NOT saving + changes Video settings on its own:
in your video you're changing in-game options. these are not retroarch settings, and they're not dispswitches. they are saved as .fs files in the roms directory as per https://retropie.org.uk/docs/lr-fbneo/#system-menu.
core overrides are for retroarch changes you do via the retroarch 'settings' menu.
Hi Dankcushions - you helped me out a bunch years ago - hello again!
So lr-fbneo seems to have two ways to change settings like these: some of them (what I called dipswitches as that's what arcade machines would sometimes have) were moved to the Select+X retroarch 'Options' menu on some ROMs, and others (like shown in my vid) are only accessible via holding 'start' then changing it in the service/settings menu (if that's the right term) of the game itself.
I have these same issue with the video setting automaticaly changing no matter which method the game lets me use. There are no .fs files in the "/home/pi/RetroPie/roms/" folders of these games I'm testing. Checked inside the /fbneo folder the system seemed to make too. Anywhere else to look?
Since I'm not seeing any .fs files, and don't know how else to save these settings, I did it the same way I've been doing it all along, and took two verbose logs:
1st Log: Me loading a new untouched game, it's set to the default 2-player setting, and the video settings are the proper "Core Provided". This one changes to 4-player via retroarch Select+X > Options so I did that, Save Game Override, and exited the game. Here's the verbose "runcommand.log": https://pastebin.com/evshwm96
2nd Log: Me launching the same game again, seeing the system automatically changed that video option again (it WAS changed to 4-player though!), I then changed it from the incorrect "Custom" back to the default "Core Provided" video scaling, Save Game Override, exited out of the game (and when I re-ran it a 3rd time the video scaling was correct fyi). Log: https://pastebin.com/6XpzxTXG
The verbose logging also seems to make a retroarch.cfg and runcommand.info file too - I saved both sets of those (if you need them please let me know).
-
@dochartaigh said in "Core Override" for Shader NOT saving + changes Video settings on its own:
Hi Dankcushions - you helped me out a bunch years ago - hello again!
So lr-fbneo seems to have two ways to change settings like these: some of them (what I called dipswitches as that's what arcade machines would sometimes have) were moved to the Select+X retroarch 'Options' menu on some ROMs, and others (like shown in my vid) are only accessible via holding 'start' then changing it in the service/settings menu (if that's the right term) of the game itself.
I have these same issue with the video setting automaticaly changing no matter which method the game lets me use. There are no .fs files in the "/home/pi/RetroPie/roms/" folders of these games I'm testing. Checked inside the /fbneo folder the system seemed to make too. Anywhere else to look?
Since I'm not seeing any .fs files, and don't know how else to save these settings, I did it the same way I've been doing it all along, and took two verbose logs:
1st Log: Me loading a new untouched game, it's set to the default 2-player setting, and the video settings are the proper "Core Provided". This one changes to 4-player via retroarch Select+X > Options so I did that, Save Game Override, and exited the game.
like i said, that's not how you save core option changes: https://retropie.org.uk/docs/RetroArch-Core-Options/
Here's the verbose "runcommand.log": https://pastebin.com/evshwm96
/home/pi/RetroPie/roms/arcade/-3-4 Player/gijoe.zip
you're using sub-directories. this may be causing issues with the .fs file saving and retrieving.
[INFO] [Overrides] core-specific overrides found at /home/pi/.config/retroarch/config/FinalBurn Neo/FinalBurn Neo.cfg.
we need to see this file also. i would suggest deleting it since it has nothing to do with what you're changing.
[libretro INFO] Setting save dir to /home/pi/RetroPie/saves
you're using a custom save directory. why? i guess this is where your .fs file will be, but we're now dealing with a non-standard setup. are you automatically saving and loading save states on exit and reload? this may be confusing the .fs save/load.
all in all, this seems to be a heavily configured setup from the image you started from, so there's lots of variables here.
i would also want to see your retroarch.cfg and fbneo's retroarch.cfg.
ie
/opt/retropie/configs/all/retroarch.cfg /opt/retropie/configs/arcade/retroarch.cfg -
@dankcushions said in "Core Override" for Shader NOT saving + changes Video settings on its own:
like i said, that's not how you save core option changes
OK, and thank you for the link. Just to confirm (as I'm really trying to learn all this), this goes for the TWO different methods lr-fbneo uses to change settings like these (like the 3-4 player setting changes): through the Select+X menu, AND through holding down Start to make changes via the individual ROM's service menu options, correct? (just want to make sure as games can use either one of these methods, maybe even both on occasion).
That page you linked to also says "Core Options are saved automatically when you exit the ROM". Just checking that this ALWAYS happens? Like it's the default setting? It has nothing to do with the setting I see under "Configuration" where "Save Configuration on Exit", the default option in the 10+ emulators I have installed is always to "OFF" by default? (because if it's off by default it isn't going to save of course!)
I will also try the "Create game-options file" option outlined in that link - that sounds AWESOME! For things like the changes I have to make to turn on 3/4 players, if it makes a .opt file I could keep in my ROM folder and NEVER never have manually make those settings again that is a win-win in my book!
you're using sub-directories. this may be causing issues with the .fs file saving and retrieving
May I ask why? In theory it should literally be another "/folder" added to the code, right? Is there another EASY way people organize roms I don't know about? For arcade games I have a subfolder for Fighting, Shmups, Classic, and 3-4 player games. Not hundreds of folders or anything. Pretty simple setup. Console games will have a single "Best Of" folder and nothing else.
we need to see this file also. i would suggest deleting it since it has nothing to do with what you're changing.
Here you go: https://pastebin.com/LgQGuUNk
you're using a custom save directory. why? i guess this is where your .fs file will be, but we're now dealing with a non-standard setup. are you automatically saving and loading save states on exit and reload? this may be confusing the .fs save/load.
I only did this on setup #4 after I kept loosing save games in the previous 3x setups (those previous setups also had these same issues, so this isn't causing it). This feature is built-into the stock/default "/opt/retropie/configs/all/retroarch.cfg" file, so it's not a non-sanctioned line of code I added myself or anything - it's baked into the system.
Oh, there are a few .fs files inside the "fbneo" folder the system added in that savefile directory, but weirdly enough out of the ~dozen games I had to change 3-4 player settings on, only ONE actually has a corresponding .fs file saved, Moonwalker: https://i.imgur.com/jr9486m.png
all in all, this seems to be a heavily configured setup from the image you started from, so there's lots of variables here.
I totally understand your point of view, but I wouldn't consider what I'm doing to be anything that the majority of people on this forum also aren't doing on a regular basis.
• Who isn't going to use a couple subfolders to keep things organized?
• Who isn't going to ever try a shader in a game?
• Who isn't going to want to turn on 3/4-player option in arcade games?Ok, I'll give you the savegame directory might be a little non-normal (although it's a baked-in setting), but all the other stuff I'm doing in my eyes only falls into the 'super duper normal' category.
i would also want to see your retroarch.cfg and fbneo's retroarch.cfg.
Sorry I missed those before! Here they are:
/opt/retropie/configs/all/retroarch.cfg
https://pastebin.com/H9Td5tLu/opt/retropie/configs/arcade/retroarch.cfg
https://pastebin.com/42spuyr4 -
@dochartaigh said in "Core Override" for Shader NOT saving + changes Video settings on its own:
@dankcushions said in "Core Override" for Shader NOT saving + changes Video settings on its own:
like i said, that's not how you save core option changes
OK, and thank you for the link. Just to confirm (as I'm really trying to learn all this), this goes for the TWO different methods lr-fbneo uses to change settings like these (like the 3-4 player setting changes): through the Select+X menu, AND through holding down Start to make changes via the individual ROM's service menu options, correct? (just want to make sure as games can use either one of these methods, maybe even both on occasion).
no, as i said, there are 2 methods:
in your video you're changing in-game system menu options. these are not retroarch settings, and they're not dipswitches. system menu options are saved as .fs files in the roms directory as per https://retropie.org.uk/docs/lr-fbneo/#system-menu.
and
core options are for retroarch core changes you do via the retroarch 'options' menu (eg, dispswitches set in this manner). see https://retropie.org.uk/docs/RetroArch-Core-Options/
That page you linked to also says "Core Options are saved automatically when you exit the ROM". Just checking that this ALWAYS happens? Like it's the default setting?
yes, it's the default setting for normal retropie images is to save
/opt/retropie/configs/all/retroarch-core-options.cfg
on exit, assuming no per-game core option file created (once you have one set that i'm not sure what it saves to on exit).It has nothing to do with the setting I see under "Configuration" where "Save Configuration on Exit", the default option in the 10+ emulators I have installed is always to "OFF" by default? (because if it's off by default it isn't going to save of course!)
no, save configuration on exit is saving the retroarch settings configuration (
retroarch.cfg
), not the retroarch core options configuration (retroarch-core-options.cfg
), which is saved regardless.I will also try the "Create game-options file" option outlined in that link - that sounds AWESOME! For things like the changes I have to make to turn on 3/4 players, if it makes a .opt file I could keep in my ROM folder and NEVER never have manually make those settings again that is a win-win in my book!
actually on a default retopie image core options for fbneo these would already be saved on exit for each game. if you look at the aforementioned
/opt/retropie/configs/all/retroarch-core-options.cfg
you'll see it should have many game-specific entries for fbneo. eg, for garou: mark of the wolves:fbneo-dipswitch-garou-Autofire = "Off" fbneo-dipswitch-garou-BIOS = "MVS Asia/Europe ver. 6 (1 slot)" fbneo-dipswitch-garou-Coin_chutes = "1"
(etc)
saving game-specific core options is normally more useful for console cores like lr-pcsx_rearmed which have global core options applying to every game on the system, which may only be appropriate for certain games on the system. for example, analog controller support.
so, do you have reason to believe this global file isn't being updated? can you check for a game and setting you've changed?
you're using sub-directories. this may be causing issues with the .fs file saving and retrieving
May I ask why? In theory it should literally be another "/folder" added to the code, right? Is there another EASY way people organize roms I don't know about? For arcade games I have a subfolder for Fighting, Shmups, Classic, and 3-4 player games. Not hundreds of folders or anything. Pretty simple setup. Console games will have a single "Best Of" folder and nothing else.
i don't know that it would cause problems but mame/fbneo are strange beasts that make certain assumptions about your setup. in any case, your setup seems heavily customised so i wouldn't want to diagnose.
we need to see this file also. i would suggest deleting it since it has nothing to do with what you're changing.
Here you go: https://pastebin.com/LgQGuUNk
again, i would delete this unless you have a specific reason for wanting a per core settings override.
you're using a custom save directory. why? i guess this is where your .fs file will be, but we're now dealing with a non-standard setup. are you automatically saving and loading save states on exit and reload? this may be confusing the .fs save/load.
I only did this on setup #4 after I kept loosing save games in the previous 3x setups (those previous setups also had these same issues, so this isn't causing it). This feature is built-into the stock/default "/opt/retropie/configs/all/retroarch.cfg" file, so it's not a non-sanctioned line of code I added myself or anything - it's baked into the system.
changing it is 'non-sanctioned' in so far as, if you've changed it, and you're asking about saves, you really should be making us aware of all related changes. since it's not enabled on my system, and my system works, you should try disabling it and try to recreate this issue.
my most confident guess is that the automatic save state on exit, and automatic load, is overriding the system settings. again, try reversing your change.
all in all, this seems to be a heavily configured setup from the image you started from, so there's lots of variables here.
I totally understand your point of view, but I wouldn't consider what I'm doing to be anything that the majority of people on this forum also aren't doing on a regular basis.
• Who isn't going to use a couple subfolders to keep things organized?
• Who isn't going to ever try a shader in a game?
• Who isn't going to want to turn on 3/4-player option in arcade games?Ok, I'll give you the savegame directory might be a little non-normal (although it's a baked-in setting), but all the other stuff I'm doing in my eyes only falls into the 'super duper normal' category.
that's your prerogative, but i'm sitting here with a default retropie setup and mine can save fbneo system settings (i've even tried with your specific ddsom example), so at some point the advice may be "i dunno, use the default image" :P
i would also want to see your retroarch.cfg and fbneo's retroarch.cfg.
Sorry I missed those before! Here they are:
/opt/retropie/configs/all/retroarch.cfg
https://pastebin.com/H9Td5tLuthis seems ok at a glance
/opt/retropie/configs/arcade/retroarch.cfg
https://pastebin.com/42spuyr4again, seems ok
-
@dankcushions said in "Core Override" for Shader NOT saving + changes Video settings on its own:
i'm sitting here with a default retropie setup and mine can save fbneo system settings
So I happen to be building a fresh RP3 setup (on the same RetroPie 4.7.1) for my brother right now. It's going to be a LOT more simple than my setup is. This will be a good test since it'll be a fresh install.
For exactly what I'm doing for full disclosure: I disabled overscan in config.txt. I turned on WiFi (which I had to set localization options beforehand), turned on SSH (easier for me to type on my main computer instead of a mini keyboard on the RP3), installed Daphne, and it's copying over games now. When it's back up I'll edit es_systems to reorder the systems and that's about it. There will still be subfolders for games as I know no other way to organize.
Questions (more like confirmations), on the proper way to save the next couple changes so I do it right and don't have any issues (and you might not see this before I do it so I'll be sure to report back!):
• Shaders: I'll be using a CRT shader for most but some portable systems will get others. Will be saving via Shaders > Save menu on a per-core basis.
• Arcade/Mame/FBNeo, to change 3-4 player settings: For "in-game system menu options" (i.e. hold Start), those should automatically save a .fs file I'll be on the lookout for. ------ ones where I have to go into (Select+X) RetroArch Menu > Options to change the 3/4-player settings I'll try the "Create game-options file" which should safe a .opt file in /opt/retropie/configs/all/retroarch/config/fbneo)
Could be forgetting something but this is it off the top of my head. Wish me luck and thanks for the great advice so far.
-
@dochartaigh said in "Core Override" for Shader NOT saving + changes Video settings on its own:
• Arcade/Mame/FBNeo, to change 3-4 player settings: For "in-game system menu options" (i.e. hold Start), those should automatically save a .fs file I'll be on the lookout for. ------ ones where I have to go into (Select+X) RetroArch Menu > Options to change the 3/4-player settings I'll try the "Create game-options file" which should safe a .opt file in /opt/retropie/configs/all/retroarch/config/fbneo)
like i said, you don't need to create a game-options file in lr-fbneo if these are dipswitch settings, as it will create unique entries for every game in the global
/all/retroarch-core-options.cfg
, so just change the setting and it will save automatically.
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.