REFramework Direct2D
🟠 Updated over a year ago⚠️ Install Order · 1 step
Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.
Preview

🔍 Analysis
- 👍 2.8% endorsement rate — high engagement, a strong quality signal
- 🏆 #2 of 203 Miscellaneous mods in this game by downloads
📋 About This Mod
The original author of the mod is cursecat (cursey)! I simply uploaded it to RE4 mods! Original upload on nexus: here.
This is a REFramework plugin that adds a Direct2D scripting API. You can think of this as a modder's resource intended on making better overlay style mods. The main benefit to modders is improved font rendering, out of the box support for Unicode rendering, and updating at a lower rate than every frame (to lower the overall performance impact of overlay style scripts).
To install:
1) Download and extract REFramework-D2D.zip
2) Copy the /reframework/ folder into your Resident Evil 4 directory.
3) Make sure reframework-d2d.dll is in the games /reframework/plugins/ directory.
4) Make sure reframework-d2d.lua is in the games /reframework/autorun/ directory.
Development of this plugin takes place on cursey's github. This is also where you can find the documentation for the scripting API this plugin adds.
Requires at least version 1. 5. 4 of REFramework.
v0. 1. 1 - Initial release on nexus.
- Fixed a freeze that could happen when an error occurred inside one of the `d2d.register` functions.
- Improved error handling and reporting in general.
- Added reframework-d2d.lua to let users customize the max update rate for the plugin.
- Increased the default update rate from 30hz to 60hz.
v0. 2. 1: - Improved alpha blending.
- Refactored resources (such as fonts) into their own types
- Added support for loading and drawing images
v0. 4. 0: - Moved Lua callbacks to run during the games BeginRendering phase.
- Fix game exit freeze
- Update dependencies
- Cleanup of build scripts
REFramework Direct2D is a plugin for REFramework that introduces Direct2D scripting APIs, enabling modders to create custom UI elements in RE Engine games. It requires REFramework version 1.5.4 or higher. With over 5,000 endorsements and 185,000 downloads, it's a well-established tool for mod developers.
✨ Key Features
📊 Pros & Cons
✅ Pros
- Huge community trust with 5,173 endorsements and 185k downloads.
- Opens up UI modding possibilities for RE Engine games.
- Actively maintained as of April 2025.
⚠️ Cons
- Not for end-users—requires scripting knowledge to use effectively.
- Only works with REFramework, so it's limited to games that support that framework.
- Potential compatibility issues if you're on an older REFramework version.
For mod developers and tech-savvy players who want to build custom UI overlays in RE Engine games. If you're just looking to install mods, this isn't for you—it's a toolkit, not a mod itself.
💡 Beginner Tips
- Make sure your REFramework is updated to at least 1.5.4 before installing this plugin.
- If you're new to scripting, check out REFramework's Lua API docs to understand how to use Direct2D functions.
- Test your scripts in a dev environment to avoid crashes in your main game.
📊 Mod Details
- Game
- Residentevil42023 Mods
- Author
- cursecat
- Version
- 1.4.1
- Downloads
- 185,479
- Endorsements
- 5,173
- Category
- Miscellaneous
- Created
- 3/19/2023
- Updated
- 4/7/2025
🔧 How to Install Resident Evil 4 (2023) Mods
Download from Nexus Mods.
📖 Full step-by-step install guide for Resident Evil 4 (2023) →
Visit the official mod page for specific installation instructions for this mod.
🎮 Need cheat codes or console commands? Check ur gaming wiki for Resident Evil 4 (2023) commands, item IDs, and more.
Keep browsing — more Resident Evil 4 (2023) mods await