Channging default save game location
Posted: Mon Nov 16, 2015 6:14 am
Is it possible to change the autosave location?
Freeciv - because civilization should be free!
http://forum.freeciv.org/f/
Code: Select all
> freeciv-server --help
Encodings: Data=UTF-8, Local=UTF-8, Internal=UTF-8
This is the server for Freeciv version 2.90.99-dev
You can learn a lot about Freeciv at http://www.freeciv.org/
Usage: freeciv-server [option ...]
Valid option are:
-A, --Announce PROTO Announce game in LAN using protocol PROTO (IPv4/IPv6/none)
-B, --Bind-meta ADDR Connect to metaserver from this address
-b, --bind ADDR Listen for clients on ADDR
-d, --debug NUM Set debug log level (0 to 4, or 4:file1,min,max:...)
-e, --exit-on-end When a game ends, exit instead of restarting
-F, --Fatal [SIGNAL] Raise a signal on failed assertion
-f, --file FILE Load saved game FILE
-h, --help Print a summary of the options
-i, --identity ADDR Be known as ADDR at metaserver or LAN client
-l, --log FILE Use FILE as logfile
-M, --Metaserver ADDR Set ADDR as metaserver address
-m, --meta Notify metaserver and send server's info
-p, --port PORT Listen for clients on port PORT
-q, --quitidle TIME Quit if no players for TIME seconds
-R, --Ranklog FILE Use FILE as ranking logfile
-r, --read FILE Read startup script FILE
-S, --Serverid ID Sets the server id to ID
-s, --saves DIR Save games to directory DIR
-v, --version Print the version number
--scenarios DIR Save scenarios to directory DIR
Report bugs at http://gna.org/projects/freeciv/
Hi cazfi,cazfi wrote:If you want to run everything directly from the client, there's no way to change the savegame location, but...
1) Savegame location is controlled by server commandline parameter
2) When client spawns internal server for itself to use, it gives the server that savegame location you're seeing
3) There's no way to change how client launches server
But if you run server separately/independently, and just "Connect to Network Game" client to it, you can launch the server yourself such a way that savegames end to different directory.
Code: Select all
> freeciv-server --help ..... -s, --saves DIR Save games to directory DIR
In Linux it's /home/{user}/.freeciv/savesJim-11 wrote:In my Win 7 x64, the Freeciv games are saved to:
C:\Users\UserName\AppData\Roaming\.freeciv\Saves