h2-mod icon indicating copy to clipboard operation
h2-mod copied to clipboard

Modification for H2 (MW2CR)

license open bugs Build Build status Discord

H2: Mod


Installation

NOTE: Cracked/Pirated versions of the game are NOT compatible with this mod, if you run such a version and have issues/crashes when running the client read Step 2.

  1. Download the latest release or develop build

  2. Drop the file in your Call of Duty: Modern Warfare 2 Campaign Remastered installation folder.
    If you don't have the game installed (or own a cracked/pirated copy of it) you can download it for free from the official Battle.Net servers using Battle.Net Installer and executing this command:

    .\bnetinstaller.exe --prod lazr --uid lazarus --lang enUS --dir "YOUR INSTALL PATH"
    

    Make sure to replace "YOUR INSTALL PATH" with an actual installation path of your choice.

  3. Run h2-mod.exe and make sure you press "YES" when asked whether to install updates.

Common issues

  • If you get crashes that show errors like "Create2DTexture(...) failed ..." or "IDXGISwapChain::Present failed: ..." when loading certain maps try:
    • Disabling shader preloading
    • Lowering graphics settings
    • Freeing up RAM (close programs)
    • Updating your GPU drivers

Compile from source

  • Clone the Git repo. Do NOT download it as ZIP, that won't work.

  • Update the submodules and run premake5 vs2019 or simply use the delivered generate.bat.

  • Build via solution file in build\h2-mod.sln.

    Premake arguments

    Argument Description
    --copy-to=PATH Optional, copy the EXE to a custom folder after build, define the path here if wanted.
    --dev-build Enable development builds of the client.

Disclaimer

This software has been created purely for the purposes of academic research. It is not intended to be used to attack other systems. Project maintainers are not responsible or liable for misuse of the software. Use responsibly.

Credits

This project is based on IW6x and S1x