by Vados » Wed Jul 10, 2013 10:07
jm2k7 wrote:Okay, so everything is saved in "%appdata%\ecwolf" within the files are "ecwolf.cfg" and "savegam0.ecs", would be nice if those files are in the folder of the game to make the game more portable.
To store the saves and config in the game folder I'm using now bat-script this content:
Code: Select all
start ecwolf.exe --config ecwolf.cfg --savedir .\
Blzut3 wrote:The config file is in AppData since under Vista and up (and every server variant of Windows I believe) certain parts of the file system are read-only. Thus Microsoft recommends that all user settings be stored in the user's directory like it is for Linux and Mac OS X. You'll probably want to keep AppData in mind since it's only going to get used more in the future.
If you really must store these things elsewhere there are command line options to do so, but you'll either have to specify them manually every time or use a shortcut/batch file. This is fully intentional for the adformentioned reason.
The save games will probably move to the proper saved games directory once I find the time to, and remember, since I have to account for versions of Windows (<= XP) that don't have it.
If the path to the %APPDATA% contains cyrillic characters, the directory 'ecwolf' is created there, but the configuration and savings are not written. Tested on WinXP SP2. On WinXP SP3 without cyrillic characters in a path everything worked properly.
As for portability, I propose that logic:
the game checks on startup where the configuration file is. If it is within the root directory, do not create anything in %APPDATA% and write savegames in root directory too. If configuration file absent in root directory - use %APPDATA% for config and savings.
Thank you for this amazing port.
At the time of writing using 130709-0838 build.
[quote="jm2k7"]Okay, so everything is saved in "%appdata%\ecwolf" within the files are "ecwolf.cfg" and "savegam0.ecs", would be nice if those files are in the folder of the game to make the game more portable. :cheers:[/quote]
To store the saves and config in the game folder I'm using now bat-script this content: [code]start ecwolf.exe --config ecwolf.cfg --savedir .\[/code]
[quote="Blzut3"]The config file is in AppData since under Vista and up (and every server variant of Windows I believe) certain parts of the file system are read-only. Thus Microsoft recommends that all user settings be stored in the user's directory like it is for Linux and Mac OS X. You'll probably want to keep AppData in mind since it's only going to get used more in the future. ;) If you really must store these things elsewhere there are command line options to do so, but you'll either have to specify them manually every time or use a shortcut/batch file. This is fully intentional for the adformentioned reason.
The save games will probably move to the proper saved games directory once I find the time to, and remember, since I have to account for versions of Windows (<= XP) that don't have it.[/quote]
If the path to the %APPDATA% contains cyrillic characters, the directory 'ecwolf' is created there, but the configuration and savings are not written. Tested on WinXP SP2. On WinXP SP3 without cyrillic characters in a path everything worked properly.
As for portability, I propose that logic:
the game checks on startup where the configuration file is. If it is within the root directory, do not create anything in %APPDATA% and write savegames in root directory too. If configuration file absent in root directory - use %APPDATA% for config and savings.
[b]Thank you for this amazing port.[/b]
[i][size=85]At the time of writing using [url=http://svn.drdteam.org/ecwolf/]130709-0838[/url] build.[/size][/i]