Blackscreen on Gentoo linux x64
Posted: Wed Oct 24, 2012 8:20 am
Hello everyone!
Last week I was trying to run ToME 4 [b42] with no success. First of all, I've tried to do everything as it was written in wiki and I got error identical to the one in http://forums.te4.org/viewtopic.php?f=44&t=34853. In the same manner game hung after error "Lua Error: /engine/Module.lua:391: attempt to index local 'bkgs' (a nil value)"
Then I've tried to install game from the source. In this case everything was even worser.
After some investigation I was able to determine, that this sort of error somehow connected with PhysFS library. At least, when in main.c I change
-846: if (!luaL_loadfile(L, "/bootstrap/boot.lua"))
+846 if (!luaL_loadfile(L, "bootstrap/boot.lua"))
i can get rid of "WARNING: No bootstrap code found, defaulting to working directory for engine code!" (but game stops a little bit later). It looks like physfs is able to add search path in command "PHYSFS_mount("bootstrap", "/bootstrap", 1);", but for some reason can't mount it (or whatever it should do with it).
Well, can anyone help me? I think it should be something very simple, like wrong option in premake or may be one of the make files or even may be in linux kernel (wild guess
).
Last week I was trying to run ToME 4 [b42] with no success. First of all, I've tried to do everything as it was written in wiki and I got error identical to the one in http://forums.te4.org/viewtopic.php?f=44&t=34853. In the same manner game hung after error "Lua Error: /engine/Module.lua:391: attempt to index local 'bkgs' (a nil value)"
Then I've tried to install game from the source. In this case everything was even worser.
Code: Select all
[CPU] Detected 4 CPUs
OpenAL device available: OpenAL Soft (default OpenAL Soft)
Available video driver: x11
Available video driver: dummy
NO SELFEXE: bootstrapping from CWD
WARNING: No bootstrap code found, defaulting to working directory for engine code!
Creating particles thread 0
Creating particles thread 1
Creating particles thread 2
[DO RESIZE] 800x600 (0)
OpenGL max texture size: 16384
OpenGL max texture size: 16384
===fbo 1
Running lua loader code...
^CThanks for having fun!
-846: if (!luaL_loadfile(L, "/bootstrap/boot.lua"))
+846 if (!luaL_loadfile(L, "bootstrap/boot.lua"))
i can get rid of "WARNING: No bootstrap code found, defaulting to working directory for engine code!" (but game stops a little bit later). It looks like physfs is able to add search path in command "PHYSFS_mount("bootstrap", "/bootstrap", 1);", but for some reason can't mount it (or whatever it should do with it).
Well, can anyone help me? I think it should be something very simple, like wrong option in premake or may be one of the make files or even may be in linux kernel (wild guess
