Page 3 of 8

Re: ~ The Homeland Project ~

Posted: Wed May 11, 2011 7:00 pm
by liquitt
the only effort right now is to disassemble the all.bin so no project page needed right now

Re: ~ The Homeland Project ~

Posted: Thu May 19, 2011 6:07 am
by liquitt
liquitt wrote:the only effort right now is to disassemble the all.bin so no project page needed right now
update: which is a pretty damn pain in the ass

Re: ~ The Homeland Project ~

Posted: Thu Jun 30, 2011 4:02 am
by jaytheham
I figured out all.bin and found some(all?) of the text:
The crazy thing contains over 15,000 files :?

Image

Image

It's easy-peasy to replace, though I can't find the text pointers(might be hard-coded references) so I'm limited to 2x the number of kana, not a really big problem; the game doesn't appear to use Kanji at all.
My Japanese is only basic so I can't do the actual translation myself.

Also does anyone know good settings for the game in Dolphin? It's a bit buggy looking and more importantly locks up while loading about 4/5ths of the time :(

Re: ~ The Homeland Project ~

Posted: Thu Jun 30, 2011 11:34 am
by KirovAir
Great news. :D
Could you post the part of the structure you've found out?

Re: ~ The Homeland Project ~

Posted: Thu Jun 30, 2011 12:09 pm
by jaytheham
Yea, the offsets for all the files in all.bin are in Start.dol, they're sequential so you can work out the size.
It appears the "CNDY" files are the only ones with text, in addition to the .dol and .rel files which have some too. There's quite a few of them, the text is kinda split up all over the place.
Here's a tool I wrote to dump just the "CNDY" files, no need for the other 15,000~ files that I can find so it skips them, it crashes after the last file but works never the less :)
http://jaytheham.com/img/allbinext.exe
The text is all in SHIFT_JIS format.

Re: ~ The Homeland Project ~

Posted: Thu Jun 30, 2011 12:27 pm
by KirovAir
Awesome developments. When I have time (probably weekend) I'll take a good look into this. :)

Re: ~ The Homeland Project ~

Posted: Thu Jun 30, 2011 1:39 pm
by emu_kidid
cool stuff :D

Re: ~ The Homeland Project ~

Posted: Thu Jun 30, 2011 7:21 pm
by infact
Hey, jaytheham, nice to see you here, I like zelda chaos...

And thanks for the hint on the start.dol, now the CNDY file headers make sense. ;-)

Re: ~ The Homeland Project ~

Posted: Thu Jun 30, 2011 11:27 pm
by jaytheham
After some more digging around it appears the candy files are probably event scripts, the text pointers are inside them but they require a bit of guesswork to find and require transformation before they're correct.
The layout of candies appears to be something like:
"CNDY"
Number of events
Event names
[Possibly event pointers?]
Event text
[Event scripts? +more??]

More investigation is required.

Re: ~ The Homeland Project ~

Posted: Fri Jul 01, 2011 4:49 am
by Hells Guardian
Dude jay you are the best!

Re: ~ The Homeland Project ~

Posted: Fri Jul 01, 2011 6:47 am
by liquitt
jaytheham wrote:More investigation is required.
i'm on that ;)

Re: ~ The Homeland Project ~

Posted: Sun Jul 10, 2011 2:59 am
by jaytheham
So after spending a bit longer looking at what the game was doing with these I've got:
"CNDY"
Number of events
Event names
[Mystery useless data]
Event text
[Event scripts? Includes text pointers]

Not much really, although it might be enough to repointer text, if you just tacked the new text strings onto the end of the file...
Any progress on stuff?

Re: ~ The Homeland Project ~

Posted: Sun Jul 10, 2011 9:39 am
by liquitt
yeah translation ;)

Re: ~ The Homeland Project ~

Posted: Sun Jul 10, 2011 10:07 am
by jaytheham
Cool :) Let me know if you need any more hackery stuff.

Re: ~ The Homeland Project ~

Posted: Sun Jul 10, 2011 10:42 am
by liquitt
well some of the translators complained about the many garbage in the files :/ but i dunno if thats fixable

Re: ~ The Homeland Project ~

Posted: Mon Oct 10, 2011 8:06 pm
by HomelandReloaded
Thx for this. Er, how do I get the files out of the iso? By the way, it isn't possible to play Homeland online on the Wii because the Wii does not support the BBA; the code would need to be modified. Btw, what programming language is Homeland written in?

Re: ~ The Homeland Project ~

Posted: Mon Oct 10, 2011 8:23 pm
by liquitt
you can use Paradox GCTool e.g. to extract the iso. After that you'll have an all.bin and some other files...

jaytheham made a small program that extracts contents of the all.bin which you can open in CrystalTile (they are in shift_jis format) and translate them ;)

Re: ~ The Homeland Project ~

Posted: Tue Oct 11, 2011 3:51 am
by HomelandReloaded
Thanks for the help! I've got the GC-Tool now, but I had trouble downloading jaytheham's utility and I'm still looking for CrystalTile. I may be able to help with the disassembly once I get the tools set up and I know what prog language it's in (never done DOL stuff before but I have disassembled Z80a). Btw, the BGM music file names give useful clues for the translation of some of the location names. For example, Cloats Village, which would otherwise have translated as Kulootsu Village (yuck!). The Japanese like to play with words and the developers had a bit of a sense of humour which is worth knowing when translating. Anyway, katakana words are non-Japanese words which is also a clue sometimes. I guess you know already that most of the items in the game have already been translated on the Puutan blog, but the game is so full of text that it could take a year or more for a dedicated team to translate imo.

Re: ~ The Homeland Project ~

Posted: Tue Oct 11, 2011 5:18 am
by liquitt
if you are familiar with disassembling stuff read the stuff that jay wrote on pages 5 and 6 ... i never got the script itself, only a compiled exe, so i can't say how he extracted/inserted them :/

and here's a link to CrystalTile2: http://gbatemp.net/topic/53383-crystaltile2/

Re: ~ The Homeland Project ~

Posted: Tue Oct 11, 2011 6:32 pm
by HomelandReloaded
Jay, I can't find your allbinext.exe - did you take it down?

Re: ~ The Homeland Project ~

Posted: Tue Oct 11, 2011 6:42 pm
by liquitt
i'll upload it tomorrow since i only have it on my windows machine at work

Re: ~ The Homeland Project ~

Posted: Wed Oct 12, 2011 5:39 pm
by liquitt
i forgot. damnit.

Re: ~ The Homeland Project ~

Posted: Wed Oct 12, 2011 6:17 pm
by HomelandReloaded
No prob; work is work. I made some progress on reading the banner file: the game name and full title is simply "Homeland", and the description is 不思議な世界を冒険し、謎や事件を解決していこう。which translates into something like "Explore a strange world and solve the mysteries and troubles."

Re: ~ The Homeland Project ~

Posted: Sat Oct 15, 2011 6:01 am
by jaytheham
I've re-uploaded it here: www.jaytheham.com/code/allbinext.exe
GameCube uses PowerPC.
The text insertion is easy as, even re-pointering text is fairly easy(I think, didn't actually try it much). Really just need a good translator or two and I could insert all the text. Hell I could probably translate it myself as well, but my Japanese is pretty basic and it wouldn't be great, in addition to taking forever.

Re: ~ The Homeland Project ~

Posted: Sat Oct 15, 2011 8:10 am
by liquitt
hey glad to see you back here jay!
what about posting your code here so we can share? also, for re-inserting or re-building all.bin the method/code would be cool
...and maybe if we work together on that, we can see if we can get some of the garbage out of the to-be-translated files, because thats what some people (translators) asked for