Skip to content

Error: "Not enough memory to run Metal Fatigue!" with > 2GB RAM (only seems to happen under Wine / Proton) #1

Description

@ChrisDeadman

The game reads dwTotalPhys, then compares that 32-bit value against 0x01E84800 using signed jge branch at file offset 0xB512. High memory values can wrap into the signed negative range.

The fix is to change the branch from signed jge to unsigned jae:

  • file offset: 0xB512
  • original byte: 0x7D
  • patched byte: 0x73

Maybe you could add that to the patch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions