TSunmix 0.2
Public Attributes
t_mix_index_entry Struct Reference

Included file header. More...

#include <mix_file.h>

List of all members.

Public Attributes

unsigned int id
unsigned int offset
unsigned int size

Detailed Description

Included file header.

Right after mix file header comes file index. Every included file has it's entry there storing information about it's CRC ID (mix archive doesn't store information about file names, but CRC ID can be calculated from file name), offset in body block and size. Remember that you have to add body offset to file offset before you read a file data.

structure of index entry
  • 4B - CRC id
  • 4B - file offset
  • 4B - file size
count body offset
To get body offset, you have to count size of information before body.
  • does archive contain flags? (4B if so)
  • mix archive header (6B)
  • file index (c_files * 12B)
  • is archive encrypted? (80B if so)

The documentation for this struct was generated from the following file:
 All Classes Functions