From 996febeaeb7249c58be6ca23e874ae74a3922704 Mon Sep 17 00:00:00 2001 From: William Emfinger Date: Sat, 21 Nov 2026 14:59:50 -0700 Subject: [PATCH] Dark Forces: a nameless agent no longer vanishes after mission 1; saving 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 "), 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 Claude-Session: https://claude.ai/code/session_01SFCMzomCZ5wRHJN4sxwkvY --- components/darkforces/TheForceEngine | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/darkforces/TheForceEngine b/components/darkforces/TheForceEngine index 8853391f..8e777a8c 160000 --- a/components/darkforces/TheForceEngine +++ b/components/darkforces/TheForceEngine @@ -1 +1 @@ -Subproject commit 8853391f7b40641540c773085732747b33bc1f57 +Subproject commit 8e777a8c9c4f4fcf8c37f5b4c22765014e061e08