Actions

Difference between revisions of "Sonic & Knuckles Collection/Technical information"

From Sonic Retro

m (Text replacement - "{| class="prettytable"" to "{|class="prettytable" style="width:auto;"")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{stub}}
+
{{back}}[[Category:Technical information]]
__NOTOC__
+
{{cleanup}}
This is the '''[[Sonic Community Hacking Guide]] for ''[[Sonic & Knuckles Collection]]'', the PC version of ''[[Sonic the Hedgehog 3 & Knuckles]]''.''' <br>
+
 
All data except for music is identical to the Genesis version but byteswapped (order goes 1,0,3,2 instead of 0,1,2,3).
+
All data except for music is identical to the Mega Drive version but byteswapped (order goes 1,0,3,2 instead of 0,1,2,3).
==Level Data==
+
==Level data==
===Level Layout===
+
===Level layout===
 
:''Main Article: [[SCHG:Sonic the Hedgehog 3 & Knuckles/Level Editing#Level Layout]]''
 
:''Main Article: [[SCHG:Sonic the Hedgehog 3 & Knuckles/Level Editing#Level Layout]]''
 
{|class="prettytable" style="width:auto;"
 
{|class="prettytable" style="width:auto;"
Line 17: Line 17:
  
 
==Graphics==
 
==Graphics==
===Art Tiles===
+
===Art tiles===
These use the standard Genesis format and can be edited with any tile editor.
+
These use the standard Mega Drive format and can be edited with any tile editor.
 
{|class="prettytable" style="width:auto;"
 
{|class="prettytable" style="width:auto;"
 
!Start Address||End Address||Description
 
!Start Address||End Address||Description
Line 135: Line 135:
 
|}
 
|}
  
==RAM Editing==
+
==RAM editing==
 
:''Main Article: [[SCHG:Sonic the Hedgehog 3 & Knuckles/RAM Editing]]''
 
:''Main Article: [[SCHG:Sonic the Hedgehog 3 & Knuckles/RAM Editing]]''
 
The RAM starts at 08FF0000.
 
The RAM starts at 08FF0000.
  
==Save File==
+
==Save file==
 
{|class="prettytable" style="width:auto;"
 
{|class="prettytable" style="width:auto;"
 
!Offset||Type||Description
 
!Offset||Type||Description
Line 146: Line 146:
 
| $54 bytes
 
| $54 bytes
 
| Sonic the Hedgehog 3 & Knuckles save slots (8 slots, $A bytes each)
 
| Sonic the Hedgehog 3 & Knuckles save slots (8 slots, $A bytes each)
{|class="prettytable"
+
{| class="prettytable" style="width:auto;"
 
!  Offset  || Value  ||Description
 
!  Offset  || Value  ||Description
 
|-
 
|-
Line 191: Line 191:
 
|$09    ||  Byte  || Current Number of Continues
 
|$09    ||  Byte  || Current Number of Continues
 
|}
 
|}
* Note that byte $02 also keeps a record of special stages played through, whether you won or lost it. It updates by $01's.
+
* Note that byte $02 also keeps a record of special stages played through, whether you won or lost it. It updates by $01s.
 
|}
 
|}
  
{{SCHGuides}}
+
==References==
[[Category:Sonic Community Hacking Guide]]
+
<references />
 +
 
 +
{{SKCOmni}}

Latest revision as of 05:37, 25 March 2020

Back to: Sonic & Knuckles Collection.
Sonicretro-round.svg This article needs cleanup.

This article needs to be edited to conform to a higher standard of article quality.
After the article has been cleaned up, you may remove this message. See How to Edit a Page for help.

All data except for music is identical to the Mega Drive version but byteswapped (order goes 1,0,3,2 instead of 0,1,2,3).

Level data

Level layout

Main Article: SCHG:Sonic the Hedgehog 3 & Knuckles/Level Editing#Level Layout
Location Level
259F34 Angel Island Zone Act 1
25A780 Angel Island Zone Act 2

Graphics

Art tiles

These use the standard Mega Drive format and can be edited with any tile editor.

Start Address End Address Description
1302B 1374A HUD Numbers, Debug Numbers
593DC 70A7B Tails
70A7C 73B3B Mini Sonic
73B3C 76E5B Mini Tails
76E5C 7A2DB Mini Knuckles
7A46C 7D28B Sonic Surfing (Unused)
7E180 84A3F Invincibility Stars, Puff of Smoke, Shields
95118 95AD7 CNZ Cannon
95AD8 96257 Drowning Countdown
96258 96757 SONIC/MILES BG
E7654 E7CB3 Some Knuckles Sprites
E91F4 EAD93 Butterdroid and Cluckoid
EC4D8 ECD43 Some Knuckles Sprites?
EE198 EF838 Hyudoro
F50F0 F776F Knuckles from HPZ cutscene
100F78 101AB7 Knuckles from SSZ
117244 117CE3 Rhinobot
11D5DC 11DFFB Bubbles
11EE54 11FF93 Clamer
1240A8 125087 Penguinator
127E28 129147 Flybot767
1313DC 1320DB Signpost
132D40 137C1F more Knuckles
137CF4 13A993 Big Ring
1A2EAC 1C2DCB Sonic
1C2F8C 1E2D0B Knuckles
1E2F0C 1E6BAB Sonic Extra
1E6BAC 1E94CB Tails Extra

RAM editing

Main Article: SCHG:Sonic the Hedgehog 3 & Knuckles/RAM Editing

The RAM starts at 08FF0000.

Save file

Offset Type Description
180 $54 bytes Sonic the Hedgehog 3 & Knuckles save slots (8 slots, $A bytes each)
Offset Value Description
$00-$01 Word Slot State
$8000 New Game
$0000 Game in Progress
$0100 Game Complete
$0200 Game Complete with all Chaos Emeralds
$0300 Game Complete with all Super Emeralds
$02 Byte Current Character
$00 Sonic And Tails
$10 Sonic
$20 Tails
$30 Knuckles
$03 Byte Current Level
$0C Last level for knuckles
$0D Last level for Sonic without chaos/super emeralds, or Tails
$0E Last level for Sonic with at least all Chaos Emeralds
$04 Byte Unknown
$05 Byte Something with Special Stages Array
$06 Byte Something with Collecting a Chaos Emerald
$07 Byte Something with Collecting a Super Emerald
$08 Byte Current Number of lives
$09 Byte Current Number of Continues
  • Note that byte $02 also keeps a record of special stages played through, whether you won or lost it. It updates by $01s.

References


Sonic & Knuckles Collection
SKC Title.png

Main page | Hidden content | Magazine articles | Technical information