Steam Deck Users – How to…

Hello Everyone!

I’ve created this page so Steam Deck users can help each other installing the HD project.

I don’t have a Steam Deck, so I can’t help with this. Right now, I have a guide that “Nex” made for the HD project. Thanks!

You can send your comments, rectifications, ideas, etc. So this page will be a good guide for other people that want to install the HD project on their Steam Deck. Based on feedback I’ll do the corrections, clarifications or alternative ways of installing it.

The goal is to get the easiest and most comprehensive guide. Thanks, and here we go!

resident evil 4 HD project 1.1
Installation Instructions on Steam Deck (by Nex)

  1. Download RE4 to your Steam Deck.

NOTE: It’s strongly recommended to install it on the SSD.

  1. Download HD project 1.1 and extract if needed.
  2. Once downloaded, run RE4 on deck and then shut it down. (Some initial running games can generate additional folders/files, So, this step is just in case.)

NOTE: Highly advised you use a keyboard and mouse from here on, it will make the process much easier.

  1. Go to desktop mode on the Deck, and add re4HDProject-setup.exe to Steam via Add A Game > Add a Non-Steam Game.
  2. Once added to steam, find re4HDProject-setup.exe in your Steam game list, and right-click it, go to “Properties” and then “Compatibility” in the new window. Check “Force the use of a specific Steam Play compatibility tool”, and select one of the versions of Proton used (I personally used 7.0-3 though any/the latest will probably work).
  3. Open up KWrite on your Steam Deck by hitting the Steam Deck taskbar icon, and looking in under “Utilities”.
  4. (THIS STEP, ONLY IF RE4 IS INSTALLED ON A SD CARD, IF YOU ARE INSTALLING IT ON THE SSD, SKIP THIS STEP) Go back to re4HDProject-setup.exe in your Steam game list and open its “Properties” window. Scroll down to “Launch Options” and add the line:
    STEAM_COMPAT_MOUNTS=/run/media/mmcblk0p1/ %command%

NOTE: Technically, this command on a brand new Steam Deck should be STEAM_COMPAT_MOUNTS=/run/media/mmcblk0p1/ %command%
But depending on if the user has tinkered with it, it may not be at /run/media/mmcblk0p1/
Other guides for different game mods using a similar install method state the general commend if the game is on  an SD card should be STEAM_COMPAT_MOUNTS=/path-to-sd-card-here %command%

NOTE 2: Any extra advice regarding this Step “7” (installation of the HD project on a SD card) is welcomed!

  1. Run re4HDProject-setup.exe, proceed with the installation until it asks where “Resident Evil 4” is installed. From here we need to find the exact path RE4 is installed because the Mod installer will not allow you to point to the RE4 folder because it will be missing a drive-letter. So go find “Resident Evil 4” in your steam list. Right click and go to “Properties”, then “Local Files”, and hit the “Browse” button. This will bring you to where RE4 is installed in the Dolphin file explorer. Click on the directory path at the top of the window and copy the path. It will be something similar or identical to:
    /home/deck/.local/share/Steam/Steamapps/common/Resident Evil 4/
    Once this is copied, paste this path into KWrite.
  2. Once this is pasted into KWrite, you will want to add a drive letter into the path. Proton does use drive letters, but we just need to know what they are. The SSD drive letter is “Z” and the SD card drive letter is probably “E”. So the line will look something like:
    Z:/home/deck/.local/share/Steam/Steamapps/common/Resident Evil 4/
  3. Now all you need to do is replace all the “/” in the file path with “\” So now it will look something like:
    Z:\home\deck.local\share\Steam\Steamapps\common\Resident Evil 4\
    Once this is all typed up, copy it and paste it back into re4HDProject-setup.exe installation window, and it should resume the process normally.
  4. Once it’s done, stay in the Decks Desktop mode, go back into Steam and find “Resident Evil 4” in your game list, and right click it, go to “Properties” and under “General” and then “Launch options” add the line:
    WINEDLLOVERRIDES=“dinput8=n,b” %command%
    This is the correct line: https://pastebin.com/Myi4jvfP (WordPress converts the quotation marks, so please, copy the line you’ll find in this link)
  5. At this point, the game should be good to go. Run the game while still in Desktop mode. If it has installed correctly, upon launch it will prompt you to install the 4GB Patch. Accept, and the game should be good.
  6. After this initial run you can go back to running it in Gaming mode, this first launch is to make sure the 4GB Patch installs.
  7. Now you can remove re4HDProject-setup.exe from the Steam list, it won’t be used any more unless you want to reinstall the mod.

22 responses to “Steam Deck Users – How to…”

  1. Matthew Petch says:

    I just installed the mod on my Steam deck. Running Proton 7.0.4, I had no need to follow steps 8/9/10 when installing to SD card. I just used the installer UI to go to E:\steamapps\common\Resident Evil 4 and it worked just fine

  2. Null says:

    Starts up fine but always crashes one you try to start the game

  3. Null says:

    Tried again, only some files use the HD textures but very rarely.
    The initial crashes on game start were fixed through verifying the files.
    Shows that HD textures are being used but leon is missing entire skin texture. Car in the opening scene only has a texture at specific camera angles.

    • Nexxus says:

      There seems to be an issue with how the quotation marks are displaying on the blog based on the below comment, I wrote up this guide and yeah that crashing when starting the game is what was happening to me. Your other issues are not ones I am experiencing at all though.

  4. nipkow says:

    Hey Albert! Just tried copy-pasting the WINEDLLOVERRIDES string from this post and the quotation mark are incorrect still. Not sure if the website itself is changing the quotes when you make a post?

    • albert says:

      Oh! Thanks for letting me know,
      Are the Alt+0147 and Alt+0148 the right ones??
      “dinput8=n,b”

      • Nexxus says:

        I think it may have something to do with the blogs font Albert cause when I tried to show you on the technical issues page they both displayed identically, thats why I had to screenshot. But that’s just a guess. Maybe have a link to the string in a pastebin page if there is nothing you can do to fix how its displayed here?

  5. termdisc says:

    Steps 4-7 can be streamlined and made more efficient.

    1. Install Protontricks via Discover.

    2. Give Protontricks permission to access the SD card if needed

    2a. If you want a GUI, you can install Flatseal to allow you to give permissions to Protontricks to access /run/media

    2b. Alternatively, you can run this in Konsole:

    flatpak override com.github.Matoking.protontricks –filesystem=/run/media

    WordPress messes up the double dash. You can copy the line here: https://pastebin.com/rGDWVmPz

    3. Open Dolphin to where you have re4HDProject-setup.exe. Right click on the exe and open it with “Protontricks Launcher.” Select RE4 from the list that shows up. Continue with step 8.

    The problem with the way the steps are already laid out is that steps 4-7 will create a new 140MB prefix on the internal storage for the mod’s exe, and the instructions don’t indicate how to reclaim that space.

    Also for the quotes issue, here’s a pastebin link for that: https://pastebin.com/9wH0cngp

  6. Tanasinn says:

    uninstalled and reinstalled everything
    game crashes at starting a new game. not sure exactly what was going on. The prompt to download the 4gb never popped up [I’ll assume its part of the package now?]. Also the “press start” prompts are way too big for the screen, but when i do press start the text is normal size again [only to extend past the screen when going into options or anything else]. Loading text takes up half of the screen followed by a flash of the main menu and another crash.

    • Nexxus says:

      Hi there, I wrote the above guide, we are discovering that the RE4HD blog itself may be converting the quotes to the wrong ones by itself.

      I made a paste bin though with the correct ones. paste this over your old steam launch options and it should fix the issue. Large menu text and crashing at startup are indicative of the launch command being wrong that exact thing was happening to me.

      https://pastebin.com/Myi4jvfP This line should be the correct one

  7. kamehameha says:

    I used bottles and set the location to re4 directly to my z drive in the launcher, inputted the launch commands and everything just worked.

  8. Eamonn Rea says:

    Hi there, it should be possible (and perhaps a little more straightforward) to install RE4HD using SteamTinkerLaunch (https://github.com/sonic2kk/steamtinkerlaunch). I have added steps on how to do this to the Modding wiki page (https://github.com/sonic2kk/steamtinkerlaunch/wiki/Modding#resident-evil-4-hd).

    This is not a suggestion to use SteamTinkerLaunch solely for installing this mod, but for anyone that is using the program, the option to do this (and enable the override) from SteamTinkerLaunch is available to you. The steps are largely the same except STL lets you use a custom program and set the Wine DLL overrides in its settings, so you don’t have to add it as a launch option.

  9. Chris says:

    Not sure if anyone here can assist with this, but when I try to press F1 to open re4tweaks on my Steam Deck, the game freezes and I get the following error message:

    “Assertion failed!

    Program: E:\steamapps\common\Resident Evil
    4\Bin32\DINPUT8.dll
    File: D:\a\re4_tweaks\re4 tweaks\dllmain\input.cpp
    Line: 237

    Expression: details.wParam > 0 &&
    details.wParam _keys)

    For information on how your program can cause an assertion
    failure, see the Visual C++ documentation on asserts
    (Press Retry to debug the application- JIT must be enabled)”

    It’s not a big deal, since I can run the game itself just fine as long as I don’t try to run re4tweaks, but it would be nice to be able to adjust the FOV among other things.

  10. Joe says:

    Stuck on step 8. How do you run the file? Where? Konsole says “Permission denied” Then when I figured that out it says “cannot execute binary file: Exec format error”. Idk what to do.

  11. Vinny Lee says:

    Works great!
    Made it all the way to Step 14 🙂
    I’ve also added a couple of “BONUS” replacements from this site, the costumes and the Controller prompts.
    Still spent another hour messing around with the controller layout in Steam to see if Gyro suits me or not.

    Should I delete the “build” folder (which was downloaded from the Torrent) after I’m done with the patching and installation? I presume when the game itself is patched, then that “build” folder (which is on my SteamOS desktop) is not needed anymore?

  12. Panconjuego says:

    Hey, just a quick note. When trying this, renember to turn off your optimizations options in the quick access menu. I had them turned all the way up by default and thought the texture pack didn’t work correctly. I was about to complain here when i realized it was the options.

Leave a Reply

Your email address will not be published. Required fields are marked *