+  RHDN Forum Archive
|-+  Romhacking
| |-+  ROM Hacking Discussion
| | |-+  I think I broke it.
Pages: [1] 2
Author Topic: I think I broke it.  (Read 2 times)
Dragomorph
Guest
« on: January 22, 2009, 09:59:57 pm »

I didn't really know the best place to put it, so I figured I'd put it here.

I was fiddling around a bit with Windhex and a copy of Bakashou Jinsei Gekijou 2 to try some more attempts at extracting script.  I don't know WHAT I did, but for some reason I'm getting this now when I open ANY copy of the ROM up in fceux:



I'm going to take a random stab at it and guess this is some sort of ROM check screen.  Which fails.

Oddly enough, it ONLY happens on fceux.  Other versions of fceu have no issues with it.  Does anybody know what triggered this sort of thing?

I apologize if this is in the wrong place.  I'm not exactly a ROM hacker by nature.
Moulinoski
Guest
« Reply #1 on: January 22, 2009, 10:18:47 pm »

Well... Different emulators work differently. Idk which emulators are considered to be the most accurate though.

If anything, you can put a note on a readme saying "Do not use fceux for this hack" assuming you plan on releasing it. Why don't you try working backwards and try to break it again, just to see what is it that breaks it? I often do that on my own projects (I'm no good either though).
Disch
Guest
« Reply #2 on: January 22, 2009, 10:50:04 pm »

Err... FCEUX fails to open any version of the ROM (even uneditted)?  If that's the case it's nothing you did, unless you went in FCEUX with a hex editor and messed it up.  But an emulator failing to run the original unaltered ROM is not your problem -- it's a problem for the developers of said emu.

If I'm misunderstanding and you just mean that your edited copy is failing to run then the solution is simple.  Restore from your most recent backup copy of the ROM (or restart from scratch if you have no backup).  If you're just doing script extraction you probably haven't changed much, right?  So there isn't much lost.
Dragomorph
Guest
« Reply #3 on: January 23, 2009, 12:15:06 am »

Quote from: Disch on January 22, 2009, 10:50:04 pm
Err... FCEUX fails to open any version of the ROM (even uneditted)?  If that's the case it's nothing you did, unless you went in FCEUX with a hex editor and messed it up.  But an emulator failing to run the original unaltered ROM is not your problem -- it's a problem for the developers of said emu.

It's especially weird since it wasn't doing that BEFORE.  It's just suddenly decided to do it now for some reason.  (It's an odd thing, too.  It plays a song from the game if you don't press any buttons, and just freezes if you do, turning the screen pink and causing the ENGLISH letters "NG" to show up.  So whatever the hell it is, it's IN the game itself.)  About the only thing I did was open the wrong file at some point for looking at the script, and even then it's not like I ever really touched the data itself, just threw a table in.

So yeah, very, very odd.  The only thing I can guess is that it's some sort of anti-piracy measure, but even then I have no idea why it's triggered, and only for that one emulator.
mz
Guest
« Reply #4 on: January 23, 2009, 08:30:59 am »

Maybe you have some active cheats? FCEUX automatically saves/loads cheat lists without warning.

That said, the game seems to work fine for me using 2.0.3.
GenoBlast
Guest
« Reply #5 on: January 23, 2009, 02:53:43 pm »

Maybe you could try deleting your save file, if the game uses them.
Dragomorph
Guest
« Reply #6 on: January 23, 2009, 04:01:12 pm »

Quote from: mz on January 23, 2009, 08:30:59 am
Maybe you have some active cheats? FCEUX automatically saves/loads cheat lists without warning.

That said, the game seems to work fine for me using 2.0.3.

No cheats seem to be active, and I wouldn't know how to put them in even if they WERE.  (Like I said, hacking is not really my strong point; I just use what little I know for script extraction.)

Christ, I wonder if this means I have to update my fceux.

Quote from: Killa B on January 23, 2009, 02:53:43 pm
Maybe you could try deleting your save file, if the game uses them.

Not in this case.  It's a jinsei game, so there's no point in saving.
GenoBlast
Guest
« Reply #7 on: January 23, 2009, 04:07:26 pm »

Quote from: Dragomorph on January 23, 2009, 04:01:12 pm
Quote from: Killa B on January 23, 2009, 02:53:43 pm
Maybe you could try deleting your save file, if the game uses them.

Not in this case.  It's a jinsei game, so there's no point in saving.
I have no idea what that is. But if there's any battery-backed save at all, regardless of whether there's a point to it, you could try it.

I'm totally overwhelmed with confusion over the way you responded. :'(
Next gen Cowboy
Guest
« Reply #8 on: January 23, 2009, 04:27:23 pm »

I know this sounds crazy, but where did you throw a tbl in? It looks like pa piece of a tbl got placed over some very important data...which should not happen...you know?
KingMike
Guest
« Reply #9 on: January 23, 2009, 04:38:58 pm »

Quote from: Killa B on January 23, 2009, 04:07:26 pm
Quote from: Dragomorph on January 23, 2009, 04:01:12 pm
Quote from: Killa B on January 23, 2009, 02:53:43 pm
Maybe you could try deleting your save file, if the game uses them.

Not in this case.  It's a jinsei game, so there's no point in saving.
I have no idea what that is. But if there's any battery-backed save at all, regardless of whether there's a point to it, you could try it.

I'm totally overwhelmed with confusion over the way you responded. :'(

You ever played the classic board game "The Game of Life"?
Jinsei Game is pretty much the video game version.
From what I understand, Takara is pretty much Transformers and video Game of Life sequels (but all we've gotten in the US is one Hasbro version, I think).

(though I think the particular game in this thread is a Taito game)
Dragomorph
Guest
« Reply #10 on: January 23, 2009, 06:17:28 pm »

Quote from: Next gen Cowboy on January 23, 2009, 04:27:23 pm
I know this sounds crazy, but where did you throw a tbl in? It looks like pa piece of a tbl got placed over some very important data...which should not happen...you know?

You know, that might explain something actually.  I opened up a file and threw the table in, realized I had the wrong file or something on account of absolutely NO script popping up, and opened up the ROM properly.  If I could figure out what the hell I DID exactly, though...  (See, this is why technology laymen should not muck with hack tools.   Embarrassed )  Still not sure why it only has problems in one particular emulator, though.

...although actually, on mucking about, it looks like I threw the table into a text dump file I'd been editing before I found out about the nifty crap you can do with pointer tables to extract letters with handakuten and the like.  So it STILL doesn't make any sense to me.  (Hooooooray.)

I don't know, maybe I'll just have to work through my headaches and learn this programming stuff.  Or, alternatively, download a new copy of the emulator.  Either way, I'm really in over my head here.  Any suggestions on how a table file could overwrite data in the first place?

Quote from: KingMike on January 23, 2009, 04:38:58 pm

You ever played the classic board game "The Game of Life"?
Jinsei Game is pretty much the video game version.
From what I understand, Takara is pretty much Transformers and video Game of Life sequels (but all we've gotten in the US is one Hasbro version, I think).

(though I think the particular game in this thread is a Taito game)

Yeah, actually.  Taito put out a whole series of these games, and I'm semi-obsessed with them.  So I've been trying to get a decent script dump of my favorite of the NES titles.  (I'm not sure it'd be easy to put the script back in, though, considering the vertical text in the word bubbles.)
Tauwasser
Guest
« Reply #11 on: January 23, 2009, 10:57:10 pm »

Has fceux an auto-patching feature? Do you by chance have a patch in the directory or something?

Other than that, maybe it really is a test screen because the rom checksum is broken? Try fixing it and see if it does the trick.

cYa,

Tauwasser
Dragomorph
Guest
« Reply #12 on: January 24, 2009, 12:27:01 am »

Quote from: Tauwasser on January 23, 2009, 10:57:10 pm
Has fceux an auto-patching feature? Do you by chance have a patch in the directory or something?

Other than that, maybe it really is a test screen because the rom checksum is broken? Try fixing it and see if it does the trick.

cYa,

Tauwasser

No patches.  I'm in no way capable of creating that sort of technological magic.  And it can't be the ROM specifically, as ALL copies of the ROM (both the one I'm messing around with and the one in my "grande catalogue of ROMs") messes up, and ONLY in that one emulator.

Actually, upon testing fresh unzips of the same program, the game runs fine.  So there must be something I did to the emulator.  Or... I don't know.  Anyway, sorry to bother y'all.  (That said, I'm sort of curious now where that is in the data, but that'd require me to actually figure out this assembly code malarky.)

EDIT:  Though I am rather amused I managed to actually find the screen text in question in the hex code.  Which is about as much as *I* can do, anyway.
« Last Edit: January 24, 2009, 12:41:06 am by Dragomorph »
Moulinoski
Guest
« Reply #13 on: January 25, 2009, 05:24:48 pm »

You make it seem as if you have no skill whatsoever. At least you can manage to look at hex code without your eyes bleeding out and your head spinning saying "OMG numbers, OMG numbers, OMG NUMBERSSSSSS". All I can do is play around with the tiles in Tile Layer Pro. :/ Although I think I'll try playing around with other stuff... Having read that some people here started off first editing tiles and climbing up from there has given me some more inspiration and courage to try learning more about rom hacking.
sb iq
Guest
« Reply #14 on: January 25, 2009, 05:41:22 pm »

Quote from: Garoth Moulinoski on January 25, 2009, 05:24:48 pm
At least you can manage to look at hex code without your eyes bleeding out and your head spinning saying "OMG numbers, OMG numbers, OMG NUMBERSSSSSS".

Not just numbers, but the letters A through F also. Tongue
Pages: [1] 2  


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