Skip to content
Ulysses edited this page Nov 24, 2024 · 9 revisions

PsbDecompile failed for .psb.m files

My PSB file and texture images are separated, cannot be opened by FreeMoteViewer

Input PSB is invalid

If your PSB is encrypted, find the key and decrypt it with EmtConvert or PsbDecompile.

How to deal with CI8 / CI4 images

I edited and replaced the picture, and the compiled PSB looks wrong

You must keep the image bit depth unchanged.

For example, if the extracted image is 8bpp (CI8), you should keep it 8bpp after modified. Same for 4bpp (CI4).

(Usually you may have used a 24bpp or 32bpp image if you edited that image with MS Paint or Photoshop.)

Otherwise, you will get a warning when compiling:

[WARN] Validation failed when linking xxx.png . Data length check failed: Loaded content size = 16777216, expected size = 2097152

This will lead to a wrong display for recompiled PSB.

How to edit PIMG (UI PSB)

https://github.com/UlyssesWu/FreeMote/issues/109