Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in SMW Hacking. |
Acmlm's Board - I3 Archive - SMW Hacking - What uses 8x8 Tile 7F in GFX00? | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
pikaguy900 Sparky Since: 08-10-06 Last post: 6445 days Last view: 6432 days |
| ||
^ Like the title says. GFX00.bin ends with an odd graphic that has two arrows pointing left and right. As far as I know, there's not a single sprite that uses that tile. If there is, what is it? I want to know if it's safe for me to place squished Goomba GFX there. (I don't like the Squished Goomba using Squished Koopa GFX.) Thanks in advance! | |||
Smallhacker Super Koopa I AM A Group Of Officially Frustrated Younglings, G.O.O.F.Y. MEMBER |
| ||
The tile itself is never used. However, the tile space is.
In other words, that tile is replaced with extra Mario tiles (parts of the cape, IIRC) in-game. Related question: Is the exclamation mark (tile 1D) in GFX00 used? (edited by Smallhacker on 12-12-06 04:20 PM) |
|||
Tatrion <_<; Since: 11-17-05 Last post: 6433 days Last view: 6432 days |
| ||
I'll take a stab at that one and say it's the exclamation point that appears above Mario's head in one of the castle-clear cutscenes. I don't know which one. | |||
pikaguy900 Sparky Since: 08-10-06 Last post: 6445 days Last view: 6432 days |
| ||
Originally posted by Smallhacker XD I was wondering that myself, and it was my next question. XD It looks like a part of the ! Switch Blocks, though. (Which reminds me, does the dialogue for Switch Palaces when you hit a switch use Tiles or Sprites when showing the ! Outlines and ! Blocks?) |
|||
BMF54123 Since: 11-18-05 From: MOOGLES Last post: 6432 days Last view: 6432 days |
| ||
It uses sprites. I actually came across the code for this while dissecting the message box routines last night.
Also, it might interest some of you to know that Mario's flying poses can use up to 5 sprites (3 16x16, 2 8x8), as illustrated by the colored squares in this image: (edited by BMF54123 on 12-13-06 05:43 AM) |
|||
Smallhacker Super Koopa I AM A Group Of Officially Frustrated Younglings, G.O.O.F.Y. MEMBER |
| ||
Originally posted by BMF54123 Got any interesting information to share? More specifically, got any information about the loading routine? I'd like to modify it to make which message to show to depend on other things than level number and X position. Originally posted by BMF54123 Am I the only one who really dislikes that the extra sprites were stored in GFX00? A routine that uploads the currently necessary tiles to GFX00 from, like... GFX32 would have been a lot better. It would have wasted less space in GFX00 and would prevent the extra tiles to suffer from the 3bpp syndrome. |
|||
BMF54123 Since: 11-18-05 From: MOOGLES Last post: 6432 days Last view: 6432 days |
| ||
Originally posted by SmallhackerWhy yes, I do! I just finished my own custom message system a couple nights ago, actually. $1BDD8: load 16-bit text pointer from table at $1C080 (later transferred to X) $1BE0A: load text from $address,X (LM changes this, so you'll need to add your JSR immediately afterwards) Messages are 18x8 tiles in size, and are stored as one long, unbroken string. #$FE terminates a message (I don't think you need to use this if your message fills the entire box). Basically, all you need to do is intercept these two instructions and plug in your own pointer/text address. With my system, I just store a message number (00-FF) to RAM before calling the message box routine. The main drawback to all this, of course, is that you have to edit your custom text with a hex editor. I prefer to set up the text in Notepad before copying it into Translhextion, where I use a Thingy table to map the text to standard ASCII. A little tedious, but the end result is so worth it. |
|||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6432 days Last view: 6432 days |
| ||
Hmmmmm, so your new system lets you choose from 256 messages for each message box? | |||
BMF54123 Since: 11-18-05 From: MOOGLES Last post: 6432 days Last view: 6432 days |
| ||
Actually, it's designed to be triggered by a custom routine (i.e. a custom block), but with a little hackery I could make it work with the message box sprites as well. I don't really plan on using the sprites much anymore, though. | |||
Kailieann Since: 11-18-05 Last post: 6432 days Last view: 6432 days |
| ||
Hm. I was thinking of doing the same thing, only a little more complicated.
My version would've used a long address to load the text from instead of an 8-bit pointer, and if possible I was going to add a special 'wait for button press and load next message' command. Of course, I've been too busy with other things to actually do any work, so.. moot point I guess. |
|||
BMF54123 Since: 11-18-05 From: MOOGLES Last post: 6432 days Last view: 6432 days |
| ||
The existing message system already uses a 16-bit index with a 24-bit address, both of which you can intercept and change at will, as I mentioned earlier. Somehow I doubt you'll need more than 32K for your message box text.
As for the "wait for button press" idea: as long as your code runs only once per frame, all it needs to do is trigger the message box code, exit, then immediately trigger it again on the next frame (make sure it also updates the message number each time). Repeat for any subsequent messages. This is what I did for the "storybook" scenes in SMO. |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - SMW Hacking - What uses 8x8 Tile 7F in GFX00? | | |