~ The Homeland Project ~

Find all your GameCube topics here
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Wed May 11, 2011 7:00 pm

the only effort right now is to disassemble the all.bin so no project page needed right now
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Thu May 19, 2011 6:07 am

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
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
jaytheham
Posts: 8
Joined: Thu Jun 30, 2011 3:57 am

Re: ~ The Homeland Project ~

Post by jaytheham » Thu Jun 30, 2011 4:02 am

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 :(
User avatar
KirovAir
Posts: 209
Joined: Sat Jan 22, 2011 12:13 pm
Location: Netherlands

Re: ~ The Homeland Project ~

Post by KirovAir » Thu Jun 30, 2011 11:34 am

Great news. :D
Could you post the part of the structure you've found out?
"The only thing more dangerous than a hardware guru with a code patch is a programmer with a soldering iron."
User avatar
jaytheham
Posts: 8
Joined: Thu Jun 30, 2011 3:57 am

Re: ~ The Homeland Project ~

Post by jaytheham » Thu Jun 30, 2011 12:09 pm

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.
User avatar
KirovAir
Posts: 209
Joined: Sat Jan 22, 2011 12:13 pm
Location: Netherlands

Re: ~ The Homeland Project ~

Post by KirovAir » Thu Jun 30, 2011 12:27 pm

Awesome developments. When I have time (probably weekend) I'll take a good look into this. :)
"The only thing more dangerous than a hardware guru with a code patch is a programmer with a soldering iron."
User avatar
emu_kidid
Site Admin
Posts: 4539
Joined: Mon Mar 29, 2010 10:06 am
Location: Australia
Contact:

Re: ~ The Homeland Project ~

Post by emu_kidid » Thu Jun 30, 2011 1:39 pm

cool stuff :D
Image
User avatar
infact
Posts: 347
Joined: Tue Mar 29, 2011 4:35 am
Location: Germany

Re: ~ The Homeland Project ~

Post by infact » Thu Jun 30, 2011 7:21 pm

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. ;-)
infact
Image Image
User avatar
jaytheham
Posts: 8
Joined: Thu Jun 30, 2011 3:57 am

Re: ~ The Homeland Project ~

Post by jaytheham » Thu Jun 30, 2011 11:27 pm

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.
Hells Guardian
Posts: 235
Joined: Sat Feb 12, 2011 9:17 pm

Re: ~ The Homeland Project ~

Post by Hells Guardian » Fri Jul 01, 2011 4:49 am

Dude jay you are the best!
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Fri Jul 01, 2011 6:47 am

jaytheham wrote:More investigation is required.
i'm on that ;)
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
jaytheham
Posts: 8
Joined: Thu Jun 30, 2011 3:57 am

Re: ~ The Homeland Project ~

Post by jaytheham » Sun Jul 10, 2011 2:59 am

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?
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Sun Jul 10, 2011 9:39 am

yeah translation ;)
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
jaytheham
Posts: 8
Joined: Thu Jun 30, 2011 3:57 am

Re: ~ The Homeland Project ~

Post by jaytheham » Sun Jul 10, 2011 10:07 am

Cool :) Let me know if you need any more hackery stuff.
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Sun Jul 10, 2011 10:42 am

well some of the translators complained about the many garbage in the files :/ but i dunno if thats fixable
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
HomelandReloaded

Re: ~ The Homeland Project ~

Post by HomelandReloaded » Mon Oct 10, 2011 8:06 pm

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?
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Mon Oct 10, 2011 8:23 pm

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 ;)
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
HomelandReloaded

Re: ~ The Homeland Project ~

Post by HomelandReloaded » Tue Oct 11, 2011 3:51 am

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.
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Tue Oct 11, 2011 5:18 am

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/
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
HomelandReloaded

Re: ~ The Homeland Project ~

Post by HomelandReloaded » Tue Oct 11, 2011 6:32 pm

Jay, I can't find your allbinext.exe - did you take it down?
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Tue Oct 11, 2011 6:42 pm

i'll upload it tomorrow since i only have it on my windows machine at work
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Wed Oct 12, 2011 5:39 pm

i forgot. damnit.
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
HomelandReloaded

Re: ~ The Homeland Project ~

Post by HomelandReloaded » Wed Oct 12, 2011 6:17 pm

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."
User avatar
jaytheham
Posts: 8
Joined: Thu Jun 30, 2011 3:57 am

Re: ~ The Homeland Project ~

Post by jaytheham » Sat Oct 15, 2011 6:01 am

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.
User avatar
liquitt
Posts: 1761
Joined: Thu Apr 01, 2010 5:43 am
Location: neverland
Contact:

Re: ~ The Homeland Project ~

Post by liquitt » Sat Oct 15, 2011 8:10 am

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
please search before you ask - a lot has been discussed already!
(or use google with "site:gc-forever.com *term*")
http://is.gd/MDmZcr

we also have a wiki filled with knowledge
http://is.gd/dX58Rm
Post Reply