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 13:11, 12 March 2009 by 80.200.36.85 (talk)
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

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