Difference between revisions of "TreFile Template"

From SWGANH Wiki
Jump to: navigation, search
(Note)
(Note)
Line 63: Line 63:
  
 
=Note=
 
=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...
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.
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.
+

Revision as of 14:53, 15 March 2007

Each file type can be described as follows:

TSF - Tre Sub File (Purpose)

Understood at
0%
25%
50%
75%
100%


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.