Page 1 of 1
					
				1.7.0 game doesnt load addons if they are symlinked
				Posted: Sat Oct 31, 2020 8:07 am
				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/.
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Sat Oct 31, 2020 2:12 pm
				by darkgod
				Log please 

 
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Sat Oct 31, 2020 4:26 pm
				by Hahmach
				does steam version create any logs besides te4_log_web? cant find any.
gonna try with te4.org version
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Sat Oct 31, 2020 5:46 pm
				by darkgod
				You can run it on the command line and capture output: ./t-engine > log
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Sat Oct 31, 2020 6:14 pm
				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 
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Mon Nov 09, 2020 11:41 am
				by Hahmach
				i downloaded 1.6.7 from the site and it doesnt load symlinked addons either. but 1.6.7 from steam did.
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Mon Nov 09, 2020 12:10 pm
				by Hahmach
				i pulled 1.6.7 from steam betas and it doesnt work there anymore too.
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Mon Nov 09, 2020 12:19 pm
				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 :/
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Mon Nov 09, 2020 12:31 pm
				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.
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Wed Nov 25, 2020 8:56 pm
				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.
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Wed Mar 17, 2021 5:18 pm
				by Hahmach
				symlink support has to be enabled explicitly with PHYSFS_permitSymbolicLinks(1)
			 
			
					
				Re: 1.7.0 game doesnt load addons if they are symlinked
				Posted: Fri Apr 30, 2021 11:42 am
				by Hahmach
				is there any reason not to enable this? *no, this functionality has nothing to do with symlink vulnerabilities inside archives*