AE

From SC4D Encyclopaedia
Revision as of 18:54, 8 August 2019 by Tarkus (talk | contribs) (2 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


AE files contian U-Drive-It settings.

Specification

The format of the AE files is as follows. The basic structure of the file is listed below, however much work remains to figure out what all these parts are and what they do.

Header (8 bytes)

WORD
WORD
WORD
WORD - Size of the Index

Index

WORD  - Section 1 Count
WORD  - Section 2 Count
WORD  - Section 3 Count
WORD  - Section 4 (Table) Count
DWORD - Section 1 Offset
DWORD - Section 2 Offset
DWORD - Section 3 Offset
DWORD - Section 4 Offset

Section 1

This section consists of repeating 24 byte chunks.

 DWORD
 DWORD
 WORD
 WORD
 DWORD
 WORD
 WORD
 WORD
 WORD

Section 2

This section consists of repeating 16 byte chunks.

 WORD
 WORD
 DWORD
 WORD
 WORD
 WORD
 WORD

Section 3

This section consists of repeating 32 byte chunks.

 DWORD
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD
 DWORD

Section 4 (Tables)

This section consists of three tables. The first and second are 1024 bytes long each. The third is 484 bytes.

DWORD x 256 (for first 2)
or
DWORD x 121 (for the third)

After the tables, comes info about how many times the tables repeat.

DWORD
DWORD (I Count++)

Add up the value of all ICounts from the Aftertables to get the count of DWORDS here.

DWORD x ICount