Commit Graph

2 Commits

Author SHA1 Message Date
635bab171f tools/scripts: the eight remaining __main__ blocks set errors=replace on stdout
test_tool_stdout_encoding fails on main: leonida_launcher, ps_prompt_glyphs,
victory_saves, volume_stats, world_hotspots, fetch_vkd3d_proton, port_ctl and
sync_victory still print paths a Windows ANSI code page cannot encode, and die
with UnicodeEncodeError when stdout is redirected under python -I. Add the
same one-line guard the other programs already have (exe_sha.py, #605).

Tested: test_tool_stdout_encoding (4 tests), test_tool_startup,
test_victory_saves, compileall, run_semantic_tests (6397 tests, 0 failed).
AI-assisted: yes (Qwen Code).
2026-11-28 03:49:04 +03:00
1bf5a4d41a tools: convert VIctory saves and local storage to gta6rt's layout
victory_saves.py reads a VIctory data folder (<container>~<hash>\v<N>with a length-prefixed manifest and numbered blobs, the newest complete
version) and writes gta6rt's <saves>\local-user\<container>\<blob> with
the save shim's %-encoding and .display file, and copies the persistent
local storage into <overlay>\.gta6rt-persistent. It lets a save made under
VIctory skip the first-boot screens under gta6rt. Tested with
tests/test_victory_saves.py (synthetic saves).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 18:34:34 -05:00