Language…
14 users online: anonimzwx, bradcomp, Dennsen86,  Donut, ForthRightMC, Fozymandias, hhuxy, oliver1, playagmes169, RichardDS90,  Segment1Zone2, steelsburg, tOaO, zAce08xZ - Guests: 280 - Bots: 320
Users: 64,795 (2,375 active)
Latest user: mathew

Supreme OAM handler

Patch

  • 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.
Want progress on 100 Rooms of Enemies: The Nightmare Edition? Go here to see.

(rip my other userbars momentarily)

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!
I'm open for music requests, just DM me on discord and we can further discuss there.
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!
I'm open for music requests, just DM me on discord and we can further discuss there.
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!
I'm open for music requests, just DM me on discord and we can further discuss there.
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!
I'm open for music requests, just DM me on discord and we can further discuss there.
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

Patch