Page 1 of 1

Channging default save game location

Posted: Mon Nov 16, 2015 6:14 am
by Unknown
Is it possible to change the autosave location?

Re: Channging default save game location

Posted: Mon Nov 16, 2015 7:31 pm
by cazfi
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
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/

Re: Channging default save game location

Posted: Tue Nov 17, 2015 5:56 am
by Unknown
Thank You for the help.

Re: Channging default save game location

Posted: Thu Dec 03, 2015 9:03 pm
by djconklin
Where does the game save the saved games? I want to go back to an older game but I can't find the saved game files. I need to know the actual location of the saved game files--not to browse.

Re: Channging default save game location

Posted: Fri Dec 04, 2015 9:44 am
by Jim-11
In my Win 7 x64, the Freeciv games are saved to:
C:\Users\UserName\AppData\Roaming\.freeciv\Saves

I don't need to change the save location, but it is handy to be able to delete, rename, copy or move saved files. To do that easily, I right click the \.freeciv\Saves save folder, drag to the desktop, and then select create a shortcut. I can then double click the shortcut and do whatever I like with the saved files.

Re: Channging default save game location

Posted: Sun Dec 06, 2015 1:32 am
by djconklin
I don't see a folder named "appdata"--how do I turn that on?

Re: Channging default save game location

Posted: Sun Dec 06, 2015 5:50 am
by Unknown
Goto Folder Option and enable Show hidden files and folder option under View tab.

Re: Channging default save game location

Posted: Mon Dec 07, 2015 6:54 pm
by djconklin
Thank you!