How to create mods for GTA: The Trilogy — The Definitive Edition. Unpacking and creating archives (.pak)
16 November 2021
jdayke
Grand Theft Auto: The Trilogy — The Definitive Edition works on both old Renderware and new Unreal engines. The latter uses archives for its game files (.pak). If you want to install a mod for the remaster, you have to create your own .pak file with updated files in it.
Here's the quick way to extract files from game.pak and the instruction on how to create own .pak files.
How to extract game files from GTA: The Trilogy — The Definitive Edition
Download Umodel app and start umodel_gta_trilogy.exe.
Click on "..." button to choose the folder. Find a .pak with game files (You can find GTA: San Andreas archive here: GTA San Andreas - Definitive Edition / Gameface Content / Paks).
You'll see the archives structure. Click on Tools button and select Options.
This window allow you to choose some extraction and save options. We recommend to set the options similar to the screenshot. Click OK.
To extract a file, just select it the list and click Export. You will be asked to select Unreal Engine version. Select 4.26 and click OK. The example below shows the extraction of SM_colt45.uasset file, that could be find in Game / San Andreas / Weapons. This file could be imported to Blender and extracted to .OBJ.
How to make .pak for GTA: The Trilogy — The Definitive Edition
So you've modded a file and now you want to add it to the game? You will have to create your own .pak file.
Download UnrealPak app from the GitHub. After installing type a command line with the code:
Test.pak - the archive that will be created; dataToPack.txt - the file that will be archived to your .pak.
Just remember to edit the path to UnrealPak.exe and the path for your new .pak.
Beware that the structure of your .pak should be exactly the same as in the original game.pak. The mod won't work if you change the structure. To check the structure just unpack the game.pak.
Tips for finding game files
Textures from gta3img usually are in San Andreas Textures gta3 (with own categories);
The magnifying glass icon in the top bar of the app is a search for a file in the folder you're currently in. It doesn't search in subfolders.
GTA: The Trilogy — The Definitive Edition files types
Prefixes will help you to understand game files types:
Textures starts with T_
Static models are SM_.
Materials examples are MI_
There are suffixes for textures:
_BC - diffusion maps;
_N - normal maps.
There are additional suffixes that we will cover later.
Grand Theft Auto: Vice City 2 — a global modification that is a remake of the original game. The city was not just converted, but recreated from scratch with some changes.
Changes: 1....
DYOM# is an add-on for DYOM that will make creating missions much more convenient. DYOM# - bug fixes, new objects, new pickups and many additional features. For complete instructions for the add-on, see official website . VERSION 1.7 NOT RECOMM...
The mod allows you to display primary and secondary weapons on the player, if available. In the .ini file you can customize the following: Enable or disable the display of primary or secondary weapons; Select priorities to display, for example,...
This mod adds scavengers driving around the city and collecting garbage. You can meet them early in the morning in residential areas of the city. Update 03/26/2024 Fixed a bug due to which scavengers might not spawn even on standard vehicles. v...
A simple mod that adds a speed effect to the taillights when they are on (usually at night), when using nitro and when braking. In the .ini file you can configure many parameters such as transparency, size, effect style, duplicate effect, position, ...
This mod is a combination of my 4 previous mods, namely: Stealing a car like in GTA 4 Stop animation like in GTA4 Starting the engine like in GTA4 Steering wheel Now they are united by one common ifp file, but you can remove the ...
A good crack for the Steam version of GTA IV. To install, you need to throw the files from the archive into the game folder and confirm the replacement. Then on the Display tab in the menu, change the language from English to Russian. Feature: it re...
Good afternoon, you have fallen for clickbait! What, it turns out there will be no Hot Coffee?! No, it will! But this mod contains not only Hot Coffee, but also many very pleasant bug fixes for mobile main.scm, improvements to the game’s storyline...
Hi all! This assembly is an attempt to transfer the PS2 version of GTA SA with all its features and features - textures, atmosphere, a map different from other versions and much more, with appropriate adaptation for the mobile platform of the game...
This modification is a combination of a large number of my modifications related to people, enlivening the world around us and adding huge variety to the game. The modifications are combined into one common ifp file, but each is located in a separat...
A simple and convenient weapon wheel that does not stand out from the general style of the game. Features: Works both on the key and using the mouse wheel; Compatible with gamepads (needs GInput); Compatible with SAMP; Compatible with lo...
This mod adds new game mechanics and changes existing ones, as well as improves the gameplay in general, making it look like more modern GTA. Attention! Old saves don't work, you need to start a new game or use the save that is in the archive. ASI ...
Timecyc Cinematic v1.3 This is more of an atmospheric pack than a time cycle. Unfortunately, it does not stand alone and will not make the style of the game better on its own. It works in conjunction with " SkyGfx_Extended v1.6 " from the author...
The modification adds the ability to take cover behind a wall, object or vehicle, with the ability to conduct aimed fire or fire blindly. You can conduct aimed fire by coming out slightly from around the corner, or if it is a low obstacle, by st...