gemot encubed  

Go Back   gemot encubed > Gemot > Production & Help

Production & Help For discussions regarding production aspects, especially localisation, of visual novels and related games.

Reply
 
Thread Tools Display Modes
  #1  
Old 2009-12-08, 02:50
swiftnissity swiftnissity is offline
Obsessive
 
Join Date: Dec 2008
Posts: 231
Default XP3 file help

Hey,
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?
Attached Files
File Type: txt 10_DAY1-010.txt (57.5 KB, 321 views)
Reply With Quote
  #2  
Old 2009-12-08, 08:05
dsp2003
Guest
 
Posts: n/a
Default

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:
Spoiler

Last edited by dsp2003; 2009-12-08 at 08:34.
Reply With Quote
  #3  
Old 2009-12-08, 08:36
Unregistered
Guest
 
Posts: n/a
Default

http://tsukuru.info/tlwiki/index.php...e:Kikiriki.rar

Try that one, extract the files in the game folder and run it from there in the cmd.
Reply With Quote
  #4  
Old 2009-12-08, 09:19
swiftnissity swiftnissity is offline
Obsessive
 
Join Date: Dec 2008
Posts: 231
Default

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 :)
Reply With Quote
  #5  
Old 2009-12-09, 02:29
kingshriek kingshriek is offline
Visitor
 
Join Date: Nov 2009
Posts: 6
Default

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.

Last edited by kingshriek; 2009-12-09 at 02:35.
Reply With Quote
  #6  
Old 2009-12-09, 03:21
swiftnissity swiftnissity is offline
Obsessive
 
Join Date: Dec 2008
Posts: 231
Default

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.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may post new threads
You may post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Weird Graphical Errors in XP3 File for Fate/Stay Night Soul Reaver Production & Help 1 2013-05-19 19:25
Help repacking decrypted .xp3 + information for an aspiring vn hacker would be nice KoolKidsK Production & Help 0 2013-03-23 09:48
Unpacked and decrypted KIRIKIRI's xp3 file but still running into problems Unregistered Production & Help 6 2013-02-01 15:51
Help repacking encrypted .xp3 and making patch.xp3 Slash Production & Help 5 2011-07-25 02:49
Xp3 tools. Help! IxIoN Production & Help 11 2010-01-26 11:29


All times are GMT -8. The time now is 19:15.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.