How to Install GTA 5 Mods (Script Hook V, OpenIV & the Mods Folder)
By GameModeShop Editors4 min read

Quick answer
For story mode on PC, copy Script Hook V's files into the folder with GTA5.exe, add Script Hook V .NET if your mods need it, and install OpenIV with its ASI loader. Create OpenIV's mods folder so file mods never touch the originals. Then add script mods to the game folder and file mods through OpenIV. Never take a modded game into GTA Online.
The steps at a glance
- 1Back up and pick story mode. Back up your game folder and commit to using mods only in single-player.
- 2Install Script Hook V. Copy ScriptHookV.dll, dinput8.dll and optionally NativeTrainer.asi from the official download into the folder with GTA5.exe.
- 3Install Script Hook V .NET. Copy its files into the game folder and create a scripts folder for .NET script mods.
- 4Set up OpenIV. Install OpenIV, point it at GTA 5, and use its ASI Manager to install the ASI loader and OpenIV.asi.
- 5Create the mods folder. Make a mods folder in the game directory and copy archives into it before editing them in OpenIV.
- 6Install mods and test. Add script mods to the game folder, file mods through OpenIV's mods folder, and test in story mode.
Ground rules first
GTA 5 mods are for story mode on PC. Console versions cannot be modded, and GTA Online is protected by anti-cheat. Taking modified files or cheat tools online can get your account banned or reset. Before you install anything, decide that this copy of the game is for single-player while it has mods in it. Our piece on GTA 5 mods and Online ban risk explains the boundary in detail.
Two more things before you start:
- Check your edition. PC players can have the Legacy or Enhanced version of the game. Most established mods and tools were built for Legacy. Read each download page for which edition it supports.
- Back up. At minimum, keep a list of every file you add to the game folder. Ideally, copy the whole folder somewhere safe.
Step 1: install Script Hook V
Script Hook V is the foundation for almost every script mod. Download it only from its official page on dev-c.com.
- Open the downloaded archive and find the
binfolder. - Copy
ScriptHookV.dllanddinput8.dllinto the folder that containsGTA5.exe. The second file is the ASI loader, which loads.asiplugins. - Optionally copy
NativeTrainer.asias well. It is a basic trainer you can open in game, and the easiest way to confirm the setup works. - Start story mode. If the trainer opens with its hotkey (listed in the readme), Script Hook V is running.
Script Hook V checks the game version. When Rockstar updates the game, it will refuse to run until its author releases a matching update. That is intentional, not a bug.
Step 2: install Script Hook V .NET
Many script mods are written in C# and need Script Hook V .NET. Download it from its official release page and copy its .asi and .dll files into the game folder, next to GTA5.exe.
Then create a folder named scripts in the same place. Script Hook V .NET mods (.dll, .cs or .vb files) go there. It also needs the Microsoft .NET Framework and Visual C++ runtime, which most Windows PCs already have; its readme lists the exact requirements.
Step 3: set up OpenIV and the mods folder
OpenIV opens the game's .rpf archives, which is how texture, vehicle, ped and map mods are installed. Download it from its official site.
- Install OpenIV and select GTA V for Windows, pointing it at your game folder.
- In OpenIV, open Tools > ASI Manager and install the ASI Loader and OpenIV.asi. The second one is what lets the game read the mods folder.
- Create a folder named
modsinside your game directory. - Whenever a mod asks you to edit an archive, copy that archive into
modsfirst, keeping the same path. For example,update\update.rpfbecomesmods\update\update.rpf. OpenIV can do this for you with its "Copy to mods folder" option. - Switch on Edit mode in OpenIV only while editing files inside
mods.
The rule that keeps your game safe: never edit an archive outside the mods folder. If something goes wrong, delete or rename mods and the game is back to original.
Step 4: install your first mods
Script mods (.asi and .NET)
.asimods go in the game folder next toGTA5.exe.- Script Hook V .NET mods go in the
scriptsfolder. - Menus like Menyoo follow the instructions on their own pages and need Script Hook V.
Add-on vehicles
Add-on cars usually come as a folder with a dlc.rpf file inside.
- Copy the vehicle's folder into
mods\update\x64\dlcpacks\. - In OpenIV, open
mods\update\update.rpf\common\data\dlclist.xml. - Add a line for the new pack, following the format of the existing entries and using the folder name you copied.
- Save, start the game, and spawn the car with a trainer using its spawn name from the mod page.
Once you have many add-ons, you may hit the game's built-in limits. That is when mod pages will ask for tools like Heap Limit Adjuster or Packfile Limit Adjuster, or an edited gameconfig.xml matching your game version. Only install those when a mod or a crash actually calls for them.
Replace mods
Replace mods overwrite existing files inside an archive. Install them through OpenIV into the copy in your mods folder, never the original. Keep a note of what you replaced.
Step 5: after a game update
Rockstar updates GTA 5 regularly for Online. When that happens:
- Expect Script Hook V to stop working, often with a message about an unsupported game version.
- Move
ScriptHookV.dll,dinput8.dlland your.asifiles out of the game folder if you want to play unmodded in the meantime. - Wait for an official Script Hook V update. Do not download "patched" versions from other sites.
- Check that your
modsfolder archives still work. Updates can changeupdate.rpf, and some mods need to be reinstalled on top of a fresh copy.
Troubleshooting
- Nothing happens in game. The ASI loader is missing, or files are in the wrong folder. Everything belongs next to
GTA5.exe. - Infinite loading screen after adding cars. Usually a typo in
dlclist.xmlor too many add-ons for the current limits. - .NET scripts not loading. Check the
scriptsfolder name and the Script Hook V .NET log file in the game folder. - Game crashes on launch after an update. Script Hook V needs updating. Remove it until it does.
Our take
The mods folder is not optional. Treat OpenIV's mods folder as the only place file mods are allowed to live, and a broken install becomes a one-minute fix instead of a full reinstall. Most "my GTA is ruined" stories start with someone editing original archives.
We also prefer add-on vehicles over replacements and a small, deliberate script list over a pile of everything. GTA 5 updates often, and every extra script is one more thing to check when Script Hook V catches up.
Most importantly, keep single-player and Online completely separate. Mods make story mode better, but they have no place in GTA Online.
For the bigger picture of the GTA scene, see our GTA 5 hub. If you also play Rockstar's western, our guide on how to install Red Dead Redemption 2 mods covers a similar toolchain.
People also ask
Where do I put .asi files for GTA 5?
In the main game folder, the one that contains GTA5.exe, alongside ScriptHookV.dll and dinput8.dll. Script Hook V .NET scripts go into a folder named scripts in that same location.
What is the OpenIV mods folder?
A folder named mods inside the game directory that holds modified copies of the game's archives. The game loads those copies instead of the originals, so your real files stay clean and you can undo everything by removing the folder.
What is the difference between add-on and replace vehicles?
Add-on vehicles are new models with their own spawn names. Replace mods overwrite an existing car. Add-ons are easier to manage and remove, so we prefer them.
My game crashes at startup after an update. What now?
Script Hook V likely does not support the new game version yet. Move its files out of the game folder to play unmodded, and wait for an official Script Hook V update.
Everything else about modding Grand Theft Auto V lives on one page.
Open the Grand Theft Auto V hub


