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/technologies tables/technologies"

From TWC Wiki
Jump to navigationJump to search
(Record)
Line 8: Line 8:
 
* "<span style="color:gray">Tech tree position</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Tech tree position</span>", INTEGER (4 byte)
 
* "<span style="color:#FF3030">Required Research Points</span>", INTEGER (4 byte)
 
* "<span style="color:#FF3030">Required Research Points</span>", INTEGER (4 byte)
* "<span style="color:gray">Localised text</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span> - <span style="color:gray"># Repetition of the Identifier</span>
+
* "<span style="color:gray">Localised text</span>", UTF-16 STRING: <span style="color:fuchsia">2 bytes size</span> + <span style="color:teal">pairs of bytes</span> - <span style="color:gray"></span>
 
* "<span style="color:gray">Land prestige</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Land prestige</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Naval prestige</span>", INTEGER (4 byte)
 
* "<span style="color:gray">Naval prestige</span>", INTEGER (4 byte)

Revision as of 06:46, 14 March 2009

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
  • "Building Prerequisite", UTF-16 STRING: 2 bytes size + pairs of bytes
  • "Tech tree position", INTEGER (4 byte)
  • "Required Research Points", INTEGER (4 byte)
  • "Localised text", UTF-16 STRING: 2 bytes size + pairs of bytes -
  • "Land prestige", INTEGER (4 byte)
  • "Naval prestige", INTEGER (4 byte)
  • "Economic prestige", INTEGER (4 byte)
  • "Enlightenment prestige", INTEGER (4 byte)
  • "Unknown", BOOLEAN (1 byte)
  • "Unknown", BOOLEAN (1 byte)
  • "File to display in the "new tech researched" message panel", UTF-16 STRING: 2 bytes size + pairs of bytes

Tech tree position

The position in the tech tree is determined as shown here:

http://www.twcenter.net/forums/attachment.php?attachmentid=33243&d=1237038114

Example

00000000 01 59 00 00 00 22 00 65 00 6E 00 6C 00 69 00 67 .Y...".e.n.l.i.g
00000010 00 68 00 74 00 65 00 6E 00 6D 00 65 00 6E 00 74 .h.t.e.n.m.e.n.t
00000020 00 5F 00 61 00 62 00 6F 00 6C 00 69 00 74 00 69 ._.a.b.o.l.i.t.i
00000030 00 6F 00 6E 00 5F 00 6F 00 66 00 5F 00 73 00 6C .o.n._.o.f._.s.l
00000040 00 61 00 76 00 65 00 72 00 79 00 16 00 65 00 6E .a.v.e.r.y...e.n
00000050 00 6C 00 69 00 67 00 68 00 74 00 65 00 6E 00 65 .l.i.g.h.t.e.n.e
00000060 00 64 00 5F 00 75 00 6E 00 69 00 76 00 65 00 72 .d._.u.n.i.v.e.r
00000070 00 73 00 69 00 74 00 79 00 04 00 00 00 BF 01 00 .s.i.t.y.....¿..
00000080 00 22 00 65 00 6E 00 6C 00 69 00 67 00 68 00 74 .".e.n.l.i.g.h.t
00000090 00 65 00 6E 00 6D 00 65 00 6E 00 74 00 5F 00 61 .e.n.m.e.n.t._.a
000000A0 00 62 00 6F 00 6C 00 69 00 74 00 69 00 6F 00 6E .b.o.l.i.t.i.o.n
000000B0 00 5F 00 6F 00 66 00 5F 00 73 00 6C 00 61 00 76 ._.o.f._.s.l.a.v
000000C0 00 65 00 72 00 79 00 00 00 00 00 00 00 00 00 00 .e.r.y..........
000000D0 00 00 00 64 00 00 00 00 00 19 00 63 00 75 00 6C ...d.......c.u.l
000000E0 00 74 00 75 00 72 00 65 00 5F 00 65 00 75 00 5F .t.u.r.e._.e.u._
000000F0 00 75 00 6E 00 69 00 76 00 65 00 72 00 73 00 69 .u.n.i.v.e.r.s.i
00000100 00 74 00 79 00 2E 00 74 00 67 00 61 00 1C 00 65 .t.y...t.g.a...e
00000110 00 6E 00 6C 00 69 00 67 00 68 00 74 00 65 00 6E .n.l.i.g.h.t.e.n
00000120 00 6D 00 65 00 6E 00 74 00 5F 00 61 00 6E 00 74 .m.e.n.t._.a.n.t
00000130 00 69 00 5F 00 63 00 6C 00 65 00 72 00 69 00 63 .i._.c.l.e.r.i.c
00000140 00 69 00 73 00 6D 00 16 00 65 00 6E 00 6C 00 69 .i.s.m...e.n.l.i
00000150 00 67 00 68 00 74 00 65 00 6E 00 65 00 64 00 5F .g.h.t.e.n.e.d._
00000160 00 75 00 6E 00 69 00 76 00 65 00 72 00 73 00 69 .u.n.i.v.e.r.s.i
00000170 00 74 00 79 00 06 00 00 00 C9 01 00 00 15 00 6D .t.y.....É.....m
00000180 00 69 00 6C 00 69 00 74 00 61 00 72 00 79 00 5F .i.l.i.t.a.r.y._
00000190 00 61 00 72 00 6D 00 79 00 5F 00 61 00 69 00 72 .a.r.m.y._.a.i.r
000001A0 00 67 00 75 00 6E 00 73 00 00 00 00 00 00 00 00 .g.u.n.s........
000001B0 00 00 00 00 00 00 00 00 00 00 00 0F 00 70 00 6C .............p.l
000001C0 00 61 00 63 00 65 00 68 00 6F 00 6C 00 64 00 65 .a.c.e.h.o.l.d.e
000001D0 00 72 00 2E 00 74 00 67 00 61 00 19 00 65 00 6E .r...t.g.a...e.n
000001E0 00 6C 00 69 00 67 00 68 00 74 00 65 00 6E 00 6D .l.i.g.h.t.e.n.m
000001F0 00 65 00 6E 00 74 00 5F 00 63 00 69 00 74 00 69 .e.n.t._.c.i.t.i
00000200 00 7A 00 65 00 6E 00 73 00 68 00 69 00 70 00 16 .z.e.n.s.h.i.p..
00000210 00 65 00 6E 00 6C 00 69 00 67 00 68 00 74 00 65 .e.n.l.i.g.h.t.e
00000220 00 6E 00 65 00 64 00 5F 00 75 00 6E 00 69 00 76 .n.e.d._.u.n.i.v
00000230 00 65 00 72 00 73 00 69 00 74 00 79 00 00 00 00 .e.r.s.i.t.y....
00000240 00 21 01 00 00 19 00 65 00 6E 00 6C 00 69 00 67 .!.....e.n.l.i.g
00000250 00 68 00 74 00 65 00 6E 00 6D 00 65 00 6E 00 74 .h.t.e.n.m.e.n.t
00000260 00 5F 00 63 00 69 00 74 00 69 00 7A 00 65 00 6E ._.c.i.t.i.z.e.n
00000270 00 73 00 68 00 69 00 70 00 00 00 00 00 00 00 00 .s.h.i.p........
00000280 00 00 00 00 00 1E 00 00 00 00 00 19 00 63 00 75 .............c.u
00000290 00 6C 00 74 00 75 00 72 00 65 00 5F 00 65 00 75 .l.t.u.r.e._.e.u
000002A0 00 5F 00 75 00 6E 00 69 00 76 00 65 00 72 00 73 ._.u.n.i.v.e.r.s
000002B0 00 69 00 74 00 79 00 2E 00 74 00 67 00 61 00 21 .i.t.y...t.g.a.!