Jump to content

RERevHook - RE Revelations custom resolution fix


About This File

DLL hook that can prevent RE Revelations from crashing when config.ini contains a resolution that isn't normally supported (eg. 3840x2160), the DLL will patch the game in memory so that the config.ini resolution can be used fine instead.

To make use of it just extract xinput1_3.dll next to the games rerev.exe file, then edit the games config.ini (AppData\Local\CAPCOM\RESIDENT EVIL REVELATIONS\config.ini), changing the Resolution line under the [DISPLAY] section to the desired resolution.

After that, the game should start up in the chosen resolution, and will now no longer crash during the first load screen.

Been playing with 3840x2160 & 5120x2880 via nVidia DSR and haven't noticed any issues with it so far. The DLL isn't hardcoded for any specific game version so hopefully earlier versions will work with it too, but I've only tried with the latest Steam release. If anyone runs into any issues feel free to let me know.
(DLL was built with VS2022, so you might need to install latest vcredist.x86.exe for it to work, you can find that at https://docs.microsoft.com/en-US/cpp/windows/latest-supported-vc-redist?view=msvc-170)

(note that the custom resolution has to be exposed from your GPU/monitor for game to work with it, eg. via nVidia DSR or NCP custom resolutions, otherwise resolution will be set to default 1920x1080)

Source code is included for anyone interested in it (licensed under GPL3)





User Feedback

Recommended Comments

There are no comments to display.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Add a comment...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Found PCGamingWiki useful? Please consider making a Donation or visiting our Patreon.
  • Who's Online   0 Members, 0 Anonymous, 398 Guests (See full list)

    • There are no registered users currently online
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Member Statistics

    11,398
    Total Members
    3,870
    Most Online
    handsomestrife
    Newest Member
    handsomestrife
    Joined
×
×
  • Create New...