Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
BinToss opened this issue Mar 6, 2022 · 0 comments
Open
Labels
bug Something isn't working MCC Anything related to MCC p:LOW Low Priority

Comments

@BinToss
Copy link
Member

BinToss commented Mar 6, 2022

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

@BinToss BinToss changed the title Validate CEA ownership via a10.map instead of halo1.dll fix: halo1.dll might be part of base MCC and not indicative of CEA ownership Mar 6, 2022
@BinToss BinToss added the bug Something isn't working label Mar 6, 2022
@BinToss BinToss changed the title fix: halo1.dll might be part of base MCC and not indicative of CEA ownership halo1.dll might be part of base MCC and not indicative of CEA ownership Mar 6, 2022
@BinToss BinToss added p:LOW Low Priority MCC Anything related to MCC labels Mar 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working MCC Anything related to MCC p:LOW Low Priority
Projects
None yet
Development

No branches or pull requests

1 participant