Port Royale 4 RES: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 24: | Line 24: | ||
4 bytes (uint32) - string offset | 4 bytes (uint32) - string offset | ||
4 bytes (uint32) - string length | 4 bytes (uint32) - string length | ||
} | |||
// text data | |||
num_of_strings * | |||
{ | |||
x bytes (char) - string | |||
} | |||
</pre> | |||
</div><br><br> | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
// 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 | |||
} | } | ||
Revision as of 20:52, 2 April 2021
Back to index | Edit this page
RES
- Format Type : Text
- Endian Order : Little Endian
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