Vc++ 6.0

  • Thread starter Thread starter mrmarcdee
  • Start date Start date
M

mrmarcdee

Guest
I am having some problems using VC++ 6.0 instead of 7.0. I have downloaded the prj converter and have converted the game_sdk file and opened it up ino vc++ 6.0. I then changed a couple of values to test it but then I got suck. The "My First Mod" documenation at valve-erc says change the active configuraion to "Relase HL2" In 6.0 here are two different Release HL2 selections, hl - win32 relase hl2, and client - win32 release hl2, I don' know which one to use.

Also on he documenaion is says goto build->build solution. On 6.0 here is no build solution, so I tried rebuild all and it gave me a bunch of canno find file errors and when I played the mod, he changes I made did no show up.

I tried rebuild all on both those active configurations, and have also tried build server.dll and build client.dll (it changes when I change the active configuration).
 
You need to build both releases hl = server.dll and client = client.dll
Then you need only to build the file in which you made changes.
As for the "cannot find file" errors, it doesn't matter, everyone is getting it and it doesn't mean anything if it starts compiling cpp's after that.

You can't see any changes because you have to manually copy the client.dll and server.dll from c_dll/release (for client) and dll/release (for server) folders, to the mymod\mymod\bin directory.
 
I got the file missing errors when i first compiled the client release. But after that it was gone. The client.dll was sucessfully made and everythign. But when ever i try to compile the hl release (for server.dll) it comes up with this...
" --------------------Configuration: hl - Win32 Release HL2--------------------
Error: Could not delete file "C:\WeaponMod\src\dlls\$(IntDir)\$(InputName)1.obj" : Access is denied.

server.dll - 1 error(s), 0 warning(s)"

How can i fix it?
 
Yah I seem to be getting that error too, so its not even creating the dlls
 
Well it looks like I've finally gotten MSVS C++ 6.0 to compile the SP SDK properly. If it looks like everything is kosher, I'll upoad the needed files somewhere so you guys can use them.
 
yes, if you could please, could you upload a "decrappified" version of the SDK files needed for us to start changing the code without messing with it too much. I tried to get it to work in VS 6.0 and I ran into all sorts of problems causing me to just give up until further notice...

It would really help :)
 
Here it is, just extract it to your mod folder, using folder names, or into a folder somewhere, using folder names, and copy and paste the files.

http://www.danceswithkleer.com/HL2SPSDK6.0Fix.zip


NOTE: This is just for the HL2 SP SDK setup. The zip contains the converted .sln workspace and project files, I've just modified the .dsp files to get them to build properly.

so.Suddenly at the link below, has done the same thing for MP. So if you need the workspace and project files for the HL2 MP SDK for MSVS C++ 6.0, you should be able to find it there.

You'll still get the same missing header files and such, but it compiles fine otherwise. Something is wacked with the Preprocessor definitions that I have yet to get worked out. It also won't copy over your files to your mod's bin folder. You'll need to add that step manually.

so.Suddenly from the verc forums has put up this page that has some pretty decent info on the process. You'll need to do the other things he mentions such as make sure you have SP5, etc.

http://hl2sdk.wolferix.de/index.php/Compiling

I hope it works as well for everyone else as it does for me. Let me know.
 
Back
Top