Game Development Community

Hum... how I can title this topic... HELP!

by Wilfrid ARNOLD · in Torque Game Engine · 11/17/2003 (12:22 pm) · 18 replies

New Torque owner! (great!), and already one problem (not great!).
I compil the torqueDemo, ok. but, when I run the .exe, I got a crash with the application I soon as I place my mouse pointer over 'star mission' or 'Options'.

I've walked around the forum to figure out where to problem is, but in vain. For sure, I followed the install tutorial... (I've installed sp5, updated .reg..), but this damn problem seems always there.

Any advice? thanks a lot.
(sorry for my english, I'm french!).

About the author

Recent Threads


#1
11/17/2003 (1:58 pm)
(Nicolas Quijano hangs out a lot and knows french well; he might be useful to you.)

What video card do you have? What version of windows?
#2
11/17/2003 (2:38 pm)
Great to know that a french speaker is round there :) thank you for being there to help me
video card = Abit siluro T400 (Gforce2 MX -64mb)
current display mode = 1280x1024 - 32bits
os= W2000 sp4
DirectX 8.1

need to update my Nvidia drivers?
#3
11/17/2003 (3:49 pm)
Won't hurt to try.
#4
11/18/2003 (1:20 am)
Obvious! thanks. I'll make the update tonight. to be continued...
#5
11/18/2003 (6:37 pm)
Do you see any loading errors in console.log?
#6
11/19/2003 (1:19 pm)
Well... here we go. these are the results of my experiments!

1) video card drivers updating = no change, the app is crashing
2) when I run torqueDemo with the -console argument (both tried with -opengl, -directX and -autoVideo arguments), I have the following interesting messages:

: Unable to find function resetCanvas

missing files:
common/defaults.cs
fps/client/prefs.cs
fps/server/prefs.cs

openGl disabled extensions:
3DFX_textures_compression_FXT1
NPatch tesselation

When I execute the program from MSV (win32 debug), I have the following mssg:
unhandled exception in torqueDemo_DEBUG.exe (WRAP_OAL.dll): OxCOOOOOO5: access violation

I got also:
Loaded 'C:\WINNT\system32\ntdll.dll', no matching symbolic information found
Loaded 'C:\WINNT\system32\USER32.dll', no matching symbolic information found
Loaded 'C:\WINNT\system32\KERNELL32.dll', no matching symbolic information found
etc, etc...

After compiling the demo, I got 0 error and 11 warnings.
C4018 (in zlib and ljpg)
C4018 + C4101 (in lungif)

when I run the torqueDemo, there is a problem with the mouse cursor. When I go outside the test application window, the cursor is sticked on the border. When I place my cursor back into the torque window, the cursor is working correctly, until I point 'Start mission'. then... this is the crash.

I hope that you will be able to figure out where the problem is (or could be).
#7
11/19/2003 (1:26 pm)
Did you install OpenAL?
#8
11/19/2003 (1:33 pm)
That is very strange. Have you tried the precompiled Torque binaries?
#9
11/19/2003 (1:35 pm)
Yes, I used the openAL installer for windows. I get also the OpenAL SDK. the samples work correctly.
#10
11/19/2003 (1:38 pm)
I was going to post this under my first response, but you beat me to it:

[edit]
If you pulled the current HEAD version of Torque, I see that they now include OpenAL in the /example directory. But you are also going to need the two DLL's ogg.dll and vorbis.dll which can be found here.
[/edit]
#11
11/19/2003 (1:48 pm)
>Ben
yes, the Torque v1.2 Demo works (and I decided to buy one licence just after reviewing it :-))
#12
11/19/2003 (2:14 pm)
>Richard
thanks (never mind if I receive your messg in several posts..;-)
I installed ogg+vorbis dll
do you mean I have to move the openal directory into /example? or just the headers of openal/win32/al? or just one file? should I have to compil something?
#13
11/19/2003 (2:25 pm)
You do not need to move the OpenAL32.dll file into the /example directory, it should be there from CVS. As far as I know, you will need to have the two files: ogg.dll and vorbis.dll in the /example directory also.
#14
11/19/2003 (2:49 pm)
I'm currently working with the torque 1_1_1 release. I moved the ogg+vorbis dll in /example, try to compil again, but... :( you guess what? yes... one crash. why openAL is (or could be) involved in the crash sequence?
#15
11/19/2003 (2:53 pm)
In the oggvorbis directory, I can see also one vorbisenc and vorbisfile dll? guess it is for encoding... but...
#16
11/19/2003 (3:12 pm)
OK, now that I know you are using Release_1_1_1, you can forget about what I said. I assumed that you where using the latest HEAD version or at least Release_1_2_0 (which you should use as there are many fixes that you don't have).
The reason that I think you are getting the crash in OpenAL is from this line:
unhandled exception in torqueDemo_DEBUG.exe (WRAP_OAL.dll): OxCOOOOOO5: access violation
The file WRAP_OAL.dll is the OpenAL wrapper. Since this was recently introduced into the OpenAL CVS HEAD, I don't know how compatible it is going to be with Release_1_1_1. If you want, I can email you the OpenAL32.dll file that does work with Release_1_1_1?
#17
11/19/2003 (3:14 pm)
1.11 is not the latest stable release, grab 1.2 instead.

edit: oops beat me to it
#18
11/20/2003 (12:53 am)
Ok, thank you all, guys. I will get the 1_2 release of the torque engine. I'm sure then that this last post will end this thread ;-) see U

I did not grab the 1_2 release cause I thought it was only for core dev (even if this version is marked as 'recommended'). this is my fault... mea culpa.sorry.