Things you’ll need:
To convert the textures:
To convert the materials:
To extract assets from .vpk and .bsp:
- Gather all of our materials in a folder with the default material structure - materials/*
- Convert .VTFs to .TGAs
- By using caseytube/source2utils, convert our .VMTs to .VMATs
- Move the converted files to the content folder of your target addon -
Gathering the files
Gather all of our materials in a folder with the default material structure:
Converting the textures
By using a handy-dandy VTFEdit feature called “Convert folder”, we are going to batch convert all the .VTFs to .TGAs.
Open VTFEdit, choose Tools/Convert folder. Select the Input and Output folders, and copy the rest settings as shown.
Converting .VMFs to .VMATs
Extract the .zip archive, open and go to
source2utils/utils. By pressing File/Open Windows PowerShell on Windows Explorer, open Windows Powershell.
Once open, Install Pillow by entering this command:
pip install Pillow
Once installed, start
vmt_to_vmat.py by entering:
You are now going to be asked to specify what folder would you like to convert. To get the valid format of the materials folder, select the materials folder by clicking once on it, and press the Copy Path button located in the Home tab on Windows Explorer.
You have just saved the path of the folder. Paste it into the Windows PowerShell window, but don’t forget to remove the " " -
You are now going to need to select:
Would you like to overwrite any existing .vmat files? (y/n): - Y Would you like to overwrite any existing .tga files? (y/n): - Y What is your target shader? Valid Options: vr_complex (vr_standard support coming soon) - vr_complex
And you are done!
You are now going to notice a new folder -
*_imported. It is going to contain all of the newly ported materials ready for Source 2! But we are still not done, we need to add them to the game!
Todo so, copy the materials folder to your created addons folder or the game content folder located at
If done correctly, all of them should show up in the Source Workshop Tools Assets list!
cs_assault materials ported from Counter-Strike: Source.