resonance 1.0.1
Loading...
Searching...
No Matches
ArkFileEntry Struct Reference

One entry of the archive's file table. More...

#include <openarkobject.h>

Public Attributes

unsigned short mNameHash
unsigned short mFlags
int mNameOffset
short mRelPathIndex
unsigned short mSectorOffset
int mSector
int mLength
int mSize

Detailed Description

One entry of the archive's file table.

The member titles come from the labels OpenArkObject::PrintFiles() writes: "nameHash", "flags", "nameOffset", "relPathIndex", "sectorOffset", "sector", and "length". The dump does not write mSize, and its title comes from the one reader, the asynchronous loader, which takes it as the inflated size. The name offset is rebased at mount time from an archive-relative offset to an offset inside the string table.

Member Data Documentation

◆ mNameHash

unsigned short ArkFileEntry::mNameHash

HashArkString() of the file name.

◆ mFlags

unsigned short ArkFileEntry::mFlags

Flags whose meaning is unrecovered.

◆ mNameOffset

int ArkFileEntry::mNameOffset

Offset of the file name inside the string table.

◆ mRelPathIndex

short ArkFileEntry::mRelPathIndex

Index of the directory in the relative path table.

◆ mSectorOffset

unsigned short ArkFileEntry::mSectorOffset

Byte offset of the file inside its first sector.

◆ mSector

int ArkFileEntry::mSector

Sector the file starts in.

◆ mLength

int ArkFileEntry::mLength

Bytes as stored, which a read position counts against.

◆ mSize

int ArkFileEntry::mSize

Bytes after decompression.


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