Command line --load-game full path problem

This subforum contains all the issues which we already resolved.
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

Command line --load-game full path problem

Post 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 ?
My mods on the Factorio Mod Portal :geek:
User avatar
Klonan
Factorio Staff
Factorio Staff
Posts: 5267
Joined: Sun Jan 11, 2015 2:09 pm
Contact:

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

Post by Klonan »

Thanks for the report,

I tried it out and it does as you've said
User avatar
binbinhfr
Smart Inserter
Smart Inserter
Posts: 1524
Joined: Sat Feb 27, 2016 7:37 pm
Contact:

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

Post by binbinhfr »

By the way, it's the same with --mp-load-game that could be corrected too.
My mods on the Factorio Mod Portal :geek:
slpwnd
Factorio Staff
Factorio Staff
Posts: 1835
Joined: Sun Feb 03, 2013 2:51 pm
Contact:

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

Post 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).
Post Reply

Return to “Resolved Problems and Bugs”