ScriptHookRDR2 V2

⭐ ⭐⭐⭐ (25,545 endorsements) 📥 2.3M downloads 📌 v2.0 📅 4/28/2022
🟠 Updated over a year ago

By kepmehz · Tools

⬇ Download Mod Source: Nexus Mods 📅 Updated: 9/19/2024 📅 Created: 4/28/2022
⚠️ Install Order · 1 step
1🛠️ Script Hook RDR2 — Script Hook RDR2 Download ↗

Install in this order, then this mod last — most mods fail to load without their framework and dependencies in place.

🔍 Analysis

  • 👍 1.1% endorsement rate — high engagement, a strong quality signal
  • 🏆 #1 of 23 Tools mods in this game by downloads

📋 About This Mod

ScriptHookRDR2 V2

The purpose of this project is to provide an alternative to Alexander Blade's ScriptHookRDR2 while maintaining the same API architecture and adding more features to it.

There is a bug in the current version of Alexander Blade's ScriptHookRDR2 that causes the game pools to reset in cities with a high number of objects and pedestrians. This issue is not present in ScriptHookRDR2 V2.

In addition, V2 includes a modern interface that allows you to manage your mods individually and add new ones without the need to restart the game.


If you want to support me and my development, consider becoming one of my patrons, but only of course if you want and can:

I am planning on posting all kinds of mod development and research on RAGE.

Patreon

How to install:

1. Download both the Mod loader and ScriptHookRDR2 V2 file.

2. Extract both and copy dinput8.dll and ScriptHookRDR2.dll into your RDR2 Game Directory (where RDR2.exe is)

3. Launch the game!

Alexander Blade for the API he developed

Make sure to download version 2. 0 it fixes all bugs!

Additional Features:

To use the below listed exports, link the provided library in your project!

1. Native command: DRAW_LINE

How to use:

void DRAW_LINE(float fromX, float fromY, float fromZ, float toX, float toY, float toZ, int r, int g, int b, int a) { invoke<void>(0xec2ab68b,fromX,fromY, fromZ, toX, toY, toZ, r, g, b, a); } // 0xec2ab68b

Add this line to your natives.h file.

2. Native command: SET_TEXT_FONT

How to use:

void SET_TEXT_FONT(int fontType) { invoke<void>(0x3EDE2F10, fontType); } // 0x3EDE2F10

Add this line to your natives.h file.

3. Native command: SET_TEXT_JUSTIFICATION

How to use:

/ 0=Center,1=Left,2=Right /

void SET_TEXT_JUSTIFICATION(int justifyType) { invoke<void>(0x1B929974, justifyType); } // 0x1B929974

Add this line to your natives.h file.

4. Export: getStaticPtr (called Locals in the decompiled scripts)

Add this line to your main.h file:

DLL_IMPORT uint64_t getStaticPtr(const char scriptName, int staticIndex);

uint64_t static = getStaticPtr("script_name" 12345);

LOG(static)    // to read

static = 0xCOFFEEBABE // to write

5. Export: switchLabel (Switch text labels from the game with your own, this will allow you to provide your custom text in input boxes)

Add this line to your main.h file:

DLL_IMPORT void switchLabel(const char oldLabel, const char newLabel);

6. Export: getCommandFromHash (Returns a pointer to the command of the provided hash)

Add this line to your main.h file:

DLL_IMPORT void getCommandFromHash(uint64_t hash);

Enjoy!

🤖 AI-enhanced — based on mod data

ScriptHookRDR2 V2 is an alternative to Alexander Blade's ScriptHookRDR2 for Red Dead Redemption 2, offering the same API architecture with additional features. It fixes a bug causing game pools to reset in dense cities and includes a modern mod manager that allows adding mods without restarting the game. Highly popular with 25,545 endorsements and 2.3M downloads.

✨ Key Features

Fixes the game pool reset bug in cities with high object and pedestrian counts.
Provides a modern interface to manage mods individually and add new ones without restarting the game.
Maintains the same API architecture as Alexander Blade's ScriptHookRDR2.
Adds native commands DRAW_LINE, SET_TEXT_FONT, and SET_TEXT_JUSTIFICATION for mod developers.
Includes a mod loader and ScriptHookRDR2 V2 files for installation.
Requires version 2.0 to fix all bugs.

📊 Pros & Cons

✅ Pros

  • Massive community trust with 25,545 endorsements and 2.3M downloads.
  • Fixes a real performance bug that plagued the original ScriptHookRDR2 in dense cities.
  • Hot-swap mod loading without restarting the game is a game-changer for testing mods.

⚠️ Cons

  • Requires manual installation of DLLs into the game directory, which can be tricky for newcomers.
  • As an alternative to Alexander Blade's version, compatibility with existing mods might vary.
  • Active development is uncertain since the last update was in September 2024, and the author focuses on Patreon support.
🎯 Is This For You?
For RDR2 modders who need a stable script hook that handles dense city areas without crashes. Also for mod developers who want extra native commands for drawing lines and text. Skip if you're a casual player who doesn't use mods—this is a tool, not a gameplay mod.
📦 Install:Medium· 5-10 minutes

💡 Beginner Tips

  • Make sure to download version 2.0, as it fixes all known bugs.
  • Place dinput8.dll and ScriptHookRDR2.dll in the same folder as RDR2.exe, not in a subfolder.
  • Use the mod manager interface to add or remove mods without restarting the game.

📊 Mod Details

Game
RDR2 Mods
Author
kepmehz
Version
2.0
Downloads
2,270,424
Endorsements
25,545
Category
Tools
Created
4/28/2022
Updated
9/19/2024

🧩 Commonly Used Together

Users add these mods to the same collections — a real compatibility signal, not an AI guess.

🔧 How to Install RDR2 Mods

Install Script Hook RDR2 first. Most mods go in game directory.

📖 Full step-by-step install guide for RDR2 →

Visit the official mod page for specific installation instructions for this mod.

🎮 Need cheat codes or console commands? Check ur gaming wiki for RDR2 commands, item IDs, and more.

Keep browsing — more RDR2 mods await

📋 All RDR2 Mods 🏆 Top 25 📂 More Tools 👤 More by kepmehz 🔎 Similar Mods 🌐 Best Tools (All Games) 🔀 Check Compatibility ⚖️ Compare Mods 🆕 New Mods