Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
1 user currently in Rom Hacking: hukka | 2 guests
Acmlm's Board - I2 Archive - Rom Hacking - Basic ROM Patch Question | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Vidikron
Newcomer
Level: 3

Posts: 1/3
EXP: 61
For next: 67

Since: 06-15-05

Since last post: 14 days
Last activity: 12 days
Posted on 10-19-05 02:53 AM Link | Quote
No, I'm not making my own hack or anything, but I figured the experts here would be the right people to ask about a problem with an old SMB hack. The hack I'm trying to apply can be found here: Link

I can apply the patch just fine, but when I try to run it in FCEU it just locks up on the title screen. I know the patch is applied correctly because it runs in Nesticle. I would like to have it run in FCEU though because I'm trying to run it on the XBox port... and being a port, both the PC and XBox versions behave in the same manner. I was reading some information in the FCEU FAQ and it stated that if a hack doesn't work it is likely a header or checksum problem and to correct the header to fix it. Well, I have no ROM hacking experience so I'm not sure what to do. I've tried a couple of different ROM header editors, but I really don't know what needs to fixed.

So if anyone here has any insight, any help would be appreciated.
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 7828/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 10-19-05 03:17 AM Link | Quote
Most SMB hacks do that, because they have a nasty bug. Since Nesticle also has a lot of nasty bugs, it runs them.
AP

Panser
Level: 22

Posts: 321/333
EXP: 56817
For next: 1533

Since: 08-07-05

Since last post: 6 hours
Last activity: 6 hours
Posted on 10-19-05 03:19 AM Link | Quote
Sprite tile FF is edited. How that tile looks like is depended on how the status bar looks like, and by editing it in certain ways (such as blanking it out), you can make the game freeze at the title screen. It works with my copy of FCEU, although my copy isn't the latest version. With a tile editor, you could paste sprite tile FF from the original game into the hack and try again.
Reshaper256

Bee
Level: 19

Posts: 140/143
EXP: 34776
For next: 1001

Since: 09-14-04
From: United States

Since last post: 5 days
Last activity: 9 hours
Posted on 10-19-05 06:43 AM Link | Quote
If you're still having problems, try using YY-CHR's SMB-Fix http://www.zophar.net/utilities/download/smb_fix.zip. You can try using it before patching the ROM, or after if you want, although I believe the fix's readme doesn't tell you that you should apply it to a patched ROM. It'll mess up the title screen, replacing any tiles that were there with the game's original logo. I experienced similar problems with FCEUXD and SMB Challenge, but after applying YY's fix to the patched ROM, it played correctly again, although the title screen had to be re-edited. Good luck.


(edited by Reshaper256 on 10-18-05 09:45 PM)
Googie

Surarok
Level: 39

Posts: 588/624
EXP: 380784
For next: 23987

Since: 03-15-04
From: Corona Queens New York

Since last post: 3 hours
Last activity: 3 hours
Posted on 10-19-05 07:41 AM Link | Quote
Or you can do this, open up TLP with that Dx hacks and one SMB with the title screen. Then do this, see the pic? Put the half coin in the DX hack...

Image hosted by Photobucket.com

And you'll get this...

Image hosted by Photobucket.com

Enjoy.
Vidikron
Newcomer
Level: 3

Posts: 2/3
EXP: 61
For next: 67

Since: 06-15-05

Since last post: 14 days
Last activity: 12 days
Posted on 10-19-05 11:54 AM Link | Quote
Thanks for the help guys... I knew this would be the place to ask.

Googie, your trick worked perfectly. What program is that that you used in those pictures? I found a program that let me copy that tile, but it didn't look as nice as the one you used.
Alexa
Not Xkeeper!
Level: 27

Posts: 25/625
EXP: 114183
For next: 1976

Since: 09-10-05

Since last post: 1 day
Last activity: 2 days
Posted on 10-19-05 12:15 PM Link | Quote
Tile Layer Pro.

It can be found all over the place.
Vidikron
Newcomer
Level: 3

Posts: 3/3
EXP: 61
For next: 67

Since: 06-15-05

Since last post: 14 days
Last activity: 12 days
Posted on 10-19-05 12:40 PM Link | Quote
Thanks!
Shadic

Cukeman
Level: 27

Posts: 302/304
EXP: 111073
For next: 5086

Since: 08-20-04
From: Somewhere, Over the Rainbow!

Since last post: 9 days
Last activity: 2 hours
Posted on 10-19-05 06:46 PM Link | Quote
I feel stupid, I never knew what that sprite was, myself...

Any idea why it's so important to the making sure that the game works?
HyperLamer
<||bass> and this was the soloution i thought of that was guarinteed to piss off the greatest amount of people

Sesshomaru
Tamaranian

Level: 118

Posts: 7870/8210
EXP: 18171887
For next: 211027

Since: 03-15-04
From: Canada, w00t!
LOL FAD

Since last post: 2 hours
Last activity: 2 hours
Posted on 10-20-05 09:14 PM Link | Quote
The game uses it to determine where the scorebar ends. If it's not there, it goes into an endless loop waiting for the screen to draw a nonexistant scanline.
flamepanther
Newcomer
Level: 1

Posts: 1/2
EXP: 6
For next: 5

Since: 10-28-05

Since last post: 5 days
Last activity: 4 days
Posted on 10-28-05 04:55 AM Link | Quote
I'm the author of the hack in question. I didn't know until recently that anyone still cared about it. There was actually a reason I originally modified the problem tile, which was to compensate for a bug in the way Nesticle and Pasofami drew the score bar. By the time I knew it froze up in FCE (which didn't exist when I started making the hack), I didn't really care about the project anymore, but I guess I'd like to fix it now. I copied the original tile into the hack tile set, and the game runs in FCEU now, but the game starts at world 0-1 instead of 1-1. The copy with the correct tile from the original ROM only seems to exhibit the 0-1 bug under FCEU so far. Nesten starts correctly on world 1-1. However, the old version of the hack doesn't crash freeze under Nesten in the first place. Any ideas? I haven't done anything to the hacked ROM except replace that one tile.
Disch

Micro-Goomba
Level: 4

Posts: 3/16
EXP: 226
For next: 53

Since: 10-21-05

Since last post: 12 hours
Last activity: 1 day
Posted on 10-28-05 05:43 AM Link | Quote
Originally posted by flamepanther
but the game starts at world 0-1 instead of 1-1.


You're basing it on a bad dump of SMB. Some bad dumps of SMB expect RAM to be flushed with 00 at startup, when in fact all but 4 bytes are flushed with FF. The bad dump reads and uses a byte before ever writing to it -- expecting it to be be 00 the first time (presumably to start at level 0 [1-1]) but instead it gets level FF [ -1].

This is a semi-recent discovery... so older emus will play the bad dump fine.. whereas more modern emus will choke. If possible, move your hack so that it's based on a proper SMB dump and not one of the million bad dumps floating around.
flamepanther
Newcomer
Level: 1

Posts: 2/2
EXP: 6
For next: 5

Since: 10-28-05

Since last post: 5 days
Last activity: 4 days
Posted on 10-28-05 11:39 AM Link | Quote
I did originally base it on a bad copy, but that alone shouldn't have affected the patch, since IPS only saves differences between files. I must have found a better copy of the ROM partway through making the hack and switched over. Anyway, I was able to find the offending part of the patch with IPSelect. Thanks.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Rom Hacking - Basic ROM Patch Question | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.019 seconds.