PGA Tour 97 TIH: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 9: | Line 9: | ||
<pre> | <pre> | ||
// TIH file format | // TIH file format | ||
1 byte (uint8) - compression type // "0x10" for Refpack 1.0 | 1 byte (uint8) - compression type // "0x10" for Refpack 1.0 | ||
x bytes - compressed TIM image data | x bytes - compressed TIM image data | ||
| Line 17: | Line 18: | ||
Not written yet. | Not written yet. | ||
=== QuickBMS Script === | |||
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;"> | |||
<pre> | |||
# Author: Bartlomiej Duda | |||
# Creation Date: 29.12.2020 | |||
comtype dk2 | |||
get ZSIZE asize | |||
set SIZE long 0 | |||
if SIZE <= 0 | |||
math SIZE = ZSIZE | |||
math SIZE *= 20 | |||
endif | |||
get NAME basename | |||
string NAME + ".TIM" | |||
clog NAME 0 ZSIZE SIZE | |||
</pre> | |||
</div> | |||
=== Notes and Comments === | === Notes and Comments === | ||
| Line 41: | Line 64: | ||
[[Category:BMS_None | BMS: None]] | [[Category:BMS_None | BMS: None]] | ||
[[Category:File Format]] | [[Category:File Format]] | ||
[[Category: | [[Category:Refpack compression]] | ||
Latest revision as of 22:53, 16 July 2021
TIH
- Format Type : Image
- Endian Order : Little Endian
Format Specifications
// TIH file format 1 byte (uint8) - compression type // "0x10" for Refpack 1.0 x bytes - compressed TIM image data
MultiEx BMS Script
Not written yet.
QuickBMS Script
# Author: Bartlomiej Duda
# Creation Date: 29.12.2020
comtype dk2
get ZSIZE asize
set SIZE long 0
if SIZE <= 0
math SIZE = ZSIZE
math SIZE *= 20
endif
get NAME basename
string NAME + ".TIM"
clog NAME 0 ZSIZE SIZE
Notes and Comments
- TIH file is just TIM image compressed with RefPack 1.0 algorithm.
- First byte is always compression marker.
Games
List of games using this file format:
Compatible Programs
None.