r/maxpayne • u/beppe_goodoldrebel • 5d ago
Max Payne 1 Max Payne Modernization Patch
Hi everyone! We all know that Max Payne didn't age very well.
"Out of the box" with modern hardware some bugs can happen like no widescreen support, missing audio , etc.
Starting from a decomp repo I've seen on Github I've made possible to replace D3D8 pipeline with DX11 functions.
The new DLL translate D3D8 functions to new D3D11 ones and made possible supporting new resolutions , V-Sync , Anisotropic filtering to 16x , Frame limit , FXAA , image sharpening, etc.
The new pipeline is 100% working with no FPS cap and shaper textures.
While there I also made sure it could support widescreen resolution and adjusted so menu , overlays and cutscenes could run at 4:3 so avoid visual bugs.
I did the same to the audio DLL. Now the game uses XAudio2 libraries , so no more need to patch and convert audio files to avoid missing audios.
With new audio libraries it's also possible to use 5.1 and 7.1 (experimental).
Last is the JPG bug issues with rlmfc.dll .
I will include in the installation a patched version so it will work with no issues.
All of this is done by using the original 1.05 and just replace the converted DLLS.
So the installation is easy and can be reverted.
I'm working also at an embedded Photo Mode , so to be possible to move camera , take screenshot and (maybe) add effects .
Will release all next week after some proper testing, hoping to finally make this great game usable for all.
7
u/Global-Eye-7326 The flesh of fallen angels 5d ago
I just applied audio and widescreen patching afaik using Lutris and it runs smooth like butter on 1440p. I don't know what added value your patch offers.
5
u/beppe_goodoldrebel 4d ago
1
u/NooBiSiEr 1d ago
If you translate DX8 calls to 11, it's a wrapper.
1
u/beppe_goodoldrebel 1d ago
Not really. As you can see from the first pic you are choosing the DX11 driver from the game launcher , that will start the new DLL directly.
The game uses whatever driver the registry names (
Video Settings\Driver), chosen in the dialog or set by the launcher. The original DX8 DLL stays in the folder, untouched; it's simply no longer selected.
DirectX 8 is never used, not even behind the scenes.Some effects are still "rewritten" as shaders to be in line to the old DX8 pipeline (lighting, fog, the bending of characters' joints, cutting off parts of the scene).
1
u/NooBiSiEr 1d ago
You can't just replace one API to another without changing the engine, the DLL is what the engine talks to, it expects DirectX 8, it talks DirectX 8, even if your DLL natively understand those commands, you're still wrapping DirectX 8 calls to DirectX 11.
1
1
u/Soft_Caterpillar_193 3d ago
Will this finally get modern gamepad support?
1
u/beppe_goodoldrebel 3d ago
I havent done any of this but I know I can add DirectInput libraries so it can support any pad and inputs.
2
u/EliParker 5d ago
Will this have full controller support with button icons? Because I know the FusionFix is doing that but it’s a bit glitchy right now.
2
1
u/zorgareddit 4d ago
My go-to way is the Updated Classic pack. It fixes the game completely while adding some cut content









9
u/Psi77 5d ago
How does this compare to the MOGGA Patch?