Skip to content

Releases

v0.0.2: Jazz Jackrabbit GBC: Fix the music and improve the performance.

Choose a tag to compare

@haroldo-ok haroldo-ok released this 01 Nov 19:30

Full Changelog: v0.0.1...v0.0.2

🚀 Performance Leap: Locked 60 FPS Idle (around 20 FPS while Running) & Up to 3.6× Speedup!

The Game Boy Color port has received deep low-level engine optimizations, mapping and collision rewrites, and compiler adjustments. The game now runs at a solid, locked 60 ticks per second while idle across all 7 stages, with running speeds jumping 2.6 to 3.6 times faster than before!

Performance Benchmark (Idle vs. Running Ticks per 60 Frames)

Stage Idle Ticks/s (Before → Now) Running Ticks/s (Before → Now)
Stage 1 42.9 $\rightarrow$ 60 6.2 $\rightarrow$ 20.5
Stage 2 29.6 $\rightarrow$ 60 5.5 $\rightarrow$ 19.9
Stage 3 48.4 $\rightarrow$ 60 10.1 $\rightarrow$ 26.2
Stage 4 53.6 $\rightarrow$ 60 19.8 $\rightarrow$ 50.4
Stage 5 23.9 $\rightarrow$ 60 7.6 $\rightarrow$ 22.4
Stage 6 53.6 $\rightarrow$ 60 10.7 $\rightarrow$ 26.9
Stage 7 53.6 $\rightarrow$ 60 18.4 $\rightarrow$ 39.8

🎵 Complete Soundtrack Overhaul (PSM Conversion)

The audio pipeline was entirely rewritten. Instead of re-converting Genesis tracks, the engine now natively parses the original PC shareware .PSM (four-channel sampled module) songs, mapping them directly to the Game Boy Color's 4 sound channels:

  • Bass: Handled by the Wave channel, using custom cycle cuts extracted from real bass samples as waveforms.

  • Leads: Routed to the Pulse channels with dynamically fitted volume decay per note.

  • Chord Stabs & Pads: Converted cleanly into crisp arpeggios.

  • Drums: Mapped directly onto the Noise channel to replicate original percussion hits accurately.

  • Audio Accuracy: Verified against reference renders via libopenmpt (achieving up to 0.68 similarity score on Diamondus, compared to 0.14 previously).

🛠️ Key Engine & Optimization Highlights

  • Pre-Decoded Map Cache: Each stage's map data is now decoded entirely into cartridge RAM up front, paired with an ultra-fast hand-written assembly row decoder.

  • Optimized Collision & Pickups: Streamlined collision logic for the player and bridges, alongside smart sprite caching (pickups are shifted rather than fully redrawn when only the camera moves).

  • Division Bottleneck Fixes: Fixed an SDCC compiler issue where slow 16-bit division routines were mistakenly hoisted above animation cache checks, eliminating unnecessary CPU overhead.

  • Interrupt & Audio Streamlined: Minimized copying and repacking in the music and sound-effect VBlank interrupt handlers.

  • Bug Fixes: Resolved an annoying issue where holding START slightly too long at stage start would immediately pause the game due to faster loading times.

v0.0.1: Jazz Jackrabbit GBC: Initial port using Arena.

Choose a tag to compare

@haroldo-ok haroldo-ok released this 31 Oct 12:03

Full Changelog: https://github.com/haroldo-ok/jazz-jackrabbit-gbc/commits/v0.0.1

Every level from the shareware version is working, but it's so slow, it's barely playable.

image image image

🐰 Jazz Jackrabbit --- Game Boy Color Port Overview

This project brings Epic MegaGames' classic 1994 DOS action-platformer Jazz Jackrabbit to 8-bit handheld hardware using GBDK 4.5.0. It translates original PC levels, graphics, and audio into custom CGB data structures while running on a shared, platform-neutral gameplay engine.

🎮 Current Status & Features

  • Content Scope: Features 7 stage datasets across 3 distinct worlds, including smooth-scrolling terrain, dynamic HUD, title/level-selection screens, player animations, enemy/event sprites, projectile physics, and stage transitions.

  • Tested & Stable: Verified in the SameBoy 1.0.4 emulator harness---level selection, enemy visibility, player movement/visibility (tested across 24+ consecutive frames), and weapon firing pass end-to-end tests cleanly.

  • Performance Benchmark: Currently running at 42 out of 60 ticks per second during idle gameplay in SameBoy, with ongoing optimizations aiming to reach a locked 60 FPS.

🎶 Dedicated GBC Audio Engine

  • Offline VGM Conversion: Music tracks are processed via tools/build_gbc_audio.py from checked-in VGM files, mapping original YM2612 and SN76489 channels to the Game Boy Color's Pulse, Wave, and Noise channels.

  • Approximated PCM/Noise Mapping: Original PC digital sound/PCM segments are mapped into compact CGB noise-channel events using average volume levels and zero-crossing rates, shaped by hardware decay envelopes.

  • VBlank Audio Sequencer: The music player runs strictly inside the VBlank interrupt, keeping soundtrack playback fully independent of rendering workloads.

  • SFX Support: Sound effects are routed directly through custom CGB wave-channel sample playback.