Archive format: https://hwiegman.home.xs4all.nl/filefor ... chives.txt
*.packfile + *.toc_group:
Code: Select all
// toc_group file has the details, packfile has the file data
X - filename (null)
X - directory Name (null)
4 - Unknown (2)
4 - Unknown (1)
X - file filename (dirName + filename) (null)
4 - numFiles?
// for each file
X - Filename
4 - File Size
4 - File Offset
*.peg:
Code: Select all
4 - Header (GEKV)
4 - Version (6)
4 - Directory Size (first file offset = dirSize + 32)
4 - File Data Size
4 - numFiles
4 - null
4 - numFiles
4 - Unknown (16)
// for each file
2 - Unknown
2 - Unknown
4 - Unknown
2 - Unknown
2 - Unknown
48 - Filename (null)
4 - File Offset [+ first file offset]
X - File Data
Example *.packfile + *.toc_group: https://mega.nz/#!ht5yWKpS!R7qx67p10lJJ ... MGwYb2-yc4