Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

I want to compile the Half Life 1 source code but I dont have Visual Studio 6 or 2002 or 2003. There are a few projects which have ported HL1s code to Visual Studio 2008 but they dont work.Any one know of any compilers that will compile it for Windows?

I am sorry if this seems a nooby question to ask, but I am new to the game development scene. I know I probably shouldn't be jumping into something so advanced, but I want a fun project.

If any one could point me in the right direction that would be great!

share|improve this question
    
Out of curiosity: why are you compiling it? Do you intend to mod it? –  Wackidev May 23 '12 at 0:44

1 Answer 1

up vote 3 down vote accepted

Yes, that's a good question - why exactly are you trying to recompile Half-Life?

If you intend to mod it, you may be able to find a modder community that has a cleaner base code that will compile easier. Think something like ioquake3, just for Half-Life instead.

If you're trying to just tinker with the source code and teach yourself how to program, then a much better bet would be to find a cleaner base code that's more updated. Excellent examples would be Half-Life 2, pulled directly from Valve through Steam, or, again, something like ioquake3. I was able to compile ioquake3 with absolutely zero work - I just downloaded it, opened it, and compiled it.

Really, I don't know how beneficial it is to try and clean up crusty old code. Beginners will learn much more by getting involved in the mod community. Experts would probably pull out their old Windows 98 machine, boot up VS6 and go from there ;-)

share|improve this answer
    
Ah thanks for the answer! :) I have tried Half Life 2 but VS 2005 keeps giving me error after error after error. Then if I do get it working its missing DLLS. Been on the Steam Support forum for that and no one has been able to help :( I might have better luck here when I have the inspiration to try it again! Thanks for the speedy reply! :D –  James Heald May 23 '12 at 1:04
    
Be careful about who you say that too, just having the Half Life 2's source code could get you in big trouble. –  Matt Jensen May 23 '12 at 1:49
    
Oops... I ment Source Engine. Sorry.. I was sort of half asleep when I made this thread. –  James Heald May 23 '12 at 8:16
    
You actually can get the HL2 source code by buying the game itself on Steam - they're big supporters of the mod community at Valve. –  Philip May 23 '12 at 11:58
    
Yeah, I have the whole orange box. Il fire up the SDK one of the days and see if I will be able to solve it. –  James Heald May 23 '12 at 18:24

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.