Robin Hood: The Legend of Sherwood DIC BKS: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(7 intermediate revisions by the same user not shown)
Line 25: Line 25:
   2 bytes (uint16) - number of entries  // e.g. 4096
   2 bytes (uint16) - number of entries  // e.g. 4096
                                         // data_size = num_of_entries * 8
                                         // data_size = num_of_entries * 8
   x bytes - data  // encrypted
   x bytes - directory data  // encrypted
}
}


Line 34: Line 34:
{
{
   2 bytes (uint16) - image width
   2 bytes (uint16) - image width
   2 bytes (uin16) - image height
   2 bytes (uint16) - image height
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file offset
   4 bytes (uint32) - file size
   4 bytes (uint32) - file size
   2 bytes (uint16) - directory number
   2 bytes (uint16) - directory number?
}
}
</pre>
</pre>
Line 57: Line 57:


* File formats for dealing with sprites. '''DIC''' is a dictionary file (sprite index) and '''BKS''' file (sprite bank) contains all the data.
* 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 ===  

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