Game Files & Archives

What is dlc.rpf?

dlc.rpf is a RAGE Package File, the archive format GTA V uses for downloadable content, and it is how almost every single-player add-on vehicle is distributed. One dlc.rpf holds the models, textures and meta files of the mod plus two small XML files that tell the game what to load. FiveM does not mount dlc.rpf archives from a resource, so the contents have to be extracted and rearranged into a stream folder, data files and an fxmanifest.lua before a server can use them.

What is inside a vehicle dlc.rpf

Folder names vary between authors, but an add-on vehicle archive nearly always has the same parts:

PartWhat it is
setup2.xmlNames the DLC pack and its load order
content.xmlLists every data file in the pack with its type
A data folderThe meta files: vehicles.meta, handling.meta, carvariations.meta, carcols.meta
A nested vehicles.rpfThe model and texture files (.yft, .ytd)
A nested mods archiveTuning part models, when the car has a mod kit

In single player the folder containing dlc.rpf is copied into the game's dlcpacks directory and its name is added to dlclist.xml. Archives made for modding are saved in an open, unencrypted form, which is why tools such as OpenIV can read and write them freely. SP to FiveM covers taking a single-player car mod to a server.

How it maps onto a FiveM resource

FiveM replaces the DLC pack mechanism with resources. The same files are used, but each one is declared differently:

In dlc.rpfIn a FiveM resource
Files in vehicles.rpf and the mods archiveLoose files in the stream folder
Meta files in dataLoose files listed under files in fxmanifest.lua
fileType entries in content.xmldata_file lines with the same type names
setup2.xml and dlclist.xmlNot needed; the resource is started from server.cfg

The type names carry over directly. A content.xml entry with the file type VEHICLE_METADATA_FILE becomes a data_file 'VEHICLE_METADATA_FILE' line, so content.xml is the best reference for which data files a mod expects to be loaded.

Have the resource on disk already? The Resource Inspector checks its manifest, stream files, textures and metas in your browser. Open the Resource Inspector

Converting a dlc.rpf by hand

  1. Open dlc.rpf in OpenIV and extract the meta files from the data folder.
  2. Open each nested .rpf and extract every .yft and .ytd file.
  3. Create a resource folder with a stream folder for the models and textures and a data folder for the metas.
  4. Write an fxmanifest.lua that lists the metas and adds one data_file line per meta.
  5. Add ensure and the folder name to server.cfg, then restart the server.

The converter on the homepage does these steps from a gta5-mods.com link and returns a ready resource. For an add-on car its zip also includes a display-name script, which the hand route needs as an extra step. The add-on conversion guide walks through the manual route in full. Converting a dlc.rpf to a FiveM resource adds the finished manifest and the checks to run afterwards. OpenIV runs on Windows only; converting without OpenIV covers Mac, Linux and Chromebook, and rpf2fivem vs online converters covers the free desktop tool.

Common problems

  • Models extracted, metas forgotten: the car has files in stream but no vehicles.meta, so the spawn name is unknown. See invalid model.
  • Nested archives missed: tuning parts usually sit in a second .rpf. Without them the car spawns but mod shop parts are invisible.
  • The download has no dlc.rpf: the mod is a replace mod made of loose .yft and .ytd files. See add-on vs replace.

Frequently asked questions

Can I put a dlc.rpf straight into a FiveM resource?

No. FiveM does not load dlc.rpf archives from resources. The models and textures must be extracted into a stream folder and the meta files declared in fxmanifest.lua.

How do I open a dlc.rpf file?

OpenIV on Windows opens .rpf archives, including the archives nested inside them, and can extract their contents to normal folders.

What does content.xml do?

content.xml lists the data files of a DLC pack and the type of each one, so the single-player game knows how to load them. In FiveM the same job is done by data_file lines in fxmanifest.lua.

More in Game Files & Archives: .ytd (Texture Dictionary)

Skip the manual work

Paste a gta5-mods.com vehicle link and get a FiveM-ready resource with the manifest and metas in place. 3 free conversions, no signup.

  • 3 conversions free, no account needed
  • 2 more free if you leave an email
  • After that: $15 once for unlimited conversions and the Pro tools. No subscription, 14-day refund policy