PDA

View Full Version : Front Mission 5 Translation Project


Pete081085
03-04-2009, 05:52 PM
Hey all.
As some of you know there is a translation of the game called Front Mission 5 you can check it on frontmission.info I'm personally responsible for translating graphic files like TIM2. My work can be seen in these screenshots:
http://frontmission.info/image/fm5update-4.jpg
http://frontmission.info/image/fm5update-2.jpg
All the files that can be see above are stored as TIM2 format, I already know how to edit those files. To do this first I used Munge Explorer to extract my original Japanese ISO made by MagicISO
http://img178.imageshack.us/img178/1568/31238600.jpg
and that's what I've got:
http://img23.imageshack.us/img23/9417/67651673.jpg
In :"Modules folder":
http://img4.imageshack.us/img4/387/52783067.jpg
Then I extracted the DVDIMAGE.DAT (3,62 GB) to get over 10000 files. Some of those files are already named TIM2 but there is bunch of files with strange extensions (some are just named as .dat) which I don't know how to open. Some TIM2 files are stored inside these odd formats. To see those files i used MagicISO and packed those files in an ISO containing lets say 500 files and then used TimTool to extract tim's that were changed into .bmp. So when I've found something interesting I just narrowed the search down to 250 an so on until there was only one file with TIM2 I wanted to change. Because there was no working extractor/rebuilder of TIM2 I just had to copy and paste whole value using hex editor and replace the original TIM2 with the changed on - of course I had to be sure that the size of the files is the same. But even when thx to TimTool I've found over 4000 tims there were some parts of the graphic that require translation missing, that's what is missing:
http://aycu24.webshots.com/image/42263/2001643417316675905_rs.jpg
I'm looking for the file that contains the Japanese text on this white belt. I thought that it also should be a tim2 format since as you can see on second screen there is a "Officer's quarters" on top left corner and is also on a white belt very similar to the one J'm looking for...
I started a topic on a different forum. I tried to find the missing graphic using PCSX2 (sectors). Game Sectors (http://img442.imageshack.us/img442/3355/sectorsfs4.gif)
The guy who tried to help me wrote something like this:
I'm not sure if this can help at all but it's possible that you could use the console to find where the text is.
From the console I'll assume that each sector is 2064 bytes, and you would find the data at address 1642481*2064 = 3390080784 = 0xCA108710. If you open the ISO in a hex editor you might find the data there. Also I'm sure there's a program out there that could tell you what file is at what sector to help narrow down the search.
The only problem is, that address is probably the graphical data since the japanese would have already been loaded into memory before displaying it.
My guess is you'd have to watch the console before the text appears and maybe if you're lucky it'll all be stored in the same spot for all text and you can easily find it by watching before every text load. (i.e. a sector read at 1400XXX amongst the 1642XXX)
Please note that this is just a guess as I don't know the PCSX2 emulator or what its output means and I don't know how the FM5 file structure is.
If any of this is wrong hopefully someone can correct me but I hope that it'll help you along the right path.

Yet the missing thing is not found in TIM2 format, I couldn't even find Tim were the game's font is stored. But there is a guy called MoxHypKa was able to somehow change the font, you can see it on the youtube (You can see it when you type Front Mission 5 Translation Clip in search engine).
That's obvious that a lot of things is stored in different format for example 3D's textures etc... I tried to extract the files using CRC, scanning with Sonix FileScan v3.0. But in CRC there is no plug-in for Front Mission 5 though the file scanner finds the same stuff as Sonix's tool the extraction option hurts badly since I have to click on every single file to extract (Why there is no option allowing us to mark the files and then extract them all ??!!) Could some one tell me how can I extract those files faster than just clicking on each of them ??
I understand that rest of the graphics can be stored as different formats but how to find what kind of ?? Can I request the plugins for CRC an Genie ?? And I'm asking you guys to help me find the missing stuff.
I decided to load some files from the game if that can help since I'm in a dead point and don't know how to move on... :cry:
Front Mission 5 files (http://www.yousendit.com/download/U0d3ZHl2YWIzS3F4dnc9PQ)
Please if you need more files I can upload them here or send them to your PM. Please guys help me to find those graphic formats please...

Pete081085
03-05-2009, 07:16 PM
It looks like I'm not getting help at all...

InVerse
03-06-2009, 01:36 AM
It's unlikely that there are any experienced PSX hackers on this board. There are some over at RHDN (http://www.romhacking.net/), but if you go looking for help over there, be warned, they have a habit of raping new people.

The 9th Sage
03-06-2009, 02:26 PM
Yeah....if I knew PSX hacking I'd be happy to help you, but I do not.

Shadow
03-07-2009, 09:17 PM
This looks just like a classical romhacking problem. I encountered similiar problems very often.

It seems like the wanted images are part of a message box dialog. So when you want to find the images you have to find the text first! Do a relative search and/or find the correct compression.

Then you can follow the pointers. There must be a font set. Font sets on psx don't necessarily have to be stored as TIM. And all letters /signs are probably in one single file / image.

Another hint: when you look at the posted screen you may recognize serveral layers. The letters are drawn in the top layer, all other contents are in the back. You may be able to filter them out.

To get closer: make a measurement of the height and length of ONE sign. Could be 16x16, 32x32, 64x64 or 128x128. These are common formats.

When you got the size, you can calculate the value of the wanted sign.
I hope it's only one color per sign. Otherwise it gets slightly complicated (multilayer)
How to calculate the wanted value?
Easy: Every drawn pixel represents a 1, every transparent pixel a 0.
Just count from left to right and top to bottom.

For example the letter " i " in format 8x8:

0000 1000 => 0x08h
0000 0000 => 0x00h
0000 1000 => 0x08h
0000 1000 => 0x08h
0000 1000 => 0x08h
0000 1000 => 0x08h
0000 1000 => 0x08h
0000 1000 => 0x08h

Combined value in hex: 0008 0000 0008 0008 0008 0008 0008 0008
You get it. But beware. The numbers could be also inversed.

Of course I assume you know these tipps already ;)

Pete081085
03-10-2009, 12:46 PM
Thank You guys for your response.
Shadow:
Now I know where the wanted data is or exactly at what sector of the CD. Since when I'm running the game at PCSX2 and turn on that window what I was talking about each time, and I mean it, all the time I get these two sectors running:
http://img17.imageshack.us/img17/8664/sector.jpg
That's I'm looking for again:
http://img18.imageshack.us/img18/4080/sectors.jpg
So now when I know the sectors how do I find them in hex is there a method to somehow change the sector value in to Hex value ??
Shadow can you help ??

Pete081085
03-10-2009, 12:47 PM
Thank You guys for your response.
Shadow:
Now I know where the wanted data is or exactly at what sector of the CD. Since when I'm running the game at PCSX2 and turn on that window what I was talking about each time, and I mean it, all the time I get these two sectors running:
http://img17.imageshack.us/img17/8664/sector.jpg
That's I'm looking for again:
http://img18.imageshack.us/img18/4080/sectors.jpg
So now when I know the sectors how do I find them in hex is there a method to somehow change the sector value in to Hex value ?? I'm so close.
Shadow can you help ??

Reaper man
03-10-2009, 03:45 PM
open up windows calculator, change it to scientific, change mode to dec (if necessary), input number, change mode to hex.

Pete081085
03-10-2009, 06:57 PM
But I should multiple the sector number by 2064 right ??

Reaper man
03-10-2009, 09:11 PM
that I wouldn't know ;p

Pete081085
03-11-2009, 07:59 PM
Yes I had to multiply it but not with 2064 but by 2048. I HAVE FOUND THE PLACE WHERE THE JAPANESE TEXT IS STORED.
I entered the hex and went to the sector and I've found value that I already recognized as picture. So I wanted to make sure if that's the thing I'm looking for and I decided to replace that possible pictures with zeros and see what could get. and that's the result:
Here you can see how the window looked before (with Japanese characters):
http://aycu24.webshots.com/image/42263/2001643417316675905_rs.jpg
And here you can see it with out Japanese since i replaced all the value in hex with zeros:
http://img8.imageshack.us/img8/4696/88132340.jpg
There are 36 files one under another in hex (see attachment at the end). I also had to check other missions and there is the same result no text:
http://img9.imageshack.us/img9/1381/95677949.jpg
http://img520.imageshack.us/img520/449/11760555.jpg
So I finally manage to find the data, but the problem is that I can't open it. Could some one please check the files and give me any hint on how can I open this ? All i know that they are 100% graphic but I don't know the correct extension and therefore I can't find the program that could edit them.
Here is the file:
First File (http://www.yousendit.com/download/U0d4QndBT01UME5FQlE9PQ)
And here is the rest of the files of the same type (36 files including the one above)
All 36 files (http://www.yousendit.com/download/U0d4QndDTk1KV00wTVE9PQ)
:help:

Pete081085
03-12-2009, 04:13 PM
Any one any help ??

Pete081085
03-13-2009, 11:03 PM
IS THERE ANY HELP COMING AT ALL ON THIS BOARD ??
Ok. now I know where the files are stored at the DVD for 100% the one I posted before are not those filesŁ
I did some testing with the file and here are the results:
First I filled whole value with FF leaving only first two lines like this:

http://img7.imageshack.us/img7/5252/78844052.jpg

And that's the result:

http://img520.imageshack.us/img520/7664/33255769.png

Then I filled it with 11 :

http://img183.imageshack.us/img183/3314/jedynki.png

Then with 22 :

http://img12.imageshack.us/img12/4974/56587364.png

When with 33 this :

http://img5.imageshack.us/img5/8982/51114424.png

So as you see the higher the number the black belt gets more dense. And that how the file looks when I fillies the value in one line with FF and second with zeros so it looks like this:

FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
00000000000000000000000000000
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
00000000000000000000000000000
and so on...
I got this crate thing:

http://img9.imageshack.us/img9/928/ffwpierwszejlinii00wdru.jpg

So that's the winning loosing condition file:

http://rapidshare.com/files/208864477/Untitled1.html

Now can some one give me some hints and help me edit it ??

The 9th Sage
03-14-2009, 01:31 AM
IS THERE ANY HELP COMING AT ALL ON THIS BOARD ??

No offense here, but I'm truly sorry we aren't all hacking experts that are here to serve your whims. If someone has an answer and reads the post, I'm sure they'll give you a hand. Otherwise, how do you expect us to give an answer for something we don't know? Even if someone does know, they probably aren't going to do the work for you.

Consider this a bit of a warning to calm down and think what you are posting through.

Pete081085
03-29-2009, 06:08 PM
ok. no problem I already found the solution. But here is another question:
There is at the beginning of the game an opening movie - FMV. I manage t translate it delete the Japanese text and place the English. I been manage to place the movie into the game and it works BUT with one problem - there is no sound. I used the PSS Plex to demultiplex the file in to m2v and wav. The problem is that insetad the wmv i get file with without the extension so it looks like this: stream_1685566_0-Alt0 and when I used the PSS Demux I get m2v and file with .dat extension. Well I'm sure that this is an audio because I used the program called MFAudio to hear the sound. When I checked the audio file I found out that there is no header in it, so I decided to add standard wmv header to the file and it worked I was able to multiplex the files back (before that I was unable to do It since the PSS Plex asked for wmv). I edited the file using TMPGEnc then I putted it back to the game. The translation and the movie looks great but there is no audio. Does nay one know something about
editing PSS files ?? I found this site peoples seem to have similar problems : AnimeMusicVideos.org • View topic - *tutorial* How to get the sound working from KH2 fmv's (http://www.animemusicvideos.org/forum/viewtopic.php?f=44&t=80680)
Tried this also but it doesn't work.
Here is the file:
MEGAUPLOAD - The leading online storage and file delivery service (http://www.megaupload.com/?d=A5UT7SXQ)
This is the very last thing that requires the translation. So if any one knows how to edit this support me with information please.

Shadow
03-30-2009, 11:02 PM
Ah grats on your sucess with the text. I hope my hints were helpful.
So now you seem to have sound problems?

You have to check whether movie duration and sound duration are at the same length. Also leading or following zeros could be a problem. But I assume you already did your check in a preview...

If that is the case make a counter check:
export the video and reimport it at once. Then take a look. If the sound disappears without your modifications, then the error is either during the export or during the import.

If the sound plays correctly then export as before and exchange the sound by something else, your favorite song perhaps. Doesn't matter. Then reimport everything. Your movie should play as usual but with the new sound.

If this fails then you have an error during importing sounds.
But if the sound plays, then you might have an error in your modified movie.

I can't help you any further. I never "hacked" any movies... good luck