[关闭]
@SmashStack 2017-07-12T16:25:16.000000Z 字数 374 阅读 1285

NPK Format for Neox Game Engineer

Chore


文件格式

偏移 含义 备注
0x00 : 0x04 文件头 "NXPK"
0x04 : 0x08 被打包脚本的数量 count = u32(data[0x4:0x8])
0x08 : 0x14 未知 包含大量零填充
0x14 : 0x18 索引表文件内偏移 table_offset = u32(data[0x14:0x18])
0x18 : table_offset .nxs文件内容 -
table_offset : end 索引表 索引表项长度为0x1c,共有count项

索引表项格式

偏移 含义 备注
0x00 : 0x04 id -
0x04 : 0x08 对应数据文件内偏移 offset = u32(item[0x04:0x08])
0x08 : 0x0c 对应数据长度 length = u32(item[0x08:0x0c])
0x0c : 0x18 未知 -
0x18 : 0x1c 数据是否压缩 -
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注