Game Development Community

Black screen of unhappiness

by Eric Jergensen · in General Discussion · 03/25/2004 (11:08 am) · 3 replies

When I run my build of RealmWars (last source update 2004-3-25), all I get is a black window (and the mouse gets grabbed, so I have to go to a text console to kill it). I attached to the process with gdb and got this stack trace:

#0 0x00bedc32 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x001e5b21 in ___newselect_nocancel () from /lib/tls/libc.so.6
#2 0x005333be in X11_Pending () from /usr/lib/libSDL-1.2.so.0
#3 0x00533411 in X11_PumpEvents () from /usr/lib/libSDL-1.2.so.0
#4 0x0054b203 in SDL_PumpEvents () from /usr/lib/libSDL-1.2.so.0
#5 0x08303479 in ProcessMessages () at platformX86UNIX/x86UNIXWindow.cc:301
#6 0x08303bee in Platform::process() ()
at platformX86UNIX/x86UNIXWindow.cc:563
#7 0x0815f425 in DemoGame::main(int, char const**) (this=0x846b824, argc=1,
argv=0xbee5c408) at game/main.cc:477
#8 0x08304455 in main (argc=1, argv=0xbfe56904)
at platformX86UNIX/x86UNIXWindow.cc:886

starter.fps works (and all of the torque-based games I have). The system is an athlon XP 2000+ w/ ti4200 (NVIDIA 5336 drivers).

Any ideas?

Eric Jergensen

#1
03/27/2004 (4:50 pm)
Console.log indicated missing classes referenced by the scripts. A bit of greping showed me which ones and I added those to engine/targets.torque.mk. I can now start the game, but can't load a level. From console.log:

*** Stage 2 load Executing rw/data/missions/stronghold.mis.
Object 'SpawnSphereMarker' is not a member of the 'GameBaseData' data block class
rw/data/missions/stronghold.mis (0): Register object failed for object (null) of class SpawnSphere.
#2
03/27/2004 (8:01 pm)
Got it working. rw and the torque demos overlap quite a bit. Looks like my .garagegames/torqueDemo had bits of the dev kit version mixed in with the rw version. rm -r ~/.garagegames/torqueDemo fixed it.
#3
03/27/2004 (9:48 pm)
Glad you got things fixed. ;)