package
Version:
v0.0.0-...-c9a6c25
Opens a new window with list of versions in this module.
Published: Sep 16, 2015
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package mpq reads data from Blizzard MPQ files.
View Source
const (
BlockFlagFile uint32 = 1 << 31
BlockFlagCheckSums uint32 = 1 << 26
BlockFlagDeletionMarker uint32 = 1 << 25
BlockFlagSingleUnit uint32 = 1 << 24
BlockFlagCompressed uint32 = 1 << 9
BlockFlagImploded uint32 = 1 << 8
)
Hash is the hash function used within MPQ files.
HashType identifies which variant of the hash function to use.
type Reader struct {
*os.File
}
Reader reads an MPQ file.
NewReader reads the header of a file, returning an opened Reader.
GetFileList returns a list of the files contained in the MPQ
according to its "(listfile") metafile, if present.
ReadFile reads a file from within the MPQ file.
Source Files
¶
Directories
¶
mpqtool is a tool for dumping mpq files.
|
mpqtool is a tool for dumping mpq files. |
Click to show internal directories.
Click to hide internal directories.