Add web-based save editor for "Reksio i Czarodzieje"

- Implemented a local web server using http.server to serve the save editor.
- Created a user interface with HTML, CSS, and JavaScript for managing game slots and editing save files.
- Added API endpoints for retrieving slot information, overview, and raw data for editing.
- Implemented functionality for saving changes back to the game files.
- Added tests for ARR and DTA formats to ensure data integrity during round-trip serialization.

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Patryk Gensch
2026-08-03 01:18:08 +02:00
co-authored by Codex
commit edd8ceda9e
17 changed files with 2572 additions and 0 deletions
+43
View File
@@ -0,0 +1,43 @@
"""ricsave — czytanie i edycja zapisów gry „Reksio i Czarodzieje" (silnik PIK, 2004).
>>> from ricsave import Game
>>> g = Game("~/Reksio/Reksio i Czarodzieje")
>>> s = g.slot(0) # 0 = żywy stan rozgrywki
>>> s.summary()["location"]
'GULDRYK'
Rdzeń nie ma zależności zewnętrznych. Opis formatu: docs/format-zapisow.md
"""
from . import arr, catalog, dta, schema
from .slot import (
Game,
ItemsView,
SaveError,
SceneView,
Slot,
backup,
copy_slot,
load_game,
new_game,
save_game,
)
__all__ = [
"Game",
"ItemsView",
"SaveError",
"SceneView",
"Slot",
"arr",
"backup",
"catalog",
"copy_slot",
"dta",
"load_game",
"new_game",
"save_game",
"schema",
]
__version__ = "0.1.0"