Skip to content

v0.9.23

Choose a tag to compare

@mstan mstan released this 10 Nov 01:27
· 26 commits to master since this release

Sonic the Hedgehog 2 v0.9.23 improves widescreen scene transitions, character presentation, and underwater colors.

Changes

  • Smoother imported characters at higher presentation rates. When a higher presentation rate is selected, imported characters and their camera positions can now move between completed 60 Hz simulation frames. Animation poses, palettes, collision, game logic, and audio remain tied to completed simulation frames. This extends the existing presentation system to the imported-character and party overlays. It is opt-in and adds one simulation tick of visual latency. Competition, online campaigns, teleports, and effects that cannot safely be interpolated retain completed frames.
  • Consistent act-clear runoff. Characters continuing beyond the original act-clear boundary in a widescreen view keep a running gait and consistent displayed speed instead of retaining a rolling or pushing pose or slowing as native animation retires. Shields, invincibility stars, and Tails' separate tails follow the continued displayed position. Native movement, collision, companion AI, and results timing remain unchanged. Native Sonic and Tails artwork is also restored when a current-build runoff state is loaded directly from the title screen in a fresh process.
  • Clean special-stage borders. After the outgoing level has faded and its objects have retired, the half-pipe uses its native display bounds. This prevents unprojected level planes from appearing beside the track at expanded aspects. Returning to the level restores the selected widescreen view. The outgoing level remains wide during its fade.
  • Continuous boss previews. Emerald Hill and Chemical Plant boss previews remain visible through the interval between native object allocation and the first native display submission. This removes the visible gap during the handoff to the actual boss. The Chemical Plant preview uses separately decoded original pod, pump, and jet artwork. Original activation, collision, damage, and fight timing remain under native game logic.
  • Stable scenery through act transitions. The outgoing level retains its own scenery identity until its fade finishes, even after the game has selected the next zone. This prevents background positioning or palette-dependent presentation from changing prematurely during transitions such as Emerald Hill to Chemical Plant and Chemical Plant to Aquatic Ruin.
  • Correct Knuckles water colors. With the optional original Knuckles-in-Sonic-2 artwork available, the S3&K body palette is mapped to the original Chemical Plant and Aquatic Ruin water palettes by color rather than by incompatible palette indices. Gloves and body colors now follow the correct dry, partly submerged, and submerged treatment. Life icons, names, shields, and item artwork keep their existing palette order.
  • Correct background movement at clamped widescreen boundaries. Aquatic Ruin, Casino Night, Hill Top, Mystic Cave, Oil Ocean, Metropolis, Sky Chase, Wing Fortress, and Death Egg now use their appropriate background-row motion when the expanded camera reaches a boundary. Time-driven clouds, ripples, heat haze, and other independent phases remain tied to their native animation. Existing Emerald Hill and Chemical Plant corrections are retained.

Validation and runtime costs

The frozen source passed 13 focused tests. The final IPO/PGO USE binary passed current-build save/load, 2,000 replay executions, 117 depth-eight rollback probes, 23 quickstate fixtures, and 17 matched roster cases. The packaged replay helper matched the same 2,000 executions with a minimal PATH. Dependency closure, all 25 archive entries, hidden launcher Play/close/relaunch, saved controller/settings choices, fresh Fit and preserved Off/16:9 gameplay, native/Fit menu saves and local rewind, and warm/fresh-process runoff states were checked. Captured menu, launcher, and gameplay images were inspected. Shipping instructions and credits were refreshed after those tests; member-by-member verification confirmed that all runtime files remain byte-identical.

Focused development scene checks on the frozen source cover genuine rolling act-clear approaches, both boss handoffs, native final-hit/capsule/next-stage transitions, native and expanded stage boundaries across all 11 normal stage families, a 64:9 Sky Chase clamp, and independently decoded dry/split/wet Knuckles body and HUD colors. Transition fixtures used controlled positioning and a one-hit boss setup; the final collision, capsule, and next-stage logic completed natively. These scene controls are separate from the shipping-binary gates above.

Across 30 matched 9,000-frame CPU samples, median paired throughput changes were approximately +0.3% for Sonic/Tails, -1.6% for Shadow/Knuckles, and 0.0% for Competition Sonic/Knuckles. Three extra pairs for each of the first two workloads did not reproduce their initially lower batch medians. All samples were retained. Results are neutral/inconclusive within observed variation; no general speedup is claimed. Paced diagnostics/rewind controls retained identical game and audio state.

Default 60 Hz rendering samples overlap the released baseline ranges. At the explicitly selected 144 Hz presentation setting, the candidate produced 815 and 820 fractional imported-character frames in the two measured runs, versus zero in the baseline. That bounded workload used about 20.5% more process CPU time: an additional 1.23 CPU seconds per 2,200 guest frames. Measurements used the same host, software/dummy rendering, and a 1% job CPU cap. They do not establish uncapped desktop OpenGL or monitor-rate performance. The presentation setting retains the one-tick visual-latency tradeoff described above.

Compatibility and limits

Fresh launcher settings default to adaptive Fit to screen. Explicit saved Off and aspect-ratio choices are preserved. Native saves and settings are preserved; save states are specific to the build that created them.

Higher presentation rates smooth supported movement without changing the simulation rate. They can increase rendering work, and the CPU-limited checks do not establish uncapped monitor-rate performance. Unsupported or unsafe presentation intervals continue to use completed frames. The native half-pipe bounds do not add missing imported-character or companion special-stage artwork or mechanics.

The archive contains no game ROMs or character donor ROMs. Required donor images must be supplied separately.

QA thanks: TheGabeMaster29.