-
Notifications
You must be signed in to change notification settings - Fork 11
OAM in Rhythm Tengoku
Nintendo GBA OAM are what define the Tile, Location, Size, Shape of an sprite.
They are basically what define a sprite.
In Rhythm Tengoku they are in this format:
0x00: Number of OAM in group.
0x01: Always 0
OAM:
0x00: Y_Position
0x01: Shape(00: Square; 40: Horizontal; 80: Vertical)
0x02: X_Position
0x03: Size
0x04: Tile
0x05(1): Palette
To change the OAM we either need to change them manually using the documentation and a hex editor
or use the Rhythm Heaven Sprite Editor.
In this guide I'll show how to use the Rhythm Heaven Sprite Editor.
First let's see the how to open an OAMs
- Click on File
- Click on Open
- Open an Rhythm Tengoku ROM
- Open an 4bpp GBA tile dump that is 32kb (If your file is 8kb, add 28kb of 0 they will not be used)
- Open the "palettedump.dmp" that is on the "Other (Unneeded) Files" folder
You'll notice that nothing happened. Because there no OAM loaded right now.
To load an OAM, you need his offsets in the ROM.
If you loaded Karate Man tile dump, the offset is 0x8ACCDC
You should see that:
(I'll continue the guide tommorow)