Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resident Evil 3: Nemesis (1999) #8238

Open
ShadowOne333 opened this issue Nov 12, 2024 · 2 comments
Open

Resident Evil 3: Nemesis (1999) #8238

ShadowOne333 opened this issue Nov 12, 2024 · 2 comments
Labels
Game compatibility - Unofficial Games not expected to work without issues

Comments

@ShadowOne333
Copy link

Compatibility Report

  • Name of the game with compatibility issues: Resident Evil 3: Nemesis (1999)
  • Steam AppID of the game: Non-Steam game

System Information

The following are all Steam Deck specs, but the issue can be reproduced in any Linux distro with Wine/Proton installed.

  • GPU: 8 RDNA 2 CUs, 1.0-1.6GHz (up to 1.6 TFlops FP32)
  • Video driver version: Mesa 24.2.5
  • Kernel version: 6.5.0-valve22-1-neptune-65-g9a338ed8a75e
  • Link to full system information report as Gist:
  • Proton version: Tried Proton 7.0-6, 8.0-5, 9.0-3, Experimental and even Proton GE 9.16 and Wine 9.0 & 9.2, all present the same issue.

I confirm:

  • [X ] that I haven't found an existing compatibility report for this game.
  • [X ] that I have checked whether there are updates for my system available.

I've been trying to get RE3 (1999) from GOG working on Linux/Steam Deck with the HD or Seamless HD Project (SHDP) mod for over two months now, but no matter what I try, I always end up with the same result, which is the actual backgrounds/textures looking really small on the upper-left corner of the screen, as seen in these images:

https://imgur.com/a/Bj8o51s

To get the game running on Steam Deck / SteamOS with Proton (or any other Linux distro with Wine or Proton), I use the following DLL overrides:
WINEDLLOVERRIDES="d3d9,d3dcompiler_47,ddraw,dinput8,dsound,libwebp,xaudio2_9"=n,b

Those same overrides are the ones I use for RE2 (1998) and it works perfectly with Classic Rebirth alongside the Seamless HD Project mod. RE1 CR+SHDP does work too (although that one required some dgVoodoo2 intervention). While RE3 does work with Classic Rebirth on its own, it's the HD mod causes that graphical issue on Steam Deck (and can be reproduced in any other Linux distro too).

I tried screwing around with the DLLs, and found that dinpu8 is the one that seems to load the HD textures.
According to some tests by several other people from both the Proton GE Discord and the Seamless HD Project Discord, it's possible that the issue could be related to the implementation of DirectX made by Wine/Proton (WineD3D).

Reproduction

Resident Evil 3: Nemesis (1999) from GOG

  • It's important to note that the version of RE3 needed for the mods to work is the Japanese version.

To run the game with the exact same conditions to reproduce the HD textures/backgrounds glitch, the following is required:

Once the game is properly installed with the Japanese language, all that's needed is:

  • Replace the original EXE with the one from the Official 1.1.0 SourceNext patch
  • Replace the ddraw.dll from the original game with the one from the Classic Rebirth mod
  • Copy all contents from the RE3 HD mod into the same place as the EXE. Warning: If the HD mod has a ddraw.dll file, do NOT replace the one from the Classic Rebirth mod!
  • To make the game run under Linux/Steam Deck, the following DLL overrides are required:
    WINEDLLOVERRIDES="ddraw,dinput8"=n,b
    Those are the bare minimum of DLL needed to get the HD mod running. Afterwards, running the Wine DLL Override command alongside wine "BIOHAZARD(R) 3 PC.exe" should make the game run with the following window opening, and then the game window with the graphical glitch:
    Screenshot from 2024-11-06 12-21-47
    Screenshot from 2024-11-06 12-22-00
@kisak-valve kisak-valve added the Game compatibility - Unofficial Games not expected to work without issues label Nov 12, 2024
@kisak-valve kisak-valve changed the title Graphical glitches in Resident Evil 3: Nemesis (GOG) with HD mod Resident Evil 3: Nemesis (1999) Nov 12, 2024
@keenanweaver
Copy link

keenanweaver commented Nov 14, 2024

Linking back to issue originally opened at DXVK repo: doitsujin/dxvk#4431

WineHQ bug report: https://bugs.winehq.org/show_bug.cgi?id=53775

@ShadowOne333
Copy link
Author

ShadowOne333 commented Nov 15, 2024

Here's the WineHQ bug report I made a few days ago too for reference:
https://bugs.winehq.org/show_bug.cgi?id=57395

Sadly there's no indication on what could be happening for this particular instance, but from my and others' tests, I'm inclined to believe it could be something related to WineD3D.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Game compatibility - Unofficial Games not expected to work without issues
Projects
None yet
Development

No branches or pull requests

3 participants