Max Payne

Max Payne

Jpeg Errors?
Hey I just got this game on steam. However, I can't play, because after I hit new game, I get a lot of Jpeg errors in the loading screen. I can click ok on all of them, the cinematic rolls, but in the second loading screen, after a few more jpeg errors I get one fatal one, and the game closes. I was just wondering if this was a common or known problem.
Cheers
< >
Showing 31-45 of 152 comments
ViLLacrux Nov 6, 2019 @ 8:21am 
luigoalma i love you! it works! tested on a 3900x. Thank god we have people like you on the pc comunity.

Btw, 3dmark 2000, wich ithink it uses the same engine as max payne (max-fx engine?) dont work anymore since i upgraded to ryzen 3000 giving an error and, guess wich one? "3dmark2000 requires processor with MMX instructions". Tried changing the same bits info on the 3dmark rlmfc.dll file with no luck.
Here's a powershell command to create a patched version of rlmfc.dll called rlmfc_patched.dll:

(get-content rlmfc.dll -raw).remove(158112, 6).insert(158112, [char]184+[char]17+[char]0+[char]0+[char]0+[char]144) | set-content -nonewline rlmfc_patched.dll

Make sure to run it in the same directory as a copy of rlmfc.dll and that you can write to the directory. I'm no powershell expert, so it looks like crap.

*Edit: Save a few CHARacters*
Last edited by Indeed ∑:3 (the full 32 char); Nov 6, 2019 @ 12:55pm
luigoalma Nov 6, 2019 @ 9:36am 
Hey, that's pretty neatly packed, nice job.
Even if you say looks like crap, still pretty good!
You can probably guess what language I was trying with initially, but decided powershell is probably more likely installed on a Windows PC than perl. Attempting to do a string replacement with non-printable characters is a pain in powershell, so went the index route.
luigoalma Nov 6, 2019 @ 1:32pm 
Posted on reddit the reason of what was happening after all, here I'll leave the instructions to fix the actual issue.

1. Open hex editor of unmodified rlmfc.dll
2. Go to offset 0x256ED
3. Replace "83 E0 0F" to "90 90 90"

Basically remove an instruction that was there causing the issue. I explained better on reddit.
darkje Nov 6, 2019 @ 1:36pm 
:) this is great news, I will add this fixed rlmfc.dll to one of my fixes and credit you for your findings, assuming you aprove.
luigoalma Nov 6, 2019 @ 1:49pm 
That was an hell of an adventure haha. Feel free to do as you please. Point of this all was to provide, not to stop progress.
There should be no more issues on this regard, but when it comes to code, sometimes, its just likes to pull the rug from under your feet. But, it all should be fine. But you can make the patch optional itself, perhaps there was a reason for it to check just the low nibble, but maybe just for older cpus of some problematic kind? Who knows, but there be a fix now.
Also, the SHA1 of rlmfc.dll with this change properly applied, without any other, just those 3 bytes, d3db748214ed341dae49c172229d7eb332ab1fc9 just incase you wanna be sure it's proper to go.
Previous patch for rlmfc.dll is in the past now.
darkje Nov 6, 2019 @ 2:08pm 
Okay i've edited the dll and i'm preparing a readme for inclusion in the download. My checksum matches ;) so it seems i can hex edit lol

Is there anything besides your nick, the url to this and the reddit thread you would like mentioned in th readme?
luigoalma Nov 6, 2019 @ 2:15pm 
Just a personal quote message, "Provided to help allow your entertainment again, have fun!"
darkje Nov 6, 2019 @ 2:31pm 
2
1
Okay, done!

For now you can download it as separate file from my google drive now:
https://drive.google.com/open?id=1nPUgYVdj03J1jI0CONMrPit0snFN9P4_

In the start of the new year I will add this to the updated rollup-fix for 2020
darkje Nov 6, 2019 @ 2:32pm 
Big thumbs up for luigoalma!!!

Good job
Might as well update the powershell oneliner:

(get-content rlmfc.dll -raw).remove(153325, 3).insert(153325, [char]144+[char]144+[char]144) | set-content -nonewline rlmfc_patched.dll
darkje Nov 6, 2019 @ 2:48pm 
I suppose that will work just as well if you insist on doing the edit yourself. I guess for most this kind of stuff is a bit too hard and they will just want to d/l the ready file. But good tip anyway, thank you for your input here.
guardian.mateus Nov 6, 2019 @ 3:41pm 
@luigoalma and darkje, thanks. The game is working fine now and I can finally play Max Payne (yeah, it took me a long time to do so, but better late than never, lol).
I edited the dll using an online hex editor and it worked just fine. Thanks for the instructions, I would not be able to do it alone, I know nothing of coding.

It's thanks to guys like you that people like me can come back and play these older games.
Pingman Nov 6, 2019 @ 10:02pm 
Amazing, updated the dll file and now it launches. you STARS!
< >
Showing 31-45 of 152 comments
Per page: 1530 50