|
|
 |
|
 |
|
Views: 236,319,697 Time: 2013-05-22 05:59:54 PM | 24 users online: Adam, Archie, Arctic Avenger, Deeke, Ersanio, Fireblast124, Gloomy Star, Golden Yoshi, HyperMario, imamelia, kianworld, Kobrah, Magiluigi, MarioBros980, MVS, omegazeroINFI, Rextep, ShadowPhoenix, Usetheforce, Vic Rattlehead, WeegeeBen, X-cniS, yogui, Yoshi Master - Guests: 47 - Bots: 10 | Users: 22,863 (1,278 active) Latest: LONTOR505 |
|
|
 |
|
 |
|
| Tip: Check this thread for a list of SMW sound effects. |
|
|
|
 |
|
 |
|
|
|
|
|
 |
|
 |
|
| YXPPCCCT Format |
|
Forum Index - SMW Hacking - General SMW Hacking Help - Tutorials - YXPPCCCT Format |
|
Pages: 1  |
|
|
|
| Posted on 2009-10-25 04:31:29 PM |
Link | Quote |
|
The YXPPCCCT format is used to store sprite tilemap properites. The information is stored in binary and makes up a single byte.
76543210
YXPPCCCT
X : X flip
Y : Y flip
PP : Priority
CCC: Palette
T : Bit 8 of tile number
To change tilemap properties stored in yxppcct format, one must convert the hex value into binary. This is usually done with the aid of the computer's calculator. For instance, the value 45 in hex becomes 01000101. Broken down, this becomes:
0 | 1 | 00 | 010 | 1
X | Y | PP | CCC | T
The "0" for X means that the tile is not flipped horizontally.
The "1" for Y means that the tile is flipped vertically.
The "00" for PP means that the tile does not take priority. (If two tiles are occupying the same space, this one will appear beneath one that has priority)
The "010" for CCC means that the tile uses yellow palette A. The values for palettes are as follows:
•000 - Palette 8 (Mario)
•001 - Palette 9 (Grey)
•010 - Palette A (Yellow)
•011 - Palette B (Blue)
•100 - Palette C (Red)
•101 - Palette D (Green)
•110 - Palette E
•111 - Palette F
The "1" for T means that the tile is on the second graphics page (While 0 would put it on the first graphics page)
Once changes are made to the binary bits, they must be converted back into a single hex byte for SMW to be able to read it.
Ddoomm10's Note
This is taken directly from SMWiki's backup and should be used for those people who don't understand what it is and needs pictures for Romi's cutscene too.
And lemme guess, this thread will incorporate some new rule or something?
|
| Last edited on 2009-10-25 04:44:06 PM by Roy. |
|
| Posted on 2009-10-25 04:41:53 PM |
Link | Quote |
|
|
Actually, it's YXPPCCCT.
|
|
| Posted on 2009-10-25 04:44:56 PM |
Link | Quote |
|
QuoteThis is taken directly from SMWiki's backup and should be used for those people who don't understand what it is and needs pictures for Romi's cutscene too.
Don't trust SMWiki that much. It's a wiki, after all.
Please edit the thread to match the correct information.
|
| Last edited on 2009-10-25 04:46:01 PM by Ersanio. |
|
| Posted on 2009-10-25 06:30:28 PM |
Link | Quote |
|
|
Umm...I am not so sure what you mean Ersanio. I never really knew YXPPCCCT except from the wikia. I'm not really sure what to edit.
|
|
| Posted on 2009-10-25 07:16:15 PM |
Link | Quote |
|
|
No offense but Iceyoshi's sprite programming tutorial already goes into everything here. Meaning, at least to me, the only use of this thread besides the ease of access would be nothing. And for this to be a tutorial on its own, you haven't done a good job describing what YXPPCCCT is good for or even where it's used.
|
|
| Posted on 2010-06-20 07:50:31 PM |
Link | Quote |
|
|
What priority value would one give to the Pipe-Dwelling Lakitus?
|
|
| Posted on 2010-06-21 12:51:29 AM |
Link | Quote |
|
|
00.
|
|
|
Pages: 1  |
|
|
|
|
Forum Index - SMW Hacking - General SMW Hacking Help - Tutorials - YXPPCCCT Format |
|
|
 |
|
 |
The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.
Copyright © 2005 - 2013 - SMW Central Legal Information - Link To UsTotal queries: 29
|
|
|
|