Harry Potter and the Sorcerer's Stone PS1 XSPL

From XentaxWiki
Jump to: navigation, search

XSPL


Format Specifications

// Harry Potter and the Sorcerer's Stone (PS1)
// XSPL chunk format

//HEADER
4 bytes - magic "XSPL"
4 bytes - chunk size
4 bytes - number of supported languages in chunk
4 bytes - number of strings / 4     // 4 = 3 languages + 1 null string
4 bytes - unknown


// OFFSET TABLE
num_of_entries *
{ 
  4 bytes - string relative offset
}


//STRING TABLE
//Note: lower characters "a-z" are encrypted,
//moved in ASCII table 1 character left
//Note2: special characters are encrypted
//in different way, check .py script for details

num_of_entries *
{
  12 bytes - identifier   // #0#$01 etc.   
  x bytes - string
  2 bytes - null terminator // "\x00\x00"
}


MultiEx BMS Script

Not written yet

Notes and Comments

None.

Compatible Programs

Harry Potter SS PS1 TEXT Tool