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 - some various questions about SMW's controller ASM | | | |
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: 1724/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
If I disable controller input through the action register, will mario still be able to jump and move if custom blocks input controlelr data? Right now, the jump command (b button) is executed before custom block code, while other movement code is executed after. I just need to prevent that from happening, since I'm coding a section that requires complete control of mario's movements, no player interaction allowed, period. | |||
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: 6526/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Not sure, but if it doesn't, you can always hook into the controller code and have all input be ANDed with a byte in RAM. Then you just set one of the bits of that byte to 0, and the button it corresponds to will be disabled. (I should do that. ) However, if Mario dies during this, you may have a problem. You'd be best off hacking the death code to reset it, or just using an address that gets reset to 0xFF between levels if one exists. (edited by HyperHacker on 08-23-05 09:27 PM) |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 1726/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
None exist. I'll do that, it should work well. the death code shouldn't be very hard to find at all with the memory map having it's location. I know where to find the controller ASM as well, the only reason I asked was because I'd thuoght there might be another way. better to do this anyways, though. Mario can't die during this, it's for a new credits sequence that resets the SNES at the end of the loop, and I can easily place new ASM at the very beginning of the ROM, along with some... protections I've designed. EDIT: are the TD&TSW/TM&TMW settings refreshed each frame? I'd like to remove the status bar in this special level, by removing layer 3 from both the sub screen and main screen, or even just masking it. EDIT2: I forgot to ask, could a mod please rename this thread to "various questions about SMW's inner workings"? it isn't just about controller data. (edited by Sukasa on 08-24-05 01:24 AM) (edited by Sukasa on 08-24-05 02:11 AM) |
|||
d4s Panser Level: 29 Posts: 282/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
Originally posted by Sukasa yeah, main/subscreen are copied from $0D9D, $0D9E to the equivalent regs each frame. but these buffers are updated only once per level change, so you can just write to these once, too and be done with it. keep in mind that the item box uses sprites. the easiest way to remove sprites is to just move them offscreen. why not make good use of the irq and disable sprites and bg3 using the above-mentioned buffers, then reenable them within the irq handler? its already set up to fire right below the status box. (edited by d4s on 08-24-05 03:28 AM) (edited by d4s on 08-24-05 03:30 AM) (edited by d4s on 08-24-05 03:30 AM) |
|||
Sukasa Boomboom Error 349857348734534: The system experienced an error. Level: 57 Posts: 1730/1981 EXP: 1446921 For next: 39007 Since: 02-06-05 From: *Shrug* Since last post: 6 days Last activity: 1 day |
| ||
eh, I don't really know too much about having to do with the irq, so that could be a small problem. I'll look up the irq stuff and see what I can figure out to make your idea work, I'll need to do it the way you mentioned for it to work properly for the sprites, but layer 3 can just stay off for the entire sequence, since the status bar shouldn't really appear in the credits sequence, should it? If you've got any advice, I would really appreciate it! |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Super Mario World hacking - some various questions about SMW's controller ASM | | | |