Hi
This is somewhat related to viewtopic.php?p=492532&hilit=symlink#p492532 I guess.
My issue is quite simple; I symlink (or wanted to) both blueprint-storage-2.dat and the saves/ folder to my cloud sync folder, so that I can run the game on multiple clients easily.
I play on linux and used `ln -s` to create these.
The saves/ folder works fine. The contents of that folder is synced perfectly, and I can easily swap between my clients.
blueprint-storage-2.dat, however, is overwritten by factorio directly without following the symlink. That is to say loading the game with blueprint-storage-2.dat being a symlink works perfectly, but then when factorio wants to write to the file, it doesn't follow the link but replaces it with a normal file.
Thanks for reading!
Unable to symlink blueprint-storage-2.dat
Re: Unable to symlink blueprint-storage-2.dat
I realise in that thread rseding says you guys don't want to support symlinks. But it works fine for the saves folder now, so I figured I could just submit the ticket.
Re: Unable to symlink blueprint-storage-2.dat
I would just use an rsync or copy script cron job and have it run the same as your autosave interval. rsync for sync to another system, and copy script for copy to another volume or mount point on the same system. May as well sync the whole thing so your updates, saves, and everything else moves as well.
Re: Unable to symlink blueprint-storage-2.dat
Assuming your cloud storage folder is in the same partition as factorio, you could try a hard link:
ln /factorio/blueprint-storage.dat /cloud/blueprint-storage.dat
It basically creates 2 links to the same inode or actual data
I would not try reversing the symlinks. Cloud providers sometimes behave wonky when symlinks are in the sync folder.
ln /factorio/blueprint-storage.dat /cloud/blueprint-storage.dat
It basically creates 2 links to the same inode or actual data
I would not try reversing the symlinks. Cloud providers sometimes behave wonky when symlinks are in the sync folder.