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.

ETW files:db/building levels tables/building levels

From TWC Wiki
Revision as of 11:02, 12 March 2009 by Porphyr (talk | contribs) (Changed the colours to make it more readable)
Jump to navigationJump to search

Header

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

Record

  • "Identifier", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Category", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Building Level", INTEGER (4 byte)
  • "Condition", OPTIONAL UTF-16 STRING: 2 bytes size + pairs of bytes - # What has to be true to be able to build this building
  • "no Condition", INTEGER (2 byte) - # Only present if no condition was set
  • "Time to Build", INTEGER (4 byte)
  • "Building Cost", INTEGER (4 byte)
  • "Unknown", SOME 65 BYTES - # Almost always 00


Example

00000000 01 BE 00 00 00 09 00 61 00 64 00 6D 00 69 00 72 .¾.....a.d.m.i.r
00000010 00 61 00 6C 00 74 00 79 00 0A 00 6E 00 61 00 76 .a.l.t.y...n.a.v
00000020 00 79 00 2D 00 61 00 64 00 6D 00 69 00 6E 00 00 .y.-.a.d.m.i.n..
00000030 00 00 00 12 00 69 00 6E 00 46 00 61 00 63 00 74 .....i.n.F.a.c.t
00000040 00 69 00 6F 00 6E 00 43 00 61 00 70 00 69 00 74 .i.o.n.C.a.p.i.t
00000050 00 61 00 6C 00 28 00 29 00 04 00 00 00 D0 07 00 .a.l.(.).....Ð..
00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000070 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000080 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000090 00 00 00 00 00 00 0A 00 00 00 00 00 00 00 00 00 ................
000000A0 00 00 0D 00 61 00 72 00 6D 00 79 00 5F 00 62 00 ....a.r.m.y._.b.
000000B0 61 00 72 00 72 00 61 00 63 00 6B 00 73 00 0A 00 a.r.r.a.c.k.s...
000000C0 61 00 72 00 6D 00 79 00 2D 00 61 00 64 00 6D 00 a.r.m.y.-.a.d.m.
000000D0 69 00 6E 00 01 00 00 00 00 00 03 00 00 00 E2 04 i.n...........â.
000000E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000000F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000100 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000110 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000120 00 00 00 0A 00 61 00 72 00 6D 00 79 00 5F 00 62 .....a.r.m.y._.b
00000130 00 6F 00 61 00 72 00 64 00 0A 00 61 00 72 00 6D .o.a.r.d...a.r.m
00000140 00 79 00 2D 00 61 00 64 00 6D 00 69 00 6E 00 04 .y.-.a.d.m.i.n..
00000150 00 00 00 00 00 04 00 00 00 70 17 00 00 00 00 00 .........p......
00000160 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000170 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000180 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000190 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0F 00 ................
000001A0 61 00 72 00 6D 00 79 00 5F 00 65 00 6E 00 63 00 a.r.m.y._.e.n.c.
000001B0 61 00 6D 00 70 00 6D 00 65 00 6E 00 74 00 0A 00 a.m.p.m.e.n.t...
000001C0 61 00 72 00 6D 00 79 00 2D 00 61 00 64 00 6D 00 a.r.m.y.-.a.d.m.
000001D0 69 00 6E 00 00 00 00 00 00 00 02 00 00 00 EE 02 i.n...........î.
000001E0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
000001F0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000200 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000210 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00000220 00 00 00 12 00 61 00 72 00 6D 00 79 00 5F 00 73 .....a.r.m.y._.s

YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.