Difference between revisions of "Sonic Adventure 2 (PC)/EXE Editing"
From Sonic Retro
MainMemory (talk | contribs) m (→Misc. Code) |
m (Text replacement - "{| class="prettytable" style="width:70%;"" to "{| class="prettytable" style="width:auto;"") |
||
(14 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
__NOTOC__ | __NOTOC__ | ||
This page is about various things you can edit in the sonic2app.exe file.<br /> | This page is about various things you can edit in the sonic2app.exe file.<br /> | ||
− | Note: In order to edit any of these values in a file, you will have to get [http://mm.reimuhakurei.net/misc/sonic2app_decrypt.7z the decrypted exe]. {{red|'''Make sure the values given match your exe before editing it!'''}} | + | Note: In order to edit any of these values in a file, you will have to get [http://mm.reimuhakurei.net/misc/sonic2app_decrypt.7z the decrypted exe].<br /> |
+ | {{red|'''Make sure the values given match your exe before editing it!'''}} | ||
==Misc. Code== | ==Misc. Code== | ||
This section is for code that doesn't fit into any of the above sections. | This section is for code that doesn't fit into any of the above sections. | ||
− | {| class="prettytable" | + | {| class="prettytable" style="width:auto;" |
!Description||Address (EXE)||Address (RAM)||Original Bytes||Replace With | !Description||Address (EXE)||Address (RAM)||Original Bytes||Replace With | ||
|- | |- | ||
Line 22: | Line 23: | ||
|- | |- | ||
| Make all stages (minus Route 101, Route 280 and Chao World) appear in the stage select regardless of whether you've unlocked them | | Make all stages (minus Route 101, Route 280 and Chao World) appear in the stage select regardless of whether you've unlocked them | ||
− | | | + | | 2767BC |
| 6773BC | | 6773BC | ||
| 0F 95 C3 | | 0F 95 C3 | ||
Line 28: | Line 29: | ||
|- | |- | ||
|rowspan="2"| Make all stages (minus Route 101 and Route 280) show a character select instead of a mission select | |rowspan="2"| Make all stages (minus Route 101 and Route 280) show a character select instead of a mission select | ||
− | | | + | | 275A48 |
| 676648 | | 676648 | ||
| 74 | | 74 | ||
| EB | | EB | ||
|- | |- | ||
− | | | + | | 2776DA |
| 6782DA | | 6782DA | ||
| 35 | | 35 | ||
Line 45: | Line 46: | ||
|- | |- | ||
| Disable the emerald radar | | Disable the emerald radar | ||
− | | | + | | 339E70 |
| 73AA70 | | 73AA70 | ||
| 66 | | 66 | ||
Line 51: | Line 52: | ||
|- | |- | ||
| Make the goal ring appear for Knuckles and Rouge | | Make the goal ring appear for Knuckles and Rouge | ||
− | | | + | | 2C57F1 |
| 6C63F1 | | 6C63F1 | ||
| 77 | | 77 | ||
Line 75: | Line 76: | ||
|- | |- | ||
| Always load 2P layout | | Always load 2P layout | ||
− | | | + | | 883AB |
| 488FAB | | 488FAB | ||
| 0F 84 85 00 00 00 | | 0F 84 85 00 00 00 | ||
Line 81: | Line 82: | ||
|- | |- | ||
| Never load 2P layout | | Never load 2P layout | ||
− | | | + | | 883AB |
| 488FAB | | 488FAB | ||
| 0F 84 | | 0F 84 | ||
Line 87: | Line 88: | ||
|- | |- | ||
| Load 2P layout in 1P and 1P layout in 2P | | Load 2P layout in 1P and 1P layout in 2P | ||
− | | | + | | 883AC |
| 488FAC | | 488FAC | ||
| 84 | | 84 | ||
Line 93: | Line 94: | ||
|- | |- | ||
| Always load hard mode layout | | Always load hard mode layout | ||
− | | | + | | 8843D |
| 48903D | | 48903D | ||
| 75 4C | | 75 4C | ||
Line 99: | Line 100: | ||
|- | |- | ||
| Never load hard mode layout | | Never load hard mode layout | ||
− | | | + | | 8843D |
| 48903D | | 48903D | ||
| 75 | | 75 | ||
Line 105: | Line 106: | ||
|- | |- | ||
| Load hard mode layout in missions 1-4 and normal layout in hard mode | | Load hard mode layout in missions 1-4 and normal layout in hard mode | ||
− | | | + | | 8843D |
| 48903D | | 48903D | ||
| 75 | | 75 | ||
Line 127: | Line 128: | ||
|- | |- | ||
|rowspan="2"| Fix for Dark Chao Walker in 1P mode | |rowspan="2"| Fix for Dark Chao Walker in 1P mode | ||
− | | | + | | 4DA3B |
| 44E63B | | 44E63B | ||
| 74 39 | | 74 39 | ||
| 66 90 | | 66 90 | ||
|- | |- | ||
− | | | + | | 340A90 |
| 741690 | | 741690 | ||
| 74 | | 74 | ||
Line 138: | Line 139: | ||
|- | |- | ||
| Fix for Chao Walker in 1P mode | | Fix for Chao Walker in 1P mode | ||
− | | | + | | 340ADC |
| 7416DC | | 7416DC | ||
| 79 | | 79 | ||
Line 144: | Line 145: | ||
|- | |- | ||
| Enable the [[Game Secrets:Sonic Adventure 2#Debug_Menu|invisible debug menu]] | | Enable the [[Game Secrets:Sonic Adventure 2#Debug_Menu|invisible debug menu]] | ||
− | | | + | | 33A87 |
| 434687 | | 434687 | ||
| CC 76 8B 00 | | CC 76 8B 00 | ||
Line 150: | Line 151: | ||
|- | |- | ||
|rowspan="2"| Fix for Amy and Metal Sonic's somersaults | |rowspan="2"| Fix for Amy and Metal Sonic's somersaults | ||
− | | | + | | 31736A |
| 717F6A | | 717F6A | ||
| 0F 84 | | 0F 84 | ||
| 90 E9 | | 90 E9 | ||
|- | |- | ||
− | | | + | | 31FFAE |
| 720BAE | | 720BAE | ||
| 74 | | 74 | ||
Line 161: | Line 162: | ||
|- | |- | ||
| Get the 2P characters' sound effects to load in 1P mode | | Get the 2P characters' sound effects to load in 1P mode | ||
− | | | + | | 58510 |
| 459110 | | 459110 | ||
| 74 05 | | 74 05 | ||
Line 167: | Line 168: | ||
|- | |- | ||
| Get the 2P characters' voices to load in 1P mode | | Get the 2P characters' voices to load in 1P mode | ||
− | | | + | | 5853B |
| 45913B | | 45913B | ||
| 74 64 | | 74 64 | ||
Line 173: | Line 174: | ||
|- | |- | ||
| Make Mech Eggman playable in Chao World | | Make Mech Eggman playable in Chao World | ||
− | | | + | | 3BE0C |
| 43CA0C | | 43CA0C | ||
| 03 | | 03 | ||
Line 179: | Line 180: | ||
|- | |- | ||
| Make Mech Tails playable in Chao World | | Make Mech Tails playable in Chao World | ||
− | | | + | | 3BE46 |
| 43CA46 | | 43CA46 | ||
| 02 | | 02 | ||
Line 185: | Line 186: | ||
|- | |- | ||
| Make Mechless Eggman playable outside Chao World | | Make Mechless Eggman playable outside Chao World | ||
− | | | + | | 3BE92 |
| 43CA92 | | 43CA92 | ||
| 07 | | 07 | ||
Line 191: | Line 192: | ||
|- | |- | ||
| Make Mechless Tails playable outside Chao World | | Make Mechless Tails playable outside Chao World | ||
− | | | + | | 3BED6 |
| 43CAD6 | | 43CAD6 | ||
| 06 | | 06 | ||
Line 197: | Line 198: | ||
|- | |- | ||
| Make the test stage accessible by setting the stage to 0 | | Make the test stage accessible by setting the stage to 0 | ||
− | | | + | | 3BD83 |
| 43C983 | | 43C983 | ||
| 7D | | 7D | ||
Line 203: | Line 204: | ||
|- | |- | ||
| Make Amy playable in 1P mode | | Make Amy playable in 1P mode | ||
− | | | + | | 316213 |
| 716E13 | | 716E13 | ||
| 74 1C | | 74 1C | ||
Line 209: | Line 210: | ||
|- | |- | ||
| Make Metal Sonic playable in 1P mode | | Make Metal Sonic playable in 1P mode | ||
− | | | + | | 316773 |
| 717373 | | 717373 | ||
| 74 1C | | 74 1C | ||
Line 215: | Line 216: | ||
|- | |- | ||
| Make Tikal playable in 1P mode | | Make Tikal playable in 1P mode | ||
− | | | + | | 327523 |
| 728123 | | 728123 | ||
| 74 1C | | 74 1C | ||
Line 221: | Line 222: | ||
|- | |- | ||
| Make Chaos playable in 1P mode | | Make Chaos playable in 1P mode | ||
− | | | + | | 327873 |
| 728473 | | 728473 | ||
| 74 1C | | 74 1C | ||
Line 227: | Line 228: | ||
|- | |- | ||
| Make the Dark Chao Walker playable in 1P mode | | Make the Dark Chao Walker playable in 1P mode | ||
− | | | + | | 340061 |
| 740C61 | | 740C61 | ||
| 74 1C | | 74 1C | ||
Line 233: | Line 234: | ||
|- | |- | ||
| Make the Chao Walker playable in 1P mode | | Make the Chao Walker playable in 1P mode | ||
− | | | + | | 3402C1 |
| 740EC1 | | 740EC1 | ||
| 74 1C | | 74 1C | ||
Line 239: | Line 240: | ||
|- | |- | ||
| Always load two characters | | Always load two characters | ||
− | | | + | | 3CAEB |
| 43D6EB | | 43D6EB | ||
| 0F 84 90 00 00 00 | | 0F 84 90 00 00 00 | ||
Line 245: | Line 246: | ||
|- | |- | ||
| Always use splitscreen mode | | Always use splitscreen mode | ||
− | | | + | | 38B03 |
| 439703 | | 439703 | ||
| 74 46 | | 74 46 | ||
Line 252: | Line 253: | ||
| Make SEGA logo go away much quicker | | Make SEGA logo go away much quicker | ||
| 39167E | | 39167E | ||
− | | | + | | 79227E |
| 78 | | 78 | ||
| 00 | | 00 | ||
Line 258: | Line 259: | ||
| Make Sonic Team logo go away much quicker | | Make Sonic Team logo go away much quicker | ||
| 391708 | | 391708 | ||
− | | | + | | 792308 |
| 78 | | 78 | ||
| 00 | | 00 | ||
Line 273: | Line 274: | ||
| C7 46 1C A0 7D 72 00 | | C7 46 1C A0 7D 72 00 | ||
| 66 90 66 90 66 90 90 | | 66 90 66 90 66 90 90 | ||
+ | |- | ||
+ | | Enable special moves every 20 rings in 1P mode | ||
+ | | 4C2C5 | ||
+ | | 44CEC5 | ||
+ | | 0F 84 85 03 00 00 | ||
+ | | 66 90 66 90 66 90 | ||
+ | |- | ||
+ | | Enable special moves in 1P mode for Sonic/Shadow | ||
+ | | 323657 | ||
+ | | 724257 | ||
+ | | 75 | ||
+ | | EB | ||
+ | |- | ||
+ | | Enable special moves in 1P mode for Knuckles/Rouge | ||
+ | | 335607 | ||
+ | | 736207 | ||
+ | | 75 | ||
+ | | EB | ||
+ | |- | ||
+ | | Enable special moves in 1P mode for Tails/Eggman | ||
+ | | 348D17 | ||
+ | | 749917 | ||
+ | | 75 | ||
+ | | EB | ||
+ | |- | ||
+ | | Enable special moves for Metal Sonic | ||
+ | | 32366A | ||
+ | | 72426A | ||
+ | | 74 F7 | ||
+ | | 66 90 | ||
+ | |- | ||
+ | | Disable special moves every 20 rings | ||
+ | | 4C2C5 | ||
+ | | 44CEC5 | ||
+ | | 0F 84 | ||
+ | | 90 E9 | ||
+ | |- | ||
+ | | Make levels load a lot faster | ||
+ | | 39C89 | ||
+ | | 43A889 | ||
+ | | 01 | ||
+ | | 03 | ||
+ | |- | ||
+ | | Disable Level-of-Detail (LoD) models for Sonic and Shadow | ||
+ | | 31F9A1 | ||
+ | | 7205A1 | ||
+ | | 74 | ||
+ | | EB | ||
+ | |- | ||
+ | | Restore control at the start of Cannon's Core 5 when playing as Shadow | ||
+ | | CC655 | ||
+ | | 4CD255 | ||
+ | | 75 10 | ||
+ | | 66 90 | ||
+ | |- | ||
+ | | Allow Knuckles to interact (Move/Grab) with the turtles in Dry Lagoon | ||
+ | | 3368E4 | ||
+ | | 7374E4 | ||
+ | | 74 | ||
+ | | EB | ||
+ | |- | ||
+ | | Disable Knuckles/Rouge's level boundaries | ||
+ | | 336F50 | ||
+ | | 737B50 | ||
+ | | 83 EC 54 | ||
+ | | 31 C0 C3 | ||
+ | |- | ||
+ | |rowspan="2"| Enemies (such as Kikis and Bomb Beetles) drop rings instead of bombs | ||
+ | | 1133F1 | ||
+ | | 513FF1 | ||
+ | | 0F 85 FC 00 00 00 | ||
+ | | 90 90 90 90 90 90 | ||
+ | |- | ||
+ | | 113415 | ||
+ | | 514015 | ||
+ | | 0F 85 D1 00 00 00 | ||
+ | | 90 90 90 90 90 90 | ||
|} | |} | ||
+ | |||
+ | ==References== | ||
+ | <references /> | ||
{{SCHGuides}} | {{SCHGuides}} | ||
− |
Latest revision as of 06:55, 25 March 2020
SCHG: Sonic Adventure 2 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Dreamcast GameCube PC | ||||||||||||||||
|
This page is about various things you can edit in the sonic2app.exe file.
Note: In order to edit any of these values in a file, you will have to get the decrypted exe.
Make sure the values given match your exe before editing it!
Misc. Code
This section is for code that doesn't fit into any of the above sections.
Description | Address (EXE) | Address (RAM) | Original Bytes | Replace With |
---|---|---|---|---|
Always get an A rank in missions 2 and 3 | 4FA88 | 450688 | 7F 1C | 66 90 |
Always get an A rank in missions 1, 4 and 5 | 4EB99 | 44F799 | 72 08 | 66 90 |
Make all stages (minus Route 101, Route 280 and Chao World) appear in the stage select regardless of whether you've unlocked them | 2767BC | 6773BC | 0F 95 C3 | B3 01 90 |
Make all stages (minus Route 101 and Route 280) show a character select instead of a mission select | 275A48 | 676648 | 74 | EB |
2776DA | 6782DA | 35 | 3D | |
Make the Gold Beetle never disappear | 105459 | 506059 | 7E | EB |
Disable the emerald radar | 339E70 | 73AA70 | 66 | C3 |
Make the goal ring appear for Knuckles and Rouge | 2C57F1 | 6C63F1 | 77 | EB |
Enable somersault and spindash in Chao Gardens | 322CEB | 7238EB | 74 C0 | 66 90 |
Fix the Super Sonic water crash | 2ED2E0 | 6EDEE0 | 55 | C3 |
Fix for alternate characters in levels that start with a cutscene (like Big Foot) | 57D92 | 458992 | 01 | 03 |
Always load 2P layout | 883AB | 488FAB | 0F 84 85 00 00 00 | 66 90 66 90 66 90 |
Never load 2P layout | 883AB | 488FAB | 0F 84 | 90 E9 |
Load 2P layout in 1P and 1P layout in 2P | 883AC | 488FAC | 84 | 85 |
Always load hard mode layout | 8843D | 48903D | 75 4C | 66 90 |
Never load hard mode layout | 8843D | 48903D | 75 | EB |
Load hard mode layout in missions 1-4 and normal layout in hard mode | 8843D | 48903D | 75 | 74 |
Make Amy able to spindash | 32321F | 723E1F | 77 09 | 66 90 |
324657 | 725257 | 74 | EB | |
325276 | 725E76 | 75 | EB | |
Fix for Dark Chao Walker in 1P mode | 4DA3B | 44E63B | 74 39 | 66 90 |
340A90 | 741690 | 74 | EB | |
Fix for Chao Walker in 1P mode | 340ADC | 7416DC | 79 | EB |
Enable the invisible debug menu | 33A87 | 434687 | CC 76 8B 00 | 98 8F 8B 00 |
Fix for Amy and Metal Sonic's somersaults | 31736A | 717F6A | 0F 84 | 90 E9 |
31FFAE | 720BAE | 74 | EB | |
Get the 2P characters' sound effects to load in 1P mode | 58510 | 459110 | 74 05 | 66 90 |
Get the 2P characters' voices to load in 1P mode | 5853B | 45913B | 74 64 | 66 90 |
Make Mech Eggman playable in Chao World | 3BE0C | 43CA0C | 03 | 07 |
Make Mech Tails playable in Chao World | 3BE46 | 43CA46 | 02 | 06 |
Make Mechless Eggman playable outside Chao World | 3BE92 | 43CA92 | 07 | 03 |
Make Mechless Tails playable outside Chao World | 3BED6 | 43CAD6 | 06 | 02 |
Make the test stage accessible by setting the stage to 0 | 3BD83 | 43C983 | 7D | EB |
Make Amy playable in 1P mode | 316213 | 716E13 | 74 1C | 66 90 |
Make Metal Sonic playable in 1P mode | 316773 | 717373 | 74 1C | 66 90 |
Make Tikal playable in 1P mode | 327523 | 728123 | 74 1C | 66 90 |
Make Chaos playable in 1P mode | 327873 | 728473 | 74 1C | 66 90 |
Make the Dark Chao Walker playable in 1P mode | 340061 | 740C61 | 74 1C | 66 90 |
Make the Chao Walker playable in 1P mode | 3402C1 | 740EC1 | 74 1C | 66 90 |
Always load two characters | 3CAEB | 43D6EB | 0F 84 90 00 00 00 | 66 90 66 90 66 90 |
Always use splitscreen mode | 38B03 | 439703 | 74 46 | 66 90 |
Make SEGA logo go away much quicker | 39167E | 79227E | 78 | 00 |
Make Sonic Team logo go away much quicker | 391708 | 792308 | 78 | 00 |
Allow "Grind Race" to work in 1P | 117FFF | 518BFF | 0F 8E 0F FF FF FF | 66 90 66 90 66 90 |
Enable racing characters to coexist with other types in 2P mode | 3274C7 | 7280C7 | C7 46 1C A0 7D 72 00 | 66 90 66 90 66 90 90 |
Enable special moves every 20 rings in 1P mode | 4C2C5 | 44CEC5 | 0F 84 85 03 00 00 | 66 90 66 90 66 90 |
Enable special moves in 1P mode for Sonic/Shadow | 323657 | 724257 | 75 | EB |
Enable special moves in 1P mode for Knuckles/Rouge | 335607 | 736207 | 75 | EB |
Enable special moves in 1P mode for Tails/Eggman | 348D17 | 749917 | 75 | EB |
Enable special moves for Metal Sonic | 32366A | 72426A | 74 F7 | 66 90 |
Disable special moves every 20 rings | 4C2C5 | 44CEC5 | 0F 84 | 90 E9 |
Make levels load a lot faster | 39C89 | 43A889 | 01 | 03 |
Disable Level-of-Detail (LoD) models for Sonic and Shadow | 31F9A1 | 7205A1 | 74 | EB |
Restore control at the start of Cannon's Core 5 when playing as Shadow | CC655 | 4CD255 | 75 10 | 66 90 |
Allow Knuckles to interact (Move/Grab) with the turtles in Dry Lagoon | 3368E4 | 7374E4 | 74 | EB |
Disable Knuckles/Rouge's level boundaries | 336F50 | 737B50 | 83 EC 54 | 31 C0 C3 |
Enemies (such as Kikis and Bomb Beetles) drop rings instead of bombs | 1133F1 | 513FF1 | 0F 85 FC 00 00 00 | 90 90 90 90 90 90 |
113415 | 514015 | 0F 85 D1 00 00 00 | 90 90 90 90 90 90 |
References