Abbey Games TIM: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(15 intermediate revisions by the same user not shown)
Line 15: Line 15:
4 bytes (uint32) - header size  // 130
4 bytes (uint32) - header size  // 130
2 bytes (uint16) - version format  // 0 - version 0 (default)
2 bytes (uint16) - version format  // 0 - version 0 (default)
                                   // 3 - version 3
                                   // 3 - version 3 (used in "Godhood")
4 bytes (uint32) - number of files
4 bytes (uint32) - number of files
8 bytes (uint64) - directory listing offset
8 bytes (uint64) - directory listing offset
Line 45: Line 45:
x bytes - compresses hash table
x bytes - compresses hash table
x bytes - compressed bucket table
x bytes - compressed bucket table
</pre>
</div>
=== Directory Listing ===
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
// Directory Listing Struct
// header
2 bytes (uint16) - structure size
2 bytes (uint16) - name length
2 bytes (uint16) - number of directories
2 bytes (uint16) - number of files
// TODO
</pre>
</pre>
</div>
</div>
Line 51: Line 69:


* This file format occurs in games made by '''Abbey Games'''.
* This file format occurs in games made by '''Abbey Games'''.
* This format uses '''LZHAM''' compression and '''Murmur hash'''.


=== Games ===  
=== Games ===  
Line 61: Line 80:


* [http://aluigi.org/papers/bms/others/abbeygames.bms abbeygames.bms]
* [http://aluigi.org/papers/bms/others/abbeygames.bms abbeygames.bms]
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Abbey%20Games/Abbey_Games_TIM_script.bms Abbey_Games_TIM_script.bms] (script not finished)


=== Compatible Programs ===  
=== Compatible Programs ===  
Line 73: Line 93:
[[Category:Format_Archive | Type: Archive]]
[[Category:Format_Archive | Type: Archive]]
[[Category:Extension_tim | Extension: tim]]
[[Category:Extension_tim | Extension: tim]]
[[Category:Murmur hash]]
[[Category:LZHAM compression]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 11:08, 25 September 2022

Back to index | Edit this page

TIM

  • Format Type : Archive
  • Endian Order : Little Endian
  • Signature : IRUY / YURI


Format Specifications

// header
4 bytes (char) - signature // "IRUY"
4 bytes (uint32) - header size  // 130
2 bytes (uint16) - version format  // 0 - version 0 (default)
                                   // 3 - version 3 (used in "Godhood")
4 bytes (uint32) - number of files
8 bytes (uint64) - directory listing offset
4 bytes (uint32) - directory listing uncompressed size
4 bytes (uint32) - directory listing compressed size
8 bytes (uint64) - file registry offset
4 bytes (uint32) - file registry compressed size
8 bytes (uint64) - hash table offset
4 bytes (uint32) - hash table compressed size
8 bytes (uint64) - bucket table offset
4 bytes (uint32) - bucket table compressed size

16 bytes - directory listing MD5 before compression
16 bytes - file registry MD5 before compression
16 bytes - hash table MD5 before compression
16 bytes - bucket table MD5 before compression


// data
number_of_files *
{
   x bytes - file data
}


// footer
x bytes - compressed directory listing
x bytes - compressed file registry
x bytes - compresses hash table
x bytes - compressed bucket table

Directory Listing

// Directory Listing Struct


// header
2 bytes (uint16) - structure size
2 bytes (uint16) - name length
2 bytes (uint16) - number of directories
2 bytes (uint16) - number of files

// TODO

Notes and Comments

  • This file format occurs in games made by Abbey Games.
  • This format uses LZHAM compression and Murmur hash.

Games

List of games using this file format:

  • Godhood (*.TIM) (PC)
  • Renowned Explorers: International Society (*.TIM) (PC)
  • Reus (*.TIM) (PC)

QuickBMS Script

Compatible Programs