how to customize default settings when running from source?

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
User avatar
stpa
Space Kraken
Posts: 157
Joined: Mon Mar 12, 2018 1:08 pm

how to customize default settings when running from source?

#1 Post by stpa »

i've spent 15 minutes searching and would probably find what i'm looking for eventually, but maybe someone could point me in the right direction where to look. thing is: when i build and run the game, it almost always forgets my previous settings – like, turn off that music, and screen size, and so on. where can i put my own customized prefs (wont push them or anything) that will survive restarting from source code?

User avatar
Oberlus
Cosmic Dragon
Posts: 4537
Joined: Mon Apr 10, 2017 4:25 pm

Re: how to customize default settings when running from source?

#2 Post by Oberlus »

Open Options of FO and go to the last tab, "Other". See there are two buttons "Write Complete Config File" and "Write Persistent Config File". The second one will create a file persistent_config.xml that will be preserved between reinstallations and updates. You can also edit that file by hand and only keep the non-default options you want to preserve. It should be in the same folder where you have config.xml.

User avatar
stpa
Space Kraken
Posts: 157
Joined: Mon Mar 12, 2018 1:08 pm

Re: how to customize default settings when running from source?

#3 Post by stpa »

i humbly thank thee, oh experienced one

Post Reply