Game Development Community

TGEA 1.7.0 Beta 1 Bug - Compiling Stronghold

by Holger · in Torque Game Engine Advanced · 03/20/2008 (11:36 am) · 6 replies

Running the new (succesfully) compiled Stronghold demo will crash (Release)

Same effect as switching resolution of some gamedemos (already reported)

Compiled with VS 2008 Express

LOG:

Processor Init:
Intel (unknown, Pentium Pro/II/III family), ~2.40 Ghz
(timed at roughly 2.39 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

Initializing platform...
Input Init:
unknown0 input device created.
unknown1 input device created.
joystick0 input device created.
DirectInput enabled.

Done
--------- Loading DIRS ---------

--------- Parsing Arguments ---------
Reading Display Device information...
Primary Display Device Found:
Vendor Id: VEN_0000
Device Id: DEV_0000
Binding server port to default IP
UDP initialized on port 0
DirectX 9 version - 9.0.0 c
DirectX 8 version - 9.0,
Attempting to create GFX device: NVIDIA GeForce 8800 GTX (D3D9)
Device created, setting adapter and enumerating modes
GFXD3D9Device - using 'd3dx9_36.dll' for dynamic linking.
Cur. D3DDevice ref count=1
Pix version detected: 3.000000
Vert version detected: 3.000000
Maximum number of simultaneous samplers: 8
Initializing GFXCardProfiler (D3D9)
o Vendor : 'NVIDIA'
o Card : 'NVIDIA GeForce 8800 GTX'
o Version: '74.40'
- Scanning card capabilities...
- Loading card profiles...
- Loading card profile profile/D3D9.cs
- Loading card profile profile/D3D9.NVIDIA.cs
- No card profile profile/D3D9.NVIDIA.NVIDIAGeForce8800GTX.cs exists
- No card profile profile/D3D9.NVIDIA.NVIDIAGeForce8800GTX.7440.cs exists
Texture Manager
- Approx. Available VRAM: 997195776
- Threshold VRAM: 67108864
- Quality mode: high
% - Initialized Common

--------- Initializing Directory: scriptsAndAssets ---------
sfxStartup...
Provider: DirectSound
Device: Prim

#1
03/20/2008 (12:21 pm)
I can not confirm this one. As I have recompiled the stronghold build about 15 times now without any issues. Its also the bases for our game so I know its working just fine.

Thats compiled with VS 2008 Express
#2
03/20/2008 (2:24 pm)
I didn't say that the compilyng din't work.

I did compile fine - but to run the game would show the same effect as posted in this thread:

http://www.garagegames.com/mg/forums/result.thread.php?qt=73232
#3
03/20/2008 (2:44 pm)
Are you attempting to run it at full screen, in your native resolution?
#4
03/20/2008 (2:54 pm)
Don't know

Right from start of the game I will get the effect which was descibed here:

http://www.garagegames.com/mg/forums/result.thread.php?qt=73232

I could paste the complete log here because the line

GFXD3D9Device::beginScene - Device needs to be reset, resetting device...
--- Resetting D3D Device ---
GFXD3D9Device::beginScene - Device needs to be reset, resetting device...
--- Resetting D3D Device ---
GFXD3D9Device::beginScene - Device needs to be reset, resetting device...
--- Resetting D3D Device ---
GFXD3D9Device::beginScene - Device needs to be reset, resetting device...
--- Resetting D3D Device ---
GFXD3D9Device::beginScene - Device needs to be reset, resetting device...
--- Resetting D3D Device ---

is shown at the end of the log (more often as it is shown here).


Forgot to mention that I am running Windows XP (german)
#5
03/20/2008 (3:23 pm)
Try running the DeletePref.bat file and then starting up the example. If its just a miss set resolution then that should fix it by setting it back to the default 800x600 (Thats as long as your desktop resolution is not 800x600 )
#6
03/21/2008 (6:29 am)
Yes, that helped. I even could change the resolution to my desktop resolution (1680 x 1050)

Will try to compile the other examples I had also problems with.

thanks!