Page 1 of 1

Problem with running ToME on Linux

Posted: Tue Jun 03, 2014 4:03 pm
by aliud
Hi!
I try to run ToME 1.2.0 on Debian GNU/Linux 6.0 (Squeeze), kernel release - 2.6.32-5-686, desktop environment - Gnome 2. When i try to run the file "t-engine-launcher", i see window with string "Error: Write directory is not set" and i see in linux terminal:
"Error: Write directory is not set
stack traceback:
/main.lua:1023: in function 'setError'
/main.lua:137: in function 'checkLauncherUpdate'
/main.lua:115: in function 'checkPatches'
/main.lua:91: in function 'init'
/loader/init.lua:71: in main chunk"
Screenshot attached.
What am i doing wrong?
Can you help me, please?

Re: Problem with running ToME on Linux

Posted: Wed Jun 04, 2014 6:09 pm
by random417
I have the same problem. My guess is the launcher was imported from the windows launcher, and it doesn't like the linux orginization. DG will get to it eventually, I'm guessing. In the meantime, mine works if I run from t-engine.exe, rather than from the launcher.

Re: Problem with running ToME on Linux

Posted: Wed Jun 04, 2014 7:41 pm
by Grahammm
Although I get a different error message (the wrong version of libudev), the launcher works fine for me.

Code: Select all

 ./t-engine-launcher 
Available video driver: x11
Available video driver: dummy
LuaVM:  Lua 5.1
[DO RESIZE] 700x350
[cURL] Creating cURL thread
[BSPatch] Creating BSPatch thread
Running lua loader code...
OS: LINUX
BITNESS: 64
[ENGINE] Setting requested FPS to 30 (33 ms)
OS String: linux64
Self path: /home/graham/t-engine4-linux64-1.2.0
Self file: t-engine-launcher
Install folder default to:      /home/graham/t-engine4-linux64-1.2.0
WebCore config: library(/home/graham/t-engine4-linux64-1.2.0/lib64/libte4-web.so) spawn(/home/graham/t-engine4-linux64-1.2.0/cef3spawn64)
Loading WebCore: Failed loading /home/graham/t-engine4-linux64-1.2.0/lib64/libte4-web.so: libudev.so.0: cannot open shared object file: No such file or directory
Running webview check
Setting resolution to 700x350
Getting newest launcher version path
[cURL] Adding new request: http://te4.org/get-updater/12/linux64, now 1
[cURL] Starting download: http://te4.org/get-updater/12/linux64
[cURL] Downloaded successfully
[cURL] Confirming finish...confirmed: http://te4.org/get-updater/12/linux64
[cURL] Deleting request: http://te4.org/get-updater/12/linux64 now 0
Launcher is up-to-date
current ToME engine version: 1.2.0
[cURL] Adding new request: http://te4.org/get-patch/1.2.0/linux64, now 1
[cURL] Starting download: http://te4.org/get-patch/1.2.0/linux64
[cURL] Downloaded successfully
[cURL] Confirming finish...confirmed: http://te4.org/get-patch/1.2.0/linux64
[cURL] Deleting request: http://te4.org/get-patch/1.2.0/linux64 now 0

Re: Problem with running ToME on Linux

Posted: Wed Jun 04, 2014 10:24 pm
by darkgod
Yes the linux launcher is a bit of an experiment still, reprot any bugs/errors here and run the game as usual instead. thanks :)

Re: Problem with running ToME on Linux

Posted: Thu Jun 05, 2014 3:08 pm
by aliud
I run the game from "t-engine" on my Linux and the game started, but very, very, very slow. For example, if i press "Exit" in game menu, new window with message "Really exit T-Engine/ToME?" opens for around 10 seconds.

My computer's characteristics:
Processor: Intel(R) Core(TM) i3-2120 CPU @ 3.30GHz
Memory: 2 Gb
Video: ATI Radeon HD 3600 Series

Screenshots attached.

Thanks anyway.

Re: Problem with running ToME on Linux

Posted: Fri Jun 06, 2014 4:44 pm
by mooncatz
The same error "write directory not set".

Code: Select all

Available video driver: x11
Available video driver: dummy
LuaVM:	Lua 5.1
[DO RESIZE] 700x350
[cURL] Creating cURL thread
[BSPatch] Creating BSPatch thread
Running lua loader code...
OS: LINUX
BITNESS: 64
[ENGINE] Setting requested FPS to 30 (33 ms)
OS String: linux64
Self path: /home/test_user/tome/t-engine4-linux64-1.2.1
Self file: t-engine-launcher
Install folder default to:	/home/test_user/tome/t-engine4-linux64-1.2.1
Running webview check
Setting resolution to 700x350
Getting newest launcher version path
[cURL] Adding new request: http://te4.org/get-updater/12/linux64, now 1
Error: Write directory is not set
stack traceback:
	/main.lua:1023: in function 'setError'
	/main.lua:137: in function 'checkLauncherUpdate'
	/main.lua:115: in function 'checkPatches'
	/main.lua:91: in function 'init'
	/loader/init.lua:71: in main chunk