Add fix for broken bsp pakfile loading

This commit is contained in:
xen 2025-02-24 01:27:43 +02:00
parent 0b9bfdf72f
commit dbbdf2418d

View File

@ -319,6 +319,14 @@ static struct SrcdsPatch
(unsigned char *)"\xEB\x0F\xE8\x69\xCE\xDA\xFF\x8B\x45\x08",
"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;