Jump to content

Max Payne Series Startup Hang Patch


About This File

Applies to latest versions of: Max Payne, Max Payne 2

 

This patch is intended to solve issues related to game engine initializing Direct3D inside DllMain, which most notably causes the game to hang during startup with certain combinations of graphics hardware and drivers. Additionally, it is impossible to run the game through dgVoodoo Direct3D 8 to 11 wrapper, because Direct3D 11 runtime refuses to initialize from DllMain to prevent lockups.

 

The patch will solve above mentioned issues and possibly other problems that might be related to Direct3D initialization inside DllMain by delaying actual initialization to the point when execution flow returns from LoadLibrary API, therefore preventing any sort of lockup that would occur otherwise.

 

No compatibility modes should be applied to game executables, as they usually create more problems than they solve. Starting the game with affinity set to single core also isn't required anymore and will only serve to slow the game down a little.


What's New in Version 1.01   See changelog

Released

  • Properly handle the case when DllMain returns FALSE.
  • Added Max Payne 2 executable that works with dgVoodoo + ReShade combination.




User Feedback

Recommended Comments

I'm sorry if this is a stupid question, but I downloaded the file, extracted it, but I don't see any installer. What exactly do I need to do to make this patch install and usable??

Share this comment


Link to comment
Share on other sites

On 7/26/2024 at 7:49 AM, chrome_wheelz said:

I'm sorry if this is a stupid question, but I downloaded the file, extracted it, but I don't see any installer. What exactly do I need to do to make this patch install and usable??

Try the ReadMe.txt which says this:

To install, simply extract contents of each game's folder into your own, overwriting original files.

 

Share this comment


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Found PCGamingWiki useful? Please consider making a Donation or visiting our Patreon.
  • Who's Online   0 Members, 0 Anonymous, 292 Guests (See full list)

    • There are no registered users currently online
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Member Statistics

    11,247
    Total Members
    3,870
    Most Online
    nemik42
    Newest Member
    nemik42
    Joined
×
×
  • Create New...