Game Development Community

1.5 starting TGB bug

by Stephen Howe · in Torque Game Builder · 07/15/2007 (10:43 pm) · 9 replies

Doesn't happen all the time (~3/5)& sometime did/didn't with the beta, but when I click the icon to run TGB 1.5 it takes a lonnnnnnnnnng time to load. currently I'm at 30 minutes & still no "new/open" screen.

TGB 1.1.3 didn't show this at all, ever.

Here's what I've got:

Windows XP SP2 (all auto-updated)
DX 9.0c 4.09.0000.0904
ATI x1950 Pro with Omega 7.4 drivers
.NET 1.1 & 2 installed

I've got the AA/AF in my ATI Tools on the max settings. I thought that could be it but this morning 1.5 opened up in a few seconds. It's not set to auto-open any levels. Can't access the .log file while it's still "loading" because the "file is in use." Got Avast! A/V & Sunbelt Personal Firewall running (worked with those running in background earlier). It's running ~99% CPU # a constant 7732 K memory usage. If I right click & end process it doesn't do anything, it keeps running. Not listed in the "applications" window, just "processes".

I've tried starting TGB 1.5 with the AV & FireWall fully disabled with no luck.

EDIT: it i run it again while the one is "stuck", it opens, but only the new instance starts. the old instance is still "stuck" in the processes window. Not long after I close the new instance the "stuck" one closes. Here's the .log file. Nothing looks wierd:
//-------------------------- 7/16/2007 -- 01:19:52 -----
Processor Init:
   AMD (unknown), ~1.80 Ghz
     (timed at roughly 1.81 Ghz)
   FPU detected
   MMX detected
   3DNow detected
   SSE detected
 
Math Init:
   Installing Standard C extensions
   Installing Assembly extensions
   Installing FPU extensions
   Installing MMX extensions
   Installing 3DNow extensions
   Installing SSE extensions
 
Input Init:
   DirectInput enabled.

Initializing chunk mappings...
   o 'TEXT' maps to TextChunk
   o 'SCHK' maps to UnknownChunk
   o 'SCHK' maps to SimChunk
Loading compiled script C:/Program Files/GarageGames/TorqueGameBuilder/tgb/common/main.cs.
Loading compiled script C:/Program Files/GarageGames/TorqueGameBuilder/tgb/tools/main.cs.
Loading compiled script C:/Program Files/GarageGames/TorqueGameBuilder/tgb/common/preferences/defaultPrefs.cs.
Reading Display Device information...
   Primary Display Device Found:
      Vendor Id: VEN_0000
      Device Id: DEV_0000

Using OpenGL rendering. Fullscreen: 0

Executing C:/Documents and Settings/Stephen Howe/Application Data/GarageGames/TorqueGameBuilder/commonPrefs.cs.
Loading compiled script C:/Program Files/GarageGames/TorqueGameBuilder/tgb/common/gameScripts/common.cs.
Loading compiled script C:/Program Files/GarageGames/TorqueGameBuilder/tgb/common/gameScripts/audio.cs.
Loading compiled script C:/Program Files/GarageGames/TorqueGameBuilder/tgb/common/gameScripts/canvas.cs.
Loading compiled script C:/Program Files/GarageGames/TorqueGameBuilder/tgb/common/gameScripts/cursor.cs.

#1
07/16/2007 (6:45 am)
Would you try setting your options to D3D rendering, and see if you can get this to happen again (after the successful D3D change)?

We've seen issues with that chipset before with OpenGL, and it might help isolate the problem.
#2
07/16/2007 (8:07 am)
Doesn't seem to help. I changed
$pref::Video::displayDevice = "OpenGL";
$pref::Video::preferOpenGL = 1;
to
$pref::Video::displayDevice = "D3D";
$pref::Video::preferOpenGL = 0;
in the tgb\common\preferences\defaultPrefs.cs

Got the program to run once after a re-boot & it said D3D in the preferences. So I closed it & went to re-start it. Hangs again.

Still hangs on load.
#3
07/16/2007 (8:49 pm)
Now it's making 0 sense....

It still hangs on D3D or OGL, BUT.... if I set it's priority level to "below normal" in the task manager/processes window, it opens & starts up just fine.

Wierd...
#4
07/21/2007 (3:58 pm)
Were you guys able to reproduce this at all?
#5
07/24/2007 (10:30 pm)
Still in 1.5.1 too.

Also, I just did a FRESH install of XP a few days ago because something (i think a virus) wiped out my "C" drive. So I seem to have eliminated the possibility of a software conflict. :D
#6
07/25/2007 (6:52 am)
I updated to the latest ATI drivers & DX 9. Still need to mess with the thread priority to get TGB to start.
#7
07/25/2007 (7:36 am)
You don't have, by a strange error, installed the CCC by ATI did you?

I mean that sweet but massive memory leaking thing they call driver control center.

If so this might simply be the cause of the problem as it caused several evil crashes back when I had an ATI in my system. I ended up with kicking this memory hogg out and replace it with ray adams ATI Tray Tools
#8
07/25/2007 (7:48 am)
Hehe... nope. I got the driver, the WMD driver (in the seperate downloads section) & ATI Tray Tools. I never liked CCC (seemed like less options & you couldn't do seperate OGL/D3D settings unlike the old way) & started using the omega drivers exclusively for the past few years (until now to see if that was the problem) because ATI forces us to use the CCC now.
#9
07/26/2007 (12:21 am)
Omega actually has some problems.

They tend to cut out things they don't think that they are needed. that ended with straight crashes of DX7 games for example.

Don't know if they still hack around in the driver DLLs like that but if they do so this could be a potential reason why TGB, which isn't DX9, is breaking.