FanTranslatorsInternational / Kuriimu2

Kuriimu is a general purpose game translation project manager and toolkit for authors of fan translations and game mods.
GNU General Public License v3.0
315 stars 58 forks source link

some color format identifications of .BTX image are missing #244

Open shenglin00 opened 2 years ago

shenglin00 commented 2 years ago

Game Name: Love Live! School Idol Festival \~Afterschool Activity\~ Next Stage Console: Arcade (PC based)

Game Name: Hero must die. again Console: PC

Format extension(s): .btx Type: Image

First 8 or more bytes of the file(s): [.btx] - [62 74 78 00 01 01 00 00] - [btx���]

Bug details: return error "The given key '7' (or 9,13,16) was not present in the dictionary" when opening the .btx file.

More details: the format at the header of mbg_0011_honoka_00_00.btx is 0x07. the file could be open properly as DXT1 format with bc swizzle in the raw image viewer, and here is a list of all files: Filename header.format Note
mbg_0011_honoka_00_00.btx 0x07 DXT1, Bc Swizzle
tutorial_000_00.btx 0x09 DXT5, Bc Swizzle
character_rings_0000.btx 0x0D BC7, Bc Swizzle
map0603_08.btx 0x0D BC7, Bc Swizzle (this file is from Hero must die. again)
mbc_1000_lam.btx 0x10 unsure, an 8-bit format
mbc_1000_bg.btx 0x00 ARGB8888_LE†

†. probably because it runs on windows?

the _clrCount of the BtxHeader_ may have related to the target platform, or just represent the version of the btx format.

Sample files (if possible): https://mega.nz/file/Pi5wlCqA#BnkRc6-slAeZoL2atE2OfXV1TsiJ9k-9o2MQ4vXNHyQ




ll3\travel\map_bg\mbg_0011_honoka.pac\mbg_0011_honoka_00_00.btx image
ll3\ui\tutorial\tutorial_000.pac\tutorial_000_00.btx image
ll3\ui\character\0000.pac\character_rings_0000.btx image
yuusha_shisu_again\map\06_satan_castle\03.pac\texture.pac\map0603_08.btx image
ll3\ui\member_card\000\mbc1000.pac\mbc_1000_lam.btx image