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 - LevelASM v1.0 - the hacking marathon continues! | | | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
User | Post | ||
BMF98567 BLACK HAS BUILT A SILLY DICE-MAZE! GO! Current list of BURNING FURY >8( recipients: - Yiffy Kitten (x2) - Xkeeper Level: 53 Posts: 1145/1261 EXP: 1094149 For next: 62970 Since: 03-15-04 From: Blobaria Special Move: Rising Meatloaf Backhand Combo Since last post: 21 hours Last activity: 1 hour |
| ||
Using top-secret technology previously revealed in my "Name That Level!" thread, I have come up with a level-number-based successor to palette-based ASM: LevelASM! Just call it "PALASM - The Next Generation." RELEVANT LINKAGE Complete instructions are in the README. Enjoy! |
|||
The Kins Kodondo Level: 38 Posts: 569/595 EXP: 354733 For next: 15714 Since: 03-15-04 From: Melbourne, VIC, Australia Since last post: 2 days Last activity: 9 hours |
| ||
Sounds like chocolate. Can't wait to see what the ASM people come up with using this. |
|||
Smallhacker Green Birdo SMW Hacking Moderator Level: 68 Posts: 2104/2273 EXP: 2647223 For next: 81577 Since: 03-15-04 From: Söderhamn, Sweden Since last post: 10 hours Last activity: 9 hours |
| ||
Level ASM? Executes code depending on level number instead of palettes? Damn! I was planning on doing that! | |||
BMF98567 BLACK HAS BUILT A SILLY DICE-MAZE! GO! Current list of BURNING FURY >8( recipients: - Yiffy Kitten (x2) - Xkeeper Level: 53 Posts: 1147/1261 EXP: 1094149 For next: 62970 Since: 03-15-04 From: Blobaria Special Move: Rising Meatloaf Backhand Combo Since last post: 21 hours Last activity: 1 hour |
| ||
Aww, I'm sorry. In response to your post in my other thread: the levelnum.ips patch included in this package is all you need to get the current level number. The miniscule hack simply snags the number during the level loading routine, before it's erased, and stores it at $010B. Knowing the current level number will allow me to overhaul practically everything in my hack...I can finally assign HDMA effects by level (as d4s's system does), or alter the message box code to load different messages for sub-levels... |
|||
Tweaker Red Paragoomba Level: 12 Posts: 56/57 EXP: 6490 For next: 1431 Since: 03-20-05 From: Rochester, NY Since last post: 25 days Last activity: 13 days |
| ||
Heh, awesome how something so simple can make things so much easier. Great job, BMF. You never cease to amaze me. |
|||
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: 7152/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 BMF54123 You do and I'll... uh... be very thankful. |
|||
d4s Panser Level: 29 Posts: 311/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
am i wrong when i'm saying you got the inspiration for that level-based selection from my hdma pack? :> anyway, cool stuff. |
|||
BMF98567 BLACK HAS BUILT A SILLY DICE-MAZE! GO! Current list of BURNING FURY >8( recipients: - Yiffy Kitten (x2) - Xkeeper Level: 53 Posts: 1149/1261 EXP: 1094149 For next: 62970 Since: 03-15-04 From: Blobaria Special Move: Rising Meatloaf Backhand Combo Since last post: 21 hours Last activity: 1 hour |
| ||
Originally posted by d4sWell, maybe just a little. I knew I forgot to add something to the README... Just out of curiosity, how did you find the current level number? The game temporarily writes it to $0E during the level-loading routine, so I just hacked it to write to $010B as well (which is never erased). (edited by BMF54123 on 09-21-05 07:07 AM) |
|||
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: 7181/8210 EXP: 18171887 For next: 211027 Since: 03-15-04 From: Canada, w00t! LOL FAD Since last post: 2 hours Last activity: 2 hours |
| ||
Hey, where does it stick the high bit? (To determine whether you're in level 0xx or 1xx.) | |||
BMF98567 BLACK HAS BUILT A SILLY DICE-MAZE! GO! Current list of BURNING FURY >8( recipients: - Yiffy Kitten (x2) - Xkeeper Level: 53 Posts: 1151/1261 EXP: 1094149 For next: 62970 Since: 03-15-04 From: Blobaria Special Move: Rising Meatloaf Backhand Combo Since last post: 21 hours Last activity: 1 hour |
| ||
$010C. The level number's 16-bit. | |||
d4s Panser Level: 29 Posts: 312/325 EXP: 142151 For next: 5734 Since: 03-23-04 Since last post: 13 days Last activity: 1 day |
| ||
heres my code that writes the current level number to a certain variable. ive attached the overworld zones, too, my code handles them as level numbers $200-$204. because overworld hdma stuff tends to be buggy, i havent documented it, but you can enable hdma effects on the overworld by adding 5 more level slots to the levelattributes file in my hdma pack. heres the subroutine for that without comments, but its not hard at all, just a tad messy. :> SmwCalculateLevelNumber: php rep #$30 lda.w $13BF ;get games level number cmp.w #$01FF bpl SmwProcessOverworldNumber cmp.w #$0024 ;check if level number is below $24 bmi SmwDontAddLevelNumber clc adc.w #$00dc SmwDontAddLevelNumber: sta.w SmwLevelNumberLo SmwDontProcessLevelNumber: plp rts SmwProcessOverworldNumber: lda.w $1F11 and.w #$00ff clc adc.w #$0200 bra SmwDontAddLevelNumber (edited by d4s on 09-21-05 07:22 PM) |
|||
Glyph Phoenix Level: 39 Posts: 574/745 EXP: 385876 For next: 18895 Since: 11-07-04 Since last post: 2 hours Last activity: 2 hours |
| ||
This will be better than having to make a custom palette every level, but still, I'm not too fond of subroutining each level by hand. I think I'll start working on a spriteASM system instead. But I shouldn't look a gift blob in the mouth. I don't want to be Rising Meatloaf Backhand Combo'd. |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread |
Acmlm's Board - I2 Archive - Super Mario World hacking - LevelASM v1.0 - the hacking marathon continues! | | | |