What happens if you compile the leaked source code?
 

0 Пользователей и 1 Гость просматривают эту тему.

TheForgivenHacker

  • Citizen
  • *
  • Сообщений: 19
    • Просмотр профиля
I heard you get like a bumpy room in mat_fullbright 1 or sumthn. I heard it on this video:
at 11:53
-Edboy

Evan

  • True Citizen
  • *
  • Сообщений: 159
    • Просмотр профиля
Time Stamp: 11:54 (sorry didnt see that part until after)
I've seen this video too, but I still wonder if the leak provided on here is a copy of the original leak files or if they've been edited slightly

Edit: So looking to this, that only happens with the source code when compiled with visual studio 6
the leak here is a working compiled version of the leak
Отредактировано: 15 Июн 2019, 04:07:07 от Evan

TheForgivenHacker

  • Citizen
  • *
  • Сообщений: 19
    • Просмотр профиля
Thanks for the info Evan  :D, quick question tho, how would i go about compiling it? I know there's already a compiled one but im just curious on the whole process.
-Edboy

Evan

  • True Citizen
  • *
  • Сообщений: 159
    • Просмотр профиля
You would need a copy of the non compiled Source Code

Visual 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 43to:
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

Отредактировано: 16 Июн 2019, 20:57:30 от Evan

TheForgivenHacker

  • Citizen
  • *
  • Сообщений: 19
    • Просмотр профиля
well that's quite the process  !dodge anyway, it would be awesome if you could share the Visual Studio and the other thing as you said  :)
-Edboy

Evan

  • True Citizen
  • *
  • Сообщений: 159
    • Просмотр профиля
well that's quite the process  !dodge anyway, it would be awesome if you could share the Visual Studio and the other thing as you said  :)

Well turns out, I didnt look well enough at the copy of Visual studio I "borrowed" so to say the least, it doesn't work, sorry.

to say the most, its completely broken and stored in 7.isos and I couldnt get it to work at all, and even when I got it to install all the .dlls were broken.

TheForgivenHacker

  • Citizen
  • *
  • Сообщений: 19
    • Просмотр профиля
oh heck  !special
-Edboy