TreFile Template
From SWGANH Wiki
Each file type can be described as follows:
TSF - Tre Sub File (Purpose)
Understood at |
|
|
|
|
|
File Type: TSF format |
Description here. |
Header:
INT
|
TSF file type header id (sequence: 0x04 0x03 0x02 0x01, value: 0x01020304 = 16909060) |
SHORT
|
items count |
Then items list, for each:
BOOL | test flag |
INT
|
identifier used for later reference |
Here is a list of the different templates at your disposal (yes colors suck a bit atm, you can change them, look here for palette):
SBYTE | sbyte | BYTE | byte | BOOL | bool |
SHORT
|
short | USHORT | ushort | ||
INT
|
int | UINT | uint | FLOAT | float |
LONG
|
long | ULONG | ulong | DOUBLE | double |
Template:Ansistring | ansistring | Template:Unicodestring | unicodestring |
Note
- Snow> Exca, look at the existing templates for the colour scheme, it's already been defined for all the values you're looking at...
- Exca> if you're talking about this: Packet_Template my opinion is: it contains mistakes, not all the types are defined, and an uint is not an int.
- snow> We can fix the mistakes, but I dont want to be changing templates to a new colour scheme 6 months into the project.