Skip to content

Always validate file integrity #36

@wroyca

Description

@wroyca

From discord

I discovered a launcher quirk related to re-checking IW4x client file hashes.

During the initial launch, the presence and checksums of all game client files are checked. Missing or inconsistent files on GitHub are downloaded and replaced. There are no issues with this.
The second launch doesn't check the hashes. If a file is present, it won't load even if it's not up to date with the release. There may be various reasons why files in the iw4x folder don't match the current release, but that's not the problem.

Yes, the easiest solution is to delete the "cache.json" file, and for someone with some experience, it's not a difficult task. But for general users, it can be an overwhelming process.

It seems to me that checking the contents of the iw4x folder and possibly ".\zone\patch" will not take much time on each launch, and will be a good solution.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions