You would need a copy of the non compiled
Source CodeVisual studio 6.0
service pack 5 for visual studio
and Processor Pack 5
(i have these two an can share them if you want I just need to find the Processor pack)(You may not need to do this part)
There is problem with SP5 setup under Vista/7... so expand "VS6sp5.exe" and open "sp598ent.stf", then go to line 29 and change:
13 Group 28 36 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
to:
13 Group 28 38 29 30 32 26 27 14 25 16 17 20 18 19 15 39 21 22 24 23 43
Fix "mshtml.h" file:
There is bug in one VS6.0 header file. Open "<VS60_Install_path>\VC98\include\mshtml.h" and go to line 13616 and change def. "__RPC_VAR" to "__RPC_FAR".
So, function IHTMLStyleSheet_put_title_Stub() should look like this:
void __RPC_STUB IHTMLStyleSheet_put_title_Stub(
IRpcStubBuffer *This,
IRpcChannelBuffer *_pRpcChannelBuffer,
PRPC_MESSAGE _pRpcMessage,
DWORD *_pdwStubPhase);
/* [id][propget] */ HRESULT STDMETHODCALLTYPE IHTMLStyleSheet_get_title_Proxy(
IHTMLStyleSheet __RPC_FAR * This,
/* [out][retval] */ BSTR __RPC_FAR *p);
To build all simply run "dev_build_all.bat" (Use "debug" or "d" parameter for debug build). Under Vista/7 few compatibility warnings will popup again...
If you get errors like "msdev is not a recognized command" or "vcvars32 is not a recognized command" you must add VC6.0 to your PATH sys. variable.
To (re)build single part of engine (i.e VGUI) run corresponding bat file (i.e. build_vgui2_dependents.bat) or open & build project file (i.e. vgui2\src\vgui_dll.dsp) in VS6.0.
Copy resource, scripts etc. form Half-Life 2 Anon Leak (be careful: source code is outdated and do not support v.37 models! So you will need to update model loader code or "downgrade" leaked models.)
And there you are, (At least thats what ive been told to do)
if everything renders as a wire-frame you'll need to rebuild the shaders
I got the tutorial from
Here. Idk if it works or not as I havent tried it myself