Jump to content

OBD:CRSA: Difference between revisions

163 bytes added ,  17 February 2006
m
mNo edit summary
Line 5: Line 5:
[[OBD:Oni Binary Data|Oni Binary Data]]
[[OBD:Oni Binary Data|Oni Binary Data]]


The array consists of a 32-byte header, followed by a number of fixed-size corpse chunks (1100 bytes each).
The array consists of  
*a 32-byte header
*a number of fixed-size corpse chunks (1100 bytes each)
*a number of unused corpse chunks integrally set to 0 (1100 bytes each)
(used chunks and unused chunks add up to the capacity of the array : 20 chunks in the original binaries)
*the resulting file is completed to a 32-byte multiple with the 0xADDE blank filler


The resulting file is completed to a 32-byte multiple with the 0xADDE blank filler
Since the capacity of the array is always the same (20 corpses), CRSA files are all the same size (0x5620 bytes) : actual arrays take up 0x5610 bytes, and the last 16 bytes are filled with the blank filler 0xADDE.
 
Since the capacity of the array is always the same (20 corpses), CRSA files are all the same size (0x5620 bytes).
 
The array actually takes up 0x5610 bytes : the last 16 bytes are filled with the blank filler 0xADDE.
===Header===
===Header===
;What's in the header?
;What's in the header?