15 Commits

Author SHA1 Message Date
Houmgaor
47277c712d feat(savedata): parse zenny/gzenny/CP from ZZ save blob
Adds read-only parsing for three scalar fields in the ZZ character save
blob: zenny (0xB0), gzenny (0x1FF64) and caravan points (0x212E4). Also
registers an offset for current_equip (0x1F604); extraction deferred
until its length is reverse-engineered. Offsets sourced from
Chakratos/mhf-save-manager and validated against a live HR999 blob.

Scope is intentionally ZZ-only: mhf-save-manager's F5 and G1-G5.2 maps
are not validated against live data, and the dormant pPlaytime vs
item_pouch collision in those versions is not resolved yet. Non-ZZ
modes leave the new pointers unmapped, and the read path is guarded by
`ok && off > 0 && off+size <= len(blob)` so unverified versions cannot
accidentally read from the blob.

Tests cover positive-path roundtrip (including live kirito blob),
regression guards for existing fields, non-ZZ isolation, new-character
skip, and bounds safety against truncated blobs.
2026-04-17 23:04:30 +02:00
Houmgaor
ca12635234 chore: gitignore CLAUDE.local.md 2026-04-06 18:04:34 +02:00
Houmgaor
a369a855bf fix: anchor binary names in .gitignore to repo root
Unanchored patterns like `protbot` match anywhere in the path,
causing spurious warnings when staging files under cmd/protbot/.
2026-02-20 21:27:06 +01:00
Houmgaor
c8996e0672 chore: add protbot binary to gitignore 2026-02-20 14:38:35 +01:00
Houmgaor
a30ff33a09 chore: add editor artifacts, coverage output, and .claude/ to gitignore 2026-02-18 17:33:41 +01:00
Houmgaor
a8f70df1fb fix: clean up Docker setup (compose, README, gitignore)
- Remove deprecated version field from docker-compose.yml
- Pin Postgres to 18-alpine (matches existing db-data)
- Remove undocumented web (Apache) service
- Fix config/bin volume mounts to use docker/ directory
- Gitignore docker/savedata, docker/bin, docker/config.json
- Rewrite docker/README.md: fix typos, use docker compose V2
  commands, match actual compose file behavior
- Link docker/README.md from main README Docker section
2026-02-17 15:16:57 +01:00
Houmgaor
9761f84e05 chore: add logs, binaries, and env to .gitignore 2026-02-16 11:32:47 +01:00
Houmgaor
5298ae72f9 fix: better handling of config. 2025-10-19 17:59:49 +02:00
Houmgaor
f410cbd48b chore: minor files update. 2025-10-18 18:57:16 +02:00
stratic-dev
3797438ca2 No database 2024-03-15 00:54:18 +00:00
stratic-dev
def2bc3d2c initial commit 2024-03-12 23:00:01 +00:00
stratic-dev
abe4744587 Added db init script. Combined all schemas under schemas. Persisted
updates and init
2024-01-24 04:35:24 +00:00
wish
d993a095a0 update gitignore 2022-08-07 20:49:15 +10:00
wish
a0be6c627c repository cleanup 2022-07-29 03:12:08 +10:00
wish
628975db68 update gitignore 2022-07-22 13:14:38 +10:00