Sonic Generations (PlayStation 3, Xbox 360, Windows)
Also known as: Sonic Generations: Shiro no Jikuu (JP)
This game has a prototype article
Classic Sonic and Modern Sonic finally meet! Many paradoxes ensue! The PC version is notable for being released after a drought of new Sonic games for the PC, greatly rewarding Sonic fans' patience with a largely unscathed port of Sonic Generations in 2011. Sega still does what Nintendon't.
- 1 Debug Leftovers
- 2 Dummy "gi" Files
- 3 Unused Text
- 4 Unused Mission Options
- 5 Unused Music
- 6 Letterbox Mode
- 7 Environment Map Secret
- 8 Sonic Unleashed Leftovers
- 9 Unused Sonic Parameters
- 10 Other Things
- 11 Console/PC Differences
There are evidences that once a huge debug mode was present in the game.
Debug Leftovers in MainSequence.lua
The Lua script for boot sequence (disk/bb3/#Application.ar.00/MainSequence.lua, Plain-text version here) contains some debug-related stuff.
global("g_IsDebugSequence", 0); -- デバッグシーケンスフラグ
At the beginning of the file, there is a variable named "g_IsDebugSequence". If this value is 1, the Lua script will boot directly into the debug initialization (MODULE_DEBUGINIT) instead of the start of logo sequences (MODULE_NOTICE_CESA). However, the game will get stuck at a black screen, because the game requires displaying the Havok logo to successfully initialize the game. In addition, this flag is reset to 0 when the game enters the title screen.
If the debug initialization (MODULE_DEBUGINIT) is entered from the title screen without setting g_IsDebugSequence to 1, the game will enter the main game, but with no visible changes.
If the debug initialization is entered AND the variable g_IsDebugSequence is 1, the lua script will try to enter the debug menu screen mode (MODULE_DEBUGMENU) instead of the hub world (MODULE_PLAYABLEMENU). However, the game will get stuck at the last frame of "Sonic is falling" intro animation.
Sonic Unleashed Debugger Images
Images from the Sonic Unleashed debugger remain in the game.
All these debug images were in a folder named "reddog". An early screenshot of Sonic Unleashed showed the debugger in action.
Unused Lua Files
disk/bb3/#Application.ar.00 holds these files. Some of them, such as ApplicationSettingDebug.lua and DebugLauncher.lua, seem to be unused.
ArchiveTree.xml EnemyArchiveTree.xml EventArchiveTree.xml LanguageTree.xml NPCArchiveTree.xml OtherArchiveTree.xml VoiceTree.xml ApplicationMain.lua ApplicationSetting.lua ApplicationSettingDebug.lua DebugLauncher.lua MainSequence.lua MainSequenceDemo.lua PlayableMenuNPCTalkSetting.lua PlayableMenuNPCTimeTable.lua PlayableMenuSequenceTable.lua scheduler.lua ScoreTimeTable.lua script_core.lua ScriptTest.lua StorySequence.lua StorySequenceDemo.lua StorySequenceUtility.lua Vibration.lua
Dummy "gi" Files
Within an unpacked bb3.cpk is an Application.ar.00 which contains these files:
10SYS_CMN.csb ev011.evs ev113.evs converse_common.dds gi-dummy-black.dds gi-dummy-blue.dds gi-dummy-gray.dds gi-dummy-green.dds gi-dummy-red.dds gi-dummy-white.dds gi-dummy-yellow.dds fxp_radial_noise.dds fxp_tonemap_mask.dds
There's a lot of "dummy" files in there. The dummy-<color> is just a pixel of that respective color.
Internal Object Names
The game has a XML file which stores the name of each level object in Japanese, which are never seen in normal gameplay. The XML file organizes the objects by category, so it was possibly used by Sega/Sonic Team's level editor.
The dump of XML file is available in the Notes page.
Source Code File Names
The game's executable is scattered with the filename of the game's source code. For some reason, some of the filenames such as "hhMessage.h" is repeated many times in the exe. More info is on the Notes page.
Unused Super Sonic Character Text
In the Characters section of the art room, there are 14 characters with biographies, however, the data includes text for an entry for Super Sonic, who's never seen in this section and lacks any other data for it in the XML files.
The name given to Sonic's ultimate form when he is transformed through the power of the Chaos Emeralds. Sonic is more powerful than normal as Super Sonic, but he can remain so for only a short time due to the tremendous amounts of energy required.
Unused Wisp Skill Descriptions
In Planet Wisp, Sonic can collect Wisps from Sonic Colors: Classic Sonic can use the Pink Spikes, while Modern Sonic can use the Orange Rocket. Normally, they're only in this level, but there are skill entries/descriptions for them in the skills file. However, they cannot be hacked into a save file, as they are missing from the game's Skill list.
Turns Sonic into an Orange Rocket to fly up.
Turns Sonic into Pink Spikes- Cling to surfaces!
Unused Mission Options
The mission levels have a "MissionScript.lua" file which sets the objective of the mission. The objective of the mission is set by calling "SetMissionType" function. Some of the objectives are never used.
Except for "OrderDashRing" (used) and "BreakEnemy" (unused), every mission type is described by the Japanese developer's comment in the mission script.
-- "Default" 0 // 特に条件がない場合 -- "Default" 0 // No special conditions SetMissionType("Default", 0);
This mission type has no objectives or limitations.
-- "BoostMax" ブースト倍率 // ブースト全開 -- "BoostMax" Boost Multiplier // Maximum Boost SetMissionType("BoostMax", Boost Multiplier);
This mission type doesn't seem to have an effect; presumably replaced by the Endless Boost skill.
SetMissionType("BreakEnemy", Number of enemies);
Sonic must destroy a certain number of enemies before reaching the goal. The HUD shows an icon of Motobug, the number of enemies beaten, and the number of kills required. This mission type is not listed in the developer's comments. Note that this mission type is used in the 3DS version.
Document the SetCustomizeSkill function; Shields and PowerBrake are unused.
The game features a few unused jingles and a prototype Green Hill Zone HUB song.
This song plays when Modern Sonic gets an invincibility box...but there aren't any in any Modern acts. It still works if you hack Modern Sonic into a Classic stage, however. This did eventually get used in the 3DS version.
This song is supposed to play whenever the Time Break skill is used, but it doesn't. Despite it not being used, it has been included on the Blue Blur: Sonic Generations Original Soundtrack album release as "Skill: Time Break". It is a remix of Cyber Track from Sonic Advance 3.
PAMxx_Dummy_A_wav.aax through PAMxx_Dummy_M_wav.aax
An unused White World HUB theme, which sounds like the Green Hill Zone HUB theme but played with the instruments from White World's HUB theme.
The game regardless of widescreen mode always uses widescreen instead of letterboxing when configured in graphic settings though enabling it at 0xA7ADDD with the bytes B1 00 90 causes the HUD to improperly scale, the cut-scenes are 4:3 letterboxed and the FOV in-game is zoomed out further.
Environment Map Secret
The environment map for Planet Wisp is actually made of screenshots made with the team's dev program, either due to ingenuity or laziness. The six parts of the image, which are assembled together to form a cube, all show Sonic running through the air in a nondescript location in Planet Wisp. Just below his feet is a ball made of red wires, which indicates the use of a 3D rotation tool. To further demonstrate the team's ingenuity/laziness, the last two sides are duplicates of the first two.
Sonic Unleashed Leftovers
Since Sonic Generations is basically just a modified Sonic Unleashed using the same engine there's bound to be leftovers in there. However, there are more leftovers than you might think! These images were extracted from the PC version.
See if any of these files exist in the console versions.
Foot Sweep Kick
The Foot Sweep Kick move from Sonic Unleashed is still in the game, but unused. It can be re-enabled by replacing 74 55 to 08 56 at offset 9FECD6, then pressing the B button in-game.
Images that look like they'd be used during the install progress. However, Sonic Unleashed didn't HAVE a PC port...
Images from SystemCommon.ar.00
disk/bb/SystemCommon.ar.00 contain several images for debug mode/level editor things, plus the infamous Werehog icon.
Leftover Unleashed Renderer and Shader Tables
More detail about this renderer and compare it to the one used in Generations. Some info here and here.
While there are new Shader Tables and a new optimized renderer, it looks like Sega forgot to take the old ones out. Oops.
See the notes page for info on how to set these leftovers to appear in the game.
One thing you can notice right off the bat is that the Unleashed renderer uses more intense motion blur. This is not so on the one that is used in-game. Additionally, the Unleashed version displays angular shadows (objects cast their shadows at an angle depending on the light source), which is not the case in Generations.
- Also included are logos from Sonic Unleashed/Sonic World Adventure, all of the Hints (picture wise), and every single inventory item/collectible.
- There are also leftovers of Sonic Unleashed's textures in the game's files.
Unused Sonic Parameters
Sonic's parameters (such as his speed) are stored in disk/bb3/#SonicClassic.ar.00/SonicClassic.prm.xml (Classic Sonic) and disk/bb3/#Sonic.ar.00/Sonic.prm.xml (Modern Sonic). Some of the parameters are unused.
There are Friction/Acceleration/Velocity-related settings for ice surfaces, but since there are no ice-themed levels in Generations, these settings are unused.
If set to true, Modern Sonic can only perform the Air Dash by pressing X with an empty Boost gauge, and Homing Attack is performed by pressing X like in Sonic Unleashed. For Classic Sonic, he can use the Air Dash by pressing A, but he still needs the Homing Attack skill (unlocked by collecting all Red Rings from Planet Wisp Act 1) to actually home into the enemies. He also becomes unable to activate the double-jump ability of elemental shields.
<Debug> <Category> <Damage> <Param> <DebugNoDamage>false</DebugNoDamage> <DebugNoDead>false</DebugNoDead> <DebugNoDeadDrowning>false</DebugNoDeadDrowning> <DebugNoDrowningImmediately>false</DebugNoDrowningImmediately> <DebugNoFallDead>false</DebugNoFallDead> </Param> </Damage> <Skill> <Param> <DebugSkillCancelEnabled>false</DebugSkillCancelEnabled> <DebugSkillSpikeEndless>false</DebugSkillSpikeEndless> <DebugSkillSuperSonic>false</DebugSkillSuperSonic> </Param> </Skill> </Category> </Debug>
Unfortunately, none of these debug options are functional in the retail version. Sonic still takes damage and dies regardless of these settings.
I remember that someone hacked the full PC version to boot in the demo version's menu (via Lua script hacking if I remember correctly). Could someone confirm it?
- Some of the rings in Classic Sonic's levels have the "light dashable" flag on, which won't do anything when playing as Classic Sonic.
The PC version looks noticeably better and runs at a smoother frame-rate compared to the Xbox 360/PlayStation 3 versions. The Xbox 360 version also has horribly pixelated cutscenes for unknown reasons.
Unlockable Sonic 1
In the console versions of Sonic Generations, you could purchase an item in the Skill Shop called the Sega Genesis/Mega Drive Controller to unlock the ability to play the original Sonic the Hedgehog. The PC version removes this entirely, leaving a blank spot in the HUB. However, files for it (such as the White World HUB song and shop icons) are still in the game.
The game uses Lua script files (*.lua) for configuring some parts of the game. The Lua scripts included in #Application.ar.00 archive (contains the game's startup process and story sequences) were plain-text format in console versions, but the PC version uses binary-compiled format instead. The actual contents of the script is presumably unchanged from the console versions, as the PC version accepts the console version's Lua files just fine.
The game also uses Lua scripts in the missions and some of the bosses, but they are in plain text format for all versions.