HL2 Source Code

Status
Not open for further replies.
There is definitaly some Quake related code in there (things like qboolean, the actual GLQuake header files, and the massive amounts of OpenGL calls), but there is also a huge amount of DX9 stuff.

Just search for Direct3DCreate9 and thats the entry point. I must admit, before viewing the acutal code I was thinking that this was definialty the SDK but now I'm not so sure. The SDK would not let mods call the DX9 API directly (or would it?), so I'm thinking this is definantly something stand alone. Is it HL2? Don't know, but the coding style is somewhat consistant through out most of the code (not counting the Havok stuff).

Another interesting note is that a Word file for the SDK of TalkBak is in there (according to it's logo it's a lip syn SDK). But the company LIPSinc closed down August 31st of 2002.

Just thought I would shoot out more info for everyone.
 
Okay, I've been reading through that code abit .. and it's very probably real.
Heck, just look at the vphysics part .. it's about raycasted vehicles (Gabe talked about this in an interview a while back)

If this is a fake, this is a very, very detailed fake. (and I'm inclined to think that it's real, as a coder myself)

Edit:
Good point, this might be the SDK.
And as far as I know modders will have alot of control over Source, as far as programming your own pixel shaders.
That might explain direct DX9 access.
 
someone supposedly compiled it and got hl2.exe and tf2.exe :eek:
of course they dont work
 
It looks real but diddent this "source code" come from a guy in the ***** clan? Was it not him that got hold of this? I just cant trust anything coming from that clan
 
Originally posted by BrianDubau
Another interesting note is that a Word file for the SDK of TalkBak is in there (according to it's logo it's a lip syn SDK). But the company LIPSinc closed down August 31st of 2002.

Just thought I would shoot out more info for everyone.
Introduction
Overview
The LIPSinc TalkBack Software Development Kit (SDK) is a library that provides automated lip-synching and speech gesture functionality for a variety of applications. This reference guide provides technical instruction on how to use TalkBack in these applications.
IMPORTANT: This guide contains information that is essential for proper TalkBack use. LIPSinc recommends that TalkBack users read this document in its entirety.
Could possibly be the library they use to syncronize models' lips as they speak?
 
There is too much stuff here to be fake, really.
I'm not going to spoil here in fear of the great admin .. but it seems TF2 has definite integration with Source .. and the code is very detailed.
If this is real, then this is quite a disaster for Valve.
 
As expected, the hl2.exe and tf2.exe files don't run after compiled, since I'm sure there's more that is missing. All the server/client dlls, exes, and a lot of other resources compile perfectly fine though.
And WorldCraft works fine also, as does the Hammer editor :)
Thursday, October 02, 2003 8:06 AM 200774 bsppack.dll
Thursday, October 02, 2003 8:06 AM 184388 bspzip.exe
Thursday, October 02, 2003 8:06 AM 86016 bugreporter.dll
Thursday, October 02, 2003 8:06 AM 1970240 engine.dll
Thursday, October 02, 2003 8:07 AM 1698896 engine.map
Thursday, October 02, 2003 8:07 AM 86109 FileSystem_Stdio.dll
Thursday, October 02, 2003 8:07 AM 94307 FileSystem_Steam.dll
Thursday, October 02, 2003 8:07 AM 180306 height2normal.exe
Thursday, October 02, 2003 8:07 AM 4 hlds.dat
Thursday, October 02, 2003 8:07 AM 127044 hlds.exe
Thursday, October 02, 2003 8:07 AM 806990 hlfaceposer.exe
Thursday, October 02, 2003 8:07 AM 368720 hlmv.exe
Thursday, October 02, 2003 8:07 AM 36930 launcher.dll
Thursday, October 02, 2003 8:07 AM 323662 MaterialSystem.dll
Thursday, October 02, 2003 8:07 AM 49152 newdat.exe
Thursday, October 02, 2003 8:07 AM <dir> phonemeextractors
Thursday, October 02, 2003 8:07 AM 962672 playback.exe
Thursday, October 02, 2003 8:07 AM 278528 scenemanager.exe
Thursday, October 02, 2003 8:07 AM 409600 ServerBrowser.dll
Thursday, October 02, 2003 8:07 AM 323584 shaderapidx9.dll
Thursday, October 02, 2003 8:07 AM 61530 shaderapiempty.dll
Thursday, October 02, 2003 8:07 AM 3420160 stdshader_dbg.dll
Thursday, October 02, 2003 8:07 AM 94208 stdshader_dx6.dll
Thursday, October 02, 2003 8:07 AM 53248 stdshader_dx7.dll
Thursday, October 02, 2003 8:07 AM 5238784 stdshader_dx8.dll
Thursday, October 02, 2003 8:07 AM 381002 studiomdl.exe
Thursday, October 02, 2003 8:07 AM 296009 studiomdl.map
Thursday, October 02, 2003 8:07 AM 274506 studiorender.dll
Thursday, October 02, 2003 8:07 AM 142331 studiorender.map
Thursday, October 02, 2003 8:07 AM 167996 tier0.dll
Thursday, October 02, 2003 8:07 AM 45120 unitlib.dll
Thursday, October 02, 2003 8:07 AM 30610 unitlib.map
Thursday, October 02, 2003 8:07 AM 45056 unittest.exe
Thursday, October 02, 2003 8:07 AM 40960 vaudio_miles.dll
Thursday, October 02, 2003 8:07 AM 507968 vbsp.exe
Thursday, October 02, 2003 8:07 AM 411304 vbsp.map
Thursday, October 02, 2003 8:07 AM 155720 vbspinfo.exe
Thursday, October 02, 2003 8:07 AM 148901 vbspinfo.map
Thursday, October 02, 2003 8:07 AM 200768 vgui2.dll
Thursday, October 02, 2003 8:07 AM 250531 vgui2.map
Thursday, October 02, 2003 8:07 AM 323662 vguimatsurface.dll
Thursday, October 02, 2003 8:07 AM 342127 vguimatsurface.map
Thursday, October 02, 2003 8:07 AM 790528 vphysics.dll
Thursday, October 02, 2003 8:07 AM 680681 vphysics.map
Thursday, October 02, 2003 8:07 AM 802893 vrad.dll
Thursday, October 02, 2003 8:07 AM 57417 vrad.exe
Thursday, October 02, 2003 8:08 AM 483432 vrad.map
Thursday, October 02, 2003 8:08 AM 69696 vstdlib.dll
Thursday, October 02, 2003 8:08 AM 73933 vstdlib.map
Thursday, October 02, 2003 8:08 AM 200789 vtex.dll
Thursday, October 02, 2003 8:08 AM 188480 vtex.exe
Thursday, October 02, 2003 8:08 AM 159814 vtf2tga.exe
Thursday, October 02, 2003 8:08 AM 421952 vvis.dll
Thursday, October 02, 2003 8:08 AM 40960 vvis.exe
Thursday, October 02, 2003 8:08 AM 309004 vvis.map
Thursday, October 02, 2003 8:08 AM 1847296 wc.exe
 
Enough of this now - I've already warned once. Stop posting information from the source code, that includes the results of your compiles. Failure to do so will result in......consequences.
 
I dont mean to question your reasoning but without reporting we'll never know if this is fake or not, can you not just leave the coders alone and let them post so we can determine.
 
Originally posted by droper
dumb fake code.

Have you read all of the code? Do you have any insight into how 3d engines work?

No, I didn't think so.
 
No, not really, because none of you have the right to even see this source code. If it's genuine, then it was illegally leaked. I'm awaiting a response from Valve about it - that'll be your confirmation.
 
Originally posted by PiMuRho
No, not really, because none of you have the right to even see this source code. If it's genuine, then it was illegally leaked. I'm awaiting a response from Valve about it - that'll be your confirmation.
Good idea, perhaps you should put a lock on the "HL2 Source leaked!" threads?
Everybody knows it by now .. no need for more people to post bits & pieces of that code here.
And just wait Valve confirms/denies the leak..

I fear for the worst :(
 
God, I pray this is the sdk.
I'm not a programmer, but if valve was going to release the sdk, would it also release this code bit with it? Because then it wouldn't be that bad, since valve intended to release sdk anyway.
 
The HL SDK contained the code for the game DLLs. This is the code for everything
 
No, freddy, I highly doubt they'd release this with it... This is a sad day for the fans as well as Valve.
 
Wow if this is the real code, that sucks.

But what is TF2 doing in there? and isnt it a bit too small to be the full source?
 
I really don't think this is just an SDK ... an SDK normally only has the required libraries to make additional addons for a game. This code actually compiles the client and server dlls, and the game's executables... Including the engine. That is not normal for an SDK, especially for a game like this (consider the HL1 SDK was about 75mb, and had a lot of code that could be used for mods, but did not have source code for the engine, whereas this archive does.) Hell, even readme files and library documents are still in this archive, with no documentation describing the proprietary code, which leads me to believe that it is code meant only for the developers of the game, not a 3rd-party developer.
 
Originally posted by SmcS
Good idea, perhaps you should put a lock on the "HL2 Source leaked!" threads?
Everybody knows it by now .. no need for more people to post bits & pieces of that code here.
And just wait Valve confirms/denies the leak..

I fear for the worst :(
Fair enough on posting the actual code but wouldn't be okay if we continue to talk about it? I mean, it's important HL2 news right now.. IMO - fake or not.
 
Reply:

If it is fake which I don't think at this point, damn good job. And sadly it is news. Seems like it could ruin alot of things but stuff like this seems to happen alot. :(
 
delete this out of respect for valve and make a sticky about how you can't post info on how to get or info from the leaked code

anything else is stupid
 
I'm allowing discussion of the broad topic, because as you say, it's HL2 news, good or ill.

What I don't want to see are specifics - code snippets, spoilers, etc.
 
SDKs typically do not contain source code for anything other than examples.
 
Originally posted by PiMuRho
I'm allowing discussion of the broad topic, because as you say, it's HL2 news, good or ill.

What I don't want to see are specifics - code snippets, spoilers, etc.

That's fair. You should probably ban anyone that posts any sort of code from this alleged leak.. I mean, this site could come under fire for it - ya never know.
 
We should be able to talk about it without posting anything "not legal"
Everyone here is worried about this so why cant we talk about it?

Edit: ops sry I diddent see the reply
 
I'd like to add that I looked at the code at a friends house.. didn't download it or anything.. since that would be.. umm.. wrong

Anyways.. this isn't the SDK. At least not a public SDK. Some folders were divided into "public" and "private". And the "private" content is also included. In the private audio folder for example.. there was what looked like complete audio processing routines for voice analyzing and stuff like that. Valve would never release that into a public SDK.
 
if its real wont valve want to release the game.
The more time ppl ghave the code the more damage they can do.
Funny turn of events.All for a simple game...
 
Originally posted by Tropico
if its real wont valve want to release the game.
The more time ppl ghave the code the more damage they can do.
Funny turn of events.All for a simple game...

Stupid false remark. They'll just code some security.
 
As well as the phoneme lib ... The library was required to write the game, but if this were a SDK, then they would have only included the library files, not the entire source code for it.

I read more about that library actually... It's a library that creates the movement of 3d models for speech (ie: bone movement, and natural changes in the look of a face based on that movement.) It just analyzes an audio file and generates the facial movement from that.
 
Either way i´m not coming back to the forum untill the game is out.
So much crap and evil about a game.
see you all in november
 
Originally posted by Tropico
Either way i´m not coming back to the forum untill the game is out.
So much crap and evil about a game.
see you all in november

You mean in January, right?

Anyway, the best thing valve could do if this is genuine is to say that this is just a very complete SDK of some kind... but I doubt it will change anything.
 
Naw, the best thing they could do is throw the bloody leaker into a pit of snarks :)
 
Originally posted by vacs
You mean in January, right?

Anyway, the best thing valve could do if this is genuine is to say that this is just a very complete SDK of some kind... but I doubt it will change anything.

or finish the damn game so people lose interest.

the problem is there are a bazillion people all waiting for this game to come out...and they immerse themselves in any bit of news. this is news...so people dick around and look at the code.

a huge chunk of people woudln't even consider downloading the code if they had the game to play :\
 
Just out of interest, has it ever happened that someone in a company leaked the source code (before the product was done / ever)?
 
I know nothing about Coding, just a player. Im guessing that this could be the start of a bad bad era.

Ill try to avoid this thread, until Valve decides to confirm this.

Ill keep playing BF... that will keep me away...maybe..
 
Status
Not open for further replies.
Back
Top