Robin Hood: The Legend of Sherwood RES: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (24 intermediate revisions by the same user not shown) | |||
| Line 21: | Line 21: | ||
4 bytes (char) - chunk name // e.g. "WAVE" - wav filenames | 4 bytes (char) - chunk name // e.g. "WAVE" - wav filenames | ||
// "TEXT" - game's text | // "TEXT" - game's text | ||
// "PIC " - bzip2 compressed graphics | |||
4 bytes (uint32) - chunk ID? | 4 bytes (uint32) - chunk ID? | ||
4 bytes (uint32) - nulls | 4 bytes (uint32) - nulls | ||
x bytes - file data | x bytes - file data / chunk data | ||
} | } | ||
| Line 33: | Line 33: | ||
} | } | ||
4 bytes (uint32) - offset table offset | 4 bytes (uint32) - offset-table offset | ||
</pre> | </pre> | ||
</div> | </div> | ||
== Chunks Specifications == | == Chunks Specifications == | ||
| Line 54: | Line 53: | ||
</div> | </div> | ||
== Notes and Comments == | === PIC chunk === | ||
PIC file format seems to be the same as in [[Robin Hood: The Legend of Sherwood PAK SXT PIC|Robin Hood's *.PAK]] files. | |||
=== WAVE chunk === | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
2 bytes (uint16) - number of wav paths | |||
num_of_strings * | |||
{ | |||
2 bytes (uint16) - wav path length | |||
x bytes (char) - wav path | |||
} | |||
</pre> | |||
</div> | |||
== Other Info == | |||
=== Notes and Comments === | |||
* This file format uses '''BZIP2''' compression method. | * This file format uses '''BZIP2''' compression method. | ||
| Line 64: | Line 83: | ||
=== QuickBMS Script === | === QuickBMS Script === | ||
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Robin%20Hood%20The%20Legend%20of%20Sherwood/Robin_Hood_RES_script.bms Robin_Hood_RES_script.bms] | |||
=== Compatible Programs === | === Compatible Programs === | ||
| Line 77: | Line 96: | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
[[Category:Extension_res | Extension: res]] | [[Category:Extension_res | Extension: res]] | ||
[[Category:BZIP2 compression]] | [[Category:BZIP2 compression]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
Latest revision as of 20:32, 15 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 / chunk 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
}
PIC chunk
PIC file format seems to be the same as in Robin Hood's *.PAK files.
WAVE chunk
2 bytes (uint16) - number of wav paths
num_of_strings *
{
2 bytes (uint16) - wav path length
x bytes (char) - wav path
}
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
Compatible Programs
None.