User | Post |
HyperLamer
Posts: 3939/8210 |
Originally posted by Xkeeper (bonus points to anyone who guesses the game opened)
I'd try, but I don't see a pic. |
iamhiro1112
Posts: 275/487 |
My problem was the hex editor I was using. I don't think it was set up very well for using NES games. So Im using hexecute. I got it fixed now. Thanks for the pic, it helped me see my problem. |
Xkeeper
Posts: -2271/-863 |
Originally posted by iamhiro1112
Originally posted by BMF54123 You can just change the byte at $102A in the ROM to whatever value you want to trigger a 1UP. The default is #$64 (100 in hex). So, for example, change it to #$32, and you'll only need to collect 50 coins.
Well, I was trying to do that earlier. I haven't quite got the hang of hex editors yet. There's alot of 102a's in the hex editor. "00BF-00C3" BTW, another bug report. The left side of the pyramids in World 2 are replaced with coins. I think I'll be playing this game thru to the end so if anything similar happens I'll post it.
heh, no... what you need to do is go to offset 102A, not find the value.
It won't look anything like this, but this should give you a general idea of how to find it.
(bonus points to anyone who guesses the game opened) |
iamhiro1112
Posts: 270/487 |
Originally posted by BMF54123 You can just change the byte at $102A in the ROM to whatever value you want to trigger a 1UP. The default is #$64 (100 in hex). So, for example, change it to #$32, and you'll only need to collect 50 coins.
Well, I was trying to do that earlier. I haven't quite got the hang of hex editors yet. There's alot of 102a's in the hex editor. "00BF-00C3" BTW, another bug report. The left side of the pyramids in World 2 are replaced with coins. I think I'll be playing this game thru to the end so if anything similar happens I'll post it. |
BMF98567
Posts: 717/1261 |
You can just change the byte at $102A in the ROM to whatever value you want to trigger a 1UP. The default is #$64 (100 in hex). So, for example, change it to #$32, and you'll only need to collect 50 coins.
I don't think DD intended for this to be used with the original game, but rather as a base for a hack. It would be neat if someone figured out how to create a resizable "multiple coins" object type, in order to save ROM space (inserting a lot of individual coin objects would quickly eat up what little space there is). You could definitely hack an existing platform object, but SMB2's object set is limited enough as is... |
iamhiro1112
Posts: 264/487 |
I patched this to a V1.0 and it works great. It's pretty sweet cause it makes the game seem a bit more like your conventianal Mario Bros games. How about making a version of the hack where the coins you get from plants would be counted toward your coin total, and bypass the bonus game all together. By this time I kinda am tired of the mini-game anyway and would like some straight up action.
BTW, I think the sum of coins you need to get to get during the game is a bit high. THere wasn't exactly alot of cherries to be found in the game so perhaps you should lower the amount we need to find to get a oneup. I think it would be ok to not follow the rules set in other Mario games for how much u need for a oneup because this game didn't follow those rules in the first place (no stompable enemies etc). Lower it to 60 40 or 20 I think. |
DahrkDaiz
Posts: 561/885 |
Originally posted by BMF54123
I also have a bug report, DD: the coins don't work in Sub-Space. They glitch up and can't be collected.
woops! I'll work on fixing that later tonight. thanks for the bug report! |
Setzer
Posts: 142/532 |
o.o ... why don't you add a counter for the slot-coin things too? That'd be pretty nifty. good job on the asm leetness though. |
BMF98567
Posts: 715/1261 |
That's a friggin' awesome hack, DD. I should try converting my little power meter hack from LotBB2 into a sprite-based coin counter. Problem is, there might not be enough space in VROM for the numbers...
Originally posted by iamhiro1112 Anyone else having problems with the patch? My game stopped working after putting the patch on it. I was using version 1.1 I believe.
PRG1 has some major changes to the program code (exactly what, I'm not sure). Lots of stuff is moved around. Use PRG0 instead, that's the most common ROM anyway.
[EDIT]
Heehee, that wasn't too hard.
Download coincounter.ips
This patch must be applied to a ROM that's already been patched with the coin hack (you can apply it to a clean ROM, but it'll act as a cherry counter instead ). I replaced the old Albatoss and unanimated bomb graphics left over from Doki Doki Panic with the number and coin tiles, so it shouldn't mess anything up.
I also have a bug report, DD: the coins don't work in Sub-Space. They glitch up and can't be collected. |
Imzogelmo
Posts: 35/41 |
Looks really cool. This game is definitely on my list of games to hack when I get over my FF6 thing. Of course, I have no idea when that'll be... |
iamhiro1112
Posts: 260/487 |
Anyone else having problems with the patch? My game stopped working after putting the patch on it. I was using version 1.1 I believe. |
DahrkDaiz
Posts: 559/885 |
That's easy, the pallete is equal to the upper two bits of the id number. In other words, tile ids 00-3F use pallete 0, 40-7F use pallete 1, 80-BF use 2 and C0-FF use 3 |
Ice Ranger
Posts: 105/183 |
Heh, I was wondering if you were going to make this public. Thanks for letting me take a look at it as it made the foundation for letting me figure out the Automatic starman after 5 cherries.
The one thing I still can't figure out is how you made it change the pallet for the coin without changing the POW, grass, or other items which share the red/black/white pallet switched with the ground/rock pallet (which is probably the easiest part) or change the coin sound to that (I thought the hex value was still the same as for the cherry pick up).
I definitely need to figure out the added information for the pause screen. That's the only other part I haven't figured out. |
The Kins
Posts: 360/595 |
Holy mother of god!
<3 Dahrk. |
DahrkDaiz
Posts: 557/885 |
Here's a hack I'm sure many will want to use: This hack replaces cherries with coins, just like in most SMB games. 100 coins will give you a 1-Up, the amount of coins you currently have is displayed on the pause screen and the number of coins isn't reset when you beat a level or die. Note: these coins are not related in anyway to your game coins, those are still seperated for the bonus level.
The IPS patch can be found here
Here's some screenshots:
And here's the documentation
|