Robin Hood: The Legend of Sherwood RES: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 54: Line 54:
</div>
</div>


=== Other Info ===
== Other Info ==


=== Notes and Comments ===
=== Notes and Comments ===

Revision as of 22:25, 14 February 2022

Back to index | Edit this page

RES

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : SRES


Format Specifications

// header
4 bytes (char) - signature // "SRES"
4 bytes (uint32) - version? // 256
4 bytes (uint32) - number of entries / number of chunks

// data
number_of_chunks *
{
   4 bytes (char) - chunk name  // e.g. "WAVE" - wav filenames
                                //      "TEXT" - game's text
                                        "PIC " - bzip2 compressed graphics
   4 bytes (uint32) - chunk ID?
   4 bytes (uint32) - nulls
   x bytes - file data
}

// offset table
number_of_chunks *
{
   4 bytes (uint32) - chunk offset
}

4 bytes (uint32) - offset table offset


Chunks Specifications

TEXT chunk

2 bytes (uint16) - number of strings

num_of_strings *
{
  2 bytes (uint16) - number of characters
  x bytes (char) - string
}

Other Info

Notes and Comments

  • This file format uses BZIP2 compression method.

Games

List of games using this file format:

  • Robin Hood: The Legend of Sherwood (PC) (*.RES)

QuickBMS Script

Not written yet.

Compatible Programs

None.