Héllo members of the insurgency community.
Do you want to create custom content? Do you want it to work properly?
Did you create something already but you do not know how to create the Valve Pack File for it?
Well, read this simple guide on how to create VPK files and your problems will be solved!
|:::... Table of content
- What is a VPK file (How to open them, use them)
- How to create one
- How to use one
(TIP: CTRL+F, typ in the corresponding number, skip endless reading)
|:::... 1. What is a VPK file
VPK ("Valve Pak") files are uncompressed archives used to package game content
They have a big advantage in loading times. And are much more secure instead of the normal ones.
They are necessary to create custom content for Insurgency2.
Downloaded VPK's or Custom made VPK's should be placed in the insurgency2/insurgency/custom
folder. If you do not have the custom folder, create one.
Example of a VPK file. Located in the Common/Insurgency2/insurgency Folder
Yes, you can't open them this way. You need an exploring program! I suggest GCFScape!
You will also need GCFScape to extract the needed files you want to mod.
Download GCFScape made by Nemesis: http://nemesis.thewa.../index.php?p=26
Ok, after you installed the program you can open the Valve Pack Files and you can look inside them!
You need to open the Dir ones inside the Insurgency folder using GCFScape.
A look with the GCFScape and its interface.
After you managed to open the dir.vpk using GCFScape it is time to Extract the wanted files.
Right mouseclick onto the needed file and select Extract and choose a directory to it to be placed in.
At the beginning it will be tricky to find the right files but after a while you will find them.
A few paths so you can find your way:
Extract for Skins: insurgency_materials_dir.vpk: Materials/models/player or weapons
Extract for Sounds: insurgency_sound_dir.vpk: sound/Everything inside
Extracting the wanted files using GCFScape
You got the files and already edited them? Let's start creating the Valve Pack File!
|:::... 2. How to create one
It is really simple, everybody can understand this part. So why not you? Let's start!
Let's say we created a weaponskin and we want to use it ingame. It has to be a VPK file.
Create a map called whatever you want. As an example we will use 'TutorialVPKskin'
We want to create a skin so we will need to follow the same folder system as the insurgency_materials_dir.
Inside the TutorialVPKSkin create a map called 'materials' inside the materials map you will have to create the folder called 'models' and inside the models folder you will have to create a 'weapons' folder. Let's say we want to create a skin for the AK47 we have to create a folder called 'ak47' inside the weapons folder.
Your path now should look like this
Put all the needed files in the ak47 folder.
Now comes the most easy part of this whole VPK system thing.
Inside the BIN folder (insurgency2/bin) there is a exe called vpk.exe
You need to drag the Created folder onto the VPK.exe and wait for a few seconds.
A VPK file is made now.
Now it is time to use this file and test it!
|:::... 3. How to use one
Why is this so easy? I don't know.. It just is!
You got the Valve Pack File, now it is time to test it. I already suggested you to create the 'custom' folder inside insurgency just like this.
Put the Valve Pack File inside it and you are done.
Start up Insurgency and test out your new fresh self-made or downloaded skin!
I hope this helps and if you have any questions, leave them in a comment below!