Game Development Community

Demos, Hello world - crash without starting

by Daniel James · in Torque Game Engine · 07/16/2006 (12:05 am) · 1 replies

Hello, I know a lot of people have had this problem, but none of the fixes I've seen have worked for me, so here I go after my own.

I got the book & CD, the 3DGPAi1 version. It's neat and all, but none of the demos run - not even my first hello world program with no graphics will go! All that ever comes up is a "notify Microsoft" dialog box. Needless to say, it's really impeded my progress. The console.log file isn't including anything useful except that it can't find some .cs files. I don't know if that's the problem or not; if someone could take a look and find out exactly which the problem is, I would be duly appreciative.

//-------------------------- 7/16/2006 -- 03:03:30 -----
foobar.cs
Loading compiled script CH2/foobar.cs.


The demo's log file looks like this:
//-------------------------- 7/16/2006 -- 03:06:20 -----
!!!!!!!!!!!!!! 3DGPAI1 BOOK version !!!!!!!!!!!!!!!!!
111111111@@@@@@@@@@@@@@@@@-game fps
--------- Loading MODS ---------
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script fps/main.cs.
Loading compiled script fps/client/defaults.cs.
Loading compiled script fps/server/defaults.cs.
Loading compiled script fps/client/prefs.cs.
Loading compiled script fps/server/prefs.cs.

--------- Parsing Arguments ---------
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@-game fps

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

--------- Initializing MOD: FPS ---------
Loading compiled script fps/client/init.cs.
Loading compiled script fps/server/init.cs.
Loading compiled script fps/data/init.cs.
Loading compiled script fps/data/terrains/grassland/propertyMap.cs.
Loading compiled script fps/data/terrains/scorched/propertyMap.cs.

--------- Initializing FPS: 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 fps/server/scripts/commands.cs.
Loading compiled script fps/server/scripts/centerPrint.cs.
Loading compiled script fps/server/scripts/game.cs.

--------- Initializing FPS: Client ---------
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.
Video Init:
Accelerated OpenGL display device detected.
Accelerated D3D device detected.
Voodoo 2 display device not detected.

Activating the OpenGL display device...
Activating the OpenGL display device...
Setting screen mode to 1024x768x32 (w)...
Creating a new window...
Acquiring a new device context...
Pixel format set:
32 color bits, 24 depth bits, 8 stencil bits
Creating a new rendering context...
Making the new rendering context current...
OpenGL driver information:
Vendor: ATI Technologies Inc.
Renderer: RADEON X800 XL x86/MMX/3DNow!/SSE2
Version: 2.0.5885 WinXP Release
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 8)
EXT_compiled_vertex_array
EXT_texture_env_combine
EXT_packed_pixels
EXT_fog_coord
ARB_texture_compression
EXT_texture_compression_s3tc
(ARB|EXT)_texture_env_add
EXT_texture_filter_anisotropic (Max anisotropy: 16.000000)
WGL_EXT_swap_control
OpenGL Init: Disabled Extensions
EXT_paletted_texture
NV_vertex_array_range
3DFX_texture_compression_FXT1
NPatch tessellation

Loading compiled script common/ui/defaultProfiles.cs.
Loading compiled script common/ui/GuiEditorGui.gui.
Loading compiled script common/ui/ConsoleDlg.gui.
Loading compiled script common/ui/InspectDlg.gui.
Loading compiled script common/ui/InspectAddFieldDlg.gui.
Loading compiled script common/ui/LoadFileDlg.gui.
Loading compiled script common/ui/SaveFileDlg.gui.
Loading compiled script common/ui/MessageBoxOkDlg.gui.
Loading compiled script common/ui/MessageBoxYesNoDlg.gui.
Loading compiled script common/ui/MessageBoxOKCancelDlg.gui.
Loading compiled script common/ui/MessagePopupDlg.gui.
Loading compiled script common/ui/HelpDlg.gui.
Loading compiled script common/ui/RecordingsDlg.gui.
Loading compiled script common/client/metrics.cs.
Loading compiled script common/ui/FrameOverlayGui.gui.
Loading compiled script common/client/messageBox.cs.
Loading compiled script common/client/screenshot.cs.
Loading compiled script common/client/cursor.cs.
Loading compiled script common/client/help.cs.
Loading compiled script common/client/recordings.cs.

OpenAL Driver Init:
OpenAL
Failed to initialize driver.
Loading compiled script fps/client/scripts/audioProfiles.cs.
Loading compiled script fps/client/ui/defaultGameProfiles.cs.
Loading compiled script fps/client/ui/PlayGui.gui.
Loading compiled script fps/client/ui/ChatHud.gui.
Loading compiled script fps/client/ui/playerList.gui.
Loading compiled script fps/client/ui/mainMenuGui.gui.
Loading compiled script fps/client/ui/aboutDlg.gui.
Loading compiled script fps/client/ui/startMissionGui.gui.
Loading compiled script fps/client/ui/joinServerGui.gui.
Loading compiled script fps/client/ui/endGameGui.gui.
Loading compiled script fps/client/ui/loadingGui.gui.
Loading compiled script fps/client/ui/optionsDlg.gui.
Loading compiled script fps/client/ui/remapDlg.gui.
Loading compiled script fps/client/scripts/client.cs.
Loading compiled script fps/client/scripts/missionDownload.cs.
Loading compiled script fps/client/scripts/serverConnection.cs.
Loading compiled script fps/client/scripts/playerList.cs.
Loading compiled script fps/client/scripts/loadingGui.cs.
Loading compiled script fps/client/scripts/optionsDlg.cs.
Loading compiled script fps/client/scripts/chatHud.cs.
Loading compiled script fps/client/scripts/messageHud.cs.
Loading compiled script fps/client/scripts/playGui.cs.
Loading compiled script fps/client/scripts/centerPrint.cs.
Loading compiled script fps/client/scripts/game.cs.
Loading compiled script fps/client/scripts/default.bind.cs.
Loading compiled script fps/client/config.cs.
Binding server port to default IP
UDP initialized on port 0




My system specs are WinXP / SP2, with an ATI x800xl graphics card and Nvidia Nforce onboard 5.1 sound. I've tried with the most recent Catalyst drivers, and also with Omega drivers and neither have worked. Thank you for looking.

#1
08/29/2006 (8:17 pm)
I had this exact same problem. Once I removed the file OpenAL32.dll from the root folder Torque worked fine. I figured it out by clicking the link in the Windows error message that says "To see what data this error report contains, click here. In the report details it shows, at least for me, an error occuring with the file openal32.dll.

This fix could be more removing a sympton than resolving the problem, but it worked for me and I hope it works for you. I don't have OpenAL installer or the SDK, so that may have been the problem.