# RE5Fix
This is DLL hook that fixes various issues with Resident Evil 5 relating to ultrawide support and more.
## Features
- FOV adjustment.
- Uncap 120 FPS limit.
- Remove yellow colour filter.
- Adjust shadow quality.
- Remove 4096x4096 resolution limit.
### Ultrawide Fixes
- Fixed UI scaling using ultrawide.
- Fixed ERROR 09: Unsupported Function crash using ultrawide.
- Fixed stretched movie playback.
## Installation
- Downloaded the [latest release](https://github.com/Lyall/RE5Fix/releases) of RE5Fix.
- Unzip in to the game directory (e.g **steamapps/common/Resident Evil 5**).
- Edit **RE5Fix.ini** to enable/adjust features.
## Troubleshooting
This fix was primarily created for use with [QOL Fixes](https://steamcommunity.com/sharedfiles/filedetails/?id=1533171339) but it **may** work with other versions of RE5.
1. **I get "xlive.dll is missing" error.**
The included version of GFWL on the Steam version of RE5 does not install properly on Windows 10/11. You can install [GFWL from here](https://community.pcgamingwiki.com/files/file/1012-microsoft-games-for-windows-live/) or use one of the unofficial patches.
2. **The file "xinput_1_3.dll" conflicts with another mod.**
You can rename the DLL to "dinput8.dll" or if you are using a mod with a DLL loader then you can just put it in the mod's plugins folder.
3. **I've tried everything and can't get it to work.**
Do a clean install of the latest version of RE5 from Steam. Install the [QOL Fixes](https://steamcommunity.com/sharedfiles/filedetails/?id=1533171339) mod. Then install RE5Fix.
## Known Issues
- FOV adjustment is still a work-in-progress.
## Screenshots
|  |
|:--:|
| 21:9 with colour filter removal and adjusted FOV. |
|  |
|:--:|
| 32:9 with working cutscenes! |
## Credits
[RERevHook](https://www.nexusmods.com/residentevilrevelations/mods/26) for the DLL proxy code.
[inih](https://github.com/jtilly/inih) for ini reading.
[FlawlessWidescreen](http://www.flawlesswidescreen.org/)'s RE5 script for info on where to start with UI/Res Limit fix.