https://github.com/pez/sr2-progress
https://github.com/pez/sr2-progress
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/pez/sr2-progress
- Owner: PEZ
- Created: 2025-08-09T16:16:09.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2025-08-12T07:03:46.000Z (5 months ago)
- Last Synced: 2025-09-28T19:55:04.768Z (4 months ago)
- Language: Clojure
- Size: 79.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Sega Rally 2 NVRAM extractor
Data-first Clojure tools to parse Sega Rally 2 NVRAM (Supermodel emulator).
## Quick start (REPL)
Use Calva to jack in, then evaluate:
```clojure
(require '[sr2.nvram-extractor :as ne])
(def data (ne/read-nvram-bytes "data/srally2-known.nv"))
(-> (ne/extract-all-track-top3 data) (update-vals #(mapv :time %)))
(take 3 (ne/extract-championship-leaderboard data 0x267))
```
## Running tests (REPL-only)
Always run tests via the REPL:
```clojure
(require 'sr2.dev)
(sr2.dev/run-tests)
```
## Docs
- See `docs/PROJECT_SUMMARY.md` for layout, offsets, and capabilities.