Register | Login | |||||
Main
| Memberlist
| Active users
| ACS
| Commons
| Calendar
| Online users Ranks | FAQ | Color Chart | Photo album | IRC Chat |
| |
1 user currently in Super Mario World hacking: |
Acmlm's Board - I2 Archive - Super Mario World hacking - Having problems with on/off custom block | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 163/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Hey! I was trying to make a custom block that turns the on/off flag on or off, but it is not working. I am trying to get it so that the block does not make a sound or do anything else. This is the code for the on block, the one I am trying to work on right now LDA #$1 STA $7E14AF RTS The offsets in blocktool are all -1 right now. I tried some other offsets use by the other on/off blocks in the blocktool database, but it always crashed either SMW or ZSNES when I did that. does anyone know what I am doing wrong/how I can fix it? |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 1369/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
If that is the only code in the block, then the offset to be entered in blocktool should be 0. For example, if you want it to be activated when touched from below, set all of the offsets to -1, except for the below offset, which should be set to 0. (edited by Smallhacker on 03-12-05 05:49 PM) |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 167/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
OK. thankyou. I am sorry if I was being noobish, bu t I am a noob at SMW hacking in general. (at least I think i'm still qualified as a noob). EDIT: I tried that. It crashed ZSNES. I'd better see what I screwed up this time. EDIT2: The damn block seems to like messing up my Layer 1 and Layer 2 positioning GFX wise whenever I touch it, and crashed SMW. How do three lines of code do that?! EDIT3: Gah! I give up. Stupid custom block... (edited by Darkflight on 03-12-05 09:28 PM) (edited by Darkflight on 03-13-05 12:28 AM) (edited by Darkflight on 03-13-05 12:37 AM) |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 1371/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
This is a stupid question, but... Did you assemble the block or did you just give Blocktool the source code? |
|||
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: 3672/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
And if you did assemble it, did the assembler add any padding? Gotta get rid of that. | |||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 176/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
I'll check that. I did compiler the code with x816 compiler from zophars. I'm not {no telling you his name, you can guess}. By padding, what do you mean? |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 1379/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
Originally posted by Darkflight Does that mean that it assembles to 65c816 ASM? |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 179/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
I was pretty sure is did. I will have another look to be sure. Knowing me, I compiled it into NES code.(I can't remember the number) EDIT: No, it compiles into 65816. (edited by Darkflight on 03-13-05 04:54 PM) |
|||
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: 3687/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Originally posted by Darkflight Some of them like to add a bunch of zeroes to make it a valid size for a ROM. It won't do you any good in this case. |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 183/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
Hmmmm. So where did I go wrong? I'll just have to try more offsets systematically, I guess. ESIT; got thwe blocks to work, sorta... the OFF block seems to like flashing the wall when mario is only a few pixel in on the left side only. No reason I can think for this, because the three-line code souldn't do that. Is SMW multi-threaded? (edited by Darkflight on 03-14-05 02:40 PM) |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Super Mario World hacking - Having problems with on/off custom block | | | |