Description
This mod makes GTA V Expanded & Enhanced run smoother and crash less during hectic moments. It allows the game to keep more decals (bullet holes, blood, tire marks, graffiti) before cleaning them up, and it tunes a small streaming check so world assets load more reliably. Everything happens in memory only—no game files are permanently changed. Pick a simple preset (Vanilla → Ultra); Medium is a safe default, while Ultra is for stronger PCs.
The ASI plugin applies two targeted, in-memory patches to improve stability and streaming on the Enhanced build.
Decals Limit Patch: Raises the two internal decal compare limits the engine uses (vanilla checks are 256 and 512) to a preset you choose.
fwBox Streamer Threshold: Adjusts a guard compare (CMP ECX, imm32) in the engine’s fwBox streaming path to a safer default (0x1004 = 4100).
All changes are minimal and reversible (memory only) — no game files are edited.
Features
- Presets (Level 0–4): 0=Vanilla (512), 1=Low (768), 2=Medium (896), 3=High (1024), 4=Ultra (2048).
- Dual AOB strategy: fwBox uses a primary and secondary signature; on failure, it safely does nothing.
- Runtime monitor: optional live logging shows the exact addresses and current compare values; warns if anything ever reverts.
- Minimal-change policy: only immediate values are touched; no pool tuning, no gameplay rebalance.
Bugs & Limitations
- Signatures may drift after game updates. If an AOB doesn’t match, fwBox leaves memory unmodified and logs the miss.
- Compatibility: other ASIs that patch the same instructions could conflict (rare). Check your log for unexpected value changes.
- Target platform: built for the PC “Enhanced”/Expanded & Enhanced branch. Older builds may not match the signatures.
Summary of Installation
Install ScriptHookV (ensures dinput8.dll ASI loader is present).
Place DecalPatch.ini beside it and configure your preset:
[Decals] Level=0..4 (0=512, 4=2048).
[fwBox] Enable=1, Imm=0x1004 (decimal/hex), DetectionOnly=0/1.
[Log] Runtime=1/0 (on/off). Other log settings are fixed in the build (IntervalMs=5000, Verbose=1, Detail=1, HexWindow=0).
Launch the game and confirm in DecalPatch.log:
Decals: “wrote A … 256 → X” and “wrote B … 512 → X”.
fwBox: “matched … old=… → target=4100”.
Requirements
ScriptHookV (includes dinput8.dll).
Microsoft Visual C++ Redistributable 2015–2022 (x64)
Uninstallation
Remove DecalPatch.asi and DecalPatch.ini. No permanent files are modified.
Troubleshooting
No log or ASI not loading: verify dinput8.dll is in the game folder and not blocked by antivirus.
“Signature not found” for fwBox: set DetectionOnly=1, relaunch, and review the log; signatures can be extended safely.
Crash on boot: ensure the VC++ 2015–2022 x64 redistributable is installed.
Credits & Permissions
Tanuki — thanks for sharing the source code that enabled this work.
Alexander Blade — ScriptHookV/ ASI loader.
JaliscoGDL — implementation, packaging, and testing.
💡 Others also downloaded: Miss Slip, Forza Styled Speedometer, GTA IV Camera in GTA V V1.1.
Share Your Gameplay!
Submit a screenshot of this mod!
Submit a YouTube video.

