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/building levels tables/building levels"

From TWC Wiki
Jump to navigationJump to search
(not stub - think these show all the info they're intended to)
 
(4 intermediate revisions by 3 users not shown)
Line 8: Line 8:
 
* "<span style="color:#EE2C2C">Building Level</span>", INTEGER (4 byte)
 
* "<span style="color:#EE2C2C">Building Level</span>", INTEGER (4 byte)
 
* "<span style="color:#CD69C9">Condition</span>", OPTIONAL UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span> - <span style="color:gray"># What has to be true to be able to build this building</span>
 
* "<span style="color:#CD69C9">Condition</span>", OPTIONAL UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span> - <span style="color:gray"># What has to be true to be able to build this building</span>
* "<span style="color:#00C5CD">no Condition</span>", INTEGER (2 byte) - <span style="color:gray"># Only present if no condition was set</span>
 
 
* "<span style="color:#008B45">Time to Build</span>", INTEGER (4 byte)
 
* "<span style="color:#008B45">Time to Build</span>", INTEGER (4 byte)
 
* "<span style="color:#FF3030">Building Cost</span>", INTEGER (4 byte)
 
* "<span style="color:#FF3030">Building Cost</span>", INTEGER (4 byte)
Line 28: Line 27:
 
000000B0  <span style="color:#009ACD">61 00 72 00 72 00 61 00  63 00 6B 00 73 00</span> <span style="color:fuchsia">0A 00</span>  <span style="color:#009ACD">a.r.r.a.c.k.s.</span><span style="color:fuchsia">..</span><br />
 
000000B0  <span style="color:#009ACD">61 00 72 00 72 00 61 00  63 00 6B 00 73 00</span> <span style="color:fuchsia">0A 00</span>  <span style="color:#009ACD">a.r.r.a.c.k.s.</span><span style="color:fuchsia">..</span><br />
 
000000C0  <span style="color:#00CD66">61 00 72 00 6D 00 79 00  2D 00 61 00 64 00 6D 00</span>  <span style="color:#00CD66">a.r.m.y.-.a.d.m.</span><br />
 
000000C0  <span style="color:#00CD66">61 00 72 00 6D 00 79 00  2D 00 61 00 64 00 6D 00</span>  <span style="color:#00CD66">a.r.m.y.-.a.d.m.</span><br />
000000D0  <span style="color:#00CD66">69 00 6E 00</span> <span style="color:#EE2C2C">01 00 00 00</span>  <span style="color:#00C5CD">00 00</span> <span style="color:#008B45">03 00 00 00</span> <span style="color:#FF3030">E2 04</span>  <span style="color:#00CD66">i.n.</span><span style="color:#EE2C2C">....</span><span style="color:#00C5CD">..</span><span style="color:#008B45">....</span><span style="color:#FF3030">â.</span><br />
+
000000D0  <span style="color:#00CD66">69 00 6E 00</span> <span style="color:#EE2C2C">01 00 00 00</span>  <span style="color:#CD69C9">00 00</span> <span style="color:#008B45">03 00 00 00</span> <span style="color:#FF3030">E2 04</span>  <span style="color:#00CD66">i.n.</span><span style="color:#EE2C2C">....</span><span style="color:#CD69C9">..</span><span style="color:#008B45">....</span><span style="color:#FF3030">â.</span><br />
 
000000E0  <span style="color:#FF3030">00 00</span> <span style="color:gray">00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:#FF3030">..</span><span style="color:gray">..............</span><br />
 
000000E0  <span style="color:#FF3030">00 00</span> <span style="color:gray">00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:#FF3030">..</span><span style="color:gray">..............</span><br />
 
000000F0  <span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:gray">................</span><br />
 
000000F0  <span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:gray">................</span><br />
Line 36: Line 35:
 
00000130  <span style="background-color:#E1D6CC"><span style="color:#009ACD">00 6F 00 61 00 72 00 64  00</span> <span style="color:fuchsia">0A 00</span> <span style="color:#00CD66">61 00 72 00 6D</span></span>  <span style="background-color:#E1D6CC"><span style="color:#009ACD">.o.a.r.d.</span><span style="color:fuchsia">..</span><span style="color:#00CD66">a.r.m</span></span><br />
 
00000130  <span style="background-color:#E1D6CC"><span style="color:#009ACD">00 6F 00 61 00 72 00 64  00</span> <span style="color:fuchsia">0A 00</span> <span style="color:#00CD66">61 00 72 00 6D</span></span>  <span style="background-color:#E1D6CC"><span style="color:#009ACD">.o.a.r.d.</span><span style="color:fuchsia">..</span><span style="color:#00CD66">a.r.m</span></span><br />
 
00000140  <span style="background-color:#E1D6CC"><span style="color:#00CD66">00 79 00 2D 00 61 00 64  00 6D 00 69 00 6E 00</span> <span style="color:#EE2C2C">04</span></span>  <span style="background-color:#E1D6CC"><span style="color:#00CD66">.y.-.a.d.m.i.n.</span><span style="color:#EE2C2C">.</span></span><br />
 
00000140  <span style="background-color:#E1D6CC"><span style="color:#00CD66">00 79 00 2D 00 61 00 64  00 6D 00 69 00 6E 00</span> <span style="color:#EE2C2C">04</span></span>  <span style="background-color:#E1D6CC"><span style="color:#00CD66">.y.-.a.d.m.i.n.</span><span style="color:#EE2C2C">.</span></span><br />
00000150  <span style="background-color:#E1D6CC"><span style="color:#EE2C2C">00 00 00</span> <span style="color:#00C5CD">00 00</span> <span style="color:#008B45">04 00 00  00</span> <span style="color:#FF3030">70 17 00 00</span> <span style="color:gray">00 00 00</span></span>  <span style="background-color:#E1D6CC"><span style="color:#EE2C2C">...</span><span style="color:#00C5CD">..</span><span style="color:#008B45">....</span><span style="color:#FF3030">p...</span><span style="color:gray">...</span></span><br />
+
00000150  <span style="background-color:#E1D6CC"><span style="color:#EE2C2C">00 00 00</span> <span style="color:#CD69C9">00 00</span> <span style="color:#008B45">04 00 00  00</span> <span style="color:#FF3030">70 17 00 00</span> <span style="color:gray">00 00 00</span></span>  <span style="background-color:#E1D6CC"><span style="color:#EE2C2C">...</span><span style="color:#CD69C9">..</span><span style="color:#008B45">....</span><span style="color:#FF3030">p...</span><span style="color:gray">...</span></span><br />
 
00000160  <span style="background-color:#E1D6CC"><span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span></span>  <span style="background-color:#E1D6CC"><span style="color:gray">................</span></span><br />
 
00000160  <span style="background-color:#E1D6CC"><span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span></span>  <span style="background-color:#E1D6CC"><span style="color:gray">................</span></span><br />
 
00000170  <span style="background-color:#E1D6CC"><span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span></span>  <span style="background-color:#E1D6CC"><span style="color:gray">................</span></span><br />
 
00000170  <span style="background-color:#E1D6CC"><span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span></span>  <span style="background-color:#E1D6CC"><span style="color:gray">................</span></span><br />
Line 44: Line 43:
 
000001B0  <span style="color:#009ACD">61 00 6D 00 70 00 6D 00  65 00 6E 00 74 00</span> <span style="color:fuchsia">0A 00</span>  <span style="color:#009ACD">a.m.p.m.e.n.t.</span><span style="color:fuchsia">..</span><br />
 
000001B0  <span style="color:#009ACD">61 00 6D 00 70 00 6D 00  65 00 6E 00 74 00</span> <span style="color:fuchsia">0A 00</span>  <span style="color:#009ACD">a.m.p.m.e.n.t.</span><span style="color:fuchsia">..</span><br />
 
000001C0  <span style="color:#00CD66">61 00 72 00 6D 00 79 00  2D 00 61 00 64 00 6D 00</span>  <span style="color:#00CD66">a.r.m.y.-.a.d.m.</span><br />
 
000001C0  <span style="color:#00CD66">61 00 72 00 6D 00 79 00  2D 00 61 00 64 00 6D 00</span>  <span style="color:#00CD66">a.r.m.y.-.a.d.m.</span><br />
000001D0  <span style="color:#00CD66">69 00 6E 00</span> <span style="color:#EE2C2C">00 00 00 00</span>  <span style="color:#00C5CD">00 00</span> <span style="color:#008B45">02 00 00 00</span> <span style="color:#FF3030">EE 02</span>  <span style="color:#00CD66">i.n.</span><span style="color:#EE2C2C">....</span><span style="color:#00C5CD">..</span><span style="color:#008B45">....</span><span style="color:#FF3030">î.</span><br />
+
000001D0  <span style="color:#00CD66">69 00 6E 00</span> <span style="color:#EE2C2C">00 00 00 00</span>  <span style="color:#CD69C9">00 00</span> <span style="color:#008B45">02 00 00 00</span> <span style="color:#FF3030">EE 02</span>  <span style="color:#00CD66">i.n.</span><span style="color:#EE2C2C">....</span><span style="color:#CD69C9">..</span><span style="color:#008B45">....</span><span style="color:#FF3030">î.</span><br />
 
000001E0  <span style="color:#FF3030">00 00</span> <span style="color:gray">00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:#FF3030">..</span><span style="color:gray">..............</span><br />
 
000001E0  <span style="color:#FF3030">00 00</span> <span style="color:gray">00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:#FF3030">..</span><span style="color:gray">..............</span><br />
 
000001F0  <span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:gray">................</span><br />
 
000001F0  <span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:gray">................</span><br />
Line 50: Line 49:
 
00000210  <span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:gray">................</span><br />
 
00000210  <span style="color:gray">00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00</span>  <span style="color:gray">................</span><br />
 
00000220  <span style="color:gray">00 00 00</span> <span style="background-color:#E1D6CC"><span style="color:fuchsia">12 00</span> <span style="color:#009ACD">61 00 72  00 6D 00 79 00 5F 00 73</span></span>                            <span style="color:gray">...</span><span style="background-color:#E1D6CC"><span style="color:fuchsia">..</span><span style="color:#009ACD">a.r.m.y._.s</span></span></tt>
 
00000220  <span style="color:gray">00 00 00</span> <span style="background-color:#E1D6CC"><span style="color:fuchsia">12 00</span> <span style="color:#009ACD">61 00 72  00 6D 00 79 00 5F 00 73</span></span>                            <span style="color:gray">...</span><span style="background-color:#E1D6CC"><span style="color:fuchsia">..</span><span style="color:#009ACD">a.r.m.y._.s</span></span></tt>
 +
 +
[[Category:ETW Modding]]

Latest revision as of 06:55, 20 October 2018

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
  • "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