Difference between revisions of "HAR File Format (.AF)"

From WTFwiki
Jump to navigation Jump to search
(Added some AF data)
 
Line 47: Line 47:
 
|String Length || 1 DWORD || Length of the string
 
|String Length || 1 DWORD || Length of the string
 
|-
 
|-
|String || N BYTES || Animation string
+
|String || N BYTES || [[Animation string]]
 
|-
 
|-
 
|Unknown Data || 1 BYTE || ?
 
|Unknown Data || 1 BYTE || ?
Line 59: Line 59:
 
|String Length || 1 WORD || Length of string
 
|String Length || 1 WORD || Length of string
 
|-
 
|-
|String || N BYTES || Extra Animation String
+
|String || N BYTES || Extra [[Animation string|Animation String]]
 
|-
 
|-
 
|Unknown Data || 1 BYTE || ?
 
|Unknown Data || 1 BYTE || ?

Revision as of 19:31, 19 November 2009

The AF files contain all the information related to HARs; sprites, key-combos, projectile sprites, base damage, etc. The format is not entirely understood but a large portion has been dissected and understood. All AF files are broken up into the following sections:

Fighter Header

This contains the basic data about the HAR. Unmodified speeds, endurance, power, etc.

HAR Number 1 WORD Must be the same number as in the filename eg: FIGHTR1.AF
Unknown Data 3 bytes ?
Endurance 3 bytes Max is 2,143,755. Above or below that results in permanantly stunned state.
Unknown Data 1 byte ?
Power 1 WORD Damage Resistance, max is 8717.
Forward Speed 1 signed DWORD Speed at which the HAR moves towards opponent
Backward Speed 1 signed DWORD Speed at which HAR retreats from opponent
Upward Speed 1 signed DWORD Initial jump speed, this should be negative
Downward Speed 1 signed DWORD How quickly the HAR falls while being airborne, should be positive
Unknown Data 1 WORD ?

Animation

Animation Header

Animation Number 1 BYTES Unique Identifier for animation
Unknown Data 8 BYTES Zero padding?
Overlay Amount 1 WORD TODO
Frame Count 1 BYTE How many frames in this animation
Overlay Table N DWORDS TODO

Animation String Header

String Length 1 DWORD Length of the string
String N BYTES Animation string
Unknown Data 1 BYTE ?
Number of Extra Strings 1 BYTE How many other animation strings there are

Extra Animation Strings

String Length 1 WORD Length of string
String N BYTES Extra Animation String
Unknown Data 1 BYTE ?

TO BE COMPLETED