Other user's assetsAll the assets in this file belong to the author, or are from free-to-use modder's resources
Upload permissionYou are not allowed to upload this file to other sites under any circumstances
Modification permissionYou must get permission from me before you are allowed to modify my files to improve it
Conversion permissionYou are not allowed to convert this file to work on other games under any circumstances
Asset use permissionYou must get permission from me before you are allowed to use any of the assets in this file
Asset use permission in mods/files that are being soldYou are not allowed to use assets from this file in any mods/files that are being sold, for money, on Steam Workshop or other platforms
Asset use permission in mods/files that earn donation pointsYou are not allowed to earn Donation Points for your mods if they use my assets
Author notes
This author has not provided any additional notes regarding file permissions
File credits
This author has not credited anyone else in this file
Donation Points system
Please log in to find out whether this mod is receiving Donation Points
Changelogs
Version v0.8
- Added `IS_KEY_DOWN` native (Use this if you don't want to rely on a custom input hook)
- Added `IS_KEY_PRESSED` native (Use this if you don't want to rely on a custom input hook)
- Added `IS_KEY_RELEASED` native (Use this if you don't want to rely on a custom input hook)
- Added a new config line `InternalConsole` to enable/disable the ingame F8 debug console (Set to `true` by default)
- Fixed issue with not being able to move the mouse around when the internal console was open
- Fixed a critical crash when initializing a large amount of `.red` plugins at game launch
Version v0.7
- Fixed `GetGlobalPtr` exported function (Was a wrong definition and results were not properly corresponding to global values found by using MagicRDR)
- Fixed an issue where loading a custom image caused the file to remain open in memory
- Added `SET_ACTORS_JUMP_HEIGHT` native
Version v0.6
- Added `GetGlobalPtr` exported function
- Some code improvements
Version v0.5c
- Fixed an issue when loading an other image was resulting in the previous image being overwritten
Version v0.5b
- Updated some stuff to work properly with new game build 1.0.42.46611
- Added a new config option to use VMT hooking method instead for DirectX (This is disabled by default and not recommended, this is a fix for some really rare cases with ppls having issue with DirectX not rendering anything).
- Fixed custom DirectX rendering was flickering on some old hardware or really low specs.
- Fixed `ScriptUnregister` for a single function was unloading the whole plugin instead.
- Improved `SET_TIME_SCALE` native
Version v0.5
- Removed exported function `IsZombieDLCActive`, it's no longer needed and useless since there is already a native called `ZOMBIE_DLC_IS_ACTIVE` doing the exact same thing.
- Removed exported function `ScriptRegisterAdditionalThread` because it's deprecated and no longer needed, please use the regular `ScriptRegister` function in case you want to create an other thread !
- Replaced function `RH_ButtonDisable` by `RH_ActionDisable`, button disable was not working anyway, action disable allow you to block specific action of the game behaviour (like jumping, sprinting, etc...)
- Fixed a critical issue with `RH_GetTextHeight` and edited it's function definition
- Added new exported function `RH_GetMinorVersion` & `RH_GetMajorVersion` to handle the minimum required RedHook version for RED plugins
- Added custom natives registration (RedHook will now features an extended panel of custom added natives)
- Added external console (Can be enabled in config file)
Version v0.4
- Added a config line for `SkipIntroLogos`
- Added new exported function `RH_GetTextHeight`
- Added new exported function `RH_SetTextWrapWidth`
- Added new exported function `RH_LoadImage`
- Added new exported function `RH_DrawImage`
- Added font awesome icons support for both font id 0 and font id 1
- Added double buffering, this should completely remove the occasional flickering that sometimes could randomly occur with the custom rendering.
Version v0.3b
Hotfix regarding text rendering issue with the SDK
Version v0.3
- Added a native trainer (Red Trainer)
- Added a INI config file (You can mess around with some settings if you need to)
- Fixed a crash when using HDR
- Fixed color rendering issue when using HDR
- Optimized natives invoker performance
- Added exported function RH_DrawRect (Draw a rect at a specific position, size & color)
- Added exported function RH_DrawText (Draw a text at a specific position, font, scale & color)
- Added exported function RH_GetTextWidth (Get the width of a specific text and font)
- Added exported function IsZombieDLCActive (Check if the player is playing Undead Nightmare or not)
- Added exported function Print (Output will be print in RedHook console)
Version v0.2
Added in-game console (Press `F8` to open)
Added console command `help` (Show all the commands list available)
Added console command `load` (Load a specific .red plugin by name)
Added console command `unload` (Unload a specific .red plugin by name)
Added console command `reload` (Reload a specific .red plugin by name)
Added console command `loadall` (Load all .red plugins)
Added console command `unloadall` (Unload all .red plugins)
Added console command `reloadall` (Reload all .red plugins)
Added console command `exit` (Exit the game instantly)
Added console command `quit` (Alias of exist)
Fixed an issue with natives call could happen multiples times in the same frame. It was particularly visible in my No Clip example mod, when the movements of the noclip appeared a bit stuttery at high speed.
RedHook is a ScriptHook for Red Dead Redemption PC port.
My documentation is available here. RedHook SDK can also be found on my github.
• What is RedHook ? RedHook is a ScriptHook for Red Dead Redemption on PC, which includes a trainer. It allows modders to create their own scripts without worrying about implementing their own native invokers, native lists, hooks, memory patches & more.
• What unique features does RedHook offer ? RedHook features a modern looking console UI to easily reload/unload scripts on the fly, and also includes an extended list of natives and a large panel of exported functions.
• What is RedHookSDK ? RedHookSDK is the Software Development Kit for RedHook, providing an example mod for Red Dead Redemption using C++ 23. Basic programming knowledge is of course needed for creating mods.
• How do I install RedHook ? Simply drag and drop all files (winmm.dll, RedHook.ini, RedHook.dll) into your Red Dead Redemption folder, then install some RED plugins of your choice, launch the game and enjoy. Be sure to have a fresh install, we're not officially supporting other mods, even if they should work properly in most cases.
• What file extension do RedHook plugins use ? Since version 0.2, RedHook plugins use the .red extension. This distinguishes them from other ASI plugins that might be incompatible with RedHook. ASI plugins are still supported has an option available in RedHook.ini but this is not officially. (That mean it could not work properly when trying to load ASI plugins)
• What is a RED plugin ? This is the exact same as other mod using ASI plugins, the name has been changed for the purpose of not clashing with other mods using ASI extension.
• How to open RedHook Console ? Press F8. Here is the list of available commands: