Quantcast
Channel: FreeOrion
Viewing all articles
Browse latest Browse all 383

Support • overriding fleets.ini in snap

$
0
0
When I use Snap, how do I change the fleets.ini file ?
I'd like to start with the same ships than in MP...
So you wont to overwrite a single file in the resource/default folder?
We do not have support for multiple resource folders or similar in freeorion AFAIK.

So you basically need an instance/copy of the complete default folder where you make your changes.

If you directly fumble in the snap you will loose your changes on the next update (because that will be in a different directory from the one you changed).

So you need to point the resource folder in your snap to a directory it can access

list of answers in increasing complexity
  • make a copy of the default dir from the /snap/freeorion/current/ .. to e.g. ~/snap/freeorion/mydefault and point the game to that directory (cause that will be accessible from within the snap no matter your setup)
  • make a copy of the default dir from the /snap/freeorion/current/ .. to outside of the ~/snap/freeorion/ e.g. ~/myfreeoriondefault and point the game to that directory. You need to make sure that the snap has access to that directory; but if you remove the freeorion snap your folder wont get deleted
  • one of the above, but instead of a simple copy use a git checkout (of the weekly-test-builds branch). in that case a simple git pull will get you the current changes and you will be up to date with your changes as well
  • add a way to freeorion to override single files using command line parameters

Statistics: Posted by Ophiuchus — Sat Nov 16, 2024 9:52 am



Viewing all articles
Browse latest Browse all 383

Trending Articles