This program checks the integrity of .vpk
files against a remote set of hash values. If mismatches are found, it offers the option to download the correct versions of the files.
To run the program from source:
go run your_program.go [flags]
To run the program from a binary:
vpkrestore.exe [flags]
Flag | Description | Default |
---|---|---|
-d |
Enable debug mode | false |
-a |
Enable auto mode | false |
Auto mode will automatically download the correct files without prompting the user. This is useful for running the program in a script.
Debug mode will print out the name of each .vpk
file as well as the md5, sha1, and sha256 as it is being checked.
go run vpkrestore.go -d -a
To build the program from source:
go build -o vpkrestore.exe vpkrestore.go
This project is licensed under the MIT License - see the LICENSE file for details