.DOR - pmandin/reevengi-tools GitHub Wiki

Table of Contents

Games

The .DOR file format is used by Resident Evil to store the animation of door, when the player changes room.

Structure

The values are stored in Little-Endian order.

Header

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;

Offset 0

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[]; 

Offset 1: embedded TMD file

See .TMD for further information.

Offset 2: embedded TIM file

See .TIM for further information.

⚠️ **GitHub.com Fallback** ⚠️