HaloSPV3/HXE

halo1.dll might be part of base MCC and not indicative of CEA ownership

BinToss opened this issue · 0 comments

halo1.dll might come with the base game for Multiplayer. The CEA campaign DLC obviously downloads the campaign map files, so they are what we want to look for.

Solution: Validate CEA ownership via a10.map instead of halo1.dll

Flexible validation could be done via file size and file data check.
0x32 : 0x61 0x31 0x30
0x64: 0x30 0x31 0x2E 0x30 0x33 0x2E 0x34 0x33 0x2E 0x30 0x30 0x30 0x30

const string name = "a10";
const string minVersion = "01.03.43.0000"; 
static bool isGreaterOrEqualToMinVersion(Version version)
{
    return 0 <= version.CompareTo(value: new Version(minVersion));
}

image