The Touryst LOC: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== LOC == * ''' Game ''': The Touryst <br> * ''' Format Type ''': Text File <br> * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <...")
imported>Ikskoks
No edit summary
 
(One intermediate revision by the same user not shown)
Line 98: Line 98:
[[Category:Extension_loc | Extension: loc]]
[[Category:Extension_loc | Extension: loc]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]

Latest revision as of 21:36, 21 January 2021

LOC


Format Specifications

// The Touryst
// localize.loc file format


//HEADER
4 bytes - magic "SHN!"
4 bytes - unknown
4 bytes - some offset
4 bytes - some offset (repeated)
8 bytes - nulls
4 bytes - some offset
4 bytes - unknown 
4 bytes - unknown
x bytes - nulls

//LOC TABLE
8 bytes - string // "LOC XXXX"
16 bytes - unknown
4 bytes - number of languages?
12 bytes - unknown

num_of_entries *
{
  1 byte - character
  2 bytes - iterator
  1 bytes - unknown
  4 bytes - unknown
}
1 byte - null
4 bytes - number of strings
2 bytes - null
1 byte - null


num_of_languages *
{
   //TEXT OFFSETS TABLE

   2 bytes - lang code // "en"
   1 byte - null
   9 bytes - lang name // "english"

   num_of_strings *
   {
     4 bytes - relative offset
   }
   1 byte - null


   //TEXTS
   num_of_strings *
   {
     x bytes - text string
     1 byte - null
   }
}



// SOME ARRAY
num_of_entries *
{
  4 bytes - unknown
  4 bytes - unknown
}


MultiEx BMS Script

Not written yet

Notes and Comments

None.

Compatible Programs