Page 1 of 1

Command line --load-game full path problem

Posted: Wed May 25, 2016 9:41 am
by binbinhfr
Hi,

to run a headless server, the command line accepts a full path, like
factorio.exe --start-server C:\Factorio\saves\testdir\test.zip

but the --load-game command does not. It seems to avoid subdirectory specification.
launching
factorio.exe --load-game C:\Factorio\saves\testdir\test.zip
says that it does not find C:\Factorio\saves\test.zip : it missed the subdirectory.

--start-server and --load-game should have the same behaviour, no ?

Re: Command line --load-game full path problem

Posted: Wed May 25, 2016 11:36 am
by Klonan
Thanks for the report,

I tried it out and it does as you've said

Re: Command line --load-game full path problem

Posted: Wed May 25, 2016 2:39 pm
by binbinhfr
By the way, it's the same with --mp-load-game that could be corrected too.

Re: Command line --load-game full path problem

Posted: Mon May 30, 2016 1:30 pm
by slpwnd
Thanks for the report. We changed the behaviour in 0.13 to always treat these arguments as system paths (either absolute or relative).