Skip to content
Ulysses edited this page Jan 23, 2024 · 8 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.

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

You must keep the image format unchanged. For example, if the extracted image is 8bpp, you should keep it 8bpp after modified. (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