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.
Title: BMW Z4 GTR Installation: using the Img tool, replace elegy.dff with gta3.img. Description: Replaces original model with BMW Z4 GTR. Have a nice game).
Title: GTA V İmponte Duke Installation: Use the Img tool to replace clover.dff with gta3.img. Description: Replaces the standard car with a car from GTA V. The car is painted in 2 colors. Have a nice game).
New replacement for original pistols! I'm just tired of looking at the original soap... With low textures and low detail. — HD texture — Nice 3d model - The correct position in the hand of GG - Adjusted shot sprite positi...
Car Dealership (concessionaria de carros) Now Carl can buy a used car or bike. You need to come to Jefferson (the place is indicated on the screenshot) and after talking with the seller, choose your transport. Every day there will be new vehicles a...
GTA Vice City VHS Edition is a collection of mods that completes the game and gives it a VHS atmosphere. - Reshade VHS Shader - 100+ new vehicles in the game style without replacing old ones - 20 pieces of new weapons, also without replacing th...
This pistol can often be seen in GTA SA cutscenes instead of the usual Colt 45, as well as in the movie "GTA SA Introduction". The quality of the model is slightly higher than that of conventional SA weapons, there are two options - with...
CLEO Redux is a scripting runtime for games from the GTA 3D era. It is a proud member of the CLEO family and provides familiar features to anyone who has used the library for classic GTA San Andreas or its re-implementations for other games. The mai...
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....
Title: Shelby GT500 Super Snake Installation: replace jester.dff with gta3.img. Description: Mustang to replace the standard car. There is one minus in the model, a big minus-salon made haphazardly. Have a nice game).
Project Japan - GTA SA Android. New textures in oriental style - Japanese. Textures of good quality. Installation instructions inside the archive. Have a nice game!
This is an interface mod from the AE version for the SE version of the game. You can download it from both Yandex.Disk and MediaFire. The downloadable archive contains screenshots and download links. In this mod: Updated backgrounds and HUD element...
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...
Introducing our two-voice crack for GTA 3. This is a full-fledged work on a complete dubbing. The translation was also improved and supplemented, which, as always, is as close as possible to the original, with atmosphere and humor, as the developers...
GTA: Underground (SA/VC/LC/+) Snapshot v4 v4.1 v4.1.1 Gta Underground is a mod that combines the universe of the 3D era on the GTA San Andreas engine and adds all the features from the respective games. In this version you will be able to visit Lib...