/vicehook/README

[DIR] Index of /vicehook
[TXT] README  2026-12-04 05:14    4.9K  raw file

ViceHook

GTA VI script hook, .asi loader and trainer. A Script Hook V for
GTA 6 story mode running under VIctory: plugins register a script,
loop with WAIT and call the game's natives. ViceMenu, a full cheat
menu (mod menu), ships with it, along with an in-game native
console, a tracer for the game's own native calls, plugin hot
reload and an SDK that spawns vehicles, peds and objects.
ViceHook and ViceMenu
Status    v0.3.0, as of 2026-12-01. Runs on the Xbox Series build
          v1.0.2.1 (PE timestamp 1794606036) under VIctory-NVIDIA.
          Everything listed here was tried in game. Offline story
          mode only.

Download  https://projects.ethanaldrich.net/vicehook/releases/v0.3.0/
          (Windows x64 zip with its .sha256; every release is in
          releases/).

Mods      https://gta6mods.sh lists GTA VI mods that run on
          ViceHook, each checked against your game build.

Install   1. Run the game under VIctory-NVIDIA once.
          2. Copy bin\ViceHook.dll and bin\ViceMenu.asi from the
             release zip into %LOCALAPPDATA%\victory\mods (make
             the mods folder if it is not there). VIctory loads
             every DLL there; ViceHook loads the .asi files beside
             it.
          3. Start the game and press F4. Numpad 8/2 move, 4/6
             change a value, 5 selects, 0 goes back (NumLock on).
             On an Xbox pad: RB + d-pad right opens it, the d-pad
             moves, A selects, B goes back.
          ViceHook.log in the same folder says what happened.

ViceMenu  Player: god mode, heal, never wanted, set or clear the
          wanted level, ignored by police or everyone, no ragdoll,
          invisible, unlimited stamina, fast run, super jump,
          bring the other protagonist.
          Weapons: explosive bullets and one-shot kills on the
          aimed target, no reload, the game's own cheat weapon sets.
          Vehicle: repair, indestructible, auto repair, engine power
          up to x50, boost, jump, flip, tyres, doors, locks, lights.
          Teleport: waypoint, nearest vehicle, the other
          protagonist, steps, three saved positions, no-clip.
          Time, weather (eleven types, rain, wind), world (traffic
          and pedestrian density, random police, trains and boats,
          flee, gravity), speedometer, position.

Spawning  New in v0.3.0. Plugins create objects, vehicles and peds
          with spawnObject, spawnVehicle and spawnPed (64-bit model
          keys; each waits a few frames, so call it from a script
          fiber). In the console, spawn object|vehicle|ped KEY puts
          one 3 m in front of you; GET_ENTITY_MODEL veh gives a key
          to try. Objects and vehicles were spawned in game through
          both; peds through a test plugin making the same calls.

Console   The ` key (left of 1) opens a native console: type a
          native's name and arguments (me, veh, here, x y z, "text"
          for its hash, $1 for an earlier result) and see the result.
          Tab completes names and shows parameter types. Every call
          is logged to ViceConsole.log, which helps name the 4,700
          natives that are still unnamed.
          trace NAME logs the game scripts' own calls to a native,
          with arguments and results, to ViceTrace.log; trace count
          10 counts calls to every native for ten seconds.
          Insert reloads the plugins: they load from copies, so a
          rebuilt .asi can go straight into the mods folder.

How       Natives have no name hashes in GTA VI: each handler carries
          its own 64-bit id. ViceHook reads those ids from the game's
          code at start and binds 6,820 natives by id, with no
          hard-coded addresses. Plugin scripts run as fibers once
          per game frame, inside one game script thread (many ped
          flags belong to the script thread that set them). GTA VI
          has no drawing natives, so ViceHook draws a 2D overlay of
          its own over the game window. NATIVES.txt has the longer
          story, spawning included.

SDK       The release zip's SDK folder: headers (natives.h wraps all
          6,829 natives) and ViceHook.lib. Build a plugin as an x64
          DLL named *.asi. Besides natives and WAIT: spawning,
          rectangles, text, images and notifications on the overlay,
          keyboard and Xbox pad input, and keeping input from the
          game while a menu is open. The source repo's README has an
          example.

Missing   Spawning from the menu (the SDK and console can); single-
          weapon give; money; vehicle colours.

Credits   Native names, ids and types: the GTA VI NativeDB from
          ScriptHook VI (github.com/modpapi/scripthook-vi), CC BY
          4.0. Hooking: MinHook. ViceHook's code is MIT.

Source    https://github.com/0x000NULL/vicehook

Not affiliated with Rockstar Games, Take-Two, VIctory or Script Hook
V. Contains no game code or data; you need your own dump of the game.

Generated 2026-12-04 05:16 UTC by indexgen