SnowyMouse / chimera

The update to Halo PC that never was
https://chimera.opencarnage.net
GNU General Public License v3.0
147 stars 27 forks source link

Patch the LAA flag of a copy of the current process' PE, then start anew #79

Open BinToss opened 3 years ago

BinToss commented 3 years ago
  1. Make a copy of HaloCE.exe/Halo.exe,
  2. Patch that file's LAA flag,
  3. Rename the current process's halo.exe/haloce.exe, adding a .orig.bak suffix and extension,
  4. Rename the copy to the original name.
  5. LAA patch the copy.
  6. Start a new process with the copy, using the current process's Working Directory and startup args.
  7. Wait for the sub-process to end before allowing the current process to end. This is particularly useful if another application starts Halo and checks if it ran successfully.