Report abuse Half-Life SDK v2.3 for Visual Studio 2008
Sep 22nd, 2009
1.22mb (1,280,184 bytes)
6,339 (3 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, 2:20pm says:

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

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

giant thx

+2 votes     reply to comment
_Erebus_ Sep 25 2009, 7:37pm says:


+2 votes     reply to comment
Danboe Sep 27 2009, 9:47am says:

Great! Opening up for more people.

+2 votes     reply to comment
Ichiman94 Oct 8 2009, 10:43am says:

BIG thx

+2 votes     reply to comment
TH4N3 Nov 22 2009, 3:21pm says:

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

+2 votes     reply to comment
CatsMeatsMan Dec 14 2009, 11:22am 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, 8:22pm replied:

They've already said that mod was a joke

+2 votes     reply to comment
mathewvq Dec 23 2009, 8:36pm 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, 12:49am 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, 1:02am replied:

Didn't botman do this a while back?

+2 votes     reply to comment
Gunship_Mark_II Mar 2 2010, 2:48pm says:


Thnx man!

+2 votes     reply to comment
TheGreatGonzo May 29 2010, 4:52am says:

lol this is made by Gary_McTaggart

+2 votes     reply to comment
Maxkhor95 Nov 7 2010, 9:44am 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, 5:14pm replied: +2 votes   reply to comment
Cheeezy Sep 25 2011, 7:21pm says:

I don't get it what does this do?

+1 vote     reply to comment
Gary_McTaggart Author
Gary_McTaggart Sep 27 2011, 8:38pm 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, 7:45am says:

how to make multiplayer changelevel2 ?

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

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

+1 vote     reply to comment
Aimforthehead Jun 14 2012, 12:20pm 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, 10:56pm 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, 12:15pm 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, 12:41pm 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, 10:54pm 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

Add Download
Members only
Report Abuse
Report download
MD5 Hash
Related Games
Half-Life Single & Multiplayer First Person Shooter
Related Engines
GoldSource Commercial Released Nov 17, 1998
Related Groups
Tesha Software
Tesha Software Developer & Publisher with 2 members
Valve Developer & Publisher