taskinoz / vpkrestore-go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VPK Restore

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.

Usage

To run the program from source:

go run your_program.go [flags]

To run the program from a binary:

vpkrestore.exe [flags]

Flags

Flag Description Default
-d Enable debug mode false
-a Enable auto mode false

Auto Mode

Auto mode will automatically download the correct files without prompting the user. This is useful for running the program in a script.

Debug Mode

Debug mode will print out the name of each .vpk file as well as the md5, sha1, and sha256 as it is being checked.

Example

go run vpkrestore.go -d -a

Building

To build the program from source:

go build -o vpkrestore.exe vpkrestore.go

License

This project is licensed under the MIT License - see the LICENSE file for details

About

License:MIT License


Languages

Language:Go 87.9%Language:Shell 12.1%