scrDbg: RAGE Script Debugger 4.0.0
2,387
40
2,387
40
scrDbg is a script debugger for RAGE games. It allows you to inspect, manipulate, and debug game scripts in real-time.
Source code is available here.
Supported Games:
Features:
Usage:
Changelog:
Credits:
Source code is available here.
Supported Games:
- Grand Theft Auto IV: The Complete Edition
- Red Dead Redemption
- Max Payne 3
- Grand Theft Auto V (Legacy & Enhanced)
- Red Dead Redemption 2
Features:
- View running scripts
- Pause scripts
- Kill scripts
- Export disassembly, strings, statics, globals, and natives
- Exception handling
- View functions
- View stack
- View callstack
- Edit stack frame (function args, locals, temps)
- View disassembly
- Jump to a raw address
- Binary search (pattern, hex, decimal, float, string)
- NOP instructions
- Apply custom patches
- Generate patterns
- View xrefs
- Set breakpoints
- Logging
- Log script frame times
- Log function calls
- Log native calls with type information
- Log static and global writes
- Statics editor
- Globals editor
Usage:
- Disable BattlEye from Rockstar Games Launcher for GTA V.
- Launch the game.
- Run scrDbg.exe.
Changelog:
- 4.0.0:
- Added full support for Max Payne 3
- Added full support for Red Dead Redemption
- Added full support for Red Dead Redemption 2
- Added value type support for stackframe, statics, and globals editing:
- INT
- BIT FIELD
- FLOAT
- TEXT LABEL
- STRING
- Various bug fixes and improvements
- 3.0.0
- Added full support for Grand Theft Auto IV: The Complete Edition
- Added argument and return value type information for native call logs
- Added show elapsed time since thread creation for GTA V
- Changed function naming scheme from index-based to PC-based
- Various bug fixes and improvements
- 2.1.0:
- Updated for game build 1013.20/3725
- Added editing support for stack frame temp variables
- Added logging support for script function calls
- Added new natives from game build 1013.17/3717
- Various bug fixes and improvements
- 2.0.0:
- Added support for searching hexadecimal, decimal, float, and string values in the binary search
- Moved ScriptVM into scrDbg, it is now scrDbg.dll and injected into the game by scrDbg.exe
- Added a new Logs tab:
- Log the duration of a single script frame (in ms)
- Log native calls with names, arguments, and return values
- Log static and global writes
- Logs can be filtered by a single script or all scripts
- Various bug fixes and improvements
- 1.3.0:
- Added current function display and selected instruction description in the disassembly view
- Added view callstack and stackframe with editing support
- Added an option to make breakpoints pause the entire game or only the script
- Added tooltips for labels and buttons
- Various bug fixes and improvements
- 1.2.0:
- Added an option to view xrefs for the selected address in the disassembly view
- Added export options for statics, globals, and natives
- Added a searchable function list showing name, range, length, and argument/local/return counts
- 1.1.0:
- Added an option to export a script's disassembly to a file
- Added translation support for text labels in the disassembly view
- Added an option to export only text labels when exporting a script's string table
- Added support for displaying native names, hashes, and handlers in the disassembly view
- 1.0.0:
- Initial release
Credits:
- maybegreat48 for External and GTA-V-Script-Decompiler.
- alloc8or for GTA 5, Max Payne 3, and RDR2 Native DB.
- GTAIV.EFLC.FusionFix for GTA 4 Natives.
- therouletteboi for RDR1 Native DB.
- Foxxyyy for the script decompiler in Magic-RDR.
- OldAgario for logo design.
First Uploaded: October 26, 2025
Last Updated: July 08, 2026
Last Downloaded: 3 hours ago
All Versions
13 Comments
scrDbg is a script debugger for RAGE games. It allows you to inspect, manipulate, and debug game scripts in real-time.
Source code is available here.
Supported Games:
Features:
Usage:
Changelog:
Credits:
Source code is available here.
Supported Games:
- Grand Theft Auto IV: The Complete Edition
- Red Dead Redemption
- Max Payne 3
- Grand Theft Auto V (Legacy & Enhanced)
- Red Dead Redemption 2
Features:
- View running scripts
- Pause scripts
- Kill scripts
- Export disassembly, strings, statics, globals, and natives
- Exception handling
- View functions
- View stack
- View callstack
- Edit stack frame (function args, locals, temps)
- View disassembly
- Jump to a raw address
- Binary search (pattern, hex, decimal, float, string)
- NOP instructions
- Apply custom patches
- Generate patterns
- View xrefs
- Set breakpoints
- Logging
- Log script frame times
- Log function calls
- Log native calls with type information
- Log static and global writes
- Statics editor
- Globals editor
Usage:
- Disable BattlEye from Rockstar Games Launcher for GTA V.
- Launch the game.
- Run scrDbg.exe.
Changelog:
- 4.0.0:
- Added full support for Max Payne 3
- Added full support for Red Dead Redemption
- Added full support for Red Dead Redemption 2
- Added value type support for stackframe, statics, and globals editing:
- INT
- BIT FIELD
- FLOAT
- TEXT LABEL
- STRING
- Various bug fixes and improvements
- 3.0.0
- Added full support for Grand Theft Auto IV: The Complete Edition
- Added argument and return value type information for native call logs
- Added show elapsed time since thread creation for GTA V
- Changed function naming scheme from index-based to PC-based
- Various bug fixes and improvements
- 2.1.0:
- Updated for game build 1013.20/3725
- Added editing support for stack frame temp variables
- Added logging support for script function calls
- Added new natives from game build 1013.17/3717
- Various bug fixes and improvements
- 2.0.0:
- Added support for searching hexadecimal, decimal, float, and string values in the binary search
- Moved ScriptVM into scrDbg, it is now scrDbg.dll and injected into the game by scrDbg.exe
- Added a new Logs tab:
- Log the duration of a single script frame (in ms)
- Log native calls with names, arguments, and return values
- Log static and global writes
- Logs can be filtered by a single script or all scripts
- Various bug fixes and improvements
- 1.3.0:
- Added current function display and selected instruction description in the disassembly view
- Added view callstack and stackframe with editing support
- Added an option to make breakpoints pause the entire game or only the script
- Added tooltips for labels and buttons
- Various bug fixes and improvements
- 1.2.0:
- Added an option to view xrefs for the selected address in the disassembly view
- Added export options for statics, globals, and natives
- Added a searchable function list showing name, range, length, and argument/local/return counts
- 1.1.0:
- Added an option to export a script's disassembly to a file
- Added translation support for text labels in the disassembly view
- Added an option to export only text labels when exporting a script's string table
- Added support for displaying native names, hashes, and handlers in the disassembly view
- 1.0.0:
- Initial release
Credits:
- maybegreat48 for External and GTA-V-Script-Decompiler.
- alloc8or for GTA 5, Max Payne 3, and RDR2 Native DB.
- GTAIV.EFLC.FusionFix for GTA 4 Natives.
- therouletteboi for RDR1 Native DB.
- Foxxyyy for the script decompiler in Magic-RDR.
- OldAgario for logo design.
First Uploaded: October 26, 2025
Last Updated: July 08, 2026
Last Downloaded: 3 hours ago


















Can you tell me more about the feature and can guide me how to use it, thank you
I really admire this idea. This is something that can speed up the development and debugging of mods several times.
As a friend, I suggest that if you have enough knowledge, please develop a debugger without problems in Visual Studio. If the company does not mind,
Hi @ShinyWasabi ...
What an amazing tool mate! Thank you for developing it for our community.
I am trying to debug a SCRIPT named BulletKnockback.dll (https://www.gta5-mods.com/scripts/bullet-knockback) ... I just see several controllers (Audio Test, cellphone_controller,etc) in the DROPDOWN list but I cannot see the BulletKnockback there ... Anything that I am missing :)?
The correct link is https://www.gta5-mods.com/scripts/bullet-knockback
@patrio @jrchaves
This tool is designed for debugging the game’s YSC scripts, mainly for reverse engineering and research purposes.
It’s not intended for ASI or DLL mods.
Where can I download ScriptVM.asi? It seems that the compiled file is not published on the page you provided.
@JoyLucien For now, you’ll need to compile it yourself from the source. I’ll publish a compiled release once I add Legacy support for it.
@ShinyWasabi, Ah ok ... thank you for claryfing. I will try to work with YSC and check the results. Thank you mate!
Such a useful mod!
x64dbg on crack
is ScriptVM no longer required? i see the git repository is no longer available
@ook_3d I merged its code into the scrDbg repository, and it’s now built as scrDbg.dll and injected into the game by scrDbg.exe. I’ll publish a new release soon.
@ShinyWasabi Well done!!!