Crystal Beans From Dungeon Explorer:Patterns

From Data Crystal
Revision as of 17:38, 8 January 2012 by Neige (talk | contribs) (Created page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Pattern format

  • Instrument used = List of instrument indices (1 byte each) terminated by a $FF byte
  • Number of channel pointers in pattern
  • Channel pointers = list of 16-bits pointers using the next pointer's address as a base
  • Channel data

Example:

121CC9: 00 01 02 03 04 05 06 07 FF 07 0C 00 10 01 E5 01
121CD9: C3 02 5B 04 98 04 5F 05 ...
  • 121CC9: Instrument used = 0, 1, 2, 3, 4, 5, 6, 7, FF
  • 121CD2: Number of channels = 7
  • 121CD3: Channel pointer 0 = 121CE1 (121CD5 + 000C)
  • 121CD5: Channel pointer 1 = 121DE7 (121CD7 + 0110)
  • 121CD7: Channel pointer 2 = 121EBE (121CD9 + 01E5)
  • 121CD9: Channel pointer 3 = 121F9E (121CDB + 02C3)
  • 121CDB: Channel pointer 4 = 122138 (121CDD + 045B)
  • 121CDD: Channel pointer 5 = 122177 (121CDF + 0498)
  • 121CDF: Channel pointer 6 = 122240 (121CE1 + 055F)