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 2010-05-05, 14:27
Soul Reaver Soul Reaver is offline
Visitor
 
Join Date: May 2010
Posts: 3
Default Fate/Stay Night Image Editing - creating XP3 files

Alright, so I've been trying to find out how to create an XP3 patch for Fate/Stay Night.

The only thing I want to edit are some images - no changes to the text, sounds, effects, or anything complicated like that.

I have successfully extracted the files I would like to edit from an XP3 patch using crass. The files I extracted showed up as .bmp files. I've edited a few of the files already (although there's still more to do). But before proceeding, I wanted to try and see if I could create a XP3 patch myself.

No luck, unfortunately. I used insani's xp3tools and used it to pack a few of the edited pictures into an XP3 file, but the file I created didn't work - when I renamed this to 'patch9.xp3' and put it in my Fate/Stay Night directory (with the other patch files - it's using Mirror Moon's english patch and the Realta Nua patch too) it didn't seem to register the new files I made - it just used the default ones.

Maybe the image files I'm supposed to pack are meant to be in a different format (they're current .bmp)?

I can't seem to figure out how to make it work or what I'm doing wrong.

However, I did find something interesting written by the author of an uncensoring patch that might relate to my problems. Specifically, he wrote the following:

"Basically, xp3tools, while totally awesome, isn't perfect when it comes to its decryption, but only it appears, when dealing with image files. It would corrupt the same images every time, and thus, even though we had access to uncensored pics, getting them into the game was a completely different story.

I got around this by tracking down a version of krkrrel that came with the xp3enc.dll that worked for FSN, repacked the *.tlg files I had created from the BMPs created by anonymous, and packed them into the patch file in this archive."

Perhaps this is related?

Unfortunately I'm quite new to this and would appreciate any help people can offer.
Reply With Quote
  #2  
Old 2010-05-30, 03:04
dsp2003
Guest
 
Posts: n/a
Default

1. Do not use insani's tools, they are outdated.
2. For *.tlg decoding into 32-bit bitmaps (they are contain alpha channel, read this at Wikipedia), use CRASS.
2a. For converting 32-bit *.bmp into *.png use XnView or any similar tool which is capable of correctly working with alpha-channeled BMPs.
3. For *.tlg encoding use any official version of KiriKiri SDK.
4. For making new *.xp3 archives, use this tool (uses native cxdec module from any KrKr-based VN, except for the newest with cxdec module embedded into EXE itself).

P.S. Seriously, guys, how about putting a Wiki or F.A.Q. for this? I've damn tired answering the same questions over and over again, and seem to be the only one who cares. -_-'
Reply With Quote
  #3  
Old 2010-05-30, 03:28
Soul Reaver Soul Reaver is offline
Visitor
 
Join Date: May 2010
Posts: 3
Default

Thank you, this is much appreciated.

In the interim I've had more luck than before and actually managed to create a working .xp3 file - it was mostly a matter of learning how to correctly convert .bmp files to .tlg format.

Other projects are taking up must of my time at the moment, but now that I know how to do this I'll be working on it occasionally when I get time. Still a lot of picture editing to accomplish, but now it seems like it'll be do-able.
Reply With Quote
  #4  
Old 2010-05-30, 07:59
Unregistered
Guest
 
Posts: n/a
Default

I am so sorry to disturb you, dsp2003, but I can't understand what I have to do with crass... I know how to use it to extract files, but I don't know how to use it for *.tlg decoding into 32-bit bitmaps. I know only how to do it with susie32, but that means converting file by file...
Reply With Quote
  #5  
Old 2010-05-31, 08:19
dsp2003
Guest
 
Posts: n/a
Default

Unregistered, technically, I meant this: extract xp3 archive with correct cxdec option in CRASS and they will be automatically converted into bmps during the extraction. :)
Reply With Quote
  #6  
Old 2011-02-10, 15:10
andoru
Guest
 
Posts: n/a
Default

And that correct cxdec option would be?
Reply With Quote
  #7  
Old 2011-02-10, 17:27
arkady18 arkady18 is offline
Regular
 
Join Date: Sep 2009
Posts: 52
Default

Andoru, when you extract Crass from the archive, you will have also a folder called "document". Open it and then the folder "en" ("cn" if you prefer to read in Chinese). There you can find a *.txt file for each engine you can work on with Crass. Open the file "kirikiri2.txt" and see what is written there for more informations about this engine. Do the same for other engines, if you need it.
Note: Crass can ONLY extract and it doesn't allow you to repack anything.
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 18:25
Finding Fate/Stay Night Inexperienced Gaijin General Discussion 7 2012-02-08 17:02
Fate/Stay Night realta nua files arkady18 Technical Issues 18 2009-09-20 02:36
TLG image format in Fate/Stay Night ajaest Technical Issues 1 2008-01-02 12:48
Fate/stay night Kahless General Discussion 2 2004-02-15 03:16


All times are GMT -8. The time now is 10:13.


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