Port Royale 4 RES
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) / Railway Empire 2
// RES file format
// header
4 bytes (char) - signature // "L10N"
4 bytes (uint32) - version number // e.g. 3
4 bytes (uint32) - unknown // 258
4 bytes (uint32) - unknown // 1536
5 bytes - unknown // 00 00 00 00 00 - Port Royal 4 v1.5
// 00 02 00 00 00 - Railway Empire 2
4 bytes (uint32) - unknown // 20282 - Port Royal 4 v1.5
// 27217 - Railway Empire 2
4 bytes - nulls
4 bytes (uint32) - number of strings
4 bytes (uint32) - unknown // 1990920 - Port Royal 4 v1.5
// 1787536 - Railway Empire 2
// 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
- Railway Empire 2
Compatible Programs
- portroyale3_swuforce_tools.zip (works with older versions)
- Port_Royale_4_RES_Tool.py (works only with Port Royale 4 version 1.5 or newer)