neige d'aoust

knowledge, art, and other stuff

User Tools

Site Tools


mozaic

This is an old revision of the document!


Mozaïc

PAK file format

Data is in little-endian.

NomTypeOffsetSizeNotes
magicstring04 bytes“PACK”
sizeu3244 bytesNumber of entries
??? 832 bytesUnknown
filelistFile40size * (12 + name)

File

NomTypeOffsetSizeNotes
filesizeu3204 bytes
offsetu3244 bytesOffset within the file
???u3284 bytes
namestring12 Null-terminated string

ImHex pattern

import std.string;
 
char magic[4] @ 0;
u32 size @ 4;
 
struct File {
    u32 filesize;
    u32 offset;
    u32 type;
    std::string::NullString name;
    char data[filesize] @ offset;
};
 
File filelist[size] @ 0x28;
mozaic.1742080438.txt.gz · Last modified: 2025/03/15 19:13 by Yuki