.DOR - pmandin/reevengi-tools GitHub Wiki
The .DOR file format is used by Resident Evil to store the animation of door, when the player changes room.
The values are stored in Little-Endian order.
A DOR file starts with this header, to store offsets to different objects, embedded in the file.
typedef struct { unsigned long obj0_offset; /* Offset to ? */ unsigned long tmd_offset; /* Offset to embedded TMD file */ unsigned long tim_offset; /* Offset to embedded TIM file */ } dor_header_t;
The structure starts with an array of relative offsets from the start of this structure. Thus, the number of items is rel_offset[0]/4.
unsigned long rel_offset[];
See .TMD for further information.
See .TIM for further information.