shonumi / gbe-plus

DMG/GBC/GBA emulator and experimental NDS emulator.
GNU General Public License v2.0
524 stars 79 forks source link

New issue with saving settings in 1.6 #129

Open Kilicool64 opened 2 years ago

Kilicool64 commented 2 years ago

I realize there's already an old issue about this, but this seems to be new to 1.6. I can't get it to create its INI file. On startup, it always gives me the following error messages:

GBE::Error - Could not open gbe.ini configuration file. Check file path or permissions. GBE::Could not open font file C:\Users\USERNAME\AppData\Local/gbe_plus/data/fonts/block_font.bin. Check file path or permissions.

Perhaps the sudden change from backslashes to normal slashes in the middle of the path name (which incidentally, refers to a "gbe_plus" directory that never gets created either) has something to do with it.

1.5 just places its INI file in its own directory instead. I can't get 1.6 to do that, even when run as an admin.

I'm using Windows 10.

shonumi commented 2 years ago

GBE+ doesn't create its own .ini file, not currently at least. You have to provide a .ini file yourself. There was an error with 1.6 where I forgot to include the .ini file in the download. You can copy+paste the latest .ini from the GitHub repo while I fix the downloable archive for 1.6.

https://raw.githubusercontent.com/shonumi/gbe-plus/master/src/gbe.ini

So place that in AppData\Local\gbe_plus\ and it should work. Modern versions of Windows shouldn't care about forward or backslashes if I recall correctly.