Game Development Community

Compile without errors. Locks up Windows.

by Jason Parker · in Torque Game Engine · 01/05/2009 (10:08 pm) · 3 replies

Just recently purchased the TGE 1.5.2 indie license and am getting set up for the first time.

I followed the instructions at http://tdn.garagegames.com/wiki/Torque/vs2k5 and compiled.

When I run either torqueDemo.exe or torqueDemo_DEBUG.exe, the entire Windows system locks up.

The console log ends abruptly at

--------- Initializing TTB: 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.
Video Init:

I've spent the last few hours searching the forums for a possible answer and have tried both Visual C++ 2008 Express and Visual C++ 2005 Express. With each VC++ version, I reinstalled the Torque SDK since 2008 had to convert the files.

As a side note, the entire TDN article I linked above should probably be updated. The original Visual C++ link in the article redirected to 2008, when the Article's title is specifically "Torque/vs2k5". From what I've gathered in my forum browsing and searching these last few hours, 2008 should probably work fine. Since I don't feel I'm the right person to rewrite the article, I updated only the link to Visual C++ 2005 Express to go directly to the Microsoft page that is still available for Visual C++ 2005 Express.

#1
01/05/2009 (11:19 pm)
I have narrowed down the issue to the video adapter drivers.

The problem occurred during the installation of Visual C++ 2008 Express. Either by coincidence, or something that VC++ 2k8 Express did, the video driver was damaged.

Running Dxdiag would lock the system. Running any 3d game would lock the system. Even trying to reinstall the video driver without uninstalling it first, would lock the system. After uninstalling the video driver in safe mode, restarting, then reinstalling the video driver in safe mode, everything was fine.

I now plan to test reinstalling Visual C++ 2008 to see if I can reproduce the issue, and will then submit a report to Microsoft...
#2
01/05/2009 (11:53 pm)
Well that sucks about the video problem, glad you got it figured out though. As for the Visual C++ 2005 express edition downloads I believe Microsoft pulled 2005 off their site and now only offer and support Visual C++ 2008 express edition for download.
#3
01/06/2009 (1:06 am)
Visual C++ 2005 Express Edition is no longer at the MSDN link, but at http://www.microsoft.com/express/2005/

Whether or not Microsoft provides support for it anymore, I do not know. I do know that registering it still works.