Difference between revisions of "Max Payne"

From PCGamingWiki, the wiki about fixing PC games
(Reshade/SweetFX doesn't work)
(Issues unresolved: MSAA info)
Line 358: Line 358:
 
==Issues unresolved==
 
==Issues unresolved==
 
===There are visible polygon seams when running under Windows 10===
 
===There are visible polygon seams when running under Windows 10===
{{ii}} When the game is running under Windows 10 there are a lot of visible polygon seams when both Hardware T&L and MSAA (any type) enabled. The only known workaround to this is to disable one of these options or use supersampling (use Nvidia Inspector for Nvidia Cards).
+
{{ii}} When the game is running under Windows 10 there are a lot of visible polygon seams when both Hardware T&L and MSAA (any type) enabled. The only known workarounds is to disable Anti-aliasing (MSAA) in the launcher and force MSAA through the GPU's control Panel, or use supersampling (use Nvidia Inspector for Nvidia Cards).
  
 
==Issues fixed==
 
==Issues fixed==

Revision as of 03:23, 19 July 2021

Max Payne
Max Payne cover
Developers
Remedy Entertainment
Mac OS (Classic) Feral Interactive
macOS (OS X) Westlake Interactive[1]
Publishers
Windows (Past) Gathering of Developers
Windows (Current) Rockstar Games
Mac OS MacSoft
Russia 1C-SoftClub
Engines
MAX-FX
Release dates
Windows July 23, 2001
Mac OS (Classic) July 16, 2002
macOS (OS X) July 16, 2002
Reception
Metacritic 89
IGDB 74
Taxonomy
Microtransactions None
Modes Singleplayer
Pacing Real-time
Perspectives Third-person
Controls Direct control
Genres Action, Shooter
Art styles Realistic
Themes North America, Contemporary
Series Max Payne
Max Payne on IGDB
Max Payne guide on StrategyWiki
Max Payne on MobyGames
Max Payne on Wikipedia
Max Payne
Max Payne 2001
Max Payne 2: The Fall of Max Payne 2003
Max Payne 3 2012

Key points

Some sounds are missing on Windows Vista and later. See Missing audio.
Unofficial startup hang patch should be applied to prevent the game from locking up during startup.
The game does not work on Ryzen Zen 2-based processors.[2] See JPEG errors on AMD Zen 2-based CPUs.

General information

Max Payne Wiki
Steam Community Discussions

Availability

SafeDisc retail DRM no longer functions properly on Windows Vista and later (see above for affected versions).
Demo
A faithful higher quality icons for Max Payne and Max Payne 2: The Fall Of Max Payne can be found here. You must be logged in to download.
Max Payne 1 + 2 Doppelpack, available in Germany, is DRM-free for both Max Payne 1 and 2.[citation needed]

Essential improvements

Patches

The latest official patch v1.05 is available at community.pcgamingwiki.com and at soggi.org. The Steam version is already patched.

Peixoto's patch

  • Fixes missing audio on cutscenes and in some areas
  • Forced vsync - which is not possible via driver on Direct3D8\Windows 10 anymore - also prevents some bugs
  • Forced resolution solves some artifacts on the edges of polygons and allows super sampling anti aliasing

Unofficial patches

Startup hang patch
Max Payne Fix It All A combined patch with ThirteenAG's Widescreen Fix, Direct X 9 wrappers for Vsync, and a sound fix.
Max Payne 1, Complete FixPack A combined patch with ThirteenAG's Widescreen Fix, a high-res texture pack, and different options for video wrappers and sound fixes.

Skip intro videos

Launch the game with the -skipstartup parameter[citation needed]

Skip Launcher

Launch the game with the -nodialog parameter[5]

Max Payne Remastered

HD texture pack using ESRGAN, an upscaling method that takes a low-res image and adds realistic details to it.

Game data

In-game general settings.
In-game general settings.

Configuration file(s) location

System Location
Windows HKEY_CURRENT_USER\Software\Remedy Entertainment\Max Payne\
Mac OS (Classic)
macOS (OS X)
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/12140/pfx/[Note 2]

Save game data location

System Location
Windows %USERPROFILE%\Documents\Max Payne Savegames\
Mac OS (Classic) {Boot}:Documents:Max Payne Saved Games or user's Documents folder
macOS (OS X) ~/Documents/Max Payne Saved Games/
Steam Play (Linux) <Steam-folder>/steamapps/compatdata/12140/pfx/[Note 2]
10 save slots + 2 quicksave slots + 1 autosave slot available.

Save game cloud syncing

System Native Notes
Steam Cloud

Video

Launcher general settings.
Launcher general settings.
Launcher advanced settings.
Launcher advanced settings.
In-game video settings.
In-game video settings.

Graphics feature State WSGF Notes
Widescreen resolution
Use ThirteenAG's fix.
Multi-monitor
Ultra-widescreen
Use ThirteenAG's fix.
4K Ultra HD
Use ThirteenAG's fix.
Field of view (FOV)
See Field of view (FOV).
Windowed
Toggle with Alt+ Enter or use the -window parameter.
Borderless fullscreen windowed
See Borderless fullscreen windowed.
Anisotropic filtering (AF)
Can be improved by forcing 16x in the graphics card control panel.
Anti-aliasing (AA)
Up to 8x MSAA.
Vertical sync (Vsync)
Always enabled. See Vertical sync (Vsync) on Windows 10.
60 FPS
120+ FPS
Uncapped frame rate breaks physics.[6] See Game breaking bugs at high frame rate. Game appears to be completable when locked to 144 fps.

Field of view (FOV)

Set FOV with widescreen fix[citation needed]
  1. Install ThirteenAG's fix.
  2. Edit MaxPayne.WidescreenFix.ini.
  3. Set FOVFactor to the desired value (capped at around 1.43).

Notes

It might turn the nightmare levels unplayable, since these sections of the game already alter the camera FOV.

Borderless fullscreen windowed

Force borderless fullscreen[citation needed]
  1. Download and run DxWnd.
  2. Click on Edit, then Add.
  3. Set the Path to <path-to-game>\maxpayne.exe.
  4. Set Desktop for borderless fullscreen windowed.
  5. Click on DirectX tab, set DirectX 8.
  6. Click OK, then File and Save.

Vertical sync (Vsync)

Using Vsync on modern systems (Windows 10+) requires a workaround.
Activate d3d8to9 in Widescreen Fix[7]
  1. Download ThirteenAG's fix.
  2. Copy all contents to the installation folder.
  3. Open global.ini in the scripts folder.
  4. Change UseD3D8to9=0 to UseD3D8to9=1.
Use d3d8to9 by itself[7]
  1. Download d3d8to9.
  2. Copy d3d8.dll to the installation folder.

Input

In-game key map settings.
In-game key map settings.
In-game mouse settings.
In-game mouse settings.

Keyboard and mouse State Notes
Remapping
Mouse acceleration
Mouse sensitivity
Mouse input in menus
Mouse Y-axis inversion
Controller
Controller support
See the glossary page for potential workarounds.

Audio

In-game audio settings.
In-game audio settings.

Audio feature State Notes
Separate volume controls
Music, Effects
Surround sound
Up to 7.0 output with DirectSound3D restoration software.
Subtitles
Cutscenes only, not in-game voices and intro.
Closed captions
Mute on focus lost
EAX support
DirectSound3D.[8]

Localizations

Some regions only have certain languages available. All audio languages can be downloaded from here.
Language UI Audio Sub Notes
English
French
German
Italian
Polish
Retail only. Patch for digital release here (indirect sound included) or subs only
Brazilian Portuguese
Retail only. Patch for digital release here.
Russian
Retail only. Patch for digital release here.
Spanish
Retail only. Patch for digital release here.
Turkish
Fan translation. Details missing—please edit this page and add it.

Issues unresolved

There are visible polygon seams when running under Windows 10

When the game is running under Windows 10 there are a lot of visible polygon seams when both Hardware T&L and MSAA (any type) enabled. The only known workarounds is to disable Anti-aliasing (MSAA) in the launcher and force MSAA through the GPU's control Panel, or use supersampling (use Nvidia Inspector for Nvidia Cards).

Issues fixed

Corrupted files in the French version

The French Steam version of Max Payne has corrupted files, with the error message Invalid Data Read from R_memory File("part1_level1b). Reports indicate issues with the files x_level1.ras, x_level2.ras and x_level3.ras
To solve the crash
  1. Download the file.
  2. Copy/past the content in the game folder.

Installer fails on Windows 7 64-bit and later (Retail)

Default installer on disc root is 16-bit.
Run from setup[9]
  1. Run Disk1\setup.exe from the disc instead.
  2. Click Yes on prompts regarding not enough memory and install anyway.

Missing audio

Use IndirectSound[10]
Restores DirectSound (better quality).
Use Creative Lab's ALchemy Software[11]
  1. Download and install ALchemy.
  2. Launch ALchemy.
  3. Add a new Profile (skip to Step 11 if using retail version of the game).
  4. Name it "MaxPayne".
  5. Select Use Game Path and navigate to Max Payne's install directory.
  6. Set Buffers to 4.
  7. Set Duration to 25.
  8. Set Max Voice Count to 128.
  9. Click OK.
  10. Click the newly created profile and then click ">>" to enable it.
  11. Close ALchemy and play.

Notes

Even better quality DirectSound wrapper to use with Creative cards as well as others.
The Max Payne profile will automatically show up in ALchemy when using retail version of the game.
If you encounter random stuttering after applying the fix, try moving your game folder to an SSD.
Use an unofficial patch[12]
  1. Download the unofficial patch.
  2. Extract the contents to the installation folder.
  3. Run MaxBatch.bat.
  4. Follow the on-screen instructions.
Relies on automated lossy sound files recompression into other format.

The launcher does not start

Run the game in compatibility mode for Windows 98 / Me[citation needed]

JPEG errors on AMD Zen 2-based CPUs

Use a fixed rlmfc.dll[13]
  1. Download this file.
  2. Extract it in <path-to-game> and overwrite rlmfc.dll.
Instructions to do the fix manually here.

Game crashes or videos fail to load

Run the game in compatibility mode for Windows 98/Windows Me[citation needed]

Error: setFullscreen - creating the device failed: E_FAIL

Use ThirteenAG's fix[citation needed]

Exception in engineInit: Unable to load save game "Files"

Reinstall the game on the C: drive[citation needed]

Exception in startupInit: Directory \data not found

Move the game to a folder without spaces[citation needed]

Reinstall the game to a folder without spaces in the folder path (e.g. C:\Games\MaxPayne).

Disable anti-aliasing[citation needed]
(Steam) Move the game to a folder without spaces[citation needed]
  1. Set up a new Steam library folder without spaces in the folder path (e.g. C:\Steam).
  2. Remove the game and install it to the new Steam library folder.
  3. Go to that folder and go into SteamApps\common.
  4. Rename the Max Payne folder to MaxPayne.
  5. Go back to the SteamApps folder and open appmanifest_12140.acf with a text editor.
    • If Windows Notepad can't read it, use another text editor like Notepad++.
  6. Change the line "installdir" "Max Payne" to "installdir" "MaxPayne"
  7. Restart Steam.
  8. If needed, run the game in compatibility mode for Windows 98 / Me.

Game won't launch, shows up in task manager, white screen

Use the unofficial Startup hang patch[citation needed]
Run the game in compatibility mode for Windows 98 / Me[citation needed]
Skip the intro or delete it in the game folder[citation needed]
See Force CPU affinity to run the game on one core[citation needed]
Roll back AMD Catalyst drivers to 12.6 from here[citation needed]

Game breaking bugs at high frame rate

An extremely high uncapped frame rate reduces your shootdodge and jump distance and may make some areas unfinishable.
d3d8to9 already engages game's built-in vsync. Use d3d9 wrapper only if you need to cap the frame rate to lower than your display's refresh rate. Alternatively, you can lower the display's refresh rate.
Use Widescreen Fix and d3d9 wrapper[7]
  1. Download ThirteenAG's fix.
  2. Copy all contents to the installation folder.
  3. Open global.ini in the scripts folder.
  4. Change UseD3D8to9=0 to UseD3D8to9=1.
  5. Download d3d9 wrapper.
  6. Copy the contents to the installation folder.
  7. Open d3d9.ini.
  8. In FPSLimit = change 0 to your desired number.
Use d3d8to9 and d3d9 wrapper[7]
  1. Download d3d8to9.
  2. Copy d3d8.dll to the installation folder.
  3. Download d3d9 wrapper.
  4. Copy the contents to the installation folder.
  5. Open d3d9.ini.
  6. In FPSLimit = change 0 to your desired number.

Reshade/SweetFX doesn't work

This problem occurs when using the Thirteen AG Widescreen Patch.
Use the d3d8to9 wrapper[citation needed]
  1. Open global.ini in the scripts folder.
  2. Change UseD3D8to9=0 to UseD3D8to9=1.
  3. Install ReShade or SweetFX as DirectX 9.
remove dinput8.dll or rename it to d3d8.dll

VR support

3D modes Native Notes
vorpX
G3D
Requires D3D8to9 wrapper, see vorpx forum profile introduction.
Devices Native Notes
Novint Falcon

Other information

API

Technical specs Supported Notes
Direct3D 7, 8 Direct3D 7 in cutscenes only. Everything else is in Direct3D 8.
OpenGL
Mac OS only.
Shader Model support 1.1
ExecutablePPC 32-bit 64-bitARM Notes
Windows
macOS (OS X)
PowerPC applies for retail version only. ARM aplies for Mac App Store version only.

Middleware

Middleware Notes
Audio DirectSound3D

Command line arguments

See command line arguments on how to use the following options.
Parameter Description
-screenshot Enables F10 for taking screen shots. Screen shots are saved to the "screenshots" folder in the Max Payne installation folder.
-nodialog Skips the Max Payne startup dialog when loading the game (uses options previously set).
-skipstartup Skips the startup video.
-disable3dpreloads If the system runs out of texture memory while loading a level, this option may prevent the game from crashing due to a driver error.
-window Runs the game in a windowed mode, in the resolution selected from the Max Payne launch dialog. Not all 3d accelerators support running in a windowed mode.
-novidmemcheck Disables the video memory check at the start of the game.
-developer Enables "developer mode", including console (toggled with F12).
-developerkeys Enables special developer keys. Requires developer mode. Using developer keys can break the game flow.
-showprogress Shows extended loading information. Requires developer mode.
-profile Enables in-game profiler. Toggle profile with F11, and see console aliases for profiling options.

System requirements

Windows
Minimum Recommended
Operating system (OS) 95 OSR2
Processor (CPU) 450 MHz
System memory (RAM) 96 MB
Hard disk drive (HDD) 530 MB
Video card (GPU) 16 MB of VRAM
DirectX 8.0 compatible
Sound (audio device) DirectSound compatible
Mac OS
Minimum Recommended
Operating system (OS) 9.1
Processor (CPU) PowerPC G3 400 MHz
System memory (RAM) 128 MB
Hard disk drive (HDD) 900 MB
Video card (GPU) OpenGL compatible
16 MB of VRAM
macOS (OS X)
Minimum
Operating system (OS) 10.2
Processor (CPU) PowerPC G3 400 MHz
System memory (RAM) 128 MB
Hard disk drive (HDD) 900 MB
Video card (GPU) OpenGL compatible
16 MB of VRAM

Notes

  1. SafeDisc retail DRM does not work on Windows 10[3] and is disabled by default on Windows Vista, Windows 7, Windows 8, and Windows 8.1 when the KB3086255 update is installed.[4]
  2. 2.0 2.1 File/folder structure within this directory reflects the path(s) listed for Windows and/or Steam game data (use Wine regedit to access Windows registry paths). Games with Steam Cloud support may store data in ~/.steam/steam/userdata/<user-id>/12140/ in addition to or instead of this directory. The app ID (12140) may differ in some cases. Treat backslashes as forward slashes. See the glossary page for details.

References