# Hamtaro: Ham-Ham Heartbreak — randomizer research handover # IMPORTANT: read AI disclosure first, I do not recommend most people looking through these notes as they are primarily output from me testing out current AI capabilities. ## What this is Notes from building HamHamPelago, an Archipelago multiworld randomizer for Hamtaro: Ham-Ham Heartbreak (GBA, USA release). The randomizer is done and shipped, but pre-human testing/featuring some unfinished work and bugs: 133 tests pass, 187 checks are reachable and beatable in logic, both goals work. This package provides the notes from the reverse engineering process in both summary and raw states. ## How to read it **10 minutes:** read `SUMMARY.md`. It states the project, the routing, the memory map, the words and couples, the goals, the ROM patches, the client, what was verified live and what was not, the known bugs, and the open questions. Each section points to the raw files behind it. **In depth:** read the topic files in `summaries/`. Each is 1–3 pages on one subject, with the same evidence-first style. **Full detail:** read `raw/`. Those are the working notes, copied as-is: static traces, live-test logs, dead ends, corrections, driver-run logs. Use `raw/INDEX.md` to find files by topic. Raw notes are messy on purpose. They are the record, not the summary, and they contain superseded claims. Trust the summaries over the raw files where they disagree; the summaries say so when they correct something. ## What is not in here - **No ROM.** No base ROM, no patched ROM, no ROM file of any kind. The randomizer never ships one. You supply your own USA ROM to generate a game. Do not share, upload, or redistribute the base ROM. - **No savestates, no emulator, no Archipelago checkout.** The working environment is not included. The repo is the code; these notes are the research. - **No private memory.** The assistant's dated daily notes are not copied. The raw files are the project working notes only. ## Where the code lives Private repo `xaldin31/HamHamPelago`, branch `main`, remote commit `4f7029a3` (2026-11-24). The world is at `Archipelago/worlds/hamham_heartbreak/`. Built against Archipelago 0.6.9. The repo, not this package, is the source of truth for the code. ## Attribution Every substantive claim in the summaries carries a provenance tag. The tags: - `[User — live play]` — xaldin31's own playthrough and testing, and material he supplied (including the WIP TAS file he found). - `[Muse — live BizHawk]` — live emulator testing by Meta Muse Spark 1.3 (the model powering this assistant): BizHawk with the mGBA core, xdotool input, Lua RAM reads, savestates. - `[Static — Ghidra/hamtools]` — static tracing: Ghidra disassembly, hamtools script decoding, ROM byte scans. Hamtools was a modding repository for Hamtaro: Ham-Ham Heartbreak — a collection of individual tools, not one author's work — and it has since been removed. No single author is known to attribute it to, so it is credited here by name only. - `[Guide — ]` — public walkthroughs: CutyRamzez, toby_lover, 23jasdog23, Caiterz. Where a guide was wrong, the summaries say so and say what corrected it. - `[EU decomp / hamtaro-native]` — the EU matching decomp (josealmon/hamtaro-heartbreak, HEAD 14f0aec) and the hamtaro-native PC port (josealmon/hamtaro-native), including the 2026-11-28 code-diff, data-diff, and EU-routing comparisons. - `[Provenance unclear]` — the working notes do not say who found it. Nothing was guessed to fill a gap. ## A note on the raw files Raw notes contain absolute paths from the machine they were written on (`~/workspace/hamtaro/...`) and local details (savestate hashes, window IDs, driver-run logs). Those are left as-is because editing 183 files would destroy the record. The summaries use workspace-relative paths instead. Raw notes also contain the project's own GitHub handle in the repo name; that is the repo's published name, not personal data. ## Dates Work ran 2026-10-29 to 2026-11-28. The randomizer itself was complete by 2026-11-17. The 2026-11-28 work (EU decomp comparisons) is exploratory: it does not change the shipped randomizer, and switching to the EU ROM was analysed and not adopted. See `summaries/verification.md` and the EU routing section of `SUMMARY.md`.