NVIDIAGameWorks / rtx-remix

Combined repo for the RTX-Remix runtime
https://www.nvidia.com/en-us/geforce/rtx-remix/
MIT License
1.38k stars 69 forks source link

[Runtime Bug]: Max Payne 1 Doesnt Load RTX Remix 0.5.4 without d3d8.dll from RTX ON demo #607

Open shoober420 opened 2 months ago

shoober420 commented 2 months ago

Describe the bug

RTX Remix 0.5.4 will not load with Max Payne when placed in the main directory.

How do you reproduce the bug?

After placing the 0.5.4 files from the Github zip release of RTX Remix in the main Max Payne directory with the executable, RTX Remix still doesnt load. I ensured that the d3d8to9 wrapper was present as well, since it comes with RTX Remix 0.5.4 version. Renaming the dll to simply d3d8.dll doesnt work either. Also, having a "global.ini" file with the following settings doesnt start Max Payne with RTX Remix.

[GlobalSets] FindModule=1 UseD3D8to9=1

For RTX Remix to load, the d3d8.dll from the ModDB RTX ON demo is needed along with 0.5.4 files and the global.ini file. According to the logs, it is indeed using RTX Remix 0.5.4 version.

https://www.moddb.com/mods/max-payne-rtx-on-demo-level

@PappaSlask Any thoughts?

What is the expected behavior?

RTX Remix to load with the game without the ModDB RTX ON demo d3d8.dll file.

Version

0.5.4

Logs

No response

Crash dumps

No response

Media

No response

PappaSlask commented 1 month ago

@shoober420 Hi shoober! Yeah something sure is fishy about Crosire's dx8todx9 wrapper that Remix is using. I had no luck with it for MP. Have to use the one from the definitive fix (also included in my RTX ON demo)

Remix devs need to stop using Crosire's wrapper and build their own proprietary wrapper from scratch IMO, and make it streamlined and compatible with a broader pool of games.

Kim2091 commented 1 month ago

Crosire's wrapper is extremely compatible. Personally, I have not run into any games that exhibit issues due to the wrapper despite testing well over 200 games for Remix.

If there is an issue with this game, simply open an issue on his github page reporting the bug 🙂

shoober420 commented 1 month ago

Ive used the d3d8to9 wrapper for Max Payne before and it worked great. I even used it with Wine/Proton on Linux and it also worked fine. Are you sure the d3d8.dll file in your mod is the wrapper @PappaSlask? The file description says "Ultimate ASI Loader", which has a Github here.

https://github.com/ThirteenAG/Ultimate-ASI-Loader

When I was debugging, I tried launching the game without the wrapper and I could have sworn it wouldnt launch unless the wrapper and the asi loader were present.