Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Working on Tales of Xillia

Need help translating games in other languages? Have your language problems solved here.
Post Reply
Lecht
ultra-n00b
Posts: 5
Joined: Mon Jan 02, 2012 4:33 am
Been thanked: 2 times

Working on Tales of Xillia

Post by Lecht »

Progress so far: http://i.imgur.com/LHJL1.jpg

There's a few issues with some of the extracted language files being incomplete. For the most part I used chrrox's quickbms script to extract the language file. But a few proprietary tools of my own to translate the text, and then rebuild the other files.

Hopefully I can figure out what's going wrong with the script. If anyone knows of an MSF compression C# library let me know :D.
Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 26 times

Re: Working on Tales of Xillia

Post by Vash »

Lecht
ultra-n00b
Posts: 5
Joined: Mon Jan 02, 2012 4:33 am
Been thanked: 2 times

Re: Working on Tales of Xillia

Post by Lecht »

hehe not quite. That's microsoft's cab algorithm. MSF is much different. I do have a few leads that it might be LZMA compression or some variation of it, but thanks for the reply and trying to help. I'm getting closer to figuring it out.

Evidently MSF is encrypted with a xor table, I've implemented it in my code. It seems a game called RaiderZ has a file that's encrypted/compressed with MSF. I'm not entirely sure if it's the same algorithm that Tales of Xillia uses though. However the xor look up table is 65536 in size, and the last 4 bytes before the encrypted data in the Tales of Xillia MSF file = 65536.
User avatar
Dinoguy1000
Site Admin
Posts: 786
Joined: Mon Sep 13, 2004 1:55 am
Has thanked: 154 times
Been thanked: 163 times

Re: Working on Tales of Xillia

Post by Dinoguy1000 »

Universal Extractor has support for a number of interesting/obscure formats; have you tried it on the archive(s) (I only bring this up because you make it sound like the MSF format isn't just another one-off, game-specific format)?
Welcome to Xentax!

Rules | Requests | Wiki | Discord

If you run across a post that breaks the rules, please report the post - a mod or admin will handle it from there.
Lecht
ultra-n00b
Posts: 5
Joined: Mon Jan 02, 2012 4:33 am
Been thanked: 2 times

Re: Working on Tales of Xillia

Post by Lecht »

Thanks, but I think I've got it. Thanks to Luigi, I've converted his MSF algorithm to C#. If anyone is interested, the code is here: http://pastebin.com/C9GFjiZF . Note: I take absolutely no credit for this code except for converting it to C#, the method behind the madness is 100% Luigi.

My program is querying the hell out of google translate right now to translate the japanese. Got my fingers crossed that this stabilizes the game and fixes the (null) errors. Will post again in a few hours to let you guys know what happened.
Vash
mega-veteran
mega-veteran
Posts: 183
Joined: Fri Apr 29, 2005 2:39 pm
Has thanked: 5 times
Been thanked: 26 times

Re: Working on Tales of Xillia

Post by Vash »

lol sorry. I got confused becase the CAB header is MSCF and plus because the tales of in the wii/gamecube versions uses that compression :D
drfail
n00b
Posts: 13
Joined: Mon Dec 12, 2011 10:17 pm
Has thanked: 3 times

Re: Working on Tales of Xillia

Post by drfail »

how are querying Google translate if they shutdown their API, or are you using raw http requests and parse the result manually?
Lecht
ultra-n00b
Posts: 5
Joined: Mon Jan 02, 2012 4:33 am
Been thanked: 2 times

Re: Working on Tales of Xillia

Post by Lecht »

Yeah, I'm just using http get and parsing the json array that google returns. Here's the code if you're interested: http://pastebin.com/KFUvJLDE

Also the code there, it's hardcoded for japanese -> english. And it uses my custom WebSession class, which you can just use a simple WebClient then call DownloadString().

Forgot to include progress lol.

Well turns out my language file re-builder is off in a few places, I'll be correcting those issues shortly. Progress report later on.
drfail
n00b
Posts: 13
Joined: Mon Dec 12, 2011 10:17 pm
Has thanked: 3 times

Re: Working on Tales of Xillia

Post by drfail »

thanks for that,
I'm a tales fan myself and I wonder what you're doing... :wink:
Lecht
ultra-n00b
Posts: 5
Joined: Mon Jan 02, 2012 4:33 am
Been thanked: 2 times

Re: Working on Tales of Xillia

Post by Lecht »

Looks like everything was a success :).

http://i.imgur.com/2wkMR.jpg

http://i.imgur.com/qqDAi.jpg

I'm going to playtest it for a bit, and see if everything is stable, but it seems to be great.

drfail, I'm working on translating Tales of Xillia to English.
drfail
n00b
Posts: 13
Joined: Mon Dec 12, 2011 10:17 pm
Has thanked: 3 times

Re: Working on Tales of Xillia

Post by drfail »

Lecht wrote:Looks like everything was a success :).
epic
drfail, I'm working on translating Tales of Xillia to English.
you have a PM
Post Reply