It seems you cannot install the binary and the data files separately as one would do while following FHS which is standard in 95% of all unix distros more or less.
It will cause failure to start the game, because there seems to be no way of telling it during compile time where those data files will be. Correct me if I am wrong.
see http://www.pathname.com/fhs/pub/fhs-2.3.html
tome4 does not respect FHS
Moderator: Moderator
Re: tome4 does not respect FHS
It can be made to actually.
When the exe is compiled, create a file named "boot.lua" containing two lines:
Obviously replace THE/PATH with the actual install path.
Then create a zip containing only this file in a folder named "bootstrap", append the zip to the exe and voila !
When the exe is compiled, create a file named "boot.lua" containing two lines:
Code: Select all
fs.mount("/THE/PATH/game"..fs.getPathSeparator().."thirdparty", "/", true)
fs.mount("/THE/PATH/game", "/", true)
Then create a zip containing only this file in a folder named "bootstrap", append the zip to the exe and voila !
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: tome4 does not respect FHS
that doesn't sound very well and is problematic with stripping binaries
a much easier hack is to sed the PHYSFS_mount lines in main.c
a much easier hack is to sed the PHYSFS_mount lines in main.c
Re: tome4 does not respect FHS
Hum you could do that too yes
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
