Game Development Community

I can't run the torquedemo.exe

by Chenhong · in Torque Game Engine · 04/24/2004 (6:04 pm) · 8 replies

I have bought the torque engine and download the source code via cva,the version i download is HEAD.

I compiled the engine using the vc.net 2003 and succeeded.

I went into the example folder and double click the torquedemo.exe, and i pop up a console window and stay there,no picture in game show,just a console window,why?

my PC is celeron 2.4g
geforce4 mx440 64Mb
256Mb ddr

thank you

#1
04/24/2004 (6:15 pm)
A file named "console.log" should have been created. Please post the contents of that.
#2
04/24/2004 (11:16 pm)
//-------------------------- 4/25/2004 -- 14:58:41 -----
Processor Init:
Intel Pentium 4, ~2.40 Ghz
(timed at roughly 2.38 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:
DirectInput not enabled.

--------- Loading MODS ---------
Loading compiled script starter.fps/main.cs.
Loading compiled script common/main.cs.
Missing file: common/defaults.cs!
Loading compiled script starter.fps/client/defaults.cs.
Loading compiled script starter.fps/server/defaults.cs.
Missing file: starter.fps/client/prefs.cs!
Missing file: starter.fps/server/prefs.cs!

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

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

--------- Initializing MOD: FPS Starter Kit ---------
Loading compiled script starter.fps/client/init.cs.
Loading compiled script starter.fps/server/init.cs.
Loading compiled script starter.fps/data/init.cs.
Loading compiled script starter.fps/data/terrains/grassland/propertyMap.cs.
Missing file: starter.fps/data/terrains/scorched/propertyMap.cs!

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

--------- Initializing MOD: FPS Starter Kit: Client ---------
Loading compiled script starter.fps/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.
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...
OpenGLDevice::setScreenMode -- can't switch to resolution larger than desktop in windowed mode!
Setting screen mode to 720x576x32 (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: NVIDIA Corporation
Renderer: GeForce4 MX 440 with AGP8X/AGP/SSE2
Version: 1.4.0
OpenGL Init: Enabled Extensions
ARB_multitexture (Max Texture Units: 2)
EXT_paletted_texture
EXT_compiled_vertex_array
NV_vertex_array_range
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: 2.000000)
WGL_EXT_swap_control
OpenGL Init: Disabled Extensions
3DFX_texture_compression_FXT1
NPatch tessellation
#3
04/24/2004 (11:17 pm)
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
Vendor: Creative Labs Inc.
Version: OpenAL 1.0
Renderer: Software
Extensions: EAX 2.0, EAX 3.0, EAX Unified, and EAX-AC3

Loading compiled script starter.fps/client/scripts/audioProfiles.cs.
Loading compiled script starter.fps/client/ui/defaultGameProfiles.cs.
Loading compiled script starter.fps/client/ui/PlayGui.gui.
Loading compiled script starter.fps/client/ui/ChatHud.gui.
Loading compiled script starter.fps/client/ui/playerList.gui.
Loading compiled script starter.fps/client/ui/mainMenuGui.gui.
Missing file: starter.fps/client/ui/QuitGui.gui!
Loading compiled script starter.fps/client/ui/aboutDlg.gui.
Loading compiled script starter.fps/client/ui/startMissionGui.gui.
Loading compiled script starter.fps/client/ui/joinServerGui.gui.
Loading compiled script starter.fps/client/ui/loadingGui.gui.
Loading compiled script starter.fps/client/ui/endGameGui.gui.
Loading compiled script starter.fps/client/ui/optionsDlg.gui.
Loading compiled script starter.fps/client/ui/remapDlg.gui.
Loading compiled script starter.fps/client/ui/StartupGui.gui.
Loading compiled script starter.fps/client/scripts/client.cs.
Loading compiled script starter.fps/client/scripts/game.cs.
Loading compiled script starter.fps/client/scripts/missionDownload.cs.
Loading compiled script starter.fps/client/scripts/serverConnection.cs.
Loading compiled script starter.fps/client/scripts/playerList.cs.
Loading compiled script starter.fps/client/scripts/loadingGui.cs.
Loading compiled script starter.fps/client/scripts/optionsDlg.cs.
Loading compiled script starter.fps/client/scripts/chatHud.cs.
Loading compiled script starter.fps/client/scripts/messageHud.cs.
Loading compiled script starter.fps/client/scripts/playGui.cs.
Loading compiled script starter.fps/client/scripts/centerPrint.cs.
Loading compiled script starter.fps/client/scripts/default.bind.cs.
Missing file: starter.fps/client/config.cs!
Binding server port to default IP
UDP initialized on port 0
Unable to locate audio profile 'AudioStartup'
Engine initialized...
#4
04/25/2004 (4:40 am)
What resolution is your desktop at?
#5
04/25/2004 (6:02 am)
My video card drivers's version is 45.23,and my desktop resolution is 800*600@32bit color @85hz

thank you
#6
04/25/2004 (6:09 am)
Odd.

If you can, try setting your desktop resolution to 1024x768 or 1280x1024 and then try.

An alternative would be to open the file "example/starter.fps/client/prefs.cs" and fine the line that reads: "$pref::Video::resolution" and set it to "640 480 32"

The only real error I see above is that the video resolution set isn't working because it thinks its larger than your desktop (which it shouldn't be if its 800x600).

Try the suggestions above. If it STILL doesn't work, try in the same prefs.cs file, setting:
$pref::Video::fullScreen = "1";

However, if that doesn't work then it will probably force you to reboot, so use that as a last try.
#7
04/25/2004 (6:37 am)
How patient are you? If you compiled in in debug mode (AKA you got an exe name torquedemo_debug.exe) the exe will run far slower than it does when you compile for release. As a result you will get what appears to be "doing nothing time" while the application is actually just running slow from being in debug mode. If you are impatient you may close the window before it done.
#8
04/25/2004 (7:08 am)
Oh thanks John,i set my desktop resolution to 1024*768 and the demo can run now.