Banner
Views: 853,629,607
Time:
23 users online: Aja, autisticsceptile1993,  bebn legg, chickaDEE Magazine, goldenrules, HamOfJustice, ideka13, Isikoro, jakei,  KevinM, King Mayro,  MarioFanGamer, Mega, MikeyGTD,  Ninja Boy, RetroDario, RinasSam, Sariel, Sping bot, TheBiob, Veck, Zandro, Zidan3 - Guests: 67 - Bots: 53 Users: 47,102 (2,502 active)
Latest: jakei
Tip: If you're using the wall-running purple triangles in your hack, remember to add tile 1EB (or a tile that acts like tile 1EB) underneath it. Extended object 44/45 will include this tile for you.Not logged in.
Supreme OAM handler
Forum Index - Sunken Ghost Ship - C3 Museum - Summer 2015 - Supreme OAM handler
Tags:
Pages: « 1 2 »
Originally posted by Kaisaan Siddiqui
What exactly is the OAM patch for?


Supreme OAM handler?
It's like a more modern NMSTL which handles tiles in $0300 OAM space. I guess that's better, I have no idea about OAM.
To explain it simply, OAM is the table that determines where to show sprite tiles on the screen.
Mario for example takes up two slots for his head and body tiles (and a few extra when he's running/jumping), Goombas use up 1 because they're only 1 tile high etc.

This patch just makes the handling of those tables more efficient, thus reducing disappearing sprite tiles (like what NMSTL already does), so you can have a ton of giant sprite on screen without anything looking cut-off and I assume it's a bit faster than NMSTL too, though Von Fahrenheit hasn't said anything about that.

--------------------
Your layout has been removed.
Originally posted by leod
This patch just makes the handling of those tables more efficient, thus reducing disappearing sprite tiles (like what NMSTL already does), so you can have a ton of giant sprite on screen without anything looking cut-off and I assume it's a bit faster than NMSTL too, though Von Fahrenheit hasn't said anything about that.


It is faster. I put it in the main post too so it's easier to see.

allow shy guy emojis in post footers you cowards!
Originally posted by Von Fahrenheit
The messages are accessed with index registers in 8-bit mode so you can have up to 128 intro messages, which I imagine is way more than you need.

About that... it seems for me that it only chooses the first or the last message.

Code
	.Ptr
		dw Message1
		dw Message2
		dw Message3
		dw Message4
		dw Message5


It only shows either Message1 or Message5; the middle ones are ignored (unless I'm doing something wrong).

E: I also added the messages, just so we're clear.

--------------------
Are you an ASM coder and want to trade "resources"? Private Message me for details.
(I also offer SMW Custom Songs in exchange for ASM! I don't do ports though unless it's to remix.)

Want progress on 100 Rooms of Enemies: The Nightmare Edition? Go here to see.

Are you a sample porter and wanna help with 100 Rooms of Enemies: The Nightmare Edition? Private Message me or Mellonpizza for details. Expect trading "resources" in exchange. 4 more left.




Whoops, I'm stupid. I goofed up the random number algorithm and it wouldn't generate good values. I fixed it now though and it should be able to handle and number of messages between 1 and 128.

allow shy guy emojis in post footers you cowards!
Fanatical like a Demon
Does it work on Mode 7 bosses?
Major thanks to Suika Ibuki for layout!
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
Originally posted by LadiesMan217
Does it work on Mode 7 bosses?


Probably not (as in it shouldn't make a difference). I don't know much of how the mode 7 sprite backgrounds are handled to be honest, but they use the really obscure register mirrored to $3F to mess with sprite priority. I could look it up and add support for it in version 2.0.

allow shy guy emojis in post footers you cowards!
Fanatical like a Demon
That would so nice. I've been waiting FOR a NMSTL ptlatch that could work on Mode 7 bosses for the longest time since I'm planning to use them in my hack.
Major thanks to Suika Ibuki for layout!
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
Originally posted by LadiesMan217
That would so nice. I've been waiting FOR a NMSTL ptlatch that could work on Mode 7 bosses for the longest time since I'm planning to use them in my hack.


What exactly is it that you need? Do you want to be able to use regular sprites during boss fights or is it something else? I'm guessing you want the sprite backgrounds changed somehow.

allow shy guy emojis in post footers you cowards!
Fanatical like a Demon
I jx want to add more sprites in general without the sprite bg screwing up, or Bowser's castle rooftop prices disappearing. I'll link some videos of my boss fights and maybe you'll know what I mean.
Major thanks to Suika Ibuki for layout!
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
That's awesome! Are you gunna release it to the patch section once all the bugs ironed out?

--------------------
Give thanks to RPG hacker for working on Asar.
Originally posted by GreenHammerBro
That's awesome! Are you gunna release it to the patch section once all the bugs ironed out?


That's the plan. I once said I was working on a project meant to revolutionize dynamic sprites in smw hacking and the OAM handler is part of it. This project VR2 would also include better dynamic sprite support (this part is probably made obsolete by Dynamic Z looming around the corner) dynamic palettes and dynamic sprite sets (yes, finally). Based on suggestions I also want to add better compability with custom cluster and extended sprites. Lastly, I would also include a system for sprite backgrounds, essentially giving you an extra layer to make sweet BGs with. Yeah, it might take a while until it's done. I'll releade the OAM handler as a standalone patch once I fix the bugs though.

allow shy guy emojis in post footers you cowards!
Quote
dynamic sprite sets (yes, finally)

Is this... true?

I'm going to cry if you make that true.

Quote
Based on suggestions I also want to add better compability with custom cluster and extended sprites

Adding better compatibility with any type of sprite would be cool, I use some minor extended sprites on my hack and this would be really cool.

Quote
Lastly, I would also include a system for sprite backgrounds, essentially giving you an extra layer to make sweet BGs with.

...

please, stop...

I'm dying...

Make everything you said true and I will fall in love. not really

Good job! I'm going to expect really cool stuff from you.
Fanatical like a Demon
If you were wondering my last post on what I meant, I meant for something like this. Too many sprite tiles disappear, like the eeries, Magikoopa's magic, and sometimes pieces of the castle. Other things go haywire with Ludwig's bg as well.
Major thanks to Suika Ibuki for layout!
SMAS Soundtrack Status: 100% finished
YI Soundtrack Status: 100%
YI Unsampled Soundtrack Status: 100%
NSMB Soundtrack Status: 7.89%
Killer Instinct Soundtrack Status: 14.63%
SPC Thread
From our family to you, keep your pants dry, your dreams wet, and remember, hugs not drugs.
Is this compatible with AMK?
Pages: « 1 2 »
Forum Index - Sunken Ghost Ship - C3 Museum - Summer 2015 - Supreme OAM handler

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

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy