1.7.0 game doesnt load addons if they are symlinked

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

1.7.0 game doesnt load addons if they are symlinked

#1 Post by Hahmach »

worked perfectly fine in 1.6.*

i store downloaded addons in separate folder and symlink them on demand into ~/.t-engine/4.0/addons/.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: 1.7.0 game doesnt load addons if they are symlinked

#2 Post by darkgod »

Log please :)
[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 ;)

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#3 Post by Hahmach »

does steam version create any logs besides te4_log_web? cant find any.

gonna try with te4.org version

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: 1.7.0 game doesnt load addons if they are symlinked

#4 Post by darkgod »

You can run it on the command line and capture output: ./t-engine > log
[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 ;)

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#5 Post by Hahmach »

ah, just stdout.

i opened the game, opened addons menu, closed the game.

still log is over 1k lines.

https://dpaste.com/FH3LRJ2H3.txt

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#6 Post by Hahmach »

i downloaded 1.6.7 from the site and it doesnt load symlinked addons either. but 1.6.7 from steam did.

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#7 Post by Hahmach »

i pulled 1.6.7 from steam betas and it doesnt work there anymore too.

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: 1.7.0 game doesnt load addons if they are symlinked

#8 Post by darkgod »

Hum? something must have changed on your end then, the "beta" steam branch for 1.6.7 and the version that was the public one while 1.6.7 was current are the same.
Not the same as in "uploaded the same thing", but the same as in "simply tagged the upload"; they are literally the same files :/
[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 ;)

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#9 Post by Hahmach »

i dont know what changed, but it doesnt even work with clean profile. i removed ~/.t-engine, launched the game to recreate it, symlinked some addons - the game doesnt see them.

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#10 Post by Hahmach »

i checked on multiple other machines/versions and none of them have symlinked addons working. so i guess the fact that it was working for me is an anomaly.

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#11 Post by Hahmach »

symlink support has to be enabled explicitly with PHYSFS_permitSymbolicLinks(1)

Hahmach
Yeek
Posts: 12
Joined: Sun Feb 23, 2014 7:17 am

Re: 1.7.0 game doesnt load addons if they are symlinked

#12 Post by Hahmach »

is there any reason not to enable this? *no, this functionality has nothing to do with symlink vulnerabilities inside archives*

Post Reply