I have a tool that converts given text file (extracted from VFS) into XML (DOM in memory). Will later add UI on it to make output meaningful.
It works up to this point:
unitInfo SUnitInfo RECORD
posx INT 410
posy INT 554
posz FLT 0.9297932
visible BOOL TRUE
unitId INT 2
chance 7 ARRAY chance SUnitChanceInfo RECORD <--------------------
chanceWithOcclusion INT 0
chance INT 0
isTarget BOOL FALSE
END_OF_SUnitChanceInfo
I can not figure out what this anamoly means. Is it a bug in AS's serialization?
It seems like it supposed to be:
chance ARRAY 7
chance SUnitChanceInfo RECORD <--------------------
chanceWithOcclusion INT 0
chance INT 0
isTarget BOOL FALSE
END_OF_SUnitChanceInfo
There are 7 SUnitChanceInfo structures, but ARRAY 7 entry is never closed. This anamoly occures several times in my file.
Any thoughts?