2020-7-11 12:18 /
typedef struct {
char magic[48]; /* "DATA$TOP" */
unsigned int reserved[2];
unsigned int index_entries;
unsigned int zero;
} pak_header_t;
typedef struct {
char name[48];
unsigned int offset0;//unuse=.=
unsigned int offset1;//相对offset,注意文件头部分的计算
unsigned int length;//文件长度
unsigned int zero;//0
} pak_entry_t;
code : https://github.com/AyamiKaze/Galgame_Project/blob/master/mts/extMTS.cpp