Posted by : ShadowProgr October 11, 2013

Dota 2 Slasher

Dota 2 Slasher allows you to Extract, Add, Replace, Delete files in pak01_dir.vpk
In order to work with Dota 2 Slasher you need to know how to run program with command line arguments


Extract files from pak01_dir.vpk
Dota2Slasher.exe -e -dir <FOLDER TO EXTRACT TO> -vpk <pak01_dir.vpk LOCATION>
Dota2Slasher.exe -e -dir "D:\UD2\" -vpk "D:\Steam\steamapps\common\dota 2 beta\dota\pak01_dir.vpk"
Note: The folder where files will be extracted must be created before or you will get an error


Deleting a file in pak01_dir.vpk will force Dota 2 to search for files in dota folder (local files).
Dota2Slasher.exe -r -file <FILE TO DELETE> -vpk <pak01_dir.vpk LOCATION>
Dota2Slasher.exe -r -file "sound\music\gamestartup1.wav" -vpk "D:\Steam\steamapps\common\dota 2 beta\dota\pak01_dir.vpk"
Now the file sound\music\gamestartup1.wav will be loaded from game folder, not from the pak01_dir.vpk.


Dota2Slasher.exe -p -dir <FOLDER WITH EDITED FILES> -vpk <pak01_dir.vpk LOCATION>
Dota2Slasher.exe -p -dir "D:\replaced\" -vpk "D:\Steam\steamapps\common\dota 2 beta\dota\pak01_dir.vpk"
This code will add all files (or replace original files) in D:\replaced into pak01_dir.vpk
Please note that files must have same path as in pak01_dir.vpk
To replace original file
The edited file path must be

Advanded usage

Long and Short Arguments

In older release the program used longer command line arguments
Dota2Slasher.exe -action packDota2Slasher.exe -p
Dota2Slasher.exe -action removeDota2Slasher.exe -r
Dota2Slasher.exe -action extractDota2Slasher.exe -e
The long arguments can still be used in latest Dota2Slasher. Mostly they are used with -auto argument.

-auto Argument

Using -auto will allow Dota 2 Slasher to find pak01_dir.vpk automatically.
Dota2Slasher -action pack -auto
Note 1: You must use long command line arguments with -auto
Note 2: Dota 2 Slasher will add/extract files from/to ROOT\files directory. However this can be edited with -dir argument

Dota2Slasher -action pack -auto -dir "C:\Dota2\am-skin\compiled\"
Note 3: Doesn't work with -action remove

Config.ini File

If you don't want to work with command line arguments, you can use config.ini file. Create one and put it in one folder with Dota 2 Slasher.
1. Command line version:
Dota2Slasher -action pack -dir "C:\Dota2\am-skin\compiled\" -vpk "C:\Steam\steamapps\common\dota 2 beta\dota\pak01_dir.vpk"
1. Config.ini equivalent:
dir=C:\Dota2\am-skin\compiled\vpk=C:\Steam\steamapps\common\dota 2 beta\dota\pak01_dir.vpk
2. Command line version:
Dota2Slasher -p -dir "C:\Dota2\am-skin\compiled\" -vpk "C:\Steam\steamapps\common\dota 2 beta\dota\pak01_dir.vpk" -debug
 2. Config.ini equivalent:
vpk=C:\Steam\steamapps\common\dota 2 beta\dota\pak01_dir.vpk
Using with -auto


Messed up your pak01_dir.vpk?
You can restore it following these steps.
1. Right-click Dota 2 in your Steam Library
2. Choose Properties
3. Choose Local files tab
4. Verify integrity of game cache
5. Done!


Q: How to run Dota 2 Slasher with command line arguments?
A: Create a batch file and copy-paste the code I have given. Make sure batch file and Dota 2 Slasher are in same folder

Q: Who created this program?
A: aaa4xu



{ 5 comments... read them below or Comment }

  1. Replies
    1. yes.. i can't really follow those instructions sorry.. video pls and ty

  2. If dota 2 slasher wont open just look at this awesome dota 2 t shirts

  3. hey bro i can't add/replace a file to pak01_dir.vpk but i can manage to delete a file by using your code. what should i do?


- Copyright © DOTA 2 cosmetics - Date A Live - Powered by Blogger - Designed by Johanes Djogan -