mirror of
https://github.com/OpenDiablo2/OpenDiablo2
synced 2024-11-15 16:56:00 -05:00
d210b51d62
The gist with this script disappeared, adding to the repo since it's so useful. Added some error handling/logging to the script.
14 lines
411 B
Go
14 lines
411 B
Go
// This command line utility provides a way to extract mpq files.
|
|
//
|
|
// Flags:
|
|
// -o [directory] Output directory
|
|
// -v Enable verbose output
|
|
//
|
|
// Usage:
|
|
// First run `go install extract-mpq.go` in this directory.
|
|
// Navigate to the Diablo II directory (ex: C:/Program Files (x86)/Diablo II)
|
|
// then run extract-mpq(.exe) with the filename of the mpq to be extracted.
|
|
//
|
|
// extract-mpq d2char.mpq
|
|
package main
|