Resident Evil 2 ADT: Difference between revisions
imported>PmData (link to rewiki sample routine) |
imported>PmData m (small fix) |
||
| Line 9: | Line 9: | ||
16 bits - block 2 length<br> | 16 bits - block 2 length<br> | ||
#Process block 2 length of bytes (and/or bits?)<br> | #Process block 2 length of bytes (and/or bits?)<br> | ||
... (Uncompress till block length read is zero) <br> | |||
16 bits - block n length<br> | 16 bits - block n length<br> | ||
#Process block n length of bytes (and/or bits?)<br> | #Process block n length of bytes (and/or bits?)<br> | ||
Revision as of 17:51, 30 October 2006
Back to index | Edit this page
ADT
{{GRAFPageMisc{{ subst:#if: Image | {{subst:!}}Image }}{{ subst:#if: None | {{subst:!}}None }}}}
Format Specifications
32 bits - Unknown
16 bits - block 1 length
#Process block 1 length of bytes (and/or bits?)
16 bits - block 2 length
#Process block 2 length of bytes (and/or bits?)
... (Uncompress till block length read is zero)
16 bits - block n length
#Process block n length of bytes (and/or bits?)
Notes and Comments
This is a compressed image, in the form of a bitstream, so endianness is not important. Either the decompressed stream is a TIM image, or a RAW 320x240 image in the form of a 256x256 block followed by a 128x128 block.
MultiEx BMS Script
Not written yet
Supported by Programs
None
Documentation
An example decompression routine is available on the associated REwiki page.
Games
Resident Evil 2