Robin Hood: The Legend of Sherwood DIC BKS: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (55 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
* ''' Format Type ''': Archive <br> | * ''' Format Type ''': Archive <br> | ||
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | * ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Little Endian <br> | ||
* ''' Signature ''': | * ''' Signature ''': 96 B6 9B 01 / C9 EB 03 00<br> | ||
| Line 11: | Line 11: | ||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | <div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | ||
<pre> | <pre> | ||
//header | // DIC file format | ||
4 bytes (uint32) - | |||
// header | |||
4 bytes (uint32) - signature // 96 B6 9B 01 - DEMO | |||
// C9 EB 03 00 - FULL GAME | |||
2 bytes (uint16) - number of structs | 2 bytes (uint16) - number of structs | ||
// directory | |||
num_of_structs * | num_of_structs * | ||
{ | { | ||
2 bytes (uint16) - | 2 bytes (uint16) - number of entries // e.g. 4096 | ||
x bytes - data | // data_size = num_of_entries * 8 | ||
x bytes - directory data // encrypted | |||
} | |||
// details | |||
4 bytes (uint32) - number of files | |||
num_of_files * | |||
{ | |||
2 bytes (uint16) - image width | |||
2 bytes (uint16) - image height | |||
4 bytes (uint32) - file offset | |||
4 bytes (uint32) - file size | |||
2 bytes (uint16) - directory number? | |||
} | } | ||
</pre> | |||
</div> | |||
<br> | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
// BKS file format | |||
num_of_files * | |||
{ | |||
x bytes - image data | |||
} | |||
</pre> | </pre> | ||
</div> | </div> | ||
| Line 26: | Line 56: | ||
=== Notes and Comments === | === Notes and Comments === | ||
* File formats for dealing with sprites. '''DIC''' is a sprite index | * File formats for dealing with sprites. '''DIC''' is a dictionary file (sprite index) and '''BKS''' file (sprite bank) contains all the data. | ||
* Directory data seems to be encrypted with unknown algorithm. | |||
=== Games === | === Games === | ||
| Line 38: | Line 69: | ||
=== Compatible Programs === | === Compatible Programs === | ||
* Game Extractor (limited support, only reading) | |||
=== See Also === | |||
* [http://www.watto.org/specs.html?specs=Archive_BKS DIC format description (watto.org)] | |||
* [https://github.com/wattostudios/GameExtractor/blob/master/src/org/watto/ge/plugin/archive/Plugin_BKS.java Plugin_BKS.java (from Game Extractor source code)] | |||
<br/><br> | <br/><br> | ||
| Line 44: | Line 80: | ||
[[Category:Complete WIP|Robin Hood: The Legend of Sherwood DIC BKS]] | [[Category:Complete WIP|Robin Hood: The Legend of Sherwood DIC BKS]] | ||
[[Category:Platform PC|Robin Hood: The Legend of Sherwood DIC BKS]] | [[Category:Platform PC|Robin Hood: The Legend of Sherwood DIC BKS]] | ||
[[Category:CE | [[Category:CE Encrypted|Robin Hood: The Legend of Sherwood DIC BKS]] | ||
[[Category:Format_Archive | Type: Archive]] | [[Category:Format_Archive | Type: Archive]] | ||
[[Category:Extension_dic | Extension: dic]] | [[Category:Extension_dic | Extension: dic]] | ||
Latest revision as of 20:42, 7 April 2022
Back to index | Edit this page
DIC, BKS
- Format Type : Archive
- Endian Order : Little Endian
- Signature : 96 B6 9B 01 / C9 EB 03 00
Format Specifications
// DIC file format
// header
4 bytes (uint32) - signature // 96 B6 9B 01 - DEMO
// C9 EB 03 00 - FULL GAME
2 bytes (uint16) - number of structs
// directory
num_of_structs *
{
2 bytes (uint16) - number of entries // e.g. 4096
// data_size = num_of_entries * 8
x bytes - directory data // encrypted
}
// details
4 bytes (uint32) - number of files
num_of_files *
{
2 bytes (uint16) - image width
2 bytes (uint16) - image height
4 bytes (uint32) - file offset
4 bytes (uint32) - file size
2 bytes (uint16) - directory number?
}
// BKS file format
num_of_files *
{
x bytes - image data
}
Notes and Comments
- File formats for dealing with sprites. DIC is a dictionary file (sprite index) and BKS file (sprite bank) contains all the data.
- Directory data seems to be encrypted with unknown algorithm.
Games
List of games using this file format:
- Robin Hood: The Legend of Sherwood (PC) (*.DIC / *.BKS)
QuickBMS Script
Not written yet.
Compatible Programs
- Game Extractor (limited support, only reading)
See Also