Map Resource Extractor

From Valve Developer Community
Revision as of 01:37, 10 October 2019 by NvC DmN CH (talk | contribs) (found a better program for this)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Warning.png Warning:  There's a program that does this automatically, VIDE


MRE thumbnail.jpg

Map Resource Extractor (MRE) is a small program that reads the VMF, and only copies the content that has been used in the map. It's written in C# and requires Microsoft .Net Framework 3.5 or higher.

Currently supports:

  • Materials (all materials, model materials as well, also including skybox, detail texture and detail.VBSP)
  • Models
  • Sounds


1. Select the Map File (.VMF)

Tip.png Tip: You can drag-and-drop files.

2. Add the Game Directory, which you have used custom content from, add multiple if necessary.

Note.png Note: The program doesn't work with VPK packages, so if you have used any, extract them with any program, GCFScape is a great one.

3. Choose the resources directory, in which the used content will be copied, in the Options on the bottom left. By default, it is in <Program Filepath>/resources

4. Press START... on the bottom right. Now you will have to wait several minutes, depending on your computer. It copies all models found in the map (therefore only used models).

Then you will be prompted to select the decompiled models:

MRE decompile.JPG

There isn't any other way to know what materials the models uses, other than having their QC and SMD. For this you will need to decompile the models, which are in the resources directory.

Tip.png Tip: You can decompile them easily with any program, such as Crowbar

Select the folder you decompiled the models in, and press OK.

Now you have to wait again. The program reads all QC and SMDs to find all the used materials and skins. Then it reads all VMTs it has to read, to find all VTFs.

After that, it copies the used content to the resources directory.

Warning.png Warning: Please consider that missing files shown in the log are most likely original content, which is found in the map, but not in the folders provided. You don't have to include the original files, as copying them is unnecessary.

Done. You can press the Go To Resources... button on the bottom left to directly go to the resources folder.

Version Log

Current version: Alpha

Developers note: This is the first version. If you find any issues or want to suggest anything (first make sure you have done everything alright) please check the Readme.txt, there is information where to report.


Download @

See Also

Material Enumerator