ThirteenAG / WidescreenFixesPack

Plugins to make or improve widescreen resolutions support in games, add more features and fix bugs.
https://thirteenag.github.io/wfp
MIT License
2.26k stars 214 forks source link

Max Payne 2 Widescreen Fix - not working in Windows XP - #570

Closed sunroker closed 5 years ago

sunroker commented 5 years ago

The most recent version of the Max Payne 2 widescreen fix no longer works in Windows XP.

Please fix it so that it will also work in XP. I still use XP for older games like this.

When trying to run the game in XP with the current version of the fix installed, I get the error message: Max Payne 2 requires Microsoft DirectX 9.0 or later. Please consult the troubleshooting readme in the installation folder.

I tried changing the d3d9.dll file name to dsound.dll (a file name used in an older version of the fix) and then I got a different error message:

The procedure entry point SHGetKnownFolderPath could not be located in the dynamic link library SHELL32.dll

I tried copying the SHELL32.dll file from Windows XP into the folder, but still got the error. I also tried putting the SHELL32.dll file from Windows 7 into the Max Payne folder, but still get the error.

ThirteenAG commented 5 years ago

Windows XP is not compatible, I'll make a mention of this in the readme later.

sunroker commented 5 years ago

Please, add compatibility support for Windows XP. I only play older games such as Max Payne on a Windows XP machine because all of my old games work on XP. Windows 7 breaks compatibility with too many older games. I use Linux for everything else.

On 11/19/18, Sergey P. notifications@github.com wrote:

Closed #570.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/ThirteenAG/WidescreenFixesPack/issues/570#event-1973868652

ThirteenAG commented 5 years ago

I will not be making compatibility with windows xp, Latest windows versions are perfectly fine for old games.

sunroker commented 5 years ago

Do you have an earlier version of the Max Payne 2 widescreen fix that works in Windows XP with correct reflections? I'm using a previous version of the fix that works in XP, but all of the reflections are very thin. It's not too bad in small mirrors, but later levels have reflective walls and floors that leave large gaps at the edges.

Some old games work with later versions of Windows, but I have many games that refuse to work in Windows 7 or later no matter what I do. Some games work, but only with extra patches (like Fear). That's why I use Windows XP. It just works for all the games I have and play.

On 11/19/18, Sergey P. notifications@github.com wrote:

I will not be making compatibility with windows xp, Latest windows versions are perfectly fine for old games.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/ThirteenAG/WidescreenFixesPack/issues/570#issuecomment-439993945

d4rkne55 commented 5 years ago

Sure it's not some copy-protection that prevents your games from starting? Microsoft dropped SafeDisc support under Windows 10 in 2015 for example - that led to some games not starting anymore, at least in original state. With a No-CD Patch these games should work without problems though.

I myself never had problems, or at least unsolvable problems with older games on Windows 10.

The ones I currently have up to 2005 ("old") are: (click) - CS 1.6 (2000+) - Turok Evolution (2002) - GTA VC (2002) - GTA SA (2004) - CS: Source (2004) - Ford Racing 3 (2004) - NFS U2 (2004) - NFS MW (2005) - Splinter Cell: Chaos Theory (2005)
sunroker commented 5 years ago

I don't know why some games won't work in Windows 7. Some older games don't work, some newer games don't work. I haven't been able to figure out solutions for most of them. I prefer using XP because it just works. I got sick of trying to fix every game with community patches and work arounds just so they'd run in an operating system that I don't even like when windows xp works just fine for all the games I play. I use Linux for everything else.

Max Payne 2 came out on Windows XP. I'd just like a working version of the widescreen patch that doesn't break compatibility with the original OS it was developed for. I'd even pay $20 to get Max Payne 2 working in widescreen with good reflections for Windows XP.

To be clear, I really dislike later versions of Windows. There are so many things that bother me about them. One thing I hate is that I can't get Windows 7 to stop accessing my hard drive even when it's idle and I'm not using the computer. WIndows XP and Linux never do that. I imagine with enough time and effort I could solve some of the annoying issues of Windows 7, but I'd rather spend my time playing games then trying to fix an OS I don't like.

Alternatively, do you have an earlier version of the widescreen fix that works with Windows XP and properly displays reflections? I can live without the other improvements you made, I just want the game working in widescreen and the reflections to display correctly.

On 11/21/18, Dennis Jungbauer notifications@github.com wrote:

Sure it's not some copy-protection that prevents your games from starting? Microsoft dropped SafeDisc support under Windows 10 in 2015 for example - that led to some games not starting anymore, at least in original state. With a No-CD Patch these games should work without problems though.

I myself never had problems, or at least unsolvable problems with older games on Windows 10.

The ones I currently have up to 2005 ("old") are: (click) - CS 1.6 (2000+) - Turok Evolution (2002) - GTA VC (2002) - GTA SA (2004) - CS: Source (2004) - NFS U2 (2004) - NFS MW (2005) - Splinter Cell: Chaos Theory (2005)

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/ThirteenAG/WidescreenFixesPack/issues/570#issuecomment-440822612

ThirteenAG commented 5 years ago

Max Payne 2 came out on Windows XP. I'd just like a working version of the widescreen patch that doesn't break compatibility with the original OS it was developed for. I'd even pay $20 to get Max Payne 2 working in widescreen with good reflections for Windows XP.

I adjusted these to work with xp for you: MaxPayne2.WidescreenFix.zip MaxPayne.WidescreenFix.zip

Asi loader is not working on xp, so I included some very old version with xp support.

sunroker commented 5 years ago

I think I understand now.

You had to completely change the way the widescreen fix worked. That's why it's not compatible with XP. You needed a new asi loader to solve the problems with reflection and aspect ratios, but it required libraries that Win XP doesn't have.

That version works with mirrors / reflections now, but doesn't adds black bars to the sides when using scopes or loading screens (where as a much older version worked with scopes and loading screens, but not mirrors).

So, I have three choices,

  1. use this version with working reflections but no black bars on the side for scopes and loading screens,
  2. use a very old version with correct scopes and loading screens (using the widescreen hud mod), but incorrect mirrors / reflections
  3. To use the latest version on Win 7 or later for everything to work.

I see why you couldn't release that version.

Would it be possible for me to take the dependencies that the Asi Loader needs from later windows versions and add them to the Max Payne 2 folder, or does the new asi loader require something that can't simply be moved over to the Max Payne 2 installation directory, like DirectX10 or 64-bit dependencies?

On 11/22/18, Sergey P. notifications@github.com wrote:

Max Payne 2 came out on Windows XP. I'd just like a working version of the widescreen patch that doesn't break compatibility with the original OS it was developed for. I'd even pay $20 to get Max Payne 2 working in widescreen with good reflections for Windows XP.

I adjusted these to work with xp for you: MaxPayne2.WidescreenFix.zip MaxPayne.WidescreenFix.zip

Asi loader is not working on xp, so I included some very old version with xp support.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/ThirteenAG/WidescreenFixesPack/issues/570#issuecomment-441043603

ThirteenAG commented 5 years ago

You had to completely change the way the widescreen fix worked. That's why it's not compatible with XP. You needed a new asi loader to solve the problems with reflection and aspect ratios, but it required libraries that Win XP doesn't have.

Would it be possible for me to take the dependencies that the Asi Loader needs from later windows versions and add them to the Max Payne 2 folder, or does the new asi loader require something that can't simply be moved over to the Max Payne 2 installation directory, like DirectX10 or 64-bit dependencies?

No, it doesn't work like that.

Black bars work for me on VM, but are known to not show up on AMD gpu with all or some specific drivers. Maybe that's why it doesn't work for you. There's nothing I can do without being able to at least reproduce the issue first.

sunroker commented 5 years ago

I have an Nvidia 9800gt video card. I don't use AMD.

I'm not sure why the black bars don't show up for me. I set the options in the MaxPayne2.WidescreenFix.ini:

CutsceneBorders = 2 // Set to 1 to disable, set to 2 to make borders' size depend on aspect ratio. D3DHookBorders = 1 // Adds additional borders during load screens and scope overlays.

For some reason my computer seems to ignore those settings. I even tested this version of the widescreen fix on a Windows 7 computer and it didn't work on that one either.

On 11/24/18, Sergey P. notifications@github.com wrote:

You had to completely change the way the widescreen fix worked. That's why it's not compatible with XP. You needed a new asi loader to solve the problems with reflection and aspect ratios, but it required libraries that Win XP doesn't have.

Would it be possible for me to take the dependencies that the Asi Loader needs from later windows versions and add them to the Max Payne 2 folder, or does the new asi loader require something that can't simply be moved over to the Max Payne 2 installation directory, like DirectX10 or 64-bit dependencies?

No, it doesn't work like that.

Black bars work for me on VM, but are known to not show up on AMD gpu with all or some specific drivers. Maybe that's why it doesn't work for you. There's nothing I can do without being able to at least reproduce the issue first.

-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/ThirteenAG/WidescreenFixesPack/issues/570#issuecomment-441352239

ThirteenAG commented 5 years ago

Well, I forgot that in MP1 those are native. D3D Hook doesn't work for me on xp either in both games.