Port Royale 4 RES

From XentaxWiki
Revision as of 22:31, 2 April 2021 by Ikskoks (talk | contribs) (Compatible Programs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Back to index | Edit this page

RES


Format Specifications

// Port Royale 4 (v1.4)
// RES file format

// header
4 bytes (char) - signature // "L10N"
4 bytes (uint32) - unknown // 258
4 bytes (uint32) - number of strings
4 bytes (uint32) - unknown // 4561052

// text info
num_of_strings *
{
   4 bytes (uint32) - string offset
   4 bytes (uint32) - string length
}

// text data
num_of_strings *
{
   x bytes (char) - string
}


// Port Royale 4 (v1.5)
// RES file format


// header
4 bytes (char) - signature // "L10N"
4 bytes (uint32) - version?  // e.g. 3
4 bytes (uint32) - unknown // 258
4 bytes (uint32) - unknown // 1536
5 bytes - nulls
4 bytes (uint32) - unknown // 20282
4 bytes - nulls
4 bytes (uint32) - number of strings
4 bytes (uint32) - unknown // 1990920


// text info
num_of_strings *
{
   4 bytes (uint32) - string offset
   4 bytes (uint32) - string length
   4 bytes (uint32) - unknown
}

// text data
num_of_strings *
{
   x bytes (char) - string
}

MultiEx BMS Script

Not written yet.

Notes and Comments

  • Format has changed from version 1.5 of Port Royale 4.

Games

List of games using this file format:

  • Port Royale 3
  • Port Royale 4

Compatible Programs