16c8023b28
Bump deps/GSL from `991fa66` to `c52bad3` |
||
---|---|---|
.github | ||
assets/github | ||
data | ||
deps | ||
src | ||
tools | ||
.gitattributes | ||
.gitignore | ||
.gitmodules | ||
appveyor.yml | ||
generate.bat | ||
LICENSE | ||
premake5.lua | ||
README.md |
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.
-
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.
-
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 deliveredgenerate.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.