-
-
Notifications
You must be signed in to change notification settings - Fork 23
PsbDecompile
PsbDecompile is a tool to convert pure PSB to description jsons and resources.
PSB, especially EMT PSB, can be encrypted. Pure PSB means unencrypted PSB. For EMT PSB, with a valid key you can use EmtConvert
(FreeMote) or emote_conv
to convert an encrypted PSB to a pure PSB. FreeMote.Purify
(unreleased) can purify it without key.
PsbDecompile usually only works for pure PSBs. Therefore, you should convert your PSB to pure PSB using EmtConvert
and a valid key. However, with the new Dullahan loading feature introduced in v1.3, it will also try to load PSBs which (only) bodies are pure.
If you use parameter -raw
in PsbDecompile, it will export raw resources just like psbtools decompiler
, except the file extension differs (.raw
in PsbDecompile / .bin
in decompiler
).
By default PsbDecompile always try to convert resources to a friendly format and name, but sometimes this will cause errors and the resources are not exported. At this time you can use -raw
to make sure all resources are exported, in raw binary. If the extracted images look wrong, use -raw
and decode images by yourself.
PsbDecompile uses resx.json
as resource json. It keeps more information than psbtools
' res.json
. PsBuild
accepts both formats, but pcc
won't be able to compile PsbDecompile's result.