Extract Content from VPK files

Requirement : 

With this tutorial you need to get the latest version of GCFScape (1.8.5 ) to open the VPK files and extract some files from there.

Download GcfScape


 

So let’s starts, in that tutorial we will extract some Dota  2 assets  into  a source filmaker project we have called Dota_2.
We will extract the important files, so the model viewer will displays the models and textures correctly.

[stextbox id=”info” bgcolor=”7f7f80″]You can extract the full contents or just extract what you need ( heroes and default weapon)
myself i choose to extract the full contents[/stextbox]
  • Go at “Steam\steamapps\common\dota 2 beta\dota”
  • Open the pak01_dir.vpk with gcfscape
  • Extract these directories to “steamapps\common\SourceFilmmaker\game\dota_2”

 

I will Extract the Antimage models and his default weapon (The Slasher).

so you can simply extract the mdl files and associated files that comes with the mdl file.

Go to models/items/antimage/

from : “models/heroes/antimage/“, you must to extract :

dota2-extract-assets-vpk

you must to extract : Common/sourceFilmmaker/game/dota_2/models/heroes/antimage/


 

from : “materials/heroes/antimage/” :

dota2-extract-assets-textures-vpk

you must to extract : Common/sourceFilmmaker/game/dota_2/materials/models/heroes/antimage/

[stextbox id=”dota”]Dota 2 workshop submission require that you follow the exact same shader that the weapon use originally.[/stextbox]

 

Now launch the model viewer from the SFM launcher.

  • File > Open the model viewer and load the antimage
  • File > Load a weapon > open antimage_weapon.mdl

dota2-hero-and-weapon-model-viewer

The Assets are now properly extracted and readable by the model viewer.

 


 

The tutorial is finish and you could continue the reading :

if you read the Dota 2 assets creation guide, click here to return to the summary of the Guide.

You should want to learn how to decompile an MDL file using Studio Compiler or Crowbar.