Skip to content

ViceHook 0.2.0

Choose a tag to compare

@0x000NULL 0x000NULL released this 01 Dec 00:25
· 6 commits to main since this release
v0.2.0
5aa5de4

For the Xbox Series build v1.0.2.1 (PE timestamp 1794606036) under VIctory-NVIDIA. Everything below was tried in game.

Install: copy bin/ViceHook.dll and bin/ViceMenu.asi into %LOCALAPPDATA%\victory\mods (replacing 0.1.0), start the game, press F4 or RB + d-pad right.

New for plugin authors and researchers:

  • Native console (the **** key): call any native by name with typed arguments (me, veh, here, $1for earlier results,&0for out-buffers,"text"for hashes), with Tab completion and each native's parameter types and confidence.find, info, call 0xID, peek. Every call and result goes to ViceConsole.log, which makes it a tool for naming the 4,700 unnamed natives. ViceConsole.run` runs scripted sessions.
  • Native call tracer: trace NAME|PREFIX*|0xID logs the game scripts' own calls, with decoded arguments and results, to ViceTrace.log. trace count 10 counts calls to every native.
  • Hot reload: Insert reloads every plugin. Plugins load from copies, so you can rebuild an .asi in place while the game runs.
  • SDK: createTexture / drawImage, showNotification, blockGameInput; Xbox pad buttons arrive in keyboard handlers as VK_GAMEPAD_*.
  • ViceMenu: Xbox pad control (RB + d-pad right opens it; d-pad, A and B drive it and don't reach the game while it is open), and messages now show as notifications.

Spawning is still not possible. What is known about GTA VI's async creation natives, and how to experiment with the console and tracer, is in docs/SPAWNING.md.

The native database is the GTA VI NativeDB from ScriptHook VI, CC BY 4.0 (see NOTICE.md).