feat: add fix for broken bsp pakfile loading

Co-Authored-By: xen <24222257+xen-000@users.noreply.github.com>
This commit is contained in:
Rushaway 2025-02-24 08:32:12 +01:00
parent 88a8a50a1a
commit 84149c4df2

View File

@ -269,6 +269,14 @@ static struct SrcdsPatch
(unsigned char *)"\x90\x90\x90\x90\x90\x90\x90\x90\x90\x90\x8B\x03\x8B\x80",
"cstrike/bin/server_srv.so"
},
// 18: Remove weird filename handle check in CZipPackFile::GetFileInfo that broke loading mixed case files in bsp pakfiles
{
"_ZN12CZipPackFile11GetFileInfoEPKcRiRxS2_S2_Rt",
(unsigned char *)"\x75\x00\x8B\x09",
"x?xx",
(unsigned char *)"\x90\x90\x8B\x09",
"bin/dedicated_srv.so"
},
};
class CBaseEntity;