Skip to content

jk: the cutscene after a level plays (OpenJKDF2 330f270) - #12

Merged
finger563 merged 1 commit into
mainfrom
fix/jk-cutscene-after-level
Oct 27, 2026
Merged

finger563 merged 1 commit into
mainfrom
fix/jk-cutscene-after-level

Conversation

@finger563

Copy link
Copy Markdown
Contributor

Finishing a level showed a black screen forever: the engine kept running,
but the cutscene that follows the level (06a after Nar Shaddaa) never got
past its first frame. Ending a level shuts std3D down on the way to the
menus, and the cutscene player waits for std3D_IsReady() on every frame;
the ESP32 port cleared that flag at shutdown (the GL backend does not).
OpenJKDF2 330f270 makes the software renderer always ready.

Tested on the Tab5 with a local hook that ends each level after 20 s and
presses Enter through the menus: levels 1 through 8 and the cutscenes
between them (06a, 08-10a, 12a, 16a, 18-19a, 21a, 23a) in a row, no hang
or crash, free PSRAM at each level start between 1.5 and 2.6 MB with no
downward trend.

🤖 Generated with Claude Code

Finishing a level showed a black screen forever: the engine kept running,
but the cutscene that follows the level (06a after Nar Shaddaa) never got
past its first frame. Ending a level shuts std3D down on the way to the
menus, and the cutscene player waits for std3D_IsReady() on every frame;
the ESP32 port cleared that flag at shutdown (the GL backend does not).
OpenJKDF2 330f270 makes the software renderer always ready.

Tested on the Tab5 with a local hook that ends each level after 20 s and
presses Enter through the menus: levels 1 through 8 and the cutscenes
between them (06a, 08-10a, 12a, 16a, 18-19a, 21a, 23a) in a row, no hang
or crash, free PSRAM at each level start between 1.5 and 2.6 MB with no
downward trend.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY
@github-actions

Copy link
Copy Markdown

ESP-IDF Size Report for 'Tab5 Emu'

Metric Base PR Delta
FLASH 0 bytes (0.00%) 0 bytes (0.00%) 0 bytes (0.00%)
DRAM 267,182 bytes (60.54%) 267,182 bytes (60.54%) 0 bytes (0.00%)
IRAM 0 bytes 0 bytes 0 bytes
RAM (DRAM+IRAM) 267,182 bytes 267,182 bytes 0 bytes (0.00%)

FLASH uses app .bin size or json2 flash sum. RAM sums DRAM+IRAM via idf_size. Percentages shown when totals are available.
DRAM/IRAM usage does not include memory used by the heap allocator at runtime.
This report was generated by esp-idf-size-delta.

@finger563
finger563 merged commit 1e01c40 into main Oct 27, 2026
1 check passed
@finger563
finger563 deleted the fix/jk-cutscene-after-level branch October 27, 2026 02:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant