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)
- Download RE4 to your Steam Deck.
NOTE: It’s strongly recommended to install it on the SSD.
- Download HD project 1.1 and extract if needed.
- 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.
- Go to desktop mode on the Deck, and add re4HDProject-setup.exe to Steam via Add A Game > Add a Non-Steam Game.
- 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).
- Open up KWrite on your Steam Deck by hitting the Steam Deck taskbar icon, and looking in under “Utilities”.
- (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!
- 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. - 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/ - 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. - 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) - 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.
- 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.
- 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.
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
Starts up fine but always crashes one you try to start the game
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.
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.
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?
Oh! Thanks for letting me know,
Are the Alt+0147 and Alt+0148 the right ones??
“dinput8=n,b”
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?
Thanks again!
Like this?
https://pastebin.com/mEDDbi6N
First time I use this page.
I’ve been looking for a way to make WordPress doesn’t mess with quotations and dashes, but it seems if I edit formatting.php the changes will be undone as soon as WordPress receives an update… X(((
I double checked the one you made on my deck, I am actually typing this on the deck right now and those are the incorrect quotes.
But this one should be good.
https://pastebin.com/Myi4jvfP
Thanks! I’ve updated the instructions with this link ;D
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
Thanks!!
I’ve combined both posts into one. Let me know if it’s ok ;D
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.
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
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.
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.
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.
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.
Run it using Steam bud. That’s why you had to tell Steam to use a specific proton for the mod exe
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?
Great!
Yes, that folder is not used by the game at all. You can delete it if you already installed the mod ;D
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.
I keep getting an error occurred while trying to copy a file the source file is corrupted when I’m about 20% thru the installer
Check file integrity of the downloaded files (the exe and the 18 bin files) using this file:
https://mega.nz/file/QaYRXISK#JM0oLpuLjwq_XD5YQ6CYhaUifFsfZ-d1IKbjoNeBzcQ
You’ll need to install QuickSFV tool.
Place the BIN&EXE_FILES.sfv in the same folder the exe and the 18 bin files are
Double-click the sfv file
sorry the steam deck is the first Linux based os I’ve used I’m not exactly sure how to install the quick sfv tool I extracted the zip but I’m not sure what im supposed to do with the files in there to install it.
I tried running with Proton Experimental and the alert for installing the 4gb patch didn’t show up. I also had the same issues as Tanasinn with some menu text being weirdly big and crashing at startup.
Switching to Proton 7.0-6 fixed it. I got the prompt to install the 4GB patch and after startup the text looked fine everywhere and I could start a new game without problems.
The game works perfectly in desktop mode. However, if I start the game in game mode, the game will not load the HD textures, so it will look the same as the original game. Any idea what causes this issue?
I’ve attempted two different install methods, installing on my desktop then copying the files directly to the Deck both via direct file transfer and also by the new Steam File Transfer system and secondly by creating a Bottle for the installer then installing directly on the Deck.
Unfortunately both methods have an fps issue in some areas where it drops to 15fps when using the first install method I used and a drop to 25fps (no better than 15fps) when using my second install method. The fps drop is most common in areas with the merchant.
I’m having an fps issue, it drops hard from 60 to 25 in various areas, always areas with the merchant. I’ve installed the mod using four different methods and it works out the same with each method. Installed to SSD, CryoUtilities installed and system modified, ReShade installed and tested various proton versions.
Can anyone help?
Everything was fine until the step where you’re supposed to get the 4gb patch install prompt upon start. I don’t get it and the text is insanely large.
Hey, when installing this mod on steamdeсk, I get this error (the sourse file is corrupted)
https://pasteboard.co/xddTDTbvz0gf.jpg
Probably, this happens to one of the other owners of the steamdeсk and it would be useful for them to know the solution to my problem.