Data Resource File

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
m (Format: made format section prettier)
m (Update Xentax link)
 
Line 34: Line 34:
  
 
==External links==
 
==External links==
*[http://wiki.xentax.com/index.php?title=Age_Of_Empires_DRSArchive Xentax]
+
*[https://wiki.xentax.com/index.php/GRAF:Age_Of_Empires_DRSArchive Xentax]
 
*[http://artho.com/age/files/drs.html Tool and more documentation]
 
*[http://artho.com/age/files/drs.html Tool and more documentation]

Latest revision as of 21:11, 4 March 2022

File Format
Name Data Resource File
Ontology
Extension(s) .drs
Released 1997

Data Resource Files are used in the PC game Age of Empires and Age of Empires II for storing game files such as graphics and sound. It is an archive, so a drs file stores other files which then need to be interpreted in their own unique way.

Common files found archived in a drs file:

[edit] Format

char[36] copyright
uint32 version
char[16] unknown
uint32 number_of_groups
uint32 files_offset

struct groups[number_of_groups]
  char[4] extension (reversed with an ASCII space character at the end)
  uint32 table_offset
  uint32 num_table_entries

  struct entries[num_table_entries]
    uint32 id
    uint32 offset
    uint32 size
  • Files can then be read from the drs file and written to disk using the offset and size of the file given under each entry.

[edit] External links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox