From 22c922ffe312a75407fdd282faf500f697462e53 Mon Sep 17 00:00:00 2001 From: Fiereu Date: Mon, 3 Aug 2026 22:59:26 +0200 Subject: [PATCH] docs: explain the roms folder and why the build wants one (#87) --- README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/README.md b/README.md index 350723a..2da1a08 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,19 @@ git submodule update --init --recursive Without the submodules the `:maps` build fails, because the generator has no decomp data to read. +### ROMs + +A dialog id is a file offset into the retail GBA ROM. The decomp is byte-identical +to it, so the generator encodes a text from the decomp, finds those bytes in the +ROM, and packs the offset into the id. The decomp alone has no offsets. + +Put the Emerald (`BPEE`, Hoenn) and FireRed (`BPRE`, Kanto) ROMs in `roms/`. +Filenames do not matter, each is identified by the game code in its GBA header. +The folder is **gitignored**, this project ships no ROMs. + +Without them the build still succeeds and every dialog id is `0`, so CI passes but +the client shows the wrong text. + ## Configuration All local configuration and secrets live in a `.env` file at the repository