Page 1 of 1

Link to appdata/Factorio folder

Posted: Mon Sep 05, 2016 10:35 pm
by bk5115545
In the game install directory, it'd be nice to have a hard link to the %appdata%\Factorio folder.

Re: Link to appdata/Factorio folder

Posted: Tue Sep 06, 2016 2:29 am
by TheVeteraNoob
Then just make one. Right click on somewhere click new then shortcut. Type in the same app data jazz

Re: Link to appdata/Factorio folder

Posted: Wed Sep 07, 2016 12:32 pm
by ssilk
Default hard links are never a good idea for installation. Too many constraints.

Re: Link to appdata/Factorio folder

Posted: Thu Sep 08, 2016 9:03 pm
by bk5115545
TheVeteraNoob wrote:Then just make one. Right click on somewhere click new then shortcut. Type in the same app data jazz
I'm thinking more along the lines of the below.
(Windows -- from the chosen install directory)

Code: Select all

mklink /J factorio_appdata %appdata%\Factorio
(Linux -- must use full paths)

Code: Select all

ln -s /usr/lib/Factorio ~/factorio_data # The Linux source path is probably wrong.
These make links that are indistinguishable from the actual location where as a shortcut is a file that requires application support to be used whereas Windows junctions and symbolic links are literally entries in the filesystem table that work like aliases.
ssilk wrote:Default hard links are never a good idea for installation. Too many constraints.
You're right. God I must be old to have confused soft links, hard links, and junctions.

My point is that it's rare for a game to store anything persistent (mods) in %appdata% instead of "Documents\Factorio." It's easy enough to open the install directory from steam; it would be easy enough to find the Factorio directory in "Documents;" it's unintuitive to find Factorio in %appdata%\Factorio (but still not hard)

Re: Link to appdata/Factorio folder

Posted: Fri Sep 09, 2016 6:10 am
by ssilk
This is the way, Microsoft proposes.

Some stupid googling around:
https://technet.microsoft.com/en-us/lib ... 62614.aspx
https://msdn.microsoft.com/en-us/librar ... s.85).aspx -> search for appdata

This is similar to MacOS, where applications store data below Libary/Application Support/. Even in Linux there are similar efforts.

My idea around the problem is, that the game has anywhere a menu-point "Open Application Folder in Explorer/Finder/Shell..."