Language…
10 users online: Aeon, dacin, DashGamer, DixyNL, drkrdnk, GRIMMKIN, JezJitzu, Nemesis1407,  Segment1Zone2, toady - Guests: 237 - Bots: 328
Users: 64,795 (2,376 active)
Latest user: mathew

Blocktool not working

I recently started my own hack, and I tried to insert some custom blocks using Blocktool. However, even after I open up the ROM in blocktool, find my block type, enter the Map16 number (though I'm not sure I'm doing that correctly), and saved, my block still acts like cement. I'm trying to get the +10 time block.
The old blocktool uses decimal offsets for the MAP16 number, while Lunar Magic is hex, so if you put 512 in the map16 number, it would be in MAP16 200 in Lunar magic.

Give Mario some love?~
Okay, first off, I think Blocktool and Spritetool are incompatible, if you use both the ROM will refuse to load at all. Second, even if you DO successfully insert custom blocks, most will just crash the game when you interact with them. From my experience, only the sticky and sensitive blocks work, and most others just crash the game. I'd strongly suggest NOT using custom blocks unless you can insert them via a hex editor.
Let's milk Sunny Milk. Then she'll have enough money to fund Sunny Milk Real Estate.
Everypony's digging with a shovel
Originally posted by Wiimeiser
Okay, first off, I think Blocktool and Spritetool are incompatible, if you use both the ROM will refuse to load at all. Second, even if you DO successfully insert custom blocks, most will just crash the game when you interact with them. From my experience, only the sticky and sensitive blocks work, and most others just crash the game. I'd strongly suggest NOT using custom blocks unless you can insert them via a hex editor.


Couldn't disagree more, I haven't had any problems at all and I've got about 10 in one level, you have to learn to set the offsets right.

Give Mario some love?~
What offsets? Do I need a :JMP at the start of every line or something?
Oh and if you wanna help my hack, see if you can insert blocks into BLOCKS to insert.ips (in the file bin) so that the game still loads more than 0 frames.
Let's milk Sunny Milk. Then she'll have enough money to fund Sunny Milk Real Estate.
Everypony's digging with a shovel
I do believe where talking about different things. He said Blocktool, you only need the table of JMP's with BTSD.

And the offsets I was talking about are the Above/Below/Sides ect.

Give Mario some love?~
I'm not completely sure if I'm looking in the correct place for the Map16 number, but I found the address number in the 16X16 editor in Lunar Magic, entered the number in an online calculator (since I'm using a mac, the built in calculator doesn't have hex), and converted it to Binary. Did I convert the wrong number?

And also, I'm emulating Blocktool in CrossOver. If it's because of that, please tell me.

And also, I'm not trying to use Spritetool. I'm trying to insert custom blocks, not sprites.
I just realized something. When a block doesn't work, it scans down through the inserted blocks until it finds one that does. That explains why the locked door in my hack acts like a sensitive block and breaks on contact.
As for my current problem, if I insert any blocks then the game never loads, the "Nintendo Presents" logo never appears. Is this because I inserted custom sprites with Spritetool, or because I heavily edited the levels?
Let's milk Sunny Milk. Then she'll have enough money to fund Sunny Milk Real Estate.
Everypony's digging with a shovel
Originally posted by God Of Fruit
I'm not completely sure if I'm looking in the correct place for the Map16 number, but I found the address number in the 16X16 editor in Lunar Magic, entered the number in an online calculator (since I'm using a mac, the built in calculator doesn't have hex), and converted it to Binary. Did I convert the wrong number?


You need to convert to decimal.

Give Mario some love?~
Sorry. I meant decimal. I don't know why I said Binary.
Wait.... is the block doing what you want? If its just that you can't pass through it then in the 16x16 editor click on the block and 'Edit 16x16 attributes' change act like to '25' and right click back on that tile.

F9 to save!

Give Mario some love?~
Wait, you can press F9 to save? I didn't know that. I'll try it.

And no, it's not doing what I want. I'm trying to make it increase my time by 10 seconds. Unfortunately, it's just acting like a normal cement block and doing nothing.
Yes, F9 saves any changes to MAP16.. if that was what the problem was I'm going to smack myself. XD

Give Mario some love?~
Actually, that's still not the problem. It's still acting like cement and not increasing my time. Should I try converting the tile number (instead of the address) into decimal and putting THAT as the map16?
Let me expain this the best way I can:

In blocktool:
-)Insert block to rom as map16 number 512.
-)Save

In Lunar Magic:
-)Go to the 16x16 tile map editor.
-)Go to the tile number 0x200.
-)Choose the 8x8 tiles you want to use
-) Push F9 to save map16.
-)Your done!

The old blocktool numbers are always in decimal form, so when using in Lunar Magic always go the tile number in Hex.

Give Mario some love?~
YES!!! It worked! Now the block actually adds 10 seconds to the timer so I can edit my Yellow Switch Palace. Thanks.

Now I can make some custom graphics for the block.