ImGuiRDR2Hook

May 8, 2026 ยท View on GitHub

A Vulkan & DirectX 12 hook that allows you to create ImGui menus for RDR2

In game image image

Prerequisites

How To Use

Before trying to compile the main project, you must first compile MinHook (libMinHook) so the main project can reference some required files. There's really not much to set up, but you must first make sure you have Vulkan SDK installed, which can be found here: https://vulkan.lunarg.com/sdk/home. You may need to restart Visual Studio after installing the Vulkan SDK.

  • To open the menu, the default open key is F10. To toggle the mouse, press the mouse back button.
  • If you wish to change the toggle key or edit mouse behavior, see Win32.cpp.
  • script.cpp still contains the main loop for the script.
  • menu.cpp/.h is where the ImGui menu is rendered.
  • main.cpp contains code that reads config files + ScriptHook registry

Credits