Installing mods
How to install the kinds of GTA VI mods that work today (loader mods, DLLs, ScriptHook VI scripts, settings presets, layer options), how to turn them off and where the logs are.
Downloading from ViceSixM does not need an account. Mods are provided as is and run on your own copy of the game, so back up your save data and settings before installing anything. Nothing here modifies the game's own files.
Before you start
- Check the mod page: it says which kind of mod it is, and for
.zippackages with avicesix.jsonit lists the files it contains. The page also shows the SHA-256 of each download. - Mods are checked by moderators before they can be downloaded, but a DLL runs code on your PC with your user's rights. Install DLLs only from authors you trust.
- Mods are for single player. Do not use them in any online mode.
- Everything below assumes the game already runs through a layer (Getting started). Mods for the game's archives (models, map, vehicle data) do not exist yet.
Layer mods (the SixM mod loader)
The loader is part of the SixM build of the layer. It runs inside the layer before the game's first instruction. Each mod is a folder with a mod.toml and its files.
- Find the mods folder. By default it is
%LOCALAPPDATA%\victory\mods. The settingSIXM_MODSpoints the layer at another folder, andSIXM=0switches the loader off. - Copy the mod's folder into it, so that you end up with
mods\<mod folder>\mod.tomlnext to the mod'smain.luaor.dll. - Start the game. For about fifteen seconds a small box at the bottom left says how many mods were loaded.
Notes:
- Lua mods run in a closed environment (no file access, no
os, norequire). DLL mods must declare in theirmod.tomlthat they run code; the loader rejects them otherwise. - A mod can name the game version it is for. It is then skipped on any other build.
- The SixM launcher has its own
modsfolder, but the launcher only loads it on servers that allow mods. - Whether the loader is included in a given layer release depends on that release. If your layer has no loader, these mods do nothing.
ScriptHook VI scripts
ScriptHook VI is a separate, third-party project that lets plugins call the game's script commands. It is pre-alpha software and its own README is the reference for building and installing it: ScriptHook VI. In short:
- You build it and place a
shvifolder beside the game executable, with its core library, itspluginsfolder and the table of commands for your game build. - You tell the layer to load the core library when the game starts. With the SixM loader, that is the setting
SIXM_LOAD_DLLS, set to the path of the core library. - Plugins go in
shvi\plugins. The sample trainer opens its menu with F4.
It checks that the game build matches the table it ships with, and it refuses to run in online sessions. Its log is shvi\shvi.log. It has been tested in game on the console build 1.0.2.1.
Settings presets
The game keeps its graphics settings in a settings.xml inside the data folder of your layer. A preset changes a few values (for example the draw distance and grass detail).
- Close the game.
- Keep a copy of the original
settings.xmlnext to it. - Change only the values the mod's description lists, and save.
If the game misbehaves, put the original back. Two values lowering distant detail have been tried in game; a preset from the site is only as good as its author's testing, so read the description.
Layer options
The layer has its own options, saved in a victory-settings.txt and edited from its in-game menu (F1 in VIctory-NVIDIA): upscaling, frame generation, frame cap and others. Some options are also available as environment variables whose names start with VICTORY_. A mod that is only a list of options tells you which to set. Your layer's own README is the reference.
Turning a mod off or removing it
- Loader mod: put an empty file named
desactivadoin the mod's folder, or setactivo = falsein itsmod.toml. To remove it, delete its folder. - All loader mods: start with
SIXM=0. - ScriptHook VI: stop setting
SIXM_LOAD_DLLS, or delete itsshvifolder. - Settings: restore your copy of the original
settings.xml. - Layer options: reset them in the menu, or delete
victory-settings.txt.
Logs
If a mod does not load, the logs say why:
- The layer writes one log per session in
%LOCALAPPDATA%\victory\logs. Lines from the mod loader are markedsixmand tell what happened to each mod folder. - ScriptHook VI writes
shvi\shvi.log.
Include the relevant lines when you report a problem to the mod's author.