Difference between revisions of "Mohawk archive format"

From A look inside The Link @ wiki
Jump to: navigation, search
(first things)
(No difference)

Revision as of 14:06, 4 February 2008

General layout

Mohawk archives are organized in chunks, and this is the chunk layout:

  • IFF chunk
    • IFF header
    • RSRC header
    • Resource dir
      • Type table
      • Name tables (one for each resource type)
      • Resource tables (one for each resource type)
      • Resource name list
      • File table
    • Actual data (resource contents)

Note that the chunks may be found in a different order: never trust on them being at fixed locations, and use the offsets to reach them.

Every integer is in big-endian (Motorola) byte order.

IFF header

RSRC header

Type table

Name table

Resource table

Resource name list

File table