ANONYMOUS;CODE bin Decrypt+Repack
The archives for ANONYMOUS;CODE are encrypted+compressed. The first 3 bytes are mdf.
The archives are a combination of .bin and .psb.m files.
sound_body.bin and voice_en_body.bin are not encrypted or compressed.
Step one is finding the key in the executable file. This is easy since the key is stored in plaintext (idiot gamedevs).
Search for ".bin" and search until you see the key:
The key for ANONYMOUS;CODE is:
Second step is to download Freemote:
https://github.com/UlyssesWu/FreeMote/releases/latest
You can unpack the archive using this command:
Code:
PsbDecompile info-psb -k 5fWhAHt4zVn2X <.psb.m file>
You can repack the archive from the unpacked data using this command:
Code:
PsBuild info-pdb <.psb.m.json file>
Repackaged files are CRC correct to original archives so no need to use HDiffZ or XDelta to patch any bytes (probably wouldn't work anyway due to encryption).