IcySon55 / Kuriimu

A general purpose game translation toolkit for authors of fan translations.
GNU General Public License v3.0
332 stars 50 forks source link

Kukkii cannot open decompressed "Schara" type .jtex files in RPG Maker 3DS. #643

Open OerstedLAL opened 4 years ago

OerstedLAL commented 4 years ago

Describe the bug The decompressed JTEX file cannot be opened in Kukkii, when other JTEX files within the game can easily be opened when beign decompressed.

To Reproduce Steps to reproduce the behavior: Open Kukkii.exe. Go Tools -> Nintendo -> Decompress -> General. Select .jtex file from RPG Maker FES (ex, Schara_Fantasy1_003_4.jtex) Save decompressed version. Drag decompressed file (ex, Schara_Fantasy1_003_4.decomp.jtex) into the Kukkii window. See error Expected behavior I expect to be able to open the file and see the overworld sprites in RPG Maker FES, but the Kukkii program is unable to open them.

Screenshots Here is a lightshot link, showing the error. http://prntscr.com/ra1uro Desktop (please complete the following information):

Additional context Here are a few testing files for y'all. https://www.dropbox.com/s/no353h5rajt0zqz/Schara.rar?dl=0

onepiecefreak3 commented 4 years ago

That means that the image format in the jtex is not supported by the plugin, since it was not encountered until now. It should be an easy fix to add the missing format.

OerstedLAL commented 4 years ago

How would this fix be done exactly?

onepiecefreak3 commented 4 years ago

This fix would be done in the plugin code, by assigning the image format indicator to a color encoding. This includes finding that color encoding out and then assigning it in the format dictionary. The first part is the more difficult one though.

IcySon55 commented 4 years ago

This issue has been resolved in 68d03fd but I'm leaving it open for closure once this is ported to K2.