Repository navigation
Autosaves: "Autosaving..." among the event messages, as the original - #192
Open
MortenLyhr wants to merge 1 commit into
Open
MortenLyhr wants to merge 1 commit into
MortenLyhr wants to merge 1 commit into
Conversation
Seen in Wine (BtS 3.19, 2026-11-22, testgames/shots/wine-cleanroom/cr-t01-hold8-endturn.png, cr-u*.png, record wine-cleanroom/README.md): each time the original writes an autosave, the first one included, "Autosaving..." shows among the event messages at the top. The text is the game's TXT_KEY_AUTOSAVING (CIV4GameText_Misc1.xml). OpenCiv4 showed nothing (backlog bssth#13). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
What it changes
Each time OpenCiv4 writes an autosave, the first one included, "Autosaving..." now shows among the event messages at the top, as in the original. Before, nothing showed. The text is the game's own
TXT_KEY_AUTOSAVING(CIV4GameText_Misc1.xml), added inmain.cpp'sonAutoSaveas a display-only message (MESSAGE_TYPE_DISPLAY_ONLY).What it is based on
testgames/shots/cleanroom/, recordwine-cleanroom/README.md): "Autosaving..." shows in the event-message area at the top whenever an autosave is written, the initial one and each interval's (cr-t01-hold8-endturn.png,cr-u*.png).TXT_KEY_AUTOSAVING, "Autosaving..." in BtS'sAssets/XML/Text/CIV4GameText_Misc1.xml.How it was checked
strings/dumpbin/objdump), and nothing here comes from someone else's (CONTRIBUTING)ctest --test-dir build\Releasepasses: 15/15 (macOS arm64 build of this branch on master)--turns 100 --map Fractal --size STANDARD --seed 7givesD7D43800at turn 100 on this branch, the same as masterA new game played by hand on a scratch Documents folder (
OC4_DOCUMENTS), two turns: the message was shown at turn 0's and turn 1's autosaves (checked with a temporary log line inInterface::show, not committed).Wine, the turn after the first autosave, with the message at the top:
Not done / not checked:
savehelper).Backlog #13.
🤖 Generated with Claude Code