Game Development Community

Modernization Kit Beta Thread 2

by ArmedGeek · in Torque Game Engine · 06/27/2007 (8:46 pm) · 344 replies

I think it is way past time to create a new thread for MK.

The original thread can be found here www.garagegames.com/mg/forums/result.thread.php?qt=58532

Modernization Kit website : tmk.superiorcode.com/
Username: torqueUser
Password: tMK60152
#161
09/29/2007 (2:41 am)
@Brandon - I been strugling with vc6 and at the end i downloaded vs2005, manually added ModernizationKit folder in Source code, deleted UnitTest folder and mktesting file, and everything compiled without errors.
#162
10/04/2007 (1:38 am)
Alright did all that, Now I know I am not using vs2005 I am useing express edition which is off from v8, so I downloaded the Platform SDK for windows and I still get this in the output window -

Output Window

Compiling...
winWindow.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winV2Video.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winTime.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winThread.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winStrings.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winSemaphore.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winRedbook.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winProcessControl.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winOpenAL.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winOGLVideo.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winNet.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMutex.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winMemory.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winInput.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winGLSpecial.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winGL.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winFont.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winFileio.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winDirectInput.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winDInputDevice.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Compiling...
winD3DVideo.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winCPUInfo.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
winConsole.cc
c:\torque\tge_1_5_2\engine\platformwin32\platformwin32.h(19) : fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
Generating Code...
Creating browse information file...
Microsoft Browse Information Maintenance Utility Version 8.00.50727
Copyright (C) Microsoft Corporation. All rights reserved.
BSCMAKE: error BK1506 : cannot open file '..\engine\out.vc7.debug\winConsole.sbr': No such file or directory
#163
10/04/2007 (1:41 am)
You need to set up your include directories, for the platform sdk.
#164
10/04/2007 (2:26 am)
How do I add those again, lol. No excuses, yet again its 530. And dont know my way around vs2005.
#165
10/04/2007 (2:33 am)
Tools -> Options -> Projects and Solutions -> VC++ Directories

Select "Include files" from the popup menu and add the paths to the Platform SDK include directories, which should look like the following:

C:\Program Files\Microsoft Platform SDK\Include

Next, select "Library files" from the popup menu and add the paths to the Platform SDK library directories, which should look like the following:

C:\Program Files\Microsoft Platform SDK\Lib
#166
10/04/2007 (2:49 am)
Did it, And now I get more then 40 errors and alot of warnings. This is large but here is the output window -.

http://www.bpendz.com/BuildLog.htm

(had to upload due to length)

What am I doing wrong.

1.5.2
VC2005 Express
Latest MK
#167
10/04/2007 (3:02 am)
The fact that you get so many errors is a good thing in a way :) It shows that the MK Kit is actually trying to compile now ;)

Maybe you should familiarize yourself with your IDE and C++ before trying to compile the MK.
#168
10/04/2007 (3:14 am)
Haha well the thing is is I had it working on 1.4, I am trying to get this on 1.5.2 now because of the lighting kit included and the fixes. I believe I know what I am doing wrong but will have to give it ago a bit later today, I am far to tired to even be on the computer. Thank you Tim I will tell you how it goes ha!

~Brandon
#169
10/04/2007 (4:06 am)
Shouldn't we have a "MK thread" and a "MK compile thread"?. Most of the content in the MK threads is compilation noise.
#170
10/04/2007 (12:14 pm)
^ No point in tracking 3 different threads especially since MK updates now seem unlikely in the future. Might as well use this one (easier to search through the page).
#171
10/05/2007 (2:07 pm)
Problems are too repetitive. We need to post a master solution that is easier for everyone to find.
#172
10/08/2007 (3:28 am)
Well, doesn't the MK have a website with wonderfull forums? That might be easier to handle different subjects concerning MK in the forums without having to discuss various different problems in the one and only (well, actually there are now two of them: one old and one new) MK thread on GG.
#173
10/08/2007 (3:42 am)
^ What's the guarantee that those wonderful forums will stay up forever and will recieve same attention from GG members who will most likely answer your questions here than over there?
#174
10/08/2007 (3:52 am)
@Nikhil: None. Those forums will stay up as long as there is enough trafic I reckon. The answers to the questions will be more to the point, according to me.

Nobody wants to wade through a generic 'MK Beta Thread 2' post when he's browing the forums. I guess people interested in the MK will have everything to gain to have the questions and information in a more granular way. I'm sure that will be benificial to all.

And the only thing we need to do is keep those forums active enough, and make some publicity for them here in this thread.
#175
10/24/2007 (8:53 am)
Ok... I have a problem here...

I compiled the modernization kit (I'm using Visual C++ Express btw), and managed to replace all the script files. When I run the demos, I get strange results. here's what I'm talking about :

cowness.forever.googlepages.com/tower.JPG
cowness.forever.googlepages.com/tower2.JPG

Any ideas??

I'm running an NVidia GeForce 6200FX. I had the same problem (strange looking artifacts) on an older computer (which had an ancient NVidia GeForceMX card on it).
#176
10/24/2007 (3:04 pm)
My guess is a driver problem. Try updating your drivers.
#177
10/29/2007 (10:40 pm)
Ooops... Forgot to delete the DSOs after updating the script files... silly me...

Problem solved...
#178
10/30/2007 (5:35 am)
Hi,
i'm having some troubles building TGE 1.5.2 with the MK, i get the following errors (arround 50 total all related):

Error 3 error C2440: 'initializing' : cannot convert from 'const wchar_t [22]' to 'const UTF16 *' c:\torque\tge_1_5_2.second\engine\platformwin32\winwindow.cc 34
Error 4 error C2440: 'initializing' : cannot convert from 'const wchar_t [16]' to 'UTF16 [256]' c:\torque\tge_1_5_2.second\engine\platformwin32\winwindow.cc 35
Error 5 error C2664: 'CreateMutexW' : cannot convert parameter 3 from 'UTF16 [512]' to 'LPCWSTR' c:\torque\tge_1_5_2.second\engine\platformwin32\winwindow.cc 110
Error 6 error C2664: 'CreateProcessW' : cannot convert parameter 1 from 'UTF16 [512]' to 'LPCWSTR' c:\torque\tge_1_5_2.second\engine\platformwin32\winwindow.cc 163

This is somekind of unicode conversion error.

I'm using VS2005 SP1 in Vista (running VS as admin).

Any ideas for what the problem could be ?

Thanks!
#179
10/30/2007 (1:46 pm)
@Koushik: What does your water look like?
#180
10/31/2007 (12:09 am)
Well, the water actually looked just as before (when the shaders weren't being applied)... no specular highlights as well... I just realized that the compiled scripts weren't calling the shader routines (they corresponded to the original TGE scripts)....

Once I removed the DSO files, everything was as it was supposed to be... Problem solved...