+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  How can I tell if I have the source code to a GBC game?
Pages: [1]
Author Topic: How can I tell if I have the source code to a GBC game?  (Read 1 times)
Szczepaniak
Guest
« on: December 10, 2011, 10:16:22 am »

OK, I can't reveal too much about this, since 1) I'm planning a big website reveal in the new year and 2) until I know what I've got it might actually be nothing at all.

I've been speaking with a major localiser who gave me some files, including a whole bunch relating to an extremely popular GBC game. The majority are Japanese and English text files, since it was localisation work, but a couple of files caught my interest.

One doesn't have a file extension but is called "[GAME NAME] Full"

Inside it seems to contain text from all the other files, in ASCII format, but also a tonne of gibberish code which neither Notepad++ nor Word nor anything else I have can open correctly.

Random section of code, there are reams and reams and reams of this stuff.
Quote
      ØØØØÔ    !ØØ       !ØØ       !ØØ       !ØØ       !ØØ       !ØØ       !ØØ      !ØØ       !ØØ\t       Ã˜Ã˜        ØØ
       Ã˜Ã˜
       Ã˜Ã˜        ØØ
       Ã˜Ã˜        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ        ØØ       Ã˜Ã˜        ØØ!       Ã˜Ã˜"       Ã˜Ã˜#       Ã˜Ã˜$       Ã˜Ã˜%       Ã˜Ã˜&       Ã˜Ã˜'       Ã˜Ã˜(       Ã˜Ã˜)       Ã˜Ã˜*       Ã˜Ã˜+       Ã˜Ã˜,       Ã˜Ã˜-       Ã˜Ã˜.       Ã˜Ã˜/       Ã˜Ã˜0       Ã˜Ã˜1       Ã˜Ã˜2       Ã˜Ã˜3       Ã˜Ã˜4       Ã˜Ã˜5       Ã˜Ã˜6       Ã˜Ã˜7       Ã˜Ã˜8       Ã˜Ã˜9       Ã˜Ã˜:       Ã˜Ã˜;       Ã˜Ã˜<       Ã˜Ã˜=       Ã˜Ã˜>       Ã˜Ã˜?       Ã˜Ã˜@       Ã˜Ã˜A       Ã˜Ã˜B       Ã˜Ã˜C       Ã˜Ã˜D       Ã˜Ã˜E       Ã˜Ã˜F       Ã˜Ã˜G       Ã˜Ã˜H       Ã˜Ã˜I       Ã˜Ã˜J       Ã˜Ã˜K       Ã˜Ã˜L       Ã˜Ã˜M       Ã˜Ã˜N       Ã˜Ã˜O       Ã˜Ã˜P       Ã˜Ã˜Q       Ã˜Ã˜R       Ã˜Ã˜S       Ã˜Ã˜T       Ã˜Ã˜U       Ã˜Ã˜V       Ã˜Ã˜W       Ã˜Ã˜X       Ã˜Ã˜Y       Ã˜Ã˜Z       Ã˜

Is this Notepad++ trying to display some kind of assembly code? Is there a program I should try opening it in? How do GBC games work? Surely they need to be compiled into a BIN file for burning to cartridge ROM chips, right? And why would a localiser be given the source? I'm just being naive and hopeful.

I should add, these have been through several OS and programs during editing, so this might be leftover junk from a Mac word processor.

I don't know what I have, so am asking here.

I'll be making all files available in the new year, NDAs be damned.
« Last Edit: December 10, 2011, 12:52:29 pm by Szczepaniak »
Auryn
Guest
« Reply #1 on: December 10, 2011, 11:06:13 am »

I think that it's too regular to be programming code, I think it's more a pointer table but it's difficult to say like that, an hex view should tell more.
BRPXQZME
Guest
« Reply #2 on: December 10, 2011, 06:04:56 pm »

Quote from: Szczepaniak on December 10, 2011, 10:16:22 am
Is there a program I should try opening it in?
Well, it probably won’t have the answer, but the first thing Unix junkies will try is running it through file.
IIMarckus
Guest
« Reply #3 on: December 11, 2011, 01:24:06 am »

It could be a pointer table; converting that text to ISO‐8859‐1 seems to show a lot of values between $4000 and $8000, which makes sense on the GBC. But it’s dangerous making this kind of assumption without the actual file.

Quote from: Szczepaniak on December 10, 2011, 10:16:22 am
OK, I can't reveal too much about this, since 1) I'm planning a big website reveal in the new year and 2) until I know what I've got it might actually be nothing at all.

I've been speaking with a major localiser who gave me some files, including a whole bunch relating to an extremely popular GBC game. The majority are Japanese and English text files, since it was localisation work, but a couple of files caught my interest.

One doesn't have a file extension but is called "[GAME NAME] Full"

Inside it seems to contain text from all the other files, in ASCII format, but also a tonne of gibberish code which neither Notepad++ nor Word nor anything else I have can open correctly.

Can you provide a hexdump of offsets 0x100 to 0x150? That would conclusively show if it’s a Game Boy ROM. (It would also reveal the internal title.)
Szczepaniak
Guest
« Reply #4 on: December 11, 2011, 09:19:33 am »

I know what the game is, I just don't want to say it otherwise everyone will get excited over nothing.

Is this what you mean? I got a hex editor (thanks for the suggestion) and opened it up, which tidied things up a bit. Looking through it, I'm now pretty sure it's just some kind of translation file. There doesn't appear to be enough stuff to constitute a game. Regardless, even if it isn't, I'm sure fans of the series will want them. It's not often corporate files get leaked to the public. Expect a Hardcore Gaming 101 release in the new year. Cheesy

RedComet
Guest
« Reply #5 on: December 11, 2011, 10:08:13 am »

Is that the entire file?
Szczepaniak
Guest
« Reply #6 on: December 12, 2011, 04:25:33 pm »

No, that's just all that would fit in my screengrab. It's from the top, so I would assume anything pertinent would have been in the opening section. The file itself is about 233kb. This thing scrolls and scrolls for ages. The game dialogue is readable as ASCII if you scroll down.

I'm making the file available for download early January on HG101. I just wanted to check in case I'd struck real gold and could describe it as such. Looks like I haven't, so it's being bundled with a bunch of other mostly Japanese and English text dumps from my same contact. It might have some academic worth to a GBC romhacker, I have no idea.
Pages: [1]  


Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC