I fixed bug with the latest version.(20171201.22)
I try playing the game, just like the problem
CG is divided into ten parts and saved, but it was necessary to divide the data by 0x800 at the time of this division.
This bug is due to the fact that it was less than 0x800 when TSA succeeded in high compression on a tile-by-tile basis.
If it did not succeed in compression, it would be 0x800, so I overlooked it.
Also, in CG, there are parts that put the wrong restriction of up to 6 pallets, although you can use 8 pallets.
This bug has also been fixed.
Some frames of battle animations are garbled when viewed or extracted with this program
Fixed clipping bug.
I wanted to handle the palette and TSA correctly, so I was writing the image transfer routine by myself, but there was a problem with clipping processing.
Thank you for reporting the bug.