SNES emulator creating garbage file
-
Every once in a while at startup of a game in the SNES emulator it will say "saved new file to ../snes/retroarch.cfg" and completely break all inputs. I have to restore the config to default and everything works fine again. It does not appear to be any game in particular and happens at random times. Here is a pastebin of the modified config. When restored its default and standard.
Pastebin: http://pastebin.com/4efA8776
Please help,
Thank you
-
I would like to see your "restored / default config" please also. If you update retropie-setup this should be fixed (but you will need to reset your configuration again) - it happens when the config doesn't end in a linefeed char - did you manually edit your config / or use the rp-video-manager tool ?
-
Here is the standard distro version: http://pastebin.com/SAUnHith
To restore it i logged in and copied the retroarch.cfg.rp-dist over the retroarch.cfg.
I have never manually edited the snes config file beyond this restore process.
-
Strange, as I have been updated to reproduce this from the default configs. However the update of retropie-setup should still fix it, even though I don't know the cause in this case.
-
@qweta Please could I see your
/opt/retropie/configs/all/retroarch.cfg
file also. In case it's connected to have save config on exit enabled. -
all/retroarch.cfg: http://pastebin.com/TDgfEdaX
-
Thanks. Can't see any issues there. I will try reproducing the issue though with the 4.0 image.
-
Thank you. For your reference I am on the latest retropie with a Raspberry Pi 3. It does not happen all the time, but tend to happen the first time you play the snes after booting. Thats not 100% though. I dislike intermittent problems, but this seems like one.
-
Did you start from a fresh 4.0 image ?
The problem I am aware of happened if the
system/retroarch.cfg
didn't end in a linefeed (eg an incomplete line). In that case you get the following- Load game (all is fine)
- on Exit runcommand edits the config to make sure
#include
is at the end (which is a workaround for another problem). If the file didn't end in a linefeed you get it appended to the existing last line. - Load again and this time the #include isn't working as it's part of another line not its own line. RetroArch overwrites the file.
However I have been unable to reproduce this with a default install as the config does end in a linefeed, so it's currently a mystery - there must be another bug somewhere that either causes the config file to end up without a complete last line, or something else is going on.
-
It was a fresh install yes. I did have the xbox driver installed for a while but then ended up uninstalling that reverting back to xpad. I dont know if that helps. As far as editing config files directly the only thing i did was in relation to that xbox driver to flip A and B for nes games. That has been reverted with no ill affects i can tell and like i said the xbox driver uninstalled and reverted back to xpad.
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.