Game Development Community

T2D on Linux doesn't start with spacescroller.

by Gary "ChunkyKs" Briggs · in Torque Game Builder · 03/01/2005 (11:15 pm) · 5 replies

If I start a release build of T2D.bin [ie, the one in the box, or a homebrew one], it goes into the normal editor screen fine.

OTOH, if I try to start it with spacescoller, it basically stops dead. [ie, ./T2D.bin -game spacescroller or just ./T2D.bin spacescroller].

If I strace it, it goes into an infininte loop with gettimeofday then a nanosleep [according to top, the cpu usage is nigh-on nil; it's spending more time sleeping than it is finding the time]. There's a trace here:
icculus.org/~chunky/stuff/t2d.bin.trace.gz
It does go past the first {many many} gettimeofdays, so keep scrolling :-)


If I rebuild with BUILD=DEBUG, then when it starts [after less than a second] with a fatal error:
"GuiControlProfile: unable to find specified profile (GuiInputCtrlProfile) and GuiDefaultProfile does not exist!"
with the window title "Fatal: (gui/guiTypes.cc @ 299)"

Clicking cancel throws a SIGSEGV, but then, so does TGE in the same position. There's an strace of that here [salient is everything up to, but not including, the SIGSEGV, I believe]:
icculus.org/~chunky/stuff/t2d_debug.bin.trace.gz


I'm running GCC 3.3.4 and gnu ld 2.3.2. This is a mostly stock slackware 10.0 box, with the nvidia drivers and kernel 2.4.29. It's dual screen, and this happens on both screens. It still happens after I wipe all the .dsos lying around.

Gary (-;

#1
03/01/2005 (11:23 pm)
Try running it with ./T2D.bin -mod spacescroller
#2
03/01/2005 (11:26 pm)
Oddly, this only happens with the SDK, not the actual demo available. Copying either binary from the SDK into the demo dir works with the demo, but copying all of the spacescoller dir an main.cs from the demo into the SDK doesn't help. Nor does common, nor T2D alone.

Gary (-;
#3
03/01/2005 (11:27 pm)
Hmmm. Well, running with -mod seems to work. Uhm... Why?

Thank-you very much,
Gary (-;
#4
03/01/2005 (11:29 pm)
The spaceScroller isn't setup as a game.. Melv mentions this in another thread
#5
03/01/2005 (11:34 pm)
Ah, ok. Thank-you very much :-)

Gary (-;