Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "ETW files:db/units tables/units"

From TWC Wiki
Jump to navigationJump to search
(New page: === Header === * "<span style="color:black">01</span>", 1 BYTE - <span style="color:gray">#Currently unknown</span> * "<span style="color:red">Count</span>", INTEGER (4 byte) - <span style...)
 
 
(5 intermediate revisions by 4 users not shown)
Line 17: Line 17:
 
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
 
* "<span style="color:gray">Unknown</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span>
* "<span style="color:maroon">Restricted Region</span>", OPTIONAL UTF-16 STRING: <span style="color:fuchsia">1 byte bool</span> + <span style="color:teal">Optional STRING</span>
+
* "<span style="color:maroon">Restricted Region</span>", OPTIONAL UTF-16 STRING: <span style="color:fuchsia">1 byte bool</span> + <span style="color:fuchsia">2 byte size</span> + <span style="color:teal">Optional STRING</span>
* "<span style="color:gray">Unknown</span>", INTEGER (4 byte)
+
* "<span style="color:#9ACD32">Unit Limit</span>", INTEGER (4 byte)
 
* "<span style="color:yellow">MP Category</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span> - <span style="color:gray"># Multiplayer Category</span>
 
* "<span style="color:yellow">MP Category</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span> - <span style="color:gray"># Multiplayer Category</span>
 
* "<span style="color:gray">Unknown</span>", SOME 8 BYTES
 
* "<span style="color:gray">Unknown</span>", SOME 8 BYTES
Line 46: Line 46:
 
00000140: <span style="background-color:#E1D6CC"><span style="color:gray">5F 00 68 00 6F 00 77 00 69 00 74 00 7A 00 65 00 </span></span> ; <span style="background-color:#E1D6CC"><span style="color:gray">_.h.o.w.i.t.z.e.</span></span><br/>
 
00000140: <span style="background-color:#E1D6CC"><span style="color:gray">5F 00 68 00 6F 00 77 00 69 00 74 00 7A 00 65 00 </span></span> ; <span style="background-color:#E1D6CC"><span style="color:gray">_.h.o.w.i.t.z.e.</span></span><br/>
 
00000150: <span style="background-color:#E1D6CC"><span style="color:gray">72 00 </span><span style="color:maroon"><span style="color:fuchsia">01 06 00 </span>67 00 6C 00 6F 00 62 00 61 00 6C </span></span> ; <span style="background-color:#E1D6CC"><span style="color:gray">r.</span><span style="color:maroon"><span style="color:fuchsia">...</span>g.l.o.b.a.l</span></span><br/>
 
00000150: <span style="background-color:#E1D6CC"><span style="color:gray">72 00 </span><span style="color:maroon"><span style="color:fuchsia">01 06 00 </span>67 00 6C 00 6F 00 62 00 61 00 6C </span></span> ; <span style="background-color:#E1D6CC"><span style="color:gray">r.</span><span style="color:maroon"><span style="color:fuchsia">...</span>g.l.o.b.a.l</span></span><br/>
00000160: <span style="background-color:#E1D6CC"><span style="color:maroon">00 </span><span style="color:gray">00 00 00 00 </span><span style="color:yellow"><span style="color:fuchsia">0C 00 </span>6D 00 70 00 5F 00 61 00 72 </span></span> ; <span style="background-color:#E1D6CC"><span style="color:maroon">.</span><span style="color:gray">....</span><span style="color:yellow"><span style="color:fuchsia">..</span>m.p._.a.r</span></span><br/>
+
00000160: <span style="background-color:#E1D6CC"><span style="color:maroon">00 </span><span style="color:#9ACD32">00 00 00 00 </span><span style="color:yellow"><span style="color:fuchsia">0C 00 </span>6D 00 70 00 5F 00 61 00 72 </span></span> ; <span style="background-color:#E1D6CC"><span style="color:maroon">.</span><span style="color:#9ACD32">....</span><span style="color:yellow"><span style="color:fuchsia">..</span>m.p._.a.r</span></span><br/>
 
00000170: <span style="background-color:#E1D6CC"><span style="color:yellow">00 74 00 69 00 6C 00 6C 00 65 00 72 00 79 00 </span><span style="color:gray">01 </span></span> ; <span style="background-color:#E1D6CC"><span style="color:yellow">.t.i.l.l.e.r.y.</span><span style="color:gray">.</span></span><br/>
 
00000170: <span style="background-color:#E1D6CC"><span style="color:yellow">00 74 00 69 00 6C 00 6C 00 65 00 72 00 79 00 </span><span style="color:gray">01 </span></span> ; <span style="background-color:#E1D6CC"><span style="color:yellow">.t.i.l.l.e.r.y.</span><span style="color:gray">.</span></span><br/>
 
00000180: <span style="background-color:#E1D6CC"><span style="color:gray">01 00 00 00 00 00 00 </span></span><span style="color:teal"><span style="color:fuchsia">19 00 </span>31 00 32 00 5F 00 6C </span> ; <span style="background-color:#E1D6CC"><span style="color:gray">.......</span></span><span style="color:teal"><span style="color:fuchsia">..</span>1.2._.l</span><br/>
 
00000180: <span style="background-color:#E1D6CC"><span style="color:gray">01 00 00 00 00 00 00 </span></span><span style="color:teal"><span style="color:fuchsia">19 00 </span>31 00 32 00 5F 00 6C </span> ; <span style="background-color:#E1D6CC"><span style="color:gray">.......</span></span><span style="color:teal"><span style="color:fuchsia">..</span>1.2._.l</span><br/>
Line 72: Line 72:
 
000002E0: <span style="color:gray">69 00 74 00 7A 00 65 00 72 00 </span><span style="color:maroon"><span style="color:fuchsia">01 0F 00 </span>61 00 6D </span> ; <span style="color:gray">i.t.z.e.r.</span><span style="color:maroon"><span style="color:fuchsia">...</span>a.m</span><br/>
 
000002E0: <span style="color:gray">69 00 74 00 7A 00 65 00 72 00 </span><span style="color:maroon"><span style="color:fuchsia">01 0F 00 </span>61 00 6D </span> ; <span style="color:gray">i.t.z.e.r.</span><span style="color:maroon"><span style="color:fuchsia">...</span>a.m</span><br/>
 
000002F0: <span style="color:maroon">00 65 00 72 00 69 00 63 00 61 00 73 00 5F 00 69 </span> ; <span style="color:maroon">.e.r.i.c.a.s._.i</span><br/>
 
000002F0: <span style="color:maroon">00 65 00 72 00 69 00 63 00 61 00 73 00 5F 00 69 </span> ; <span style="color:maroon">.e.r.i.c.a.s._.i</span><br/>
00000300: <span style="color:maroon">00 6E 00 6C 00 61 00 6E 00 64 00 </span><span style="color:gray">00 00 00 00 </span><span style="color:yellow"><span style="color:fuchsia">0C </span></span> ; <span style="color:maroon">.n.l.a.n.d.</span><span style="color:gray">....</span><span style="color:yellow"><span style="color:fuchsia">.</span></span><br/>
+
00000300: <span style="color:maroon">00 6E 00 6C 00 61 00 6E 00 64 00 </span><span style="color:#9ACD32">00 00 00 00 </span><span style="color:yellow"><span style="color:fuchsia">0C </span></span> ; <span style="color:maroon">.n.l.a.n.d.</span><span style="color:#9ACD32">....</span><span style="color:yellow"><span style="color:fuchsia">.</span></span><br/>
 
00000310: <span style="color:yellow"><span style="color:fuchsia">00 </span>6D 00 70 00 5F 00 61 00 72 00 74 00 69 00 6C </span> ; <span style="color:yellow"><span style="color:fuchsia">.</span>m.p._.a.r.t.i.l</span><br/>
 
00000310: <span style="color:yellow"><span style="color:fuchsia">00 </span>6D 00 70 00 5F 00 61 00 72 00 74 00 69 00 6C </span> ; <span style="color:yellow"><span style="color:fuchsia">.</span>m.p._.a.r.t.i.l</span><br/>
 
00000320: <span style="color:yellow">00 6C 00 65 00 72 00 79 00 </span><span style="color:gray">00 00 00 00 00 00 00 </span> ; <span style="color:yellow">.l.e.r.y.</span><span style="color:gray">.......</span><br/>
 
00000320: <span style="color:yellow">00 6C 00 65 00 72 00 79 00 </span><span style="color:gray">00 00 00 00 00 00 00 </span> ; <span style="color:yellow">.l.e.r.y.</span><span style="color:gray">.......</span><br/>
 
00000330: <span style="color:gray">00 </span><span style="color:teal"><span style="background-color:#E1D6CC"><span style="color:fuchsia">13 00 </span>31 00 32 00 5F 00 6C 00 62 00 65 00 72 </span></span> ; <span style="color:gray">.</span><span style="color:teal"><span style="background-color:#E1D6CC"><span style="color:fuchsia">..</span>1.2._.l.b.e.r</span></span><br/>
 
00000330: <span style="color:gray">00 </span><span style="color:teal"><span style="background-color:#E1D6CC"><span style="color:fuchsia">13 00 </span>31 00 32 00 5F 00 6C 00 62 00 65 00 72 </span></span> ; <span style="color:gray">.</span><span style="color:teal"><span style="background-color:#E1D6CC"><span style="color:fuchsia">..</span>1.2._.l.b.e.r</span></span><br/>
 
</tt>
 
</tt>
 +
 +
 +
 +
[[Category:ETW Modding]]

Latest revision as of 04:49, 30 March 2009

Header

  • "01", 1 BYTE - #Currently unknown
  • "Count", INTEGER (4 byte) - #Count of items in the file

Record

  • "Identifer", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Screen Name", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Category", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Class", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "unknown", INTEGER (4 byte)
  • "Build Time", INTEGER (4 byte)
  • "Cost", INTEGER (4 byte)
  • "Upkeep", INTEGER (4 byte)
  • "Unknown", SOME 4 BYTES
  • "Unknown", BOOLEAN (1 byte)
  • "Unknown", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Unknown", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Unknown", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Unknown", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Restricted Region", OPTIONAL UTF-16 STRING: 1 byte bool + 2 byte size + Optional STRING
  • "Unit Limit", INTEGER (4 byte)
  • "MP Category", UTF-16 STRING: 2 bytes size + pairs of bytes - # Multiplayer Category
  • "Unknown", SOME 8 BYTES


Example

00000000: 01 A4 01 00 00 10 00 31 00 32 00 5F 00 6C 00 62  ; .¤.....1.2._.l.b
00000010: 00 65 00 72 00 5F 00 68 00 6F 00 77 00 69 00 74  ; .e.r._.h.o.w.i.t
00000020: 00 7A 00 65 00 72 00 1F 00 31 00 32 00 2D 00 6C  ; .z.e.r...1.2.-.l
00000030: 00 62 00 65 00 72 00 20 00 48 00 6F 00 77 00 69  ; .b.e.r...H.o.w.i
00000040: 00 74 00 7A 00 65 00 72 00 20 00 46 00 6F 00 6F  ; .t.z.e.r...F.o.o
00000050: 00 74 00 20 00 41 00 72 00 74 00 69 00 6C 00 6C  ; .t...A.r.t.i.l.l
00000060: 00 65 00 72 00 79 00 09 00 61 00 72 00 74 00 69  ; .e.r.y...a.r.t.i
00000070: 00 6C 00 6C 00 65 00 72 00 79 00 0E 00 61 00 72  ; .l.l.e.r.y...a.r
00000080: 00 74 00 69 00 6C 00 6C 00 65 00 72 00 79 00 5F  ; .t.i.l.l.e.r.y._
00000090: 00 66 00 6F 00 6F 00 74 00 8A 02 00 00 01 00 00  ; .f.o.o.t.Š......
000000A0: 00 80 02 00 00 FA 00 00 00 16 00 00 00 01 19 00  ; .€...ú..........
000000B0: 61 00 72 00 74 00 69 00 6C 00 6C 00 65 00 72 00  ; a.r.t.i.l.l.e.r.
000000C0: 79 00 5F 00 6D 00 65 00 64 00 69 00 75 00 6D 00  ; y._.m.e.d.i.u.m.
000000D0: 5F 00 68 00 6F 00 77 00 69 00 74 00 7A 00 65 00  ; _.h.o.w.i.t.z.e.
000000E0: 72 00 15 00 65 00 75 00 72 00 6F 00 5F 00 68 00  ; r...e.u.r.o._.h.
000000F0: 6F 00 77 00 69 00 74 00 7A 00 65 00 72 00 5F 00  ; o.w.i.t.z.e.r._.
00000100: 31 00 32 00 5F 00 69 00 63 00 6F 00 6E 00 10 00  ; 1.2._.i.c.o.n...
00000110: 31 00 32 00 5F 00 6C 00 62 00 65 00 72 00 5F 00  ; 1.2._.l.b.e.r._.
00000120: 68 00 6F 00 77 00 69 00 74 00 7A 00 65 00 72 00  ; h.o.w.i.t.z.e.r.
00000130: 10 00 31 00 32 00 5F 00 6C 00 62 00 65 00 72 00  ; ..1.2._.l.b.e.r.
00000140: 5F 00 68 00 6F 00 77 00 69 00 74 00 7A 00 65 00  ; _.h.o.w.i.t.z.e.
00000150: 72 00 01 06 00 67 00 6C 00 6F 00 62 00 61 00 6C  ; r....g.l.o.b.a.l
00000160: 00 00 00 00 00 0C 00 6D 00 70 00 5F 00 61 00 72  ; .......m.p._.a.r
00000170: 00 74 00 69 00 6C 00 6C 00 65 00 72 00 79 00 01  ; .t.i.l.l.e.r.y..
00000180: 01 00 00 00 00 00 00 19 00 31 00 32 00 5F 00 6C  ; .........1.2._.l
00000190: 00 62 00 65 00 72 00 5F 00 68 00 6F 00 77 00 69  ; .b.e.r._.h.o.w.i
000001A0: 00 74 00 7A 00 65 00 72 00 5F 00 63 00 6F 00 6C  ; .t.z.e.r._.c.o.l
000001B0: 00 6F 00 6E 00 69 00 61 00 6C 00 21 00 43 00 6F  ; .o.n.i.a.l.!.C.o
000001C0: 00 6C 00 6F 00 6E 00 69 00 61 00 6C 00 20 00 31  ; .l.o.n.i.a.l...1
000001D0: 00 32 00 2D 00 6C 00 62 00 65 00 72 00 20 00 48  ; .2.-.l.b.e.r...H
000001E0: 00 6F 00 77 00 69 00 74 00 7A 00 65 00 72 00 20  ; .o.w.i.t.z.e.r..
000001F0: 00 42 00 61 00 74 00 74 00 65 00 72 00 79 00 09  ; .B.a.t.t.e.r.y..
00000200: 00 61 00 72 00 74 00 69 00 6C 00 6C 00 65 00 72  ; .a.r.t.i.l.l.e.r
00000210: 00 79 00 0E 00 61 00 72 00 74 00 69 00 6C 00 6C  ; .y...a.r.t.i.l.l
00000220: 00 65 00 72 00 79 00 5F 00 66 00 6F 00 6F 00 74  ; .e.r.y._.f.o.o.t
00000230: 00 8A 02 00 00 01 00 00 00 80 02 00 00 FA 00 00  ; .Š.......€...ú..
00000240: 00 16 00 00 00 01 19 00 61 00 72 00 74 00 69 00  ; ........a.r.t.i.
00000250: 6C 00 6C 00 65 00 72 00 79 00 5F 00 6D 00 65 00  ; l.l.e.r.y._.m.e.
00000260: 64 00 69 00 75 00 6D 00 5F 00 68 00 6F 00 77 00  ; d.i.u.m._.h.o.w.
00000270: 69 00 74 00 7A 00 65 00 72 00 15 00 65 00 75 00  ; i.t.z.e.r...e.u.
00000280: 72 00 6F 00 5F 00 68 00 6F 00 77 00 69 00 74 00  ; r.o._.h.o.w.i.t.
00000290: 7A 00 65 00 72 00 5F 00 31 00 32 00 5F 00 69 00  ; z.e.r._.1.2._.i.
000002A0: 63 00 6F 00 6E 00 10 00 31 00 32 00 5F 00 6C 00  ; c.o.n...1.2._.l.
000002B0: 62 00 65 00 72 00 5F 00 68 00 6F 00 77 00 69 00  ; b.e.r._.h.o.w.i.
000002C0: 74 00 7A 00 65 00 72 00 10 00 31 00 32 00 5F 00  ; t.z.e.r...1.2._.
000002D0: 6C 00 62 00 65 00 72 00 5F 00 68 00 6F 00 77 00  ; l.b.e.r._.h.o.w.
000002E0: 69 00 74 00 7A 00 65 00 72 00 01 0F 00 61 00 6D  ; i.t.z.e.r....a.m
000002F0: 00 65 00 72 00 69 00 63 00 61 00 73 00 5F 00 69  ; .e.r.i.c.a.s._.i
00000300: 00 6E 00 6C 00 61 00 6E 00 64 00 00 00 00 00 0C  ; .n.l.a.n.d......
00000310: 00 6D 00 70 00 5F 00 61 00 72 00 74 00 69 00 6C  ; .m.p._.a.r.t.i.l
00000320: 00 6C 00 65 00 72 00 79 00 00 00 00 00 00 00 00  ; .l.e.r.y........
00000330: 00 13 00 31 00 32 00 5F 00 6C 00 62 00 65 00 72  ; ...1.2._.l.b.e.r