Named Game of the Year by over 50 publications, Valve's d├ębut title blends action and adventure with award-winning technology to create a frighteningly realistic world where players must think to survive. Also includes an exciting multiplayer mode that allows you to play against friends and enemies around the world.

Upload a file Report abuse Half-Life SDK v2.3 for Visual Studio 2008
Sep 22nd, 2009
1.22mb (1,280,184 bytes)
6,453 (1 today)
Embed Button
Download now

Last night I spent a few hours to make Half-Life source code to be compiled in Visual Studio 2008. It was very boring and tiresome work, so I think, publishing the results of this work would be very useful for those coders who want to deal with Half-Life SDK and use MSVC 2008 (which is modern and advanced and which you can legally download for free, unlike MSVC 6).


- Both client and server projects included in 'src_dll' solution. The solution smoothly and clearly compiling on VC 2008 and probably output DLLs are workable. :)

- I removed original VC6 DSPs and I am not sure you will be able to compile the SDK in VC6 at all. But you still can restore them from original SDK if you want.

- 'ARRAYSIZE' macro in 'engine\eiface.h' undefines a macro with the same name which defined in 'winnt.h'

- A strange 'warning C4482' disabled in the client project (seems to be not serious)

- Original 'common\com_model.h' replaced with its analog from QuakeWorld to allow access map surfaces, polygons, textures etc. Thanks to author of this file whoever he is.

- !!!IMPORTANT: 'HSPRITE' type on the client renamed to 'SpriteHandle_t' due to 'windef.h' which defined same-named type for itself. I hope you will like this new typename. :)


I discovered an error in 'dlls\effects.cpp' in line 430 which appears in Debug mode only:

> SetTouch( TriggerTouch );

must be replaced with:

> SetTouch( &CBeam::TriggerTouch );

Archive re-uploaded.

Preview Image
Half-Life SDK v2.3 for Visual Studio 2008
Post comment Comments
m82sniper Sep 24 2009 says:

Nice job, downloading now. I'll probably test it out this weekend. ^^

+2 votes     reply to comment
blasterox Sep 24 2009 says:

giant thx

+2 votes     reply to comment
_Erebus_ Sep 25 2009 says:


+2 votes     reply to comment
Danboe Sep 27 2009 says:

Great! Opening up for more people.

+2 votes     reply to comment
Ichiman94 Oct 8 2009 says:

BIG thx

+2 votes     reply to comment
TH4N3 Nov 22 2009 says:

Many many thanks, I am nub at coding, so this is greatly appreciated! :-)

+2 votes     reply to comment
CatsMeatsMan Dec 14 2009 says:

i'm actually glad about ppl saying this is nice, because this is released by the makers of BooM, the "so called" best hl mod ever.

+3 votes     reply to comment
TheDiddyHop Oct 18 2012 replied:

They've already said that mod was a joke

+2 votes     reply to comment
mathewvq Dec 23 2009 says:

Thank you so much for this. I hated working with that dang old compiler. If only someone would do this for a compiler like gcc/MingGW...

+2 votes     reply to comment
Dan911 Feb 17 2010 replied:

You should try doing that yourself, great learning experience. Also, thanks so much, i did a MUCH dirtier version of this a while ago, and this is a breath of fresh air

+2 votes     reply to comment
tschumann Apr 19 2010 replied:

Didn't botman do this a while back?

+2 votes     reply to comment
Gunship_Mark_II Mar 2 2010 says:


Thnx man!

+2 votes     reply to comment
TheGreatGonzo May 29 2010 says:

lol this is made by Gary_McTaggart

+2 votes     reply to comment
Maxkhor95 Nov 7 2010 says:

How to get Microsoft Visual Studio 2008, 11-99(Someone Need Assistance/Help)
Because i have to make new mod!!!

+2 votes     reply to comment
Gary_McTaggart Author
Gary_McTaggart Nov 13 2010 replied: +2 votes   reply to comment
notasinglenamedperso Sep 25 2011 says:

I don't get it what does this do?

+1 vote     reply to comment
Gary_McTaggart Author
Gary_McTaggart Sep 27 2011 replied:

I made fixes to make it possible to build it under MSVC 2008, cause if you try to compile original HLSDK you would get a lot of errors...

+1 vote   reply to comment
Peon501 Nov 5 2011 says:

how to make multiplayer changelevel2 ?

+1 vote     reply to comment
HalfLifeFTW3223 May 28 2012 says:

It says that sl_dlls and hl are unavailable. :( pls help.

+1 vote     reply to comment
Aimforthehead Jun 14 2012 says:

In Visual Studio beta 11 it says I need upgrades for 3 of the files, is it incompatible with 11? Do I need to go to 10 or 8?

+1 vote     reply to comment
newsuperyoshi Jun 28 2013 replied:

This version is for 2008, but it was created for earlier, you could in theory update, but 2008 is no longer an option, it seems to have gone off of MS servers.

+1 vote     reply to comment
Gary_McTaggart Author
Gary_McTaggart Nov 7 2013 replied:

This works fine with 2010... And there is the updated SDK from Valve now available on try this!

+1 vote   reply to comment
~X~ Nov 30 2012 says:

ARRAYSIZE and HSPRITE?? Is that all?? Lol, thanks, man! (never had VS2008 so your info will help me to provide my mod source to new VS users)

PS: Normal people (//NOTE: crossplatform programmers) already have all SetThink(&Class::Func) written this way ;) (that's a GCC requrement)

+2 votes     reply to comment
newsuperyoshi Jun 28 2013 says:

I have one thing I wish existed, one for 2010 or 2012. Still, huge mother truckin win!

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Windows, Mac, Linux, PS2, DC
Send Message
Release Date
Released 1998
Game Watch
Track this game
Report Abuse
Report download
MD5 Hash
Related Games
Half-Life Single & Multiplayer First Person Shooter
Related Engines
GoldSource Commercial Released 1998
Related Groups
Sierra Entertainment
Sierra Entertainment Developer & Publisher
Tesha Software
Tesha Software Developer & Publisher with 2 members
Valve Developer & Publisher with 6 members