Skip navigation links
A B C D E G H I J L M P R S T W 

A

addFile(String) - Method in class systems.crigges.jmpq3.Listfile
Adds the file.
ADJUSTED_ENCRYPTED - Static variable in class systems.crigges.jmpq3.MpqFile
The Constant ADJUSTED_ENCRYPTED.
asByteArray() - Method in class systems.crigges.jmpq3.Listfile
As byte array.

B

Block(MappedByteBuffer) - Constructor for class systems.crigges.jmpq3.BlockTable.Block
Instantiates a new block.
Block(int, int, int, int) - Constructor for class systems.crigges.jmpq3.BlockTable.Block
Instantiates a new block.
BlockTable - Class in systems.crigges.jmpq3
The Class BlockTable.
BlockTable(MappedByteBuffer) - Constructor for class systems.crigges.jmpq3.BlockTable
Instantiates a new block table.
BlockTable.Block - Class in systems.crigges.jmpq3
The Class Block.
bytesToHex(byte[]) - Static method in class systems.crigges.jmpq3.DebugHelper
Bytes to hex.

C

close() - Method in class systems.crigges.jmpq3.JMpqEditor
 
COMPRESSED - Static variable in class systems.crigges.jmpq3.MpqFile
The Constant COMPRESSED.

D

DebugHelper - Class in systems.crigges.jmpq3
The Class DebugHelper.
DebugHelper() - Constructor for class systems.crigges.jmpq3.DebugHelper
 
decryptBlock(byte[], int) - Method in class systems.crigges.jmpq3.MpqCrypto
Decrypt block.
decryptBlock(ByteBuffer, int, int) - Method in class systems.crigges.jmpq3.MpqCrypto
Decrypt block.
deflate(byte[]) - Static method in class systems.crigges.jmpq3.JzLibHelper
Deflate.
DELETED - Static variable in class systems.crigges.jmpq3.MpqFile
The Constant DELETED.
deleteFile(String) - Method in class systems.crigges.jmpq3.JMpqEditor
Deletes the specified file out of the mpq once you rebuild the mpq.

E

ENCRYPTED - Static variable in class systems.crigges.jmpq3.MpqFile
The Constant ENCRYPTED.
encryptMpqBlock(ByteBuffer, int, int) - Method in class systems.crigges.jmpq3.MpqCrypto
Encrypt mpq block.
encryptMpqBlock(byte[], int, int) - Method in class systems.crigges.jmpq3.MpqCrypto
Encrypt mpq block.
Entry(int, int, int, int, int) - Constructor for class systems.crigges.jmpq3.HashTable.Entry
Instantiates a new entry.
Entry(MappedByteBuffer) - Constructor for class systems.crigges.jmpq3.HashTable.Entry
Instantiates a new entry.
EXISTS - Static variable in class systems.crigges.jmpq3.MpqFile
The Constant EXISTS.
extractAllFiles(File) - Method in class systems.crigges.jmpq3.JMpqEditor
Extract all files.
extractFile(String, File) - Method in class systems.crigges.jmpq3.JMpqEditor
Extracts the specified file out of the mpq to the target location.
extractFile(String, OutputStream) - Method in class systems.crigges.jmpq3.JMpqEditor
Extracts the specified file out of the mpq and writes it to the target outputstream.
extractToFile(File) - Method in class systems.crigges.jmpq3.MpqFile
Extract to file.
extractToOutputStream(OutputStream) - Method in class systems.crigges.jmpq3.MpqFile
Extract to output stream.

G

getAllVaildBlocks() - Method in class systems.crigges.jmpq3.BlockTable
Gets the all vaild blocks.
getBlockAtPos(int) - Method in class systems.crigges.jmpq3.BlockTable
Gets the block at pos.
getBlockIndex() - Method in class systems.crigges.jmpq3.MpqFile
Gets the block index.
getBlockIndexOfFile(String) - Method in class systems.crigges.jmpq3.HashTable
Gets the block index of file.
getCompressedSize() - Method in class systems.crigges.jmpq3.BlockTable.Block
Gets the compressed size.
getCompSize() - Method in class systems.crigges.jmpq3.MpqFile
Gets the comp size.
getFileNames() - Method in class systems.crigges.jmpq3.JMpqEditor
Gets the file names.
getFilePos() - Method in class systems.crigges.jmpq3.BlockTable.Block
Gets the file pos.
getFiles() - Method in class systems.crigges.jmpq3.Listfile
Gets the files.
getFlags() - Method in class systems.crigges.jmpq3.BlockTable.Block
Gets the flags.
getFlags() - Method in class systems.crigges.jmpq3.MpqFile
Gets the flags.
getMpqFile(String) - Method in class systems.crigges.jmpq3.JMpqEditor
Gets the mpq file.
getName() - Method in class systems.crigges.jmpq3.MpqFile
Gets the name.
getNormalSize() - Method in class systems.crigges.jmpq3.BlockTable.Block
Gets the normal size.
getNormalSize() - Method in class systems.crigges.jmpq3.MpqFile
Gets the normal size.
getOffset() - Method in class systems.crigges.jmpq3.MpqFile
Gets the offset.
getTotalFileCount() - Method in class systems.crigges.jmpq3.JMpqEditor
Gets the total file count.

H

hasFile(String) - Method in class systems.crigges.jmpq3.JMpqEditor
Checks for file.
hash(String, int) - Method in class systems.crigges.jmpq3.MpqCrypto
This is a port of unsigned long HashString(char *lpszFileName, unsigned long dwHashType) which is described in http://www.zezula.net/en/mpq/techinfo.html#hashes The implementation there uses 'long' which is a 32 bit int on Windows, so here we have to use int...
HashTable - Class in systems.crigges.jmpq3
The Class HashTable.
HashTable(MappedByteBuffer) - Constructor for class systems.crigges.jmpq3.HashTable
Instantiates a new hash table.
HashTable.Entry - Class in systems.crigges.jmpq3
The Class Entry.
hexArray - Static variable in class systems.crigges.jmpq3.DebugHelper
The Constant hexArray.

I

inflate(byte[], int, int) - Static method in class systems.crigges.jmpq3.JzLibHelper
Inflate.
insertFile(String, File, boolean) - Method in class systems.crigges.jmpq3.JMpqEditor
Inserts the specified file into the mpq once you close the editor.

J

JMpqEditor - Class in systems.crigges.jmpq3
The Class JMpqEditor.
JMpqEditor(File) - Constructor for class systems.crigges.jmpq3.JMpqEditor
Creates a new editor by parsing an exisiting mpq.
JMpqException - Exception in systems.crigges.jmpq3
The Class JMpqException.
JMpqException(String) - Constructor for exception systems.crigges.jmpq3.JMpqException
Instantiates a new j mpq exception.
JMpqException() - Constructor for exception systems.crigges.jmpq3.JMpqException
Instantiates a new j mpq exception.
JMpqException(Throwable) - Constructor for exception systems.crigges.jmpq3.JMpqException
Instantiates a new j mpq exception.
JzLibHelper - Class in systems.crigges.jmpq3
The Class JzLibHelper.
JzLibHelper() - Constructor for class systems.crigges.jmpq3.JzLibHelper
 

L

Listfile - Class in systems.crigges.jmpq3
The Class Listfile.
Listfile(byte[]) - Constructor for class systems.crigges.jmpq3.Listfile
Instantiates a new listfile.

M

main(String[]) - Static method in class systems.crigges.jmpq3.MpqCrypto
The main method.
MPQ_HASH_FILE_KEY - Static variable in class systems.crigges.jmpq3.MpqCrypto
The Constant MPQ_HASH_FILE_KEY.
MPQ_HASH_KEY2_MIX - Static variable in class systems.crigges.jmpq3.MpqCrypto
The Constant MPQ_HASH_KEY2_MIX.
MPQ_HASH_NAME_A - Static variable in class systems.crigges.jmpq3.MpqCrypto
The Constant MPQ_HASH_NAME_A.
MPQ_HASH_NAME_B - Static variable in class systems.crigges.jmpq3.MpqCrypto
The Constant MPQ_HASH_NAME_B.
MPQ_HASH_TABLE_INDEX - Static variable in class systems.crigges.jmpq3.MpqCrypto
The Constant MPQ_HASH_TABLE_INDEX.
MPQ_KEY_BLOCK_TABLE - Static variable in class systems.crigges.jmpq3.MpqCrypto
The Constant MPQ_KEY_BLOCK_TABLE.
MPQ_KEY_HASH_TABLE - Static variable in class systems.crigges.jmpq3.MpqCrypto
The Constant MPQ_KEY_HASH_TABLE.
MpqCrypto - Class in systems.crigges.jmpq3
The Class MpqCrypto.
MpqCrypto() - Constructor for class systems.crigges.jmpq3.MpqCrypto
Instantiates a new mpq crypto.
MpqFile - Class in systems.crigges.jmpq3
The Class MpqFile.
MpqFile(MappedByteBuffer, BlockTable.Block, int, String) - Constructor for class systems.crigges.jmpq3.MpqFile
Instantiates a new mpq file.

P

printHeader() - Method in class systems.crigges.jmpq3.JMpqEditor
Prints the header.

R

removeFile(String) - Method in class systems.crigges.jmpq3.Listfile
Removes the file.

S

setBlockIndex(int) - Method in class systems.crigges.jmpq3.HashTable.Entry
Sets the block index.
setBlockIndex(int) - Method in class systems.crigges.jmpq3.MpqFile
Sets the block index.
setCompressedSize(int) - Method in class systems.crigges.jmpq3.BlockTable.Block
Sets the compressed size.
setFilePos(int) - Method in class systems.crigges.jmpq3.BlockTable.Block
Sets the file pos.
setFlags(int) - Method in class systems.crigges.jmpq3.BlockTable.Block
Sets the flags.
setNormalSize(int) - Method in class systems.crigges.jmpq3.BlockTable.Block
Sets the normal size.
setOffset(int) - Method in class systems.crigges.jmpq3.MpqFile
Sets the offset.
SINGLEUNIT - Static variable in class systems.crigges.jmpq3.MpqFile
The Constant SINGLEUNIT.
systems.crigges.jmpq3 - package systems.crigges.jmpq3
 

T

toString() - Method in class systems.crigges.jmpq3.BlockTable.Block
 
toString() - Method in class systems.crigges.jmpq3.HashTable.Entry
 
toString() - Method in class systems.crigges.jmpq3.JMpqEditor
 
toString() - Method in class systems.crigges.jmpq3.MpqFile
 

W

writeFileAndBlock(BlockTable.Block, MappedByteBuffer) - Method in class systems.crigges.jmpq3.MpqFile
Write file and block.
writeFileAndBlock(File, BlockTable.Block, MappedByteBuffer, int) - Static method in class systems.crigges.jmpq3.MpqFile
Write file and block.
writeFileAndBlock(byte[], BlockTable.Block, MappedByteBuffer, int) - Static method in class systems.crigges.jmpq3.MpqFile
Write file and block.
writeNewBlocktable(ArrayList<BlockTable.Block>, int, MappedByteBuffer) - Static method in class systems.crigges.jmpq3.BlockTable
Write new blocktable.
writeNewHashTable(int, ArrayList<String>, MappedByteBuffer) - Static method in class systems.crigges.jmpq3.HashTable
Write new hash table.
writeToBuffer(ByteBuffer) - Method in class systems.crigges.jmpq3.BlockTable.Block
Write to buffer.
writeToBuffer(ByteBuffer) - Method in class systems.crigges.jmpq3.HashTable.Entry
Write to buffer.
A B C D E G H I J L M P R S T W 
Skip navigation links