Game Development Community

TXB.exe can't run or hangs

by BrunoW · in Torque X 2D · 12/20/2008 (12:25 pm) · 5 replies

I'm premium member of the XNA Creators Club and I've downloaded Torque X 2.0 for XNA.

I tried to run the Torque X Builder application but it hangs on the "Loading common scripts" step of the initialization (progress bar dialog). I've seen that the application takes 100% CPU but it looks like it doesn't do anything. I tried to wait for a while like that (about 30 min) ... still nothing. What's wrong or what did I miss ?

PS : I can build and run the demos. It's only a problem with TXB.exe.

Thanks !

#1
12/22/2008 (10:00 am)
Are your video drivers up to date? What does the console.log file in the TXB directory say is the problem?
#2
12/22/2008 (11:18 pm)
Sounds like a problem with DirectX. I suggest downloading the latest DX9 (not DX10) from here: www.microsoft.com/downloads/details.aspx?familyid=2da43d38-db71-4c1b-bc6a-9b6652....

John K.
#3
12/23/2008 (11:05 am)
John :
I tried to install the latest DX9 from your link but still the same.

David :

I'm on Windows XP SP3 on a laptop and desktop computer (I tried on 2 computers and same results) :

laptop has a NVIDIA GeForce Go 7400
desktop : ATI Radeon 9800 series

I'm going to try to update the drivers but I had no problem until now with any other applications. And the samples/demos are ok.

The log file is as follow (it's the one of the laptop), but I can't see any error :

//-------------------------- 12/20/2008 -- 18:58:52 -----
Processor Init:
Intel (unknown, Pentium Pro/II/III family), ~1.85 Ghz
(timed at roughly 1.83 Ghz)
FPU detected
MMX detected
SSE detected

Math Init:
Installing Standard C extensions
Installing Assembly extensions
Installing FPU extensions
Installing MMX extensions
Installing SSE extensions

Input Init:
keyboard0 input device created.
mouse0 input device created.
DirectInput enabled.

Initializing chunk mappings...
o 'TEXT' maps to TextChunk
o 'SCHK' maps to UnknownChunk
o 'SCHK' maps to SimChunk
Reading Display Device information...
Primary Display Device Found:
Vendor Id: VEN_0000
Device Id: DEV_0000

Using OpenGL rendering. Fullscreen: 0
------------------------


Thanks for your help.
#4
12/23/2008 (12:18 pm)
I think I've found where it hangs :

I checked the source code and I saw in Tools\TXB\games\common\gameScripts\common.cs line 37 :

// Set up networking.
setNetPort(0);


what is it for ?


Edit : I commented this line and now it works !
#5
12/23/2008 (6:45 pm)
OMG! That is terrible! Sorry about that Bruno. Since TXB is a descendant of the TGB game engine, there must be some remnants such as this. setNetPort(0) make sense for a networked multiplayer game, but not for a level designer (unless it had some cool cooperative level design capability). Commenting this out should be harmless. I'm just glad to hear it's working for you.

John K.