Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou can upload this file to other sites but you must credit me as the creator of the file
Modification permissionYou are allowed to modify my files and release bug fixes or improve on the features so long as you credit me as the original creator
Conversion permissionYou can convert this file to work with other games as long as you credit me as the creator of the file
Asset use permissionYou are allowed to use the assets in this file without permission as long as you credit me
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Vulkan: Updated DXVK to v2.1 and improved the D3D9 fallback in case of errors.
Inventory Manager: Apply weapon upgrades to the currently equipped weapon.
Added "SpeedUpQuitGame": Speeds up the unnecessarily slow screen fade that takes place after you press "Quit" in the game's main menu.
cfgMenu/F1 Menu: Added a search bar to help users quickly find a specific option.
Improved LimitMatildaBurst
Added "HideZoomControlHints": Hide zoom control reminders from the weapon scope and binocular HUDs.
Added "BalancedChicagoTypewriter": Changes how Leon's Chicago Typewriter works. No longer infinite by default. More info in the cfgMenu/F1 menu.
Trainer: Improve invincibility (#417)
Fix compatibility with the censored 1.0.6 version of the game's .exe.
Trainer/Freecam: Invert Y axis if CFG_AIM_REVERSE flag set.
Added "FixSilencedHandgunDescription" to fix some item descriptions in the merchant and examine subscreens.
Trainer/Freecam: Improve camera movement.
Rewrite FixDisplayMode: Users can now choose their desired refresh rate in the game's own config menu. (Note: FPS is still capped at 60!)
HUD tweaks: Added "RepositionHUD", "SmallerHUD", and "SmallerActionPrompts".
Trainer: Added an ID Inspector tool for HUD objects.
ControllerTweaks: Added "SmoothAnalogTurning".
Added "DisableAutomaticReload": Disables automatic reload when firing a weapon that's out of ammo.
Added "SmoothAnalogTurning ": Use analog directional input when moving forwards and backwards, similar to Resident Evil 5's type A/B controls.
Thanks to @emoose and @pas-de-2 as always!
Version 1.8
Note: This update changed some sections of the .ini structure, so you will notice that some of your existing settings will revert to default.
* Added EnableModExpansion: Enables patches/hooks for expanded modding capabilities, such as allowing enemy speed & scale to be defined when spawning. (See https://github.com/nipkownix/re4_tweaks/wiki/Modding-Enhancements#mod-expansion for more info) * Added CameraImprovements: Provides a small set of camera tweaks (KB/M only) * MouseTurning: Added new MouseTurning type, enabled by default. The original mode (Type B), is still available in the config menu. * OverrideCostumes: Workaround crashes due to missing inventory models for some of Ada's costumes. (#309) * Moved OverrideCostumes to the Trainer tab. (Overrides) * Added command-line params support. (See https://github.com/nipkownix/re4_tweaks/wiki/Modding-Enhancements#command-line-parameters for more info) * EnableGCBlur: Add new blur mode, slightly improved to look better on modern high-definition displays. * AllowReloadWithoutAiming: Change hook to prevent aiming issues under certain conditions. (#314) * Added ReplaceFramelimiter: implements new reduced-CPU-usage limiter * Added DebugDisplay: recreates effect of DBG_SAT_DISP & DBG_EAT_DISP flags * re4_tweaks UI: Added high-DPI support * Fixed face morphing (PlSetFace), fixing the bug with face animations not being shown during gameplay * Added hook to allow the Merchant's item list to skip to top/bottom when going past bounds of the list * Added re4_tweaks AutoUpdater * Improved SkipIntroLogos * Added SkipMenuFades * Added RestoreGCSoundEffects: Restores certain sound effects that were changed from the original GC release. (currently only changes sound of the knife) * Fixed melee range firing bug with type III controls * Added MultithreadFix: Enables fixes for multithreaded DirectX9, giving a slight performance boost * Added UseVulkanRenderer: Enables the use of the DXVK-based vulkan renderer, which provides better performance on newer hardware * Added ImproveWater: Improves some of the water effects, fixing the "jelly-like" water that is present in some areas. * FrameLimiter: Workaround flickering/shaky r117 chandelier * FixFallingItemsSpeed: Properly fixed treasure falling speed and added a fix for the falling speed of door locks * Added FixCompartmentsOpeningSpeed: Fixes the speed of opening compartments such as drawers, cabinets, chests, boxes, shelves, etc. * Added FixMovingGeometrySpeed: Fixes the speed of moving geometry such as: doors, passages, gates, ceilings, etc. * Added LimitMatildaBurst: Limit the Matilda to one three round burst per trigger pull. * Added RifleScreenShake: Adds a screen shake effect when firing a rifle. * Added RestoreDemoVideos: Restores the playback of demo videos that play when the game is idle at the main menu or the "press any key" screen for about 20 seconds. More info in the config menu/.ini file. * Added SeparateWaysProfessional: Adds a menu to choose between Normal and Professional difficulty modes when starting a new game of Separate Ways. * Added RestoreAnalogTitleScroll: Restores the ability to manipulate the background scroll of the post-new game title menu with the right analog stick or mouse movement. * Added AlwaysShowOriginalTitleBackground: After beating the game, force the game to always show the original main menu background image of Leon and Ashley. * Added ShowGameOutput: Displays the game's original logs/debug output into a console window. * Added EnableNTSCMode: Unlocks minor difficulty boosts previously exclusive to the NTSC console versions of RE4. * Added a workaround fix for an item glow issue in Saddler's last cutscene.
Introducing the new (optional) Trainer section in the re4_tweaks config menu! This section allows you to modify various aspects of the game during gameplay, such as:
* Trainer patches: Enable invincibility, weak enemies, infinite ammo, disable enemy targeting, disable collision, free camera, disable enemy spawns, disable bodies from disappearing, allow exiting area without Ashley, and enable the unused DebugTrg function. * Trainer overrides: Player speed override, game difficulty override, dynamic difficulty level override, enemy HP multiplier, and Ashley presence override. * Weapon hotkeys: Switch weapons by pressing specific keys without needing to open the inventory first. By default, keys 1-5 are assigned to cycle through weapons in different categories. Alternatively, you can assign a specific weapon to a hotkey by highlighting it in the inventory and pressing the corresponding key. * Inventory manager: View a list of all items in your inventory and edit certain values, such as stack count and weapon upgrade values. You can also add new items to your inventory by selecting them from a simple list, without needing to set up slots for each item separately. The inventory can also be exported to or imported from an easily editable JSON file. * Hotkeys: Allows binding specific key presses to trigger certain trainer patches or functions. * Flag editor: Tweak internal game flags, such as flags for debug features, level progression, and unlockables earned through gameplay. * Em Manager: View a list of all "cEm" (enemy) instances in the current level and edit certain information about them. The info can also be undocked from the main re4_tweaks UI and made visible during gameplay. * ESP: Display information about enemies on top of them during gameplay, without requiring you to open separate UI windows. It can be configured to display various pieces of information about the enemy, such as health bars, current AI routine, and other debug info. Can also draw information about all active enemies in range to the side of the screen. * Area jump: Teleport to different rooms in the game (including certain test/debug levels that were accidentally included) * Filter tool: Adjust post-processing effects in the game, mainly to help with testing improvements to these filters. * Globals: Show a separate UI window that lists important internal information about the game, such as the current room number, dynamic difficulty points and level, current game routine, and current HP for both the player and Ashley. (May be useful for mod developers when debugging their mods.)
Optional: https://github.com/nipkownix/re4_tweaks/releases/download/1.0/GC_demo_videos.zip The original demo videos from the GameCube release of the game, now playable in RE4 UHD if present in the game's folder. To use it, just extract both "demo0_gc.sfd" and "demo1_gc.sfd" to "Steam\steamapps\common\Resident Evil 4\BIO4\movie", and make sure RestoreDemoVideos is enabled. Note: As of right now, the RE4 HD Project does not provide HD versions of these videos.
Many thanks to @emoose and @pas-de-2 for their contributions!
Version 1.7.3
Fixed a potential issue with FixDisplayMode, thanks to @emoose.
Attention
If you used a previous version of this mod before, you might have a file called "winmm.dll" in the game's directory. Delete this file before installing the new version. The mod now uses a file named "dinput8.dll" and your game will crash if you don't remove the old version.
If you used a previous version of this mod before, you might have a file called "winmm.dll" in the game's directory. Delete this file before installing the new version. The mod now uses a file named "dinput8.dll" and your game will crash if you don't remove the old version.
Version 1.7.1
-Added: * ControllerSensitivity * FixSniperFocus * Config menu tooltip on game startup
Also reorganized "60fpsFixes" into it's own category.
Attention
If you used a previous version of this mod before, you might have a file called "winmm.dll" in the game's directory. Delete this file before installing the new version. The mod now uses a file named "dinput8.dll" and your game will crash if you don't remove the old version.
- Removed: * UseMemcpy (It was causing crashes, maybe it will return in the future)
Attention
If you used a previous version of this mod before, you might have a file called "winmm.dll" in the game's directory. Delete this file before installing the new version. The mod now uses a file named "dinput8.dll" and your game will crash if you don't remove the old version.
Increase FOV - Increases the default FOV. Useful to prevent motion sickness in some people.
Fix ultrawide aspect ratio - Fixes the incorrect aspect ratio when playing in ultrawide resolutions, preventing the image from being cut off and the HUD appearing off-screen. 21:9 and 32:9 are supported. (Minor visual bugs may occur in 32:9).
Remove black bars in 16:10 - Removes top and bottom black bars that are present when playing in 16:10. Will crop a few pixels from each side of the screen.
Fix DPI scale - Forces game to run at normal 100% DPI scaling, fixes resolution issues for players that have above 100% DPI scaling set.
Disable V-Sync - Forces V-Sync to be disabled. For some reason the vanilla game doesn't provide a functional way to do this.
Fix display mode/black screen issue - Allows the game to use non-60Hz refresh rates in fullscreen, fixing the black screen issue people have when starting it.
Override laser color - Overrides the color of the laser sights. Includes bonus "RainbowLaser" option.
Restore pickup screen transparency - Restores a transparency effect that is missing from the item pickup screeen.
Disable broken "Filter03" - This filter was originally meant to add an extra glow effect on certain fire sources, but it was broken when the game was ported to the Xbox 360, making the entire image have an orange tint overlay applied to it.
Fix blurry image - Fixes a problem related to a vertex buffer that caused the image to be slightly blurred, making the image much sharper and clearer.
Disable film grain - Disables the film grain overlay that is present in most sections of the game.
Enable GC blur - Restores DoF blurring from the GC version, which was removed/unimplemented in later ports.
Enable GC scope blur - Restores outer-scope blurring when using a scope, which was removed/unimplemented in later ports.
Borderless window - Whether to use a borderless-window when using windowed-mode.
Separate volume sliders - Allows seperate adjustment of background music/sound effect/cutscene volume.
Mouse turning - Makes the mouse turn the character instead of controlling the camera, similar to Resident Evil 5.
Raw mouse input - Makes the game use Raw Input for aiming and turning. Greatly improves mouse input by removing negative/positive accelerations that were being applied both by the game and by Direct Input.
Replace framelimiter - Implements a new reduced-CPU-usage FPS limiter.
Vulkan renderer - Enables the use of the DXVK-based vulkan renderer, which provides better performance on newer hardware.
Multithread Fix - Enables fixes for multithreaded DirectX9, giving a slight performance boost.
Restore demo videos - Restores the playback of demo videos that play when the game is idle at the main menu or the "press any key" screen for about 20 seconds. More info in the config menu/.ini file.
NTSC Mode - Unlocks minor difficulty boosts previously exclusive to the NTSC console versions of RE4.
DetachCameraFromAim - When using the "Modern" mouse setting, the game locks the camera position to the aiming position, making both move together. Although this is the expected behavior in most games, some people might prefer to keep the original camera behavior while also having the benefits from "Modern" aiming. Enabling this will also restore the horizontal aiming sway that was lost when the devs implemented "Modern" aiming.
Fix sniper zoom - When playing with keyboard and mouse, this fixes an annoying bug which would cause your camera to be off-center after you zoomed in with a sniper rifle.
Fix sniper focus - When zooming in and out with the sniper rifle using a mouse, this option makes the "focus" animation look similar to how it looks like with a controller.
Fix "Retry/Load" mouse selector - Prevents the game from overriding your selection in the "Retry/Load" screen when moving the mouse before confirming an action. This bug usually causes people to return to the main menu by mistake, when they actually wanted to just restart from the last checkpoint.
Key Icon Fallback - Game is missing icons for certain keyboard languages, normally they would be made invisible, but can now have English equivalents shown instead.
Allow reload without aiming - Removes the need to be aiming the weapon before you can reload it. KB/M and Controller supported. (DInput untested). Also provides an extra option to disable the camera zoom when you reload weapons.
Flip items in your inventory using the keyboard - Creates key bindings to flip (not just rotate) items when playing with a keyboard and mouse, just like you can do if you play with a controller.
Default bindings:
Flip up: Home
Flip down: End
Flip left: Insert
Flip right: Page Up
Jet Ski tricks using keyboard/mouse - Although a relatively unknown feature, you can do tricks while riding the Jet Ski in the very last section of the game if playing with a controller. This mod adds keyboard/mouse bindings for this, as the devs apparently forgot to do so.
Rebind keyboard QTE keys - The vanilla game doesn't allow the user to change the main QTE keys, being "X" and "C". Changing them via an .ini file is possible, but the on screen prompts don't change to match the new keys, leading to confusion. This mod changes the default QTE keys to be "A" and "D", both customizable and with proper on screen prompt support.
Change controller sensitivity - For some reason the vanilla game doesn't have an option to change it for controllers, only for the mouse.
Xinput deadzone changes - Allows tweaking and removing some unnecessary deadzones that were added for Xinput controllers, making camera movement feel more like it did on the original GameCube version of the game.
4GB Patch - Can automatically 4GB patch the game executable for you, rather than needing to use tools from other places.
Savegame Transfers - Removes SteamID check from savegames, allowing saves to be easily transferred between accounts.
60 FPS fixes - Tries to fix some issues left by the people who created the 60 FPS mode in this port. Currently, it changes the following:
Fixes the speed of falling items, making them not fall at double speed. This issue was one of the first issues people noticed (when this port was still being teased in trailers), but Q-LOC never fixed it, even after releasing 6 patches.
Fixes the speed of opening compartments such as drawers, cabinets, chests, boxes, shelves, etc.
Fixes the speed of moving geometry such as: doors, passages, gates, ceilings, etc.
When running in 60 FPS, some QTEs require extremely fast button presses to work. This gets even worse in Professional difficulty, making it seem almost impossible to survive the minecart and the statue bridge QTEs. This fix makes QTEs that involve rapid button presses much more forgiving.
Makes Ashley's bust physics consistent between 30 and 60FPS
Makes backwards-turn speed consistent between 30 and 60FPS
Ashley's fixed camera angles - Unlocks the JP-only classic camera angles during Ashley's segment.
Leon's mafia outfit in cutscenes - Allows the game to properly display Leon's mafia outfit ("Special 2") in cutscenes.
ViolenceLevelOverride - Allows overriding the level of violence, making it possible to censor/uncensor the game.
Silent armored Ashley - Silence Ashley's armored outfit ("Special 2"). For those who also hate the constant "Clank Clank Clank".
AllowAshleySuplex - Allows Ashley to Suplex enemies in very specific situations. (previously was only possible in the initial NTSC GameCube ver., was patched out in all later ports.)
Allow Quickturn when using the Matilda - Allows quickturning character to camera direction when wielding Matilda.
FixDitmanGlitch - Fixes the Ditman glitch, which would allow players to increase their walk speed. Not recommended, but mod makers may be interested in enabling this (see Bin32/re4_tweaks/setting_overrides/overrides_info.txt)
Sprint toggle - Changes sprint key to act like a toggle instead of needing to be held.
DisableQTE - Disables most of the QTEs, making them pass automatically.
AutomaticMashingQTE - Unlike the previous option, this only automates the "mashing" QTEs, making them pass automatically. Prompts are still shown!
Skip intro logos - Whether to skip the beginning Capcom etc intro logos when starting up the game.
Enable debug menu - Enables the "tool menu" debug menu, present inside the game but unused, and adds a few custom menu entries ("SAVE GAME", "DOF/BLUR MENU", etc). More info in the .ini file.
EnableFastMath - Replaces older math functions in the game with much more optimized equivalents. Experimental, can hopefully improve framerate in some areas that had dips.
PrecacheModels - Forces game to fully cache all models in the level after loading in. May help with framerate drops when viewing a model for the first time. (not fully tested, could cause issues if level has many models to load!)
Allow high resolution SFD files - Allocate more memory for SFD movie files, and properly scale its resolution display above 512x336. Not tested beyond 1920x1080.
RaiseVertexAlloc - Allocate more memory for some vertex buffers. This prevents a crash that can happen when playing with a high FOV.
RaiseInventoryAlloc - Allocate more memory for the inventory screen, preventing crashes with high-poly models inside ss_pzzl.dat.
(Optional) Trainer section - Allows you to modify various aspects of the game during gameplay.
Installation
Extract the "re4_tweaks" folder, dinput8.dll and dinput8.ini to "Steam\steamapps\common\Resident Evil 4\Bin32". Options can be configured either by manually editing dinput8.ini, or by pressing F1 to bring up the in-game configuration menu.
Linux users need to add WINEDLLOVERRIDES="dinput8=n,b" %command% into Resident Evil 4’s Steam's launch options.
If you use Raz0r's "Ultimate Trainer Companion", you will notice both mods use the same "dinput8" name. In this case, for them to work together, rename re4_tweaks's files to either "winmm" or "xinput1_3".
Massive thanks to emoose for his incredible help with many of these features.
Special thanks to MeganGrass for reverse-engineering assistance.
I have a Steam thread regarding the project here if any assistance is needed, or you can open an issue on the project's GitHub page