Difference between revisions of "AE"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Whatevermind
(Created page)
 
m (2 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{MTS2}}
 
{{MTS2}}
  
'''AE''' files contian [[U-Drive-It]] settings. Specification follows:
+
'''AE''' files contian [[U-Drive-It]] settings.
  
Header (8 bytes):
+
==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
Line 10: Line 12:
 
  WORD - Size of the Index
 
  WORD - Size of the Index
  
Index:
+
===Index===
 
  WORD  - Section 1 Count
 
  WORD  - Section 1 Count
 
  WORD  - Section 2 Count
 
  WORD  - Section 2 Count
Line 20: Line 22:
 
  DWORD - Section 4 Offset
 
  DWORD - Section 4 Offset
  
Section 1 (24 bytes each) (Repeating):
+
===Section 1===
 +
This section consists of repeating 24 byte chunks.
 +
<pre>
 
  DWORD
 
  DWORD
 
  DWORD
 
  DWORD
Line 30: Line 34:
 
  WORD
 
  WORD
 
  WORD
 
  WORD
 +
</pre>
  
Section 2 (16 bytes each) (Repeating):
+
===Section 2===
 +
This section consists of repeating 16 byte chunks.
 +
<pre>
 
  WORD
 
  WORD
 
  WORD
 
  WORD
Line 39: Line 46:
 
  WORD
 
  WORD
 
  WORD
 
  WORD
 +
</pre>
  
Section 3 (32 bytes each) (Repeating):
+
===Section 3===
 +
This section consists of repeating 32 byte chunks.
 +
<pre>
 
  DWORD
 
  DWORD
 
  DWORD
 
  DWORD
Line 49: Line 59:
 
  DWORD
 
  DWORD
 
  DWORD
 
  DWORD
 +
</pre>
 +
 +
===Section 4 (Tables)===
 +
This section consists of three tables. The first and second are 1024 bytes long each. The third is 484 bytes.
  
Section 4 (Tables - first 2 are 1024 bytes, Third is 484) (Repeating):
 
 
  DWORD x 256 (for first 2)
 
  DWORD x 256 (for first 2)
 
  or
 
  or
 
  DWORD x 121 (for the third)
 
  DWORD x 121 (for the third)
  
Section 4 (Aftertables):
+
After the tables, comes info about how many times the tables repeat.
  
Section 4 repeat times.
 
 
  DWORD
 
  DWORD
 
  DWORD (I Count++)
 
  DWORD (I Count++)
  
Section 4 (I Counts):
+
Add up the value of all ICounts from the Aftertables to get the count of DWORDS here.
  
Add up the value of all I Counts from the Aftertables to get the count of DWORDS here.
 
 
  DWORD x ICount
 
  DWORD x ICount
 +
  
  

Latest revision as of 18:54, 8 August 2019


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