# `tools/save-format-doc/fixtures/`

Synthetic sample files used by `runCatalog` to populate `sample_records[]` in
`docs/extracted-server/save-formats.json`. **Every byte in this tree is
deliberately constructed** — no real usernames, passwords, message-board
content, or character data from `legacy/servers/` is present.

The grammar shape of each fixture mirrors the schema derived from
`extracted/server-5-4/scripts/`. Phase 4 SRV-10/11 may use these fixtures as
parser unit-test inputs.

## Encoding

All `.bno` / `.bnb` / `.bnu` / `.txt` files are written with `windows-1252`
single-byte encoding and CRLF line terminators (matching the GameMaker 5.3a
`file_text_*` host conventions verified in `GROUND-TRUTH.md` §A1).

## File map

| Fixture path | Models grammar of | Source GML |
|--------------|-------------------|------------|
| `MSettings.bno` | flat 4-field | `0386-load_settings.gml` / `0387-save_settings.gml` |
| `MB_Log.bnb` | sectioned (`@TOPIC` / `@REPLY`) | `0365-mb_backup.gml` / `0366-mb_restore.gml` |
| `User_DBUpdated.bnu` | flat-loop (real count then per-user (string,string)) | `0379-users_restore_old.gml` |
| `localList.txt` | flat-loop until EOF (per-user (string,string)) | `0392-users_load.gml` |
| `UserData/HXB/Bridges_0.bnu` | flat real count + N strings | `0383-uhxb_restore.gml` / `0384-uhxb_backup.gml` |
| `UserData/Inv/Inventory_0.bnu` | nested-loop (cats × items) | `0376-uinv_backup.gml` / `0377-uinv_restore.gml` |
| `UserData/Areas/Areas_0.bnu` | flat-loop reals | `0368-uarea_restore.gml` / `0369-uarea_backup.gml` |
| `UserData/MB_News/News_0.bnu` | flat-loop reals | `0371-unews_backup.gml` / `0372-unews_restore.gml` |
