Actions

SCHG

Chaotix

From Sonic Retro

Revision as of 18:07, 19 January 2010 by Andlabs (talk | contribs) (to be fair, some of the entries that will come up on this list (including this new one) were first identified by Heran and everyone else on that page.)

This is the Sonic Community Hacking Guide for Knuckles' Chaotix.

Palette Locations

Genesis Format

Palette Offset Description
$0066C8 Credits - Flames
$006E18 Sound Test - Foreground
$006E98 Sound Test - Amy
$2B3CF0 Amazing Arena - Morning / Day
$2B3D70 Amazing Arena - Sunset / Night
$2B3EF0 Techno Tower - Morning
$2B4070 Techno Tower - Day
$2B41F0 Techno Tower - Sunset
$2B42F0 Techno Tower - Night
$2B4470 Marina Madness - Morning
$2B44F0 Marina Madness - Day
$2B4570 Marina Madness - Sunset
$2B45F0 Marina Madness - Night
$2B4670 Introduction - Morning
$2B46F0 Introduction - Day
$2B4770 Introduction - Sunset
$2B47F0 Introduction - Night

MARS Format

Palette Offset Description
$00001924 HUD (maybe Sonic, Tails)
$0000E7C4 Espio's Rotating Palette
$0022921A Mighty The Armadillo
$0022923E Knuckles The Echidna
$0022925C Charmy The Bee
$0022927E Vector The Crocodile
$002292A0 Heavy The Mechanic
$002292BE Bomb The Mechanic
$002292DC Espio The Chameleon
$002299D6 Sega logo

To convert from standard RGB colors to MARS colors, use HBGDRGB2GBA32XCC.

Art Locations

Genesis Format Art, Nemesis-compressed

Art Offset Description
$22E100 8x8 Menu Font (same as in Sonic Crackers)
$2C2DC8 Sound Test Amy Rose
$2C4B20 Sound Test letters/numbers
$2C7818 Sound Test art
$2CE004 Special Stage background spheres
$2CFA40 Bonus Stage background

MARS Format Pointers

Note: All pointers for these locations add $2000000 to the listed offset.

Art Offset Description
$0A0504 Mighty
$0B18BC Knuckles
$0CB3B4 Charmy
$0D4E44 Vector
$0F1130 Bomb
$0F6A18 Heavy
$101304 Espio
$11B088 Mighty ring and hand

RAM Locations

These locations are offset from the base of RAM ($FF0000, which is mirrored to $FFFF0000).

RAM offset Size Description
$D460 $40 words Genesis palette cache.
$DFDE Word Current game mode. Known values:
  • $00: Sega screen
  • $08: Title screen
  • $18: Level
  • $20: Special Stage
  • $38: Demo
  • $40: Options Menu and Items
  • $50: Bonus Stage
$DFE0 Word Current game submode.
  • Sega Screen: used to determine which part of the animation to play.
  • Options Menu and Items:
    • $00: Options Menu
    • $04: Sound Test
    • $08: Color Test
    • $0C: Sound Test (jumps to the same location as $04)
$DFF2 Word Current level:
  • $00: Botanic Base
  • $01: Speed Slider
  • $02: Amazing Arena
  • $03: Techno Tower
  • $04: Marina Madness
  • $05: Isolated Island (Tutorial)
  • $06: Isolated Island (Introduction)
  • $07: World Entrance
  • $09: Bonus Stage
  • $0A: Special Stage
$DFF4 Word Current stage number; starts from 0.
$DFF6 Word Current time of day:
  • $00: Morning
  • $02: Day
  • $04: Sunset
  • $06: Night
$E008 Word Number of rings.
$FCE6 Byte Current pan of the ring sound; positive is left, negative/zero is right.
$FCFC Byte Current song; only set by a certain function and only used by the Bonus Stage to replay the previous song when exiting.
$FFD0 Byte Current demo number (0-4).

Other ROM Data

Genesis VDP Register List Locations

Knuckles' Chaotix reloads VDP registers with each game mode. At each address is a list of word corresponding to the register/value words sent to the VDP (unmodified). A word $0 ends the list.

ROM offset Description
$B34 Sega screen
$3736 Title screen
$4CE6 Level
$5A8A Special Stage

Contributors

Sonic Community Hacking Guide
General
SonED2 Manual | Subroutine Equivalency List
Game-Specific
Sonic the Hedgehog (16-bit) | Sonic the Hedgehog (8-bit) | Sonic CD (prototype 510) | Sonic CD | Sonic CD (PC) | Sonic CD (2011) | Sonic 2 (Simon Wai prototype) | Sonic 2 (16-bit) | Sonic 2 (Master System) | Sonic 3 | Sonic 3 & Knuckles | Chaotix | Sonic Jam | Sonic Jam 6 | Sonic Adventure | Sonic Adventure DX: Director's Cut | Sonic Adventure DX: PC | Sonic Adventure (2010) | Sonic Adventure 2 | Sonic Adventure 2: Battle | Sonic Adventure 2 (PC) | Sonic Heroes | Sonic Riders | Sonic the Hedgehog (2006) | Sonic & Sega All-Stars Racing | Sonic Unleashed (Xbox 360/PS3) | Sonic Colours | Sonic Generations | Sonic Forces
Technical information
Sonic Eraser | Sonic 2 (Nick Arcade prototype) | Sonic CD (prototype; 1992-12-04) | Dr. Robotnik's Mean Bean Machine | Sonic Triple Trouble | Tails Adventures | Sonic Crackers | Sonic 3D: Flickies' Island | Sonic & Knuckles Collection | Sonic R | Sonic Shuffle | Sonic Advance | Sonic Advance 3 | Sonic Battle | Shadow the Hedgehog | Sonic Rush | Sonic Classic Collection | Sonic Free Riders | Sonic Lost World
Legacy Guides
The Nemesis Hacking Guides The Esrael Hacking Guides
ROM: Sonic 1 | Sonic 2 | Sonic 2 Beta | Sonic 3

Savestate: Sonic 1 | Sonic 2 Beta/Final | Sonic 3

Sonic 1 (English / Portuguese) | Sonic 2 Beta (English / Portuguese) | Sonic 2 and Knuckles (English / Portuguese)
Move to Sega Retro
Number Systems (or scrap) | Assembly Hacking Guide | 68000 Instruction Set | 68000 ASM-to-Hex Code Reference | SMPS Music Hacking Guide | Mega Drive technical information