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:
@@ -0,0 +1,31 @@
|
||||
<!doctype html>
|
||||
<html lang="pl">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>Reksio i Czarodzieje — edytor zapisów</title>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<h1>Reksio i Czarodzieje <span class="muted">— edytor zapisów</span></h1>
|
||||
<div id="root-path" class="muted mono"></div>
|
||||
</header>
|
||||
|
||||
<nav id="slots" aria-label="Sloty"></nav>
|
||||
|
||||
<main>
|
||||
<aside>
|
||||
<input id="filter" type="search" placeholder="filtruj pliki slotu…" autocomplete="off">
|
||||
<ul id="manifest"></ul>
|
||||
</aside>
|
||||
|
||||
<section id="panel">
|
||||
<p class="muted">Wybierz slot.</p>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<div id="toast" hidden></div>
|
||||
<script src="app.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user