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
308 stars 56 forks source link

Snack World - The Dungeon Crawl: Gold “Format 31 is not supported by the encoding definition” #271

Open Wafflenyan60 opened 1 year ago

Wafflenyan60 commented 1 year ago

Game Name: SNACK WORLD: THE DUNGEON CRAWL - GOLD Console: Nintendo Switch Format extension(s):
Type: [ text | image | archive | font ]

Bug details:

When I attempt to open any .xi files located in the files, it gives me an error saying “Format 31 is not supported by the encoding definition”

Sample files (if possible):

[links]

LucasPeters268 commented 1 year ago

I think this might be because they incrypted the files, but I'm not sure

Wafflenyan60 commented 1 year ago

I think this might be because they incrypted the files, but I'm not sure

How would I un-encrypt the file?

onepiecefreak3 commented 1 year ago

You didn't even provide sample files. Please fill out the issue template correctly, otherwise this will not be worked on, or worst case closed without a solution.

RealDarkCraft commented 10 months ago

You didn't even provide sample files. Please fill out the issue template correctly, otherwise this will not be worked on, or worst case closed without a solution.

@onepiecefreak3 here are some new formats to add in ImgxSupport.cs (including format 31) IMGN00 : 0x03 : Rgb888 0x1D : Dxt1 0x1F : Dxt5 0x1E : Dxt3

IMGA00 : 0 : Rgba(8, 8, 8, 8, "ABGR")

for the NxtchSupport.cs : 0x44 : Dxt5

and in the Nxtch.cs replace this line : _header.mipMapCount = imageInfo.MipMapCount; (line 91) by this one : _header.mipMapCount = 1; (this line fix a save error for nxtch)