View Full Version : XP3 file help
Using AnimeED I was able to extract the files from 'Kimi no Naka no Palladium' by 'Chat Errant'. The files are originally in .xp3 format. Everything extracts properly but the scenario files, which come up in...well random text really. =/
I attached one as an example, perhaps someone can help me?
Hoho, unfortunately, it seems the scripts are encrypted... ^^' AnimED do not support XP3's unpacked data decryption. That's not the fault of unpacker algorithm, since it only extracts the zlib-compressed data and makes no integrity check.
EDIT: Gotcha! It uses floating XOR key. In your sample file, the first 713 bytes xored by 0xAC, then it changes... hmm... it seems that each XP3's internal file chunk is encrypted separately... which means... you need another special unpacker+decrypter, like CRASS.
The recognizable part of the script for reference:
*: ãƒ´ã‚¡ãƒ³ãƒ´ã‚§ãƒ¼ãƒ« ç§æœ åŸºæœ¬ ç§æœåŸºæœ¬ å›°æƒ‘ é¡”
Try that one, extract the files in the game folder and run it from there in the cmd.
Tested with the Kikiriki tools and Crass
they both have the exact same results as what I had before =/
If i'm understanding dsp2003 right though, pretty much it needs a special tool to decrypt the file.
Thanks for the help so far :)
The "encryption" on that particular file is extremely simple. Bytes 0x0000-0x02C8 are XORed with 0xAC (which dsp2003 already noticed) and the remaining bytes are XORed with 0xDD.
How would I go about removing the XOR encryption? I'm still new at this...
I looked up for programs and all I could find were scripts for Python which I have, but I'm not that good with.
I found online websites that can do it ( I think ), but they can't display Japanese text which makes the end result not viewable.
vBulletin® v3.8.6, Copyright ©2000-2017, Jelsoft Enterprises Ltd.