Max Payne
Ocen: 541
-Ultimate Max Payne(1) Sound Fix for Windows Vista/7/8/10-
Autorstwa: darkje
This guide will help fixing the sound issues users are having with Max Payne(1) in windows Vista/7/8/10
5
7
38
2
4
2
   
Przyznaj nagrodę
Ulubione
Ulubione
Usuń z ulubionych
Introduction
Hi,

I'm the orignal author of the -Max Payne(1) Vista Sound Fix-, posted[forums.3drealms.com] in the 3drealms forums years ago when Vista was released and the Max Payne(1) sound issue first surfaced.

The main issue is that if you install Max Payne (1) on Vista or Windows7/8/10 you will probably notice that most music, intro sound, cut-scene talks and many of the original in game sounds are missing. The old fix attempted to fix that, by converting the original sounds to a format that does play right in Vista/Windows7/8/10, but it had some flaws, like leaving the game in an unpacked state, and not being compatible with mods.

So, I picked up development of the fix again after a long period of silence, with the goal to make it work for everyone, including Steam and Windows7/8/10 users and others.

I posted my fix on the steam user forums[web.archive.org] (spuf) too, and supported it there. But since these forums have been closed now, I'm reposting here in the new steam forum and as a steam guide.

The fix's main function -the conversion part- will unpack the game using the tools provided on the max payne cd release, ras-maker (it's spelled without the dash, but somehow the forums won't allow me to say 'rasmaker', so i'll use a dash from now on)and the rl.dll that belongs with it. It looks for and converts the sounds from the various formats found to 8bit unsigned sounds, of a quality simmilar to the original sounds using SOX -an opensource sound conversion tool-. After that is done, the game is repacked again using ras-maker. The fix also has a lot of other functions, like checking if the game is complete and converting and managing mods.

Edit:
IMPORTANT UPDATE
While this fix will probably keep working, I made a newer one including the highres textures by Gaiver74 and all fixes included in this FixItAll, updated to all the latest versions with an easy to use installer.
https://gtm.you1.cn/sharedfiles/filedetails/?id=1633394421
I'm not going to take away the old guides, they will still work, but it's probably better to install the newer one.
Downloads
The Soundpatch
Main download: (updated 04-Apr-2012, Release 1.12)
Max Payne Soundpatch v1.12[drive.google.com], 396 KB (405,714 bytes)

alternate adress:
Max Payne Soundpatch v1.12[www.filedropper.com], 396 KB (405,714 bytes)

Pre-Converted files (English)
It is preferable you use the Soundpatch above, but if you somehow you can't or don't want to patch your own files or run scripts I have two versions of the pre-converted files for you:
- the 3 files packed in one big rar, you need to unpack them in your game directory.
https://drive.google.com/open?id=0Byxv4BMtWd2yWWY2bFBRY1F4aUE, 295 MB (308,858,076 bytes)
- Three loose .ras files, no need to unpack or do anything else than just dropping them in your game directory, overwriting the ones there.
https://drive.google.com/file/d/0Byxv4BMtWd2yREFTU3R6UEtVaG8/view?usp=sharing, 144 MB (151,433,969 bytes)
https://drive.google.com/open?id=0Byxv4BMtWd2yZHE4Q2hSbEZzSVE, 394 MB (412,658,843 bytes)
https://drive.google.com/open?id=0Byxv4BMtWd2yQ2hidXpRdzBvTk0, 273 MB (286,777,161 bytes)
Instructions for use
After you installed the game and downloaded the fix, basically all you have to do is:
  1. Extract the fix to your game directory, this is usually located in your steam folder at 'c:\steam\steamapps\common\max payne'. You will need to use winrar, 7-zip or something similar for this.


  2. Now browse to your game directory using windows file explorer and double-click the fix's main file: MaxBatch. A green screen should appear, indicating all files needed for conversion are found. If you are met by a red screen the fix could not find all needed files or the game might be incomplete, what is wrong exactly will be indicated. In some cases converting is still possible, even with a red screen.


  3. Use the ([C] - Convert game.) option and wait a few minutes for it to finish. Three files are going to be converted, so be patient if on an older machine. When it's done a big FINISHED message is displayed.


  4. Press a key to continue and use the ([L] - Launch game.) option to play. You can also use ([E] - End.) option at this point to end the fix, and launch the game like you normally would, there is no need to launch it from the fix itself.
Robin-169 posted an excellent multilingual guide in English, German and Norwegian on installing and using the patch in a steam guide you can find here.

Restore Option
All files modified are automatically backed up, so if you want to restore the game to it's original state you can run the fix again and use the '[R] - Restore game to unconverted' option or use steam's verify game option to re-download. The next time you run maxbatch after using verify, it will recognize you did and sync it's backups to that.

Other options
There are some more options available in the main screen.
You can access a mod conversion screen, to convert mods that have missing sounds. Basically it works the same as the game conversion. It has some options for batch conversion of multiple mods, excluding certain mods from conversion, backup and restore options are also available. After a mod conversion is done the result will be checked for changes compared to the original, if no sounds were found the mod will automatically be excluded from further batch conversions, to save time. For some more remarks about that see the mods section of this guide.
There is a 'Start analyses again' option, that can be used if you had the red screen and putted the missing files in place now, the analyses will be redone and show you if it's okay now.
Debug level is normally at 0 but can be set to 1 or 2 in case of trouble and is used to make the fix more verbose, it will show more info about what it's doing, but be aware it might also take more time to complete. Normally you would not need to use this.
References
You can read more about the origin and conception of the soundpatch here:
click[www.alanwake.com]
and here: click[forums.3drealms.com]
and also in the old spuf thread here: click[web.archive.org]
Playing Max in another language
I've been collecting Max Payne language files for a long time and made my collection available for download. So you can play the game in your preferred language too. Thanks to all people that send me their language files. If you find any language that is not here please send them to me so I can put them in this list.

For Max Payne (1) I got: Czech, English, French, German, Italian, Japanese, Polish, Portuguese, Russian, Slovenian and Spanish.
A guide to the files and installing them is here:
http://gtm.you1.cn/sharedfiles/filedetails/?id=945245625

For Max Payne (2) I got: English, French, German, Italian, Russian and Spanish.
A guide to the files and installing them is here:
http://gtm.you1.cn/sharedfiles/filedetails/?id=945494528
Mods and converting them
There are countless mods for Max Payne, ranging from simple small modifications to funny parodies and total conversions. Installation is generally straight forward; put the mod files in your game directory, start the game as usual and select the mod you want to play from the dropdown-list in the startup screen. If the mod lacks sound, it may need conversion with the soundpatch, it's best however to first try the original mod on the converted game as most mod rely on the game's in-build sounds. If they include their own sounds most of them are proper format anyway. If you do need to try converting a mod, just install the mod as usual, then run maxbatch again and use the mods section of the script. The mods part is extensive and can handle multiple mods, single or batch conversions, exclusions, wildcards, keeping backups etc. Then it checks the resulting file to see if it's size is similar(no sounds converted) or smaller(quality degraded) compared to the original, to make sure conversion worked and didn't reduce sound quality and make matter worse. If it did the mod will be restored to original and added to the exclude list to prevent further (batch) conversions.
Max Payne (1) - Downloadable Mod Collection
In 2009 Walking Alone[forums.3drealms.com] collected ALL mods from fileplanet, filefront, levels4you and moddb and put them together as a 400+mods pack. I used this pack to 'harden' the mod section of the soundpatch and still have it on my disks. Since the download is not available anymore, and it's no good if just I have this pack sitting on my disk, I decided to make it available for download again, it's a big 6-part 5.2GB download, but then you get all of them. Not only does it contain mods, there is also a number of tools, templates, examples, videos and other Max Payne collectables in it.

Maxpayne(1) - Max Payne Ultimate Mod Pack, 400+ Mods and total conversions:
mp mods.part1.rar (1000.0 MB)[drive.google.com]
mp mods.part2.rar (1000.0 MB)[drive.google.com]
mp mods.part3.rar (1000.0 MB)[drive.google.com]
mp mods.part4.rar (1000.0 MB)[drive.google.com]
mp mods.part5.rar (1000.0 MB)[drive.google.com]
mp mods.part6.rar (283.1 MB)[drive.google.com]
Notes
History of edits:
18-sept-2017 - added download links for preconverted files.
14-june-2017 - added some pics and edited a bit more.
11-june-2017 - New post for new steam forums, links checked, text slightly edited from old version.

change log for v1.12:
It fixes a few issues that came up:
- On the game conversion the size of the result is now checked, if conversion failed backups are restored (if only one fails, all game files are restored, so it's fresh afterwards).
- Large working and finished messages on the game conversion section, for some people missed the fact the script was still working after the first file, where three files had to be done.
- Fixes need for edit if converting cd install of languages other than English.
- Detection and removal of previously failed conversion attempts is done. ie. tmp removed and backups synced.
- If tmp is not properly emptied between conversion of files, - sometimes it happens the OS reported file in use- , the script will alert and retry until the files are released.

Concerns about the fix being safe
I've purposely made the fix as transparent as possible, you can open the batch file in a text editor to see how it works and what it does, to prevent claims of spreading anything nasty. I've also made numerous scans of the file at virustotal, and the latest showing 0 out of 57 scanners found any sign of harmful stuff. The link to that scan is here: https://www.virustotal.com/en/file/19010ca5d94e6b203a294603c1671609d4c84a28c52e6c5f20286b0765483c9c/analysis/
If still in doubt about the workings, please feel free to ask me anything and I'll try to explain.

Known issues
- One known issue is that the fix will open a command window and close immediately after that. In short it means your system variables are messed up, there is no path to c:\windows\system32 and on a default system there should have been. So this usually indicates that the system variable 'path' has no reference in it to '%systemroot%\system32'.
You can check your path variable by checking 'path' in 'system properties/advanced/environment variables'. You can add 'c:\windows\system32' or '%systemroot%\system32' to 'path' in there, after that it should work. I could put in a check, but if the batchfile won't run in the first place it's useless, so you will have to fix it as per above.

- An other one that has popped up a couple of times is that sound is stuttering after the fix. I'm afraid I don't have an answer to that one. I've tried to solve it with people that had it occurring but without any luck. We tried anything we could think off, like using pre-converted files, other sound formats, using the game in extracted state, custom maxbatch but nothing really helped. I myself have not been able to reproduce this 'condition' so it's very hard to pinpoint what's causing it. Might be some hardware issue, like a certain sound chip not playing nice or the way the system handles RAM or the old game engine not being nice to newer hardware. I'm pretty sure it's not caused by the soundpatch.

- The shortcut created in the startmenu doesn't work. I know, and also how to fix it. But should I release a new version just for that? Probably not worth it. Just go in the game directory and run maxbatch from there -for now-.

Reporting issues:
If any issues come up please report, although there are some issues that can't seem to be fixed or reproduced, for many of them I can provide a solution. If something is found that requires a new version of the patch, I'm still willing to do that, so please do report!

Last thing:
Have fun playing this all-time classic,
DarkjeThe2nd
Copyright, credits and shareware notices
Some files included and names used are © but in here for ease of use or readability, I hope to satisfy their respective owners by mentioning:
Max Payne, ras-maker.exe and rl.dll and the original language files © 3dRealms/Remedy at http://www.3drealms.com/ and http://www.remedygames.com/
I'm not sure but I might have to mention Rockstar too, since they are the franchise holders nowadays, so here I go: http://www.rockstargames.com/
Shortcut.exe © by Marty List at http://www.optimumx.com
Sox.exe freeware from http://sox.sourceforge.net/
Steam © Valve Corporation at http://www.valvesoftware.com
Vista and Windows7/8/10 © Microsoft http://www.microsoft.com
For all the mods in the collection I'd like to credit the makers of those mods, but it's just too many for individual thank you's, so I'm just posting a general big 'thank you' here, and of course I will remove your mod if you object to having it in there.
For the fan-made and original language files: thanks to everyone that made them and the people that send them to me to complete the collection
MaxBatch and other files included; freeware by me, Darkje ™
Komentarzy: 268
SEYFU 29 października o 12:35 
Works well Thank You.
SuckaFish: hydration complete 28 września o 14:10 
idk bro it's just not worth the trouble for me personally maybe I'll try again later but I'm to frustrated to continue on, I've already beaten max payne on an old system so it's not like im missing out on much lol
darkje  [autor] 28 września o 1:04 
That's odd. It should be able to do the conversion then. So now there are two options, we try and find what went wrong, or you download the pre-converted files if you don't want to mess with it no more.
SuckaFish: hydration complete 27 września o 15:42 
+ Debug Level=1.
+ Work directory: D:\SteamLibrary\steamapps\common\Max Payne.
+ File scan shows:
- Files needed by script found.
- Target files for game conversion found.
- MaxPayne.exe found, Launch option will attempt launch.
- All files required to run the game found.
- Language file found: x_english.ras.
+ Original, unconverted game found.
+ No missing file problems detected, OK!.
+ No Mod(s) found.

Yep i did it right and like I said fresh install
darkje  [autor] 27 września o 14:59 
try debug level 1, it should tell you what's missing. you did unpack it in the game directory, right?
SuckaFish: hydration complete 27 września o 12:59 
did ever y last thing it said and still nada, the terminal batch program when running the conversion says it can't find the files repeatedly even thought i did everything right and have a fresh install, what a waste of time
SuckaFish: hydration complete 27 września o 12:52 
this shit doesnt fix the sound in the cutscenes
Lidso 22 września o 20:24 
Thank you. Fixed my audio issue on Windows 10.:steamthumbsup:
drooopy 10 września o 11:23 
as soon as I press c the maxbatch closes and does not fix the music. Plz help
YAKUB 2 kwietnia o 22:27 
I'm so glad this worked ! really appreciate the help.