Quote:
Originally Posted by Crasher_3637
MT has its own simple patching system that I implemented before finding out about SourceScramble.
|
Those looks quite convenient. Nice work
Also, thanks for detours description )) Will be useful for me at some point.
Harry, nice idea! Love it.
Forgetest, thanks for your work. L4D1 is tested and not functioning. It has completely different prototypes with arguments based on custom registers. Also, L4D1 Linux doesn't call those sig. It uses a [clone] function overload which, BTW, IDA provides an incorrect signature for. So, if somebody happened the same,
here are I parsed full list of the correct NIX sigs for L4D1/2.
I updated the gamedata and code for L4D1 Nix.
As for Windows, I didn't completely find out which CC is correct. DHook failed. I leave it closest to the correct as I think. Its prototype:
Code:
/* WIN: __userpurge CTankClaw::SweepFist@<eax>(_BYTE *a1@<ecx>, CTerrorWeapon a2@<edi>, int a3, int a4, float *a5) */
/* NIX: __usercall CTankClaw::SweepFist(CTerrorWeapon *a1@<eax>, float *a2@<edx>, float *a3) [clone] */
__________________