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/battles tables/battles

From TWC Wiki
Revision as of 20:21, 28 December 2010 by Meneth (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Header

"01", 1 BYTE - #Currently unknown

"Count", INTEGER (4 byte) - #Count of items in the file

Record

"Map name", UTF-16 STRING: 2 bytes size + pairs of bytes

"Map Type", UTF-16 STRING: 2 bytes size + pairs of bytes. Possible types: classic, naval, siege, historic

"Map Folder", UTF-16 STRING: 2 bytes size + pairs of bytes

"Unknown", SOME 4 BYTES

"attacker/defender(?) number", INTEGER 2 BYTES (1,2,4 players on side A)

"Unknown", SOME 4 BYTES

"defender/attacker(?) number", INTEGER 2 BYTES (1,2,4 players on side B)

"Unknown", SOME 4 BYTES Ending in 00 00 00 or 01 01 01 (010101 is visible in singel player)



This file probably describes all possible maps & their setups. Editing the strings, or adding records it in the patch.pack makes the game crash

Broom.svg.png This article is quite short and not very useful. You can help flesh it out.
Please see TWC Wiki:Help for information on how to edit the Wiki.
YOU can help us improve this Wiki! ~ Look for ways to help and editing advice. ~ If you need further advice, please post here.