Repository navigation
Releases: mnector/ED2
Release list
The Online Installer & AMD-NR Backend Overhaul
This major update completely rewrites the ED2 installation framework to ensure 100% license compliance, while delivering the smoothest and most stable neural rendering experience to date.
✨ What's New:
- 100% License Compliance (Online Installer): ED2 is now a fully automated online wrapper. It no longer bundles or redistributes copyrighted third-party
.dllfiles. Instead,Setup.Install.ps1dynamically fetches the latest official releases from 3zwr1/AMD-NR---OptiScaler and danielblnc/DLSS-NR-on-AMD directly from GitHub at install time. - Massive Performance Leap: We have officially transitioned away from the legacy
EnvyDynamicPacingwatchdog. The new native AMD-NR runtime offers vastly superior memory management, completely eliminating driver timeouts (TDRs) and real-time gaming stutters. - Game-Specific Auto-Tuning: The script continues to automatically inject custom
OptiScaler.iniparameters depending on your game's engine (e.g., handling RE Engine resource barriers, GTA V hotkeys, and Vulkan spoofing). - New Automated Uninstaller: By popular demand, we've added
Uninstall.ps1. Run it in any game directory to cleanly sweep all mod files, configurations, and logs, restoring your game to its vanilla state instantly. - Cleaned Payload: The release
.zipis now extremely lightweight (a few KB), containing strictly our open-source PowerShell and Batch scripts.
Because ED2 now fetches the backend files directly from their original authors, an active internet connection is required during installation.
Full credit for the core neural rendering technology goes to Daniel Blanco (DLSS-NR-on-AMD) and 3zwr1 (AMD-NR). ED2 acts strictly as an automated modding tool and configuration wrapper.
v1.0.4 — The Absolute Continuity Update
💎 Envy-Diamond-2 v1.0.4 — The Absolute Continuity Update
This release represents a definitive leap in stability for the neural rendering translation pipeline on AMD Radeon GPUs. Following deep reverse engineering of the dlssnr_amd backend and OptiScaler proxy layers, version 1.0.4 eradicates both timeout frame drops and temporal history resets caused by GPU overload spikes.
🚀 Key Improvements & Highlights
1. 🛡️ Watchdog v5.0.0 ("The True Root-Cause Cure")
- Master Flag Interception (
0x76D54): Disassembled and identified that the neural engine decides whether to present or discard frames based on a single memory flag. The initializer at0x1061Enow defaults to0(Success), the unpatched timeout branch at0xF0D1has been NOP'd, error writes at0xF293are forced to0, and the Watchdog loop actively locks0x76D54to0every 50ms in live RAM. - OptiScaler 16ms Pre-SR Bypass: Dynamically hot-patches the
JAEconditional branch at RVA0x14585, blinding OptiScaler to time so it never prematurely aborts pre-SR passes during heavy GPU submissions.
2. ⏳ Temporal History Persistence (SkipReset = true)
- Elimination of Raw/Unprocessed Frame Flashes: When the GPU is overloaded (e.g., jobs spiking to 200ms+ due to OBS recording or heavy scenes), modern engines (RE Engine, Final Fantasy XVI, UE5) falsely assume a scene transition/teleport and send an explicit
ResetHistorycommand. This purged the temporal accumulation buffer and caused the game to flash an aliased, un-accumulated frame. OptiScaler now enforcesSkipReset=true, ignoring false reset triggers and preserving continuous temporal reconstruction through any frame spike.
3. 🧹 Log Sanity Restored
- Restored clean epilogue execution branching at RVA
0xF138, completely eliminating false-positive host watchdog timeout log flooding during normal frames.
4. ⌨️ Automated Game-Specific Hotkey Detection
- Automatic Out-of-the-Box Setup: The installer (
Install_Game_Admin.bat/Setup.Install.ps1) automatically detects the target game and applies conflict-free overlay hotkeys:- Resident Evil Requiem / RE Engine: Automatically configured to
HOME(0x24) to avoid collisions with REFramework'sINSERTmenu. - Grand Theft Auto V Enhanced: Automatically configured to
INSERT(0x2D) to avoid collisions with Rockstar Social Club'sHOMEoverlay. - Manual override: If you want to change hotkeys manually, open
OptiScaler.iniin your game directory and setShortcutKeyandMenuKeyunder the[Menu]section.
- Resident Evil Requiem / RE Engine: Automatically configured to
☕ Support the Project
If this mod saved your framerate and you love playing with DLSS 5 on AMD hardware, consider buying me a coffee or donating to support ongoing research and development!
👉 Donate with PayPal
The Great Awakening (Late Injection & Vulkan Fixes)
💎 Envy-Diamond 2 - v1.0.3
This release introduces critical stability fixes that permanently eliminate the 87ms DLSS-NR timeout micro-stutters across all DirectX 12 games (like Palworld and FINAL FANTASY XVI), while adding full support for strict Vulkan engines (like No Man's Sky).
🐛 The Watchdog Timing Bug (Fixed)
Previously, the EnvyDynamicPacing.asi plugin was injected instantly on startup, missing its chance to patch the AMD Neural Rendering translation proxies (dlssnr_amd_pass*.dll) since the game hadn't loaded them yet.
- Fix: The ASI is now installed as
EnvyDynamicPacing-loadlate.asi. OptiScaler will intentionally wait 30 seconds before injecting it, ensuring all AMD proxies are fully loaded into memory. The "Digital Bottomless Pit" now successfully NOPs the 600ms budget limit, achieving perfect frame pacing under heavy load without 1-second timeout aborts!
⚙️ GPU Auto-Detection Fix
- Fixed an issue where the installer incorrectly saved the
ENY_GPU_GENvariable to a local.envtext file instead of the Windows Environment. The ASI plugin was failing safe withUnknown GPU. It now correctly reads the native Windows variables to detect your RDNA architecture and tune the memory patches.
🌌 Vulkan Extension Fix & Limitations (No Man's Sky)
- Fix: Disabled
VulkanExtensionSpoofingfor No Man's Sky and other Vulkan games. Previously, attempting to spoof NVIDIA-specific Vulkan extensions caused the AMD driver to strictly reject the instance duringvkCreateDevice(Error-7), causing instant crashes. - Important Note: Vulkan games cannot be upgraded to DLSS 5. The AMD Neural Rendering proxy (
dlssnr_amd) is designed exclusively to intercept DirectX 12 resources. Because of this, Vulkan titles skip the neural passes. However, FSR 3.1 Super Resolution still tunnels perfectly on AMD hardware natively through the DLSS menu!
🎮 New Verified Games
- FINAL FANTASY XVI (Demo): Full DLSS Neural Rendering (DLSS 5) and OptiScaler translation natively supported out-of-the-box for RDNA 3 and RDNA 4 GPUs.
1-Click Game & TDR Installers, Universal DX12 & RE Engine Support
💎 Envy-Diamond-2 v1.0.2
Envy-Diamond-2 (ED2) v1.0.2 introduces a completely streamlined 1-click installation experience for Windows users, full out-of-the-box compatibility with Capcom RE Engine titles (including Resident Evil Requiem), universal DirectX 12 swapchain stability, and an upgraded 60-second TDR timeout fix.
🚀 What's New in v1.0.2
-
🖱️ 1-Click Game Installer (
Install_Game_Admin.bat):- No PowerShell knowledge required! Auto-elevates with Administrator privileges (UAC).
- Prompt window allows you to simply paste, type, or drag and drop your game directory into the terminal.
- You can also drag and drop the game folder directly onto
Install_Game_Admin.batin Windows Explorer!
-
⚡ 1-Click TDR Configuration (
Fix_TDR_Admin.bat):- Auto-elevating batch script that sets Windows GPU driver timeouts to safe 60-second limits (
TdrDelay= 60s,TdrDdiDelay= 60s). - Eliminates
0x887a0006 (DXGI_ERROR_DEVICE_HUNG)crashes during heavy neural shader compilation on AMD RDNA 3/4 hardware.
- Auto-elevating batch script that sets Windows GPU driver timeouts to safe 60-second limits (
-
🧟 Capcom RE Engine Support (Resident Evil Requiem / BIOHAZARD requiem):
- Auto-detection of RE Engine titles during installation.
- Defaults automatically to
version.dllproxy to eliminate early DXGI swapchain initialization traps. - Tuned for Monolithic REFramework (
dinput8.dll) compatibility with zero root signature collisions. - In-game hotkey separation: REFramework uses
Insert(VK_INSERT), OptiScaler usesHome(VK_HOME/0x24). - Blocks invasive Steam/Epic overlays (
DisableOverlays=true) to prevent memory corruption crashes.
-
🏛️ Universal DX12 Swapchain Resize Stability:
- Enforces
SkipResizeBuffers=false,PreserveSwapChain=false,ModifyBufferState=true, andModifySCIndex=trueacross all profiles. - Completely fixes black-screen and mouse-cursor crashes when transitioning from fixed-resolution intro videos to 3D main menus across all DX12 engines.
- Enforces
-
🛡️ EnvyDynamicPacing.asi v2.0:
- Universal proxy detection: automatically finds and patches OptiScaler under
version.dll,dxgi.dll, or standalone configurations. - Non-blocking retry loops to prevent game startup freezes while applying the digital bottomless pit budget freezer.
- Universal proxy detection: automatically finds and patches OptiScaler under
📥 1-Click Quick Installation
- Download and extract
Envy-Diamond-2-v1.0.2.zip. - Double-click
Fix_TDR_Admin.bat(accept the UAC administrator prompt) and restart your PC (only needed once). - Double-click
Install_Game_Admin.bat, drag or paste your game folder path into the window, and press Enter:- RE Engine Example:
E:\Steam\steamapps\common\RESIDENT EVIL requiem BIOHAZARD requiem - Unreal Engine Example:
C:\Steam\steamapps\common\Palworld\Pal\Binaries\Win64
- RE Engine Example:
- Launch the game, select DLSS in the graphics settings (tunneling through FSR 3.1 + AmdLook), and enjoy next-generation visual fidelity!
Improved stability
v1.0.1 Release Description
What Changed
Bug Fixes & Improvements
1. Fixed TDR Registry Management
- Added automatic backup of TDR registry values before installation
- Added validation to detect if TDR settings are too low for DLSS-NR workloads
- New
Setup.TDRFix.ps1script to configure optimal TDR settings (requires reboot) - Users can restore original settings if needed
2. Added Post-Installation Validation
- New
Setup.Validate.ps1script checks:- Plugin files installed correctly
- TDR registry configured
- OptiScaler.ini settings verified
- Backup files exist
- Environment configuration correct
3. Improved Configuration Flexibility
- Log path is now configurable via
ENY_LOG_PATHenvironment variable - GPU generation stored in
optiscaler.envfile for better debugging - Default log writes to current directory instead of hardcoded path
4. Enhanced GPU Detection
- Improved RDNA generation detection
- Proper support for RDNA 4 (Radeon 9000 series)
- Better reporting during installation
Technical Changes
| Component | Change |
|---|---|
| Setup.Install.ps1 | Added TDR backup, validation, and configuration |
| Setup.TDRFix.ps1 | NEW: Registry configuration utility |
| Setup.Validate.ps1 | NEW: Post-installation validation |
| lib.rs | Made log path configurable via environment variable |
| .gitignore | Added exclusions for development files |
Verified Working
After installation on Palworld:
- ✅ All 3 OptiScaler patches applied (16ms error counter, recovery jump, retry jump)
- ✅ All 9 AMD proxy patches applied (3 patches × 3 passes)
- ✅ No timeout errors in logs
- ✅ TDR settings successfully configured
Installation
- Download
Envy-Diamond-2-v1.0.1.zip - Extract and run PowerShell as Administrator:
.\Setup.Install.ps1 -GameDir "C:\Path\To\Game\Binaries\Win64"
- Configure TDR settings:
.\Setup.TDRFix.ps1
- Reboot PC
- Verify installation:
.\Setup.Validate.ps1 -GameDir "C:\Path\To\Game\Binaries\Win64"
Compatibility
- AMD GPUs: RDNA 3 and RDNA 4 recommended
- Tested with: Palworld, OBS Studio
True Digital Bottomless Pit
💎 Envy-Diamond-2 v1.0.0 (True Digital Bottomless Pit)
Completes the absolute zero stutter architecture by patching the hidden iteration cap inside dlssnr_amd that was silently killing frames even when the time budget was sufficient!
✨ What's New
- Iteration Cap Unlocked: Found the
.textpattern initializing the cap to1,298,944and patched it natively to50,000,000(allowing up to ~333ms spin waits safely). - Recalculation NOP: Found the
.textpattern responsible for dynamically recalculating the cap (which could have overridden our patch) and completely NOPed it. - Zero Overhead: All patches are applied natively to memory code segments ONCE during startup, removing the need for
VirtualProtectpolling loops that caused catastrophic TLB shootdowns in earlier testing.
Envy-Diamond-2 now achieves PERFECT frame pacing under the heaviest OBS capture loads with absolutely zero unprocessed frames leaking to the screen!
Absolute Zero Stutter Edition
💎 Envy-Diamond-2 v0.9.0
This milestone release introduces the Digital Bottomless Pit architecture, completely neutralizing the hardcoded 1-second dlssnr deactivation penalties inside OptiScaler's dxgi.dll.
✨ What's New
- The Immortal Watchdog (Memory Injector):
EnvyDynamicPacing.asidynamically locates and patches OptiScaler'srecovery pendingandretry in 1sbranches in memory, making the 1000ms penalty mathematically unreachable. - Budget Freezer: Prevents the AMD Neural Renderer proxy from dynamically halving its time budget under heavy load (like OBS recording). By freezing the host watchdog budget at 600ms, the game engine can smoothly yield during capture spikes instead of instantly aborting and dropping frames.
- No TLB-Shootdown Stutters: Memory patches are applied natively to the
.textsection during initialization without continuousVirtualProtectpolling, guaranteeing zero overhead to your CPU cores.
📥 Installation
- Extract
Envy-Diamond-2-v0.9.0.zip. - Place
EnvyDynamicPacing.asiinside your game'sOptiScaler/plugins/folder. - Ensure
LoadAsiPlugins=trueis set inOptiScaler.ini.