Dakusan's Domain Forum

General Category => General Discussion => Topic started by: venusbraves on December 16, 2009, 02:57:41 pm

Title: Venus & braves
Post by: venusbraves on December 16, 2009, 02:57:41 pm
Hi!

I'm planing create a translation project for the ps2 game "Venus & Braves".
http://en.wikipedia.org/wiki/Venus_&_Braves (http://en.wikipedia.org/wiki/Venus_&_Braves)

Files:

0000302 , >:SLPS_251.96
0002719 , >:IRXATAD.IRX
0002725 , >:IRXDEV9.IRX
0002732 , >:IRXHDD.IRX
0002747 , >:IRXICON.SYS
0002748 , >:IRXINET.IRX
0002817 , >:IRXINETCTL.IRX
0002830 , >:IRXLIBNET.IRX
0002833 , >:IRXLIBSD.IRX
0002847 , >:IRXMCMAN.IRX
0002894 , >:IRXMCSERV.IRX
0002898 , >:IRXMSIFRPC.IRX
0002902 , >:IRXNETCNF.IRX
0002934 , >:IRXNETCNFIF.IRX
0002944 , >:IRXNUSNDSTR.IRX
0002976 , >:IRXNUSOUND.IRX
0003011 , >:IRXPADMAN.IRX
0003033 , >:IRXPFS.IRX
0003058 , >:IRXPPP.IRX
0003108 , >:IRXPPPOE.IRX
0003117 , >:IRXSIO2MAN.IRX
0003121 , >:IRXSMAP.IRX
0003130 , >:IRXSYS_NET.ICO
0002701 , >:IRXUSBD.IRX
0002694 , >:IRXUSBKB.IRX
0002564 , >:IRXDNAS255.IMG
1814911 , >:SYSTEM.CNF


0003147 , >:IMAGE BGMIMAGE.BIN
0970548 , >:IMAGE CDIMAGE.BIN
1152992 , >:IMAGE MOVIMAGE.BIN



I need check those .bin files.

Any ideas?

Thanks! :)
Title: Re: Venus & braves
Post by: Dakusan on December 16, 2009, 09:01:31 pm
The first thing you should try is just doing a general binary search of all the files for 1-3 lines of text (or substrings of them) in the game. Don't forget to do it in all possible expected formats (ascii, UTF8, UTF16, JSHIFT, etc). That should help you find the file you need. The files could also be compressed though, and if so, hopefully just in a standard format like gzip. If so, just uncompress all the files first before doing the searches. If they use their own special kind of encoding though for dialog, it gets much, much harder. Fortunately, I would guess games these days don't need that kind of micro-optimization like they did in the NES/SNES days.

Can't really suggest anything else without actually seeing the contents of the game myself, and even then, I wouldn't have time to do much beyond make basic suggestions of where you could go with it.
Title: Re: Venus & braves
Post by: venusbraves on December 17, 2009, 08:49:35 am
Thanks for your answer :)

In these days they usually aren't worry for the size thanks to dvd media storage. I remember the NES days... this translation was 4 years ago:

http://nesstarwars.tripod.com/

and was a pain :)

Inside MOVIMAGE.BIN I found this using Hex Workshop:

................................/home/tsuyoshi/venus/MoviePack/moviefilelist.txt./home/tsuyoshi/venus/smv/ex01.smv./home/tsuyoshi/venus/smv/ex02.smv./home/tsuyoshi/venus/smv/mv01.smv./home/tsuyoshi/venus/smv/mv02.smv./home/tsuyoshi/venus/smv/mv03.smv./home/tsuyoshi/venus/smv/mv04.smv./home/tsuyoshi/venus/smv/mv05.smv./home/tsuyoshi/venus/smv/mv06.smv./home/tsuyoshi/venus/smv/mv07.smv./home/tsuyoshi/venus/smv/mv08.smv./home/tsuyoshi/venus/smv/mv09.smv./home/tsuyoshi/venus/smv/mv09_nps.smv./home/tsuyoshi/venus/smv/op01.smv./home/tsuyoshi/venus/smv/op02.smv./home/tsuyoshi/venus/MoviePack/moviefilelist.txt.# sound fat use 16....................

This is good news but how can I split them and join them when the translation is finished?

Do you know a good web site where increase my knowledge about this topic, is my first project in PS2.

thanks for your time :)
Title: Re: Venus & braves
Post by: Dakusan on December 17, 2009, 08:42:11 pm
I can't recommend any good websites on the topic because everything I've ever done on it I've just figured out myself. Reverse engineering is a pure game of guessing, testing, trial, and error. It's all about making logic jumps with something you have and then confirming if it's what you think it is, and if not, refining your ideas. You might get lucky and find some utilities or tutorials out there to help you with what you want, but I can't really help you there. I personally use WinHex (for hex editing) and OllyDbg (for x86 disassembly and real time debugging) for my projects, but I doubt either of those will help you much.

I am assuming that by "translation project" you mean written text only, and not movies :-O. Doing audio or adding subtitles to a video is a whole nother ballgame.

I believe you are taking the harder approach, namely, recreating the file. To do this, you probably need to figure out everything about the format and exactly how it works. The easiest way, I would imagine, is just editing the file in place. (I have never actually tried doing a game translation myself, as I only really know English  :) , so this is all conjecture).

After finding the data files with the text you want translated (which I described in my first reply), my thought is that there are 3 ways translation strings would be looked up in the data file, which would dictate how you could edit them.So again, it's all just a game of looking at the data and seeing what you can figure out. The easiest starting place, IMO, would be to find a single line of text in the game and just editing it a bit to see what happens.


As for figuring out the file's format, you might get lucky and the format might match what I found for my http://www.castledragmire.com/Projects/HackPics (http://www.castledragmire.com/Projects/HackPics) project (which is how I assumed you found me). They are both PS2 games after all... But yeah... its just a matter of figuring out the formats and writing your own utilities in your language of choice for splitting them apart and putting them back together. Perl is great for that kind of thing in a way, but it also has its limitations and slowness, especially when working with large data sets. I'd stay stick with C/C++ for something like this due to the need to work on the numerical byte level.
Title: Re: Venus & braves
Post by: Dakusan on December 17, 2009, 08:49:54 pm
To answer your question in another way... you could just try editing those files directly and have them link to another path... and see what happens. You have to be careful about keeping them the same size of bytes with padding though as there is probably an offset index somewhere that you would have to edit otherwise (unless that "." in your strings is actually a null terminator, in which case you wouldn't have to probably). It's always easier working on files in place than recreating them from scratch. If you do recreate them from scratch though, you don't always have to figure out what EVERYTHING means, and you can sometimes just copy bytes, but it could cause problems if some things aren't changed that need to be.
Title: Re: Venus & braves
Post by: venusbraves on December 18, 2009, 02:28:35 pm
OMG

Thanks for all your help. Now I'm just looking for ideas and trying to find an easy way.

Wii games are really cool for translations, just a single file with all the text in ascii and without worries about the file size.

However PS2 is a nightmare, the .bin files are complete differents among games.

Try to avoid reverse engineering is a priority, This game has a lot of text to translate and require time.

But this is a hobby, no deadline to complete :) someday will be done.

Thanks and... is true I found you with HackPics project :)
Title: Re: Venus & braves
Post by: Dakusan on December 18, 2009, 08:53:03 pm
Good luck :-)