Tar Archive
From XentaxWiki
(Redirected from TarArchive)
Contents
TAR
- Format Type : Archive
- Endian Order : Little Endian
Format Specifications
// For Each File
- char {100} - Filename
- char {8} - Mode
- char {8} - UID
- char {8} - GID
- char {12} - File Length
- char {12} - Last Modification Time
- char {8} - Checksum
- char {1} - Link Flag
- char {100} - Linked Filename
- char {8} - Magic Number
- char {32} - uName
- char {32} - gName
- char {8} - Major Version Number
- char {8} - Minor Version Number
- byte {167} - null Padding to make this file header have length 512
- byte {X} - File Data
- byte {0-511} - null Padding to a multiple of 512 bytes
MultiEx BMS
Not written yet
Notes and Comments
- Generic TAR archive
- All fields are null-terminated strings
- The fields are also padded to the right, meaning that there is padding of (byte)32 at the start of each field, so that the entire contents of that field are as far to the right as possible for that field length
- Fields that contain a number (such as the File Length) are Octal numbers (base 8)
Supported Programs
- Game Extractor
- Many standard file compressors/decompressors