Spell Graphics Document
#18
Nice work with this, the result looks great!

I can add a couple pieces of information about the 6-byte graphics properties. In the byte 1, bit 6 (0x40) is the MSB of the tilemap offset from byte 1. Bit 7 (0x80) determines if the graphics is 2bpp (if 1) or 3bpp (if 0). Like you mention, the 16x16 tiles don't get loaded directly from ROM, but rather from the 2bpp or 3bpp tilemap, which are at D2/C000-D2/DFFF and D2/0000-D2/5FFF. You can view these tilemaps in FF6Tools via Ability -> Attack Tilemap (2bpp) or (3bpp).

Also, for the animation frame data at D1/0141-D1/E988, the 2-byte format is as follows:

Byte 0: xxxxyyyy (x,y) position for this tile
Byte 1: vhtttttt v/h flip and tile index

Each frame is terminated by 0xFFFF *OR* when it reaches the next pointer in the pointer table at D4/DF3C-D4/F645. So if your frames are sequential you can omit the 0xFFFF terminator to save 2 bytes. For reference, the subroutines that load this data are at C1/9F61 for BG threads and C1/A0C6 for sprite threads.
Reply


Messages In This Thread
Spell Graphics Document - by Zeemis - 03-02-2011, 06:11 PM
RE: Spell Graphics Document - by Gi Nattak - 03-02-2011, 06:31 PM
RE: Spell Graphics Document - by Zeemis - 03-02-2011, 06:52 PM
RE: Spell Graphics Document - by Gi Nattak - 03-02-2011, 07:12 PM
RE: Spell Graphics Document - by Zeemis - 03-02-2011, 07:50 PM
RE: Spell Graphics Document - by DjinnAndTonic - 03-02-2011, 09:33 PM
RE: Spell Graphics Document - by Zeemis - 03-02-2011, 11:31 PM
RE: Spell Graphics Document - by DjinnAndTonic - 03-03-2011, 12:41 AM
RE: Spell Graphics Document - by Zeemis - 03-03-2011, 03:33 AM
RE: Spell Graphics Document - by madsiur - 01-20-2013, 01:48 PM
RE: Spell Graphics Document - by madsiur - 02-01-2013, 09:43 PM
RE: Spell Graphics Document - by Zeemis - 02-01-2013, 11:49 PM
RE: Spell Graphics Document - by madsiur - 06-21-2015, 04:48 PM
RE: Spell Graphics Document - by sleepydude - 09-11-2015, 07:22 PM
RE: Spell Graphics Document - by Everything - 09-19-2015, 11:07 AM
RE: Spell Graphics Document - by sleepydude - 09-21-2015, 05:14 PM
RE: Spell Graphics Document - by DrakeyC - 10-27-2022, 01:34 PM
RE: Spell Graphics Document - by Everything - 10-27-2022, 07:25 PM
RE: Spell Graphics Document - by DrakeyC - 10-27-2022, 09:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Spell and equipment graphics Hashimo 3 3,455 11-21-2018, 01:49 AM
Last Post: Hashimo
  Document: Special effects seibaby 2 2,989 11-22-2017, 01:30 AM
Last Post: madsiur
  Spell animation event document (incomplete) 13375K37CH3R 2 4,208 03-08-2016, 03:46 AM
Last Post: 13375K37CH3R
  Menu Hacking Document Zeemis 2 4,232 07-08-2011, 12:18 AM
Last Post: SSJ Rick

Forum Jump:


Users browsing this thread: 1 Guest(s)