Automatically patches Devil May Cry 4: Special Edition to run at your monitor's native resolution.
No hex editing, no manual config changes just run the exe.
- Detects your Steam install path from the registry
- Reads your primary monitor's native resolution
- Backs up
DevilMayCry4SpecialEdition.exebefore touching it - Patches the correct width bytes into the exe at the known offset
- Writes the matching
Resolution=line toconfig.ini - Verifies the patch was applied correctly
| Width | Hex value patched |
|---|---|
| 1280 | 00 05 00 00 |
| 1360 | 50 05 00 00 |
| 1440 | A0 05 00 00 |
| 1600 | 40 06 00 00 |
| 1920 | 80 07 00 00 |
| 2560 | 00 0A 00 00 |
| 3840 | 00 0F 00 00 |
Minimum supported width is 1280px.
Grab the latest DMC4SE-Patcher.exe from the Releases page.
Requires Python 3.8+ and pip.
build.bat
The output is dist\DMC4SE-Patcher.exe.
The patcher always deploys a known-good depot exe before patching, so the target offset is always 0x6790E7. It checks that the value there is the expected default (80 02 00 00) before writing, and reports an error if not.
A .bak backup is always created (or you'll be asked before overwriting an existing one).
If something goes wrong, rename DevilMayCry4SpecialEdition.exe.bak back to DevilMayCry4SpecialEdition.exe in the game folder. Or use Steam: Library > DMC4SE > Properties > Local Files > Verify integrity of game files.
All the hard work was done by LiandriS, who figured out the offsets and documented the fix: https://steamcommunity.com/app/329050/discussions/0/1291816880499283959/
Steam profile: https://steamcommunity.com/id/LiandriS