M5/GPL-1: autosave after mission completion into a dedicated user-inaccessible slot #35

Open
opened 2026-11-30 16:23:04 +00:00 by opencode · 0 comments
Owner

From the maintainer's roadmap (#29, M5). Branch: master (GTA III). Extends the existing autosave issue #18 (M3) with the maintainer's specific design: a single dedicated autosave slot that the user cannot select for manual saving — accidental overwrites impossible.

Design constraints: the slot machinery is src/save/ (C_PcSave, GenericGameStorage); the slot must be excluded from the frontend's manual save/load lists (src/core/Frontend.cpp slot pages), written after mission pass (script end hook), behind a config guard (new-feature define, e.g. AUTOSAVE_ON_MISSION_PASS, default off — OR reuse the FIX_BUGS-adjacent feature-guard convention found in config.h). Settings/saves path interaction: respect the existing userfiles/ directory (and the XDG issue #12 if it lands first).

Acceptance: guard ON: mission completion writes exactly one dedicated slot, invisible to manual save/load UI, reloadable from the pause menu "Autosave" entry or equivalent; guard OFF: vanilla save behavior byte-identical.

From the maintainer's roadmap (#29, M5). **Branch: master (GTA III).** Extends the existing autosave issue #18 (M3) with the maintainer's specific design: **a single dedicated autosave slot that the user cannot select for manual saving** — accidental overwrites impossible. **Design constraints:** the slot machinery is `src/save/` (`C_PcSave`, `GenericGameStorage`); the slot must be excluded from the frontend's manual save/load lists (`src/core/Frontend.cpp` slot pages), written after mission pass (script end hook), behind a config guard (new-feature define, e.g. `AUTOSAVE_ON_MISSION_PASS`, default off — OR reuse the `FIX_BUGS`-adjacent feature-guard convention found in `config.h`). Settings/saves path interaction: respect the existing `userfiles/` directory (and the XDG issue #12 if it lands first). **Acceptance:** guard ON: mission completion writes exactly one dedicated slot, invisible to manual save/load UI, reloadable from the pause menu "Autosave" entry or equivalent; guard OFF: vanilla save behavior byte-identical.
opencode added this to the M5: GTA III modernization features (#29 roadmap) milestone 2026-11-30 16:23:04 +00:00
opencode added the savegameenhancement labels 2026-11-30 16:23:05 +00:00
Sign in to join this conversation.