The proper location for this is kind of split between modding interface requests and ideas and suggestions, but my specific use case is for a mod so I'll post it here.
It would be nice if it was possible to specify a separate location for script-output. AFAIK, currently this is not possible: while you can set the write-data path in config.ini, this moves the entire factorio folder, which means that your saves will be searched for in a different folder, just like your player-data.json, and ontop of that it does not allow you to specify the complete path as it will always append a script-output folder.
This would also provide a partial workaround for this problem: viewtopic.php?f=7&t=68499
Thats why I propose to be able to set a path to script-output separately in the config.ini.
Allow specifying the location of the script-output directory separately
Re: Allow specifying the location of the script-output directory separately
This feature would be very much appreciated, due to changes in the way factorio handles symlinks on linux, they are now completely broken. Factorio on windows is still happy with having the base script-output be a symlink, but linux will not tolerate even that.
This has caused multiple issue reports on factoriomaps (#57, #68), I understand these are not your problem, but it would be nice if I could implement script-output redirection properly, without having to duplicate/move a bunch of files.
This has caused multiple issue reports on factoriomaps (#57, #68), I understand these are not your problem, but it would be nice if I could implement script-output redirection properly, without having to duplicate/move a bunch of files.
-
- Long Handed Inserter
- Posts: 50
- Joined: Sat Mar 28, 2020 2:10 pm
- Contact:
Re: Allow specifying the location of the script-output directory separately
As a workaround on Linux you can use bind mounts, they look like regular directories to any user space program, so Factorio has nothing to complain.
It requires root access to the system though.
To make the bind mount permanent (ie. activated on boot) you can add it to /etc/fstab:
Code: Select all
sudo mount --bind /where/you/want/it /path/to/factorio/script-output
To make the bind mount permanent (ie. activated on boot) you can add it to /etc/fstab:
Code: Select all
/where/you/want/it /path/to/factorio/script-output none bind 0 0
Re: Allow specifying the location of the script-output directory separately
Bump. Still needs this.
Re: Allow specifying the location of the script-output directory separately
Ok, I changed it so the config.ini entry [path] also supports setting 'saves', 'scenarios', 'mods', 'archive', and 'script-output' for the next release.
If you want to get ahold of me I'm almost always on Discord.
Re: Allow specifying the location of the script-output directory separately
What is archive for?Rseding91 wrote: Sat May 30, 2020 7:34 pm Ok, I changed it so the config.ini entry [path] also supports setting 'saves', 'scenarios', 'mods', 'archive', and 'script-output' for the next release.
Re: Allow specifying the location of the script-output directory separately
desync reports.
If you want to get ahold of me I'm almost always on Discord.