Repository navigation
Dark Forces: level 2 reachable again (a nameless agent no longer vanishes after mission 1); saving in big levels no longer crashes - #144
Merged
Conversation
…ing in big levels no longer crashes
TheForceEngine fix/nameless-agent:
- The agent menu lists agents up to the first one without a name, and New
Agent accepted an empty name (easy with the gamepad text entry): such an
agent played mission 1, then the agent menu came back without it, so
mission 2 could not be begun, and its progress was written back cleared.
Agents now always have a name ("AGENT <n>"), and a stored nameless agent
with progress gets one when the pilot file is read.
- Saving captured the screen into a 256 KB buffer for the save header's
4x4 image (the capture is a stub here): in Talay only ~120 KB of PSRAM is
free, the allocation failed and the save crashed (an empty slot). The
header now gets the placeholder directly.
Tested on the box with its pilot file (a nameless agent, mission 1 done):
AGENT 1 is listed with Talay: Tak Base available, Talay loads (50 fps,
4 MB block full + 712 KB from the PSRAM heap, ~120 KB left), a save in
Talay completes and loads back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY
|
✅Static analysis result - no issues found! ✅ |
ESP-IDF Size Report for 'Esp Box 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
Bumps TheForceEngine to esp-cpp/TheForceEngine#2 (fix/nameless-agent), which fixes Dark Forces level 2 never becoming reachable:
AGENT <n>), and a stored nameless agent with progress gets one when the pilot file is read.Testing
On the box and the Tab5 with the box's pilot file:
Merge esp-cpp/TheForceEngine#2 first; the submodule points at its branch.
🤖 Generated with Claude Code
https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY