Repository navigation
Jedi Knight cutscenes on the Tab5 - #3
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…KDF2 f53922a) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
…F2 c3a5816) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
ESP-IDF Size Report for 'Tab5 Emu'
FLASH uses app .bin size or json2 flash sum. RAM sums DRAM+IRAM via idf_size. Percentages shown when totals are available. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Jedi Knight's full-motion cutscenes now play on the Tab5: the intro and the story movies between levels, with their audio, at the movies' full 15 fps. Start (Esc) skips a movie. Until now the ESP32 port skipped them.
All of the changes are in the OpenJKDF2 fork (
esp32p4branch,edc4b33..c3a5816); this PR moves the submodule pointer and updates the README.Playback
jkCutscene.cuses OpenJKDF2's software cutscene path (JKCUTSCENE_SOFT, the same path the SDL and homebrew ports use) onTARGET_ESP32. It draws the 8-bit frames through the menu buffer the port already presents.Opening a movie: ~11 s → ~1 s
callocs from PSRAM, which took 9.8 s; chunked allocation takes 0.9 s.Decode speed: full frame rate in the heavy scenes
smk_nexttook ~53 ms of the 66 ms frame budget.Audio
stdSound_BufferQueueAfterAnotheron the ESP32 mixer used to start each buffer as soon as it was filled, so consecutive buffers overlapped or left gaps. Queued buffers now form a stream the mixer plays back to back, continuing mid-chunk.Testing
01-02a.smk, 640x300, 3,446 frames) plays to the end. Telemetry shows 0 stream underruns, 15 fps decoded throughout, and the display presenting 20–43 fps. Reviewed by eye and ear on hardware.🤖 Generated with Claude Code