Extract Used Assets
You can select a VMFs, VMTs or MDLs in XBLAH's Modding Tool and it will list you all the required assets for the selected files, showing you to which pack or loose folder they belong, and giving you the option to copy what you want to a separate folder under MOD_NAME/custom/
. By default, it will select all the files not located inside VPKs, but you can extract the files from the VPKs on the go, if you want to, in case you are using assets from games not everyone own.
Accessing the feature
- For Maps
This can be accessed within the tool via Top Menu > Maps > Extract Used Assets
.
- For Materials
This can be accessed within the tool via Top Menu > Materials > Extract Used Assets
.
- For Models
This can be accessed within the tool via Top Menu > Models > Extract Used Assets
.
Detectable files
Currently, it detects the following files:
- Compiled maps
- Materials (and required files)
- Models (and required files)
- Sprites
- Sounds (used by ambient_generic)
- Particles
- Skyboxes
Copying used assets
Select the files that you want to be copied to the custom folder. You can select individual files, or you can select a whole package to copy or not to copy the files.
When you've selected the files you want to extract, click Copy Assets and the assets will be copied to a new directory under MOD_NAME/custom/
.
Supported Games
- All Source games