-
Notifications
You must be signed in to change notification settings - Fork 395
Extracting image assets from game client
Robin Lu edited this page Nov 27, 2017
·
3 revisions
- Download GCFScape (msi or zip) from here.
- Using GCFScape, load the .vpk file from the game client you'd like to extract from. (Typically pak01_dir.vpk)
- Download Dota 2 ModKit from here.
- Image files within .vpk files are stored as .vtex_c files. Extract the ones you want using GCFScape to a directory of your choice.
- In Dota 2 ModKit, select T2, and the click the button titled ".vtex_c -> .tga"
- Follow the on screen prompts to get your .tga files.
By default, .tga files do not have transparency. To get PNGs with transparency, follow these steps.
- Using Adobe Photoshop, open the .tga file.
- In Channels, Ctrl + Left click the Alpha Channel to copy it.
- In Layers, click the Create New Mask button. Your copied alpha channel will be applied to the image as a mask, resulting in transparency.
- Save the resulting image as a .png file.