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 6: Line 6:
 
'''Record'''
 
'''Record'''
  
"Map name", UTF-16 STRING: 2 bytes size + pairs of bytes\n
+
"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 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
 
"Map Folder", UTF-16 STRING: 2 bytes size + pairs of bytes
 +
 
"Unknown", SOME 4 BYTES  
 
"Unknown", SOME 4 BYTES  
 +
 
"attacker/defender(?) number", INTEGER 2 BYTES (1,2,4 players on side A)
 
"attacker/defender(?) number", INTEGER 2 BYTES (1,2,4 players on side A)
 +
 
"Unknown", SOME 4 BYTES  
 
"Unknown", SOME 4 BYTES  
 +
 
"defender/attacker(?) number", INTEGER 2 BYTES (1,2,4 players on side B)
 
"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 (maybe unlocked?)
 
"Unknown", SOME 4 BYTES Ending in 00 00 00 or 01 01 01 (maybe unlocked?)
 +
  
  
  
 
This file probably described all possible maps & they setups. yet editing it in the patch.pack makes the game crash
 
This file probably described all possible maps & they setups. yet editing it in the patch.pack makes the game crash

Revision as of 12:44, 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 (maybe unlocked?)



This file probably described all possible maps & they setups. yet editing it in the patch.pack makes the game crash