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

From TWC Wiki
Jump to navigationJump to search
Line 26: Line 26:
  
  
This file probably describes all possible maps & they setups. yet editing it in the patch.pack makes the game crash
+
This file probably describes all possible maps & their setups.  
 +
Editing the strings, or adding records it in the patch.pack makes the game crash

Revision as of 13:11, 12 March 2009

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