README documents current behavior: "User files (saves and settings) stored in GTA root directory" + settings in re3.ini next to the binary. This breaks for packaged/read-only installs (Flatpak/AppImage/system installs — part of the modernization direction) and pollutes the game dir.
Task
Introduce an XDG-compliant strategy while staying compatible:
Default: $XDG_DATA_HOME/re3/ (saves, settings) with fallback to ~/.local/share/re3/; keep reading legacy in-game-dir files for migration.
Opt-out flag (env var or ini) for portable installs.
The path logic must live in the shared skeleton (crossplatform layer), not per-platform code, and applies to both master (re3) and miami (reVC, reVC.ini).
Acceptance
Fresh run with no game-dir write permission still saves/loads successfully.
Existing users' saves migrate (or are found via fallback) without data loss.
Windows behavior unchanged by default.
## Context
README documents current behavior: "User files (saves and settings) stored in GTA root directory" + settings in `re3.ini` next to the binary. This breaks for packaged/read-only installs (Flatpak/AppImage/system installs — part of the modernization direction) and pollutes the game dir.
## Task
Introduce an XDG-compliant strategy while staying compatible:
- Default: `$XDG_DATA_HOME/re3/` (saves, settings) with fallback to `~/.local/share/re3/`; keep reading legacy in-game-dir files for migration.
- Opt-out flag (env var or ini) for portable installs.
- The path logic must live in the shared skeleton (crossplatform layer), not per-platform code, and applies to both `master` (re3) and `miami` (reVC, `reVC.ini`).
## Acceptance
- Fresh run with no game-dir write permission still saves/loads successfully.
- Existing users' saves migrate (or are found via fallback) without data loss.
- Windows behavior unchanged by default.
opencode
added this to the M2: Linux platform hardening milestone 2026-11-29 00:15:08 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Context
README documents current behavior: "User files (saves and settings) stored in GTA root directory" + settings in
re3.ininext to the binary. This breaks for packaged/read-only installs (Flatpak/AppImage/system installs — part of the modernization direction) and pollutes the game dir.Task
Introduce an XDG-compliant strategy while staying compatible:
$XDG_DATA_HOME/re3/(saves, settings) with fallback to~/.local/share/re3/; keep reading legacy in-game-dir files for migration.master(re3) andmiami(reVC,reVC.ini).Acceptance