Banner
Views: 236,220,176
Time: 2013-05-21 10:30:26 PM
17 users online: aj6666, EddyCartoon, Fireblast124, gamergod521, o Jeuda Cruxifis, o Ladida, MetalYoshi94, Mogsiah, Randomiser, o Richard Nixon, Subrosian, THY, tylersuperwiigamer, Ultra Zone, Wiimeiser, wiiqwertyuiop, Z0mbie1337 - Guests: 22 - Bots: 15Users: 22,858 (1,278 active)
Latest: FUNKY kong ending
Tip: You can use Terra Stripe to edit the layer 3 images in SMW (such as the windows, rocks, or fish). You can even import your own layer 3 images with it!
Help with SMW Coin Counter Hack
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Help with SMW Coin Counter Hack
Pages: « 1 »
Hopefully this is in the right place. So anyway, here's my problem, I can't get the SMW Coin counter hack to work (the one that replaces the score with the 6-digit coin counter).

I know how to patch the smwcoincounter patch to my game and I think I'm doing the part where you insert the smwcoin_code.bin into the game but after that I'm lost and its all Greek to me. I have no HEX editing experience or asm experience so I really don't know what I'm doing when it comes to that kind of stuff.

If anyone would be kind enough to help me with this then it would be greatly appreciated.
I've used this patch successfully, so I'll give you steps from beginning to end...

1. First and foremost, backup your ROM incase you make any critical errors.

2. Patch the enclosed .ips to your ROM.

3. Now, you need a hex editor, if you don't already have one. I suggest Translhextion.

4. Now, start up Translhextion. The coin counter zip file should've come with a file called smwcoins_code.bin. Open that up in Translhextion, and copy all the values that show up.

5. Now, open up your ROM in Translhextion. You will need to find some free space in the ROM to insert your code. You'll know it's free space when you see a bunch 00's or FF's, however, I recommend using SMW Free Space Logger, which will pinpoint all areas with free space in your ROM.

6. Once you find an offset with free space, you'll need to jump to that offset. To do so, choose "Offset" at the top of the screen, and "Jump To". Now, insert the offset where the free space is. The offset must be prefixed by "x", so if you have free space at offset 120200, enter "x120200" into the text box.

7. It'll now take you to the free space area. Firstly, you will want to enter the following values into your free space: "53 54 41 52 5F 00 A0 FF". This will prevent the code from being overwritten. Now, right after where you entered these values, paste the values you copied from smwcoins_code.bin. Write down the offset in which you pasted this code.

8. Now, you will need to download Lunar Address to convert the offset you just wrote down to SNES format. In the left box of this program, enter the offset you wrote down. On the right side, it should output another value. Write this value down.

9. Now, go back into Translhextion, and jump to offset 1125 (Enter x1125 in the "Jump To" menu). You should see values that read "EE BF 0D AD BF 0D". Now you will need to replace these values with the following code: 22 xx xx xx A5 00. For the xx values, you will need to put in the value which you just converted to in Lunar Address. However, you must inverse the first two and last two digits. So say your converted value came out to be 20BF80. You would NOT put in 20 BF 80 into the xx values. Instead, you'd put in 80 BF 20.

10. Finally, test out your ROM in an emulator to see if it works.

And that should do it. I know it may seem like a lot, but if you follow it step-by-step, you oughta get it to work.
Thank you very much, I got it to work, your post was much easier to understand then the readme.

Now this brings me to a new question, Since I've got the coin counter to work my shop blocks don't seem to function (they did work before I added the coin counter). So is it possible to get the shop blocks to function with the coin counter? (I'm using the blocks from this site)
Those shop blocks are incompatible with the Coin Counter patch. The reason for that is because the patch doesn't actually expand the coin counter, it makes the coins you collect store in the SCORE counter. Therefore, the shop blocks can't read from the amount of coins you have, because in actuality, there is no more coin counter, they're just being stored in the score counter. I had to program custom shop blocks to read from the score counter instead, so you may need to do the same.
Darn, oh well thanks anyway, I have no idea how to program blocks but I guess now is as good as time as any to learn how.
If I had the .asm, I probably could do it...

I have no idea how to reprogram .bins
Originally posted by GuYoNfIr3
If I had the .asm, I probably could do it...

I have no idea how to reprogram .bins

you could use a disassembler to make it an .asm ;)
Pages: « 1 »
Forum Index - SMW Hacking - General SMW Hacking Help - ASM & Related Topics - Help with SMW Coin Counter Hack

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2013 - SMW Central
Legal Information - Link To Us


Total queries: 29

Menu