ScriptHookRDR2 V2

by kepmehz·v2.0·Updated 2025-09-20

ScriptHook tool for the latest game patch, version 1491.50. Features a modern native user interface to intelligently manage your scripts

Screenshots 2 screenshots

About this mod Machine translation

ScriptHook tool for the latest game patch, version 1491.50. Features a modern native user interface to intelligently manage your scripts

ScriptHookRDR2 V2

🎯 Project Overview

This is a ScriptHook alternative designed for Red Dead Redemption 2 that adds more useful features while maintaining the same API architecture as Alexander Blade's ScriptHookRDR2.

✨ Main advantages

  • **Fix key bug**: Solved the problem that the original ScriptHook caused the game resource pool to be reset in high-density areas of the city
  • **Modern Interface**: Provides an intuitive user interface to manage each module individually
  • **Hot reload function**: add new modules without restarting the game

🛠️ Installation Guide

  • Download the Mod Loader and ScriptHookRDR2 V2 files
  • After decompression, copy dinput8.dll and ScriptHookRDR2.dll to the RDR2 game directory (where RDR2.exe is located)
  • Start the game to use it!

---

🚀 New features

Native command support

**DRAW_LINE command**

```cpp

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

```

**SET_TEXT_FONT command**

```cpp

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

```

**SET_TEXT_JUSTIFICATION command**

```cpp

/* 0=centered, 1=left aligned, 2=right aligned */

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

```

Advanced export function

**getStaticPtr function**

Get script static pointers (called Locals in decompiled scripts)

**switchLabel function**

Replaces text labels in game, allowing custom text to be provided in input boxes

**getCommandFromHash function**

Get command pointer by hash value

🙏 Acknowledgments

Special thanks to Alexander Blade for developing the API foundation

💡 Usage suggestions

  • Make sure to download version 2.0, which fixes all known issues
  • Link the provided library in your project to use the export functionality
  • Add the corresponding lines of code to your natives.h and main.h files

Have fun developing mods! 🎮

Install & use Install: follow the bundled instructions

  1. Unzip the archive from playbuff and read the bundled readme / instructions first.
  2. There is no universal mod manager for this game: some mods replace game files directly, some go into a game-specific Mods folder, and some need a game-specific community loader or tool first — follow the bundled readme.
  3. Place the files exactly as the readme says; mods with listed dependencies need those installed too.
  4. Launch the game to confirm it loaded; some games require enabling mods in settings or an in-game mod menu.

Install locations vary a lot between games and mods — the bundled readme is the most reliable guide.

File & checksum

Filename
ScriptHookRDR2.dll
File size
70.9 KiB