Game Development Community

TSE Car Demo crashes on startup

by Eric Hartman · in Torque Game Engine Advanced · 10/29/2004 (11:34 am) · 6 replies

Myself and a few other users have had difficulty running the Milestone #1 TSE Car Demo. On my system, it crashes with the error
"The instruction at "0x004cb38e" referenced memory at "0x00000000". The memory could not be "read"."

and leaves the following log file
//-------------------------- 10/29/2004 -- 16:07:15 -----
Processor Init:
   AMD Athlon, ~1.80 Ghz
     (timed at roughly 1.83 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
 
Initializing platform...
Input Init:
   keyboard0 input device created.
   mouse0 input device created.
   DirectInput enabled.

Creating GFXDevice...
Done
--------- Loading MODS ---------
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script demo/main.cs.
demo/main.cs (0): Unable to find function loadDir
Loading compiled script demo/client/defaults.cs.
Loading compiled script demo/server/defaults.cs.
Loading compiled script demo/client/prefs.cs.
Loading compiled script demo/server/prefs.cs.

--------- Parsing Arguments ---------

--------- Initializing MOD: Common ---------
Loading compiled script common/client/canvas.cs.
Loading compiled script common/client/audio.cs.

--------- Initializing MOD: Torque Demo ---------
Loading compiled script demo/client/init.cs.
Loading compiled script demo/server/init.cs.
Loading compiled script demo/data/init.cs.
Loading compiled script demo/data/terrains/highplains/propertyMap.cs.
Loading compiled script demo/data/materialMap.cs.

--------- Initializing MOD: Torque Demo Server ---------
Loading compiled script common/server/audio.cs.
Loading compiled script common/server/server.cs.
Loading compiled script common/server/message.cs.
Loading compiled script common/server/commands.cs.
Loading compiled script common/server/missionInfo.cs.
Loading compiled script common/server/missionLoad.cs.
Loading compiled script common/server/missionDownload.cs.
Loading compiled script common/server/clientConnection.cs.
Loading compiled script common/server/kickban.cs.
Loading compiled script common/server/game.cs.
Loading compiled script demo/server/scripts/commands.cs.
Loading compiled script demo/server/scripts/centerPrint.cs.
Loading compiled script demo/server/scripts/game.cs.

--------- Initializing MOD: Torque Demo Client ---------
Loading compiled script demo/client/ui/customProfiles.cs.
Loading compiled script common/client/message.cs.
Loading compiled script common/client/mission.cs.
Loading compiled script common/client/missionDownload.cs.
Loading compiled script common/client/actionMap.cs.
Loading compiled script common/editor/editor.cs.
Loading compiled script common/client/scriptDoc.cs.

I find the line "demo/main.cs (0): Unable to find function loadDir" worrysome...

Athlon 2500+ @1.85 ghz
768MB Ram
Radeon 9800pro 128MB
Turtle Beach Santa Cruz Sound Card
Windows 2000

#1
10/29/2004 (11:42 am)
I am getting the same error and console.log

except I am using a laptop with a gefore go 4 vid card
os is windows 200 server
#2
10/29/2004 (12:24 pm)
I had a similar problem on one of my machines. Upgrading to the latest DX SDK fixed it. I'm guessing the demo was built for DX9.0c runtime and just upgrading that would be sufficient.
#3
10/29/2004 (12:49 pm)
Make sure you are running the latest drivers for your card.
#4
10/29/2004 (5:36 pm)
Upgrading from directx 9.0b to 9.0c has solved the problem for me.
#5
10/30/2004 (3:14 am)
Wonderful!
#6
10/31/2004 (1:51 pm)
Yes, the demo build was compiled with DX9.0c, so if you do not have this version of DX (e.g. 9a or 9b) this is why it won't start for almost 90% of the can't start crashes. :)