Files
syskiller 5e3303cba8
Paramix Studio / build (push) Canceled after 0s
Paramix Studio / pages (push) Canceled after 0s
Recognize ROM progress layouts and refine device menu and collection UI
2026-11-10 22:30:04 +09:00

53 lines
3.1 KiB
Markdown

# Collection and mission layout recognition
The editor accepts edition IDs 1 through 6 only when the loaded firmware matches
the audited Thumb routine semantics. It decodes the table pointers, RAM base and
save offsets from those instructions instead of copying Jade offsets by edition.
Only Jade Forest has been tested with a retail ROM. The other five ROMs are not
available. Synthetic relocated fixtures exercise all edition IDs and shifted
offsets; they are not evidence of retail compatibility. Unknown code is refused.
The save pages are 0xEFE000 and 0xEFF000. Bytes 0..3 contain CRC-16/ARC and its
inverse. The game reads the payload into RAM at 0x18000BA0, excluding those four
bytes. Consequently every RAM payload offset below has a +4 save-page offset.
| State | Payload offset | Save offset | Behavior |
| --- | --- | --- | --- |
| Registered characters | 0x84 + field * 4 | 0x88 + field * 4 | One bit per character |
| Viewed book entries | 0x94 + field * 4 | 0x98 + field * 4 | Preserved |
| Completed missions | 0xE8 | 0xEC | 22 valid bits |
| Viewed mission notices | 0xEC | 0xF0 | Preserved |
| Claimed mission rewards | 0xF0 | 0xF4 | Preserved |
The book's three pointer/count records are at flash 0x9A998. Each field has 22
IDs. This is 66 book entries, not all 90 character graphics in the ROM. The names
are taken from the loaded ROM. Mission names use text IDs 166 through 187.
Evidence from the user's privately held ROM:
- Book registration getter: 0x100046D0. It looks up the ID in the three tables
then reads the corresponding bit. 0x1000462C tests whether the entry is new.
- 0x10004774 marks a book entry viewed. It does not register the character.
- Mission completion getter/setter: 0x10021B08 / 0x10021BE8.
- Reward claimed getter/setter: 0x10021B48 / 0x10021C48. The latter is called
by the reward flow at 0x10044336.
- The completion evaluator at 0x100216E8 skips missions already completed.
- Language: bits 9..12 of payload u16 at 0x76. Runtime auto-language detection
was deferred; the website language selects the Korean or English menu.
The profile matches the complete registration getter and bit helper, two mission
getters and all three adjacent mission setters. MOVW/MOVT opcodes and registers
are decoded and checked. All routines must agree on the RAM base and corresponding
flag offsets. Multiple candidates, inconsistent writes and invalid tables are
rejected. It validates the live book table against the ROM's character catalog.
Applying progress ORs only requested valid registration/completion bits and
recalculates both page checksums. It does not grant reward items or change
mission activity counters. Rewards remain claimable on the device unless
already claimed. Existing reward records must never be cleared to grant twice.
Validation: all 66 registration bits and all 22 mission completion setters were
executed in isolation using the original Thumb instructions in Unicorn. Node
tests cover selected/all edits, untouched bytes, reward preservation, CRC,
save round trips and merging into a newer device save. Browser tests cover the
controls and coexistence with pet edits. No physical device was read or written.