Pathologic DAT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Dinoguy1000
No edit summary
 
imported>Ikskoks
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 31: Line 31:


[[Category:Malformed Page]]
[[Category:Malformed Page]]
[[Category:File Format]]

Latest revision as of 12:54, 17 January 2021

DAT

  • Format Type : String encoding
  • Endian Order : Little Endian


Format Specifications

Structure

uint32 {4}   - Number of records (may be multi-lines, separated by 0x0A)
byte {X}     - Records

Record

uint32 {4}   - UID
byte {X}     - Length
byte {2Y}     - String record of Length 2-byte Unicode characters

NOTE:

each byte store 7 bits of Length, from LS to MS;
the end of the Length field is marked with MSb == 0; i.e.:
0x12 = 0.0010010 = 0010010 = record of 18 characters
0xBC 0x02 = 1.0111100 0.0000010 = 00000100111100 = record of 316 chars

MultiEx BMS

Not written yet


Supported Programs