Essentially what I'm suggesting is to change the "/usr/share/factorio" literal so that there is additional space available for different paths to fit in, eg. like this:
Code: Select all
#define SYSTEM_DATA_DIR "/usr/share/factorio\0Hello Nix people, you" \
                        " can use this space to write your own path" \
                        " into the binary.                    #end#"
And yes, I'm aware that it could be changed via wrapper script, but especially this wrapper introduces additional moving parts that could fail at runtime. Additionally shell wrappers also make running via ltrace or gdb a minor annoyance.
Again, this is a bit more exotic and I wouldn't be mad if this isn't implemented, since there are other ways™ to find the additional space needed within the binary.




 ), but maybe they're considering it anyway since it could also make it easier for other package managers and/or distros. For example I had related "feature" requests for some other games, where I was asking to avoid opening files r/w in the game's data files and most of them eventually implemented it - although not because of my request but because they ran into issues with various A/V software on Windows.
), but maybe they're considering it anyway since it could also make it easier for other package managers and/or distros. For example I had related "feature" requests for some other games, where I was asking to avoid opening files r/w in the game's data files and most of them eventually implemented it - although not because of my request but because they ran into issues with various A/V software on Windows.


