Overview
Example: rpfview-cli extract-weapon-metas reports “453 file(s) extracted to D:\work\weapon-metas in 0.2 s. Searched 179 archive(s).”
- Comes with RPFView and uses the game folder and keys you set up in the app.
rpfview-cli extract-weapon-metascopies all GTA V weapon files of the base game, the update and every DLC pack in under a second:weapons.meta, the weapon files of every DLC pack, attachments, animations, vehicle weapons, loadouts and pickups;- about 450 files, in the game's folder structure.
findandextractfind and copy any files by name or by their place in the game, for example only from one DLC pack.convertturns.ymt,.ymap,.ytypand.metafiles into readable XML;grepsearches inside them.export-texturessaves textures as DDS or PNG images;export-modelsaves models as glTF or OBJ files with their textures, for Blender and other 3D tools.text-dumplists the game's text, for example the display name of every vehicle and weapon, as a table for a spreadsheet or a script.ls,catandinfolook inside archives and describe a file: its textures, or a model's detail levels and bones.hashandunhashtranslate between names and the numbers the game uses for them;names importteaches RPFView your own names.- It never changes the game. With
--jsonits results are easy to read for scripts and AI agents.
Full syntax, options and exit codes are in the rpfview-cli reference.
Questions
What does the command line do?
It's for people who automate their work. rpfview-cli comes with RPFView and works without opening the app: it finds and copies game files, turns game data files such as .ymt and .meta into readable XML, searches inside them, saves textures and 3D models, and lists the game's text, for GTA V, Red Dead Redemption 2 and GTA IV. One command gets all of GTA V's weapon files (about 450) in under a second.
It uses the game folder and keys you set up in the app and never changes the game. See the command-line documentation.
Where do the encryption keys come from? Is this legal and safe?
The game's archives are locked (encrypted), and keys open them. RPFView doesn't include any Rockstar keys. On the first start it works them out from your own copy of the game.
For that it also needs magic.dat, a small public file from CodeWalker, a well-known GTA V modding tool. RPFView downloads it only when you click Download and set up, or you can pick a copy you already have. The keys are then saved on your PC, so later starts need nothing. See keys and first start.
More RPFView features
Drawable Studio
GTA V clothing texture editor: Drawable StudioWeapon Studio
GTA V weapon viewer: Weapon StudioGame data
YMT to XML: read GTA V game data