I add the settings into the game.ini file so that it uses it on startup, but when exporting to game to share with friends for testing, the game.ini file resets to a blank default which makes the game look bad.
How do I keep my settings from disappearing?
I cant figure out how to fix this!!! ok, THANK YOU!!!
I think Compress Game Data writes a fresh Game.ini for the export instead of copying yours, so your [Fullscreen++] section gets left behind. What I’d do is open the Game.ini inside the exported folder after compressing and paste your [Fullscreen++] section back in under what’s already there.
I know it’s an extra step every time you export, but it’s a quick copy and paste.
I see… thank you for your response. So I would have to export the .exe, and then edit it? do i simply re-compress it after? I don’t know much about how the export works just yet
Compress Game Data gives you a self extracting .exe, so I’d run that .exe yourself first and let it extract the game into a folder. Then open the Game.ini in that extracted folder and paste your [Fullscreen++] section back in.
I wouldn’t re-compress after, since I think that would just write a fresh Game.ini again. Instead zip up that extracted folder and send your friends the .zip instead of the .exe. It’s worth running Game.exe from that folder once before you send it to make sure fullscreen kicks in.
ah yeah, just zip it again, that’s what I meant. Okay, I’ll just do that then!! Though I wonder what I’m meant to do if I ever want to publish a finished game? What do you think?
I think I’d do the same thing for a finished game. Extract it, fix the Game.ini, and that folder becomes your release build. itch.io takes a .zip upload as is, and if you ever go to Steam you upload a folder of files through Steamworks, so you’d fix the Game.ini in that folder before uploading.
If you want something that feels more polished than a zip, you could build an installer from that same folder with something like Inno Setup.