Repository navigation
French: complete port menus, accents and locale tables (follow-up to #34) - #43
Conversation
|
Thanks for picking this up, and for the clean split - the credit line and the compare link make it easy to see what is yours. While #34 is in the queue I re-ran your branch on a fresh tree, and it holds on both halves:
Good to see a French build has been on real hardware, too - that was the one gap our PR left open. |
ZallaxDev
left a comment
There was a problem hiding this comment.
Thanks both (@Sneazynek, @andyst-dev): the French work looks solid, and it's legally clean (offsets and symbols only, the same model as Spanish). Before merging:
- Please retarget the PR to
dev(we never merge intomainoutside releases) and rebase onto the currentorigin/dev. Note thatdevhas just received #49, which adds four ENHANCEMENTS rows in3ds_extras.c(they'll needCTR_TEXT) and touchesspanish.json.gz. origin/devrebased several pinned files inspanish.json.gz. Please rebase bothspanish.json.gzandfrench.json.gzon the merged tree (source spans only; ROM offsets must stay identical) and confirm thatlocalize_spanish.py/localize_french.pypass on BPES/BPEF. Right nowfrench.json.gzpins hashes thatdevno longer has.- Patch 0041 collides with #30 (
0041-physical-special-split). The French series can keep 0041–0045 if it lands first; just make sure the numbers are still free at rebase time. Please give 0044/0045 the standard header (Pokémon Emerald 3Ds Dual Screen changes to pret/pokeemerald 76463da…:+Applies after …). CtrLocale_Glyph: please add í/ó/ú/Í/Ó/Ú/¡/¿, and note in the PR that&/,/%now render in English too (e.g. "TMS & HMS").- Please attach bottom-screen screenshots in French of OPTIONS/ENHANCEMENTS/CHEATS and of the summary/moves panels, so we can check the longer labels fit.
- Keep the CHANGELOG entry under "Unreleased" after the rebase.
Adds the French localization next to the Spanish one: the manifest of source positions, ROM offsets, symbol names and addresses (tools/locales/french.json.gz and french-symbols.s.gz), tools/localize_french.py, the BPEF profile in the builder and the web manifest, the language patches 0041-0043, docs/FRENCH.md, and the release plumbing (payload/fr, Emerald3DS-fr.3dsx). The Pokédex metric branch is shared with the Spanish build, so patch 0035 and the recorded src/pokedex.c hash of both manifests change; no other Spanish data does. build_release.py now takes the reference symbol file's language from the variant it is building (the name was hardcoded to Spanish), so the French variant carries its own; the Spanish build reads the same file as before.
Rebase locale source spans onto the merged dev tree without changing any ROM read. Translate the four enhancements from ZallaxDev#49, complete Spanish glyph support, standardize the French patch headers and keep the French changelog under Unreleased. Document pending console photos and the fixed SD save paths. No hardware testing is claimed; BPES staging remains untested because no Spanish ROM is available.
Account for the caught-mon Pokedex fix merged from ZallaxDev#50 while preserving every French and Spanish ROM read. Keep the French patch numbers at 0041-0043, 0045 and 0047, leaving 0044 to dev and 0046 to pending ZallaxDev#30.
d5c2ffa to
7565930
Compare
|
All six points are addressed on this branch.
The branch carrying all of the above is Screenshots: French bottom-screen shots of OPTIONS/ENHANCEMENTS/CHEATS and of the summary/moves panels are coming in a follow-up comment. |
|
French bottom-screen captures, taken from a build of the rebased branch (dev + #49 + this series). Only the lower screen in each shot, so the longer labels can be judged without the rest of the emulator window around them.
2. ENHANCEMENTS - the four rows #49 added are the top two left and the top two right: IV ET EV, ALERTE REPOUSSE, CT INFINIES, COURIR DEDANS
3. CHEATS, first page
4. CHEATS, second page
5. The bag pocket reading "CT & CS" - the & case
6. Summary, info page (this and the next one are the native screens patches 0044/0047 touch, which is where a label that is too long would show)
7. Summary, moves page
Nothing overlaps or is cut off in any of them. |
- PHYS/SPEC SPLIT gets its French label (PHYS./SPÉC.) through CTR_TEXT, and the summary's Category row reads CATÉG. in the French build, shortened like the Spanish CATEG. (0046 patch updated to match). - french.json.gz and spanish.json.gz rebased from #43's tree onto dev (battle_interface.c, pokemon_summary_screen.c): source positions only, ROM offsets unchanged. localize_french.py passes on BPEF, localize_spanish.py on BPES. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Merged into All six review points are in. I merged this branch ( Since #30 (the physical/special split) landed first, I added one follow-up commit on our side:
Checked on our side: Thanks for the careful credit trail, the glyph and font tests, and the screenshots. andyst-dev, your #34 work arrives through this merge. |







French port options need translated labels, the touch-screen font adapter needs
accent support, and several locale tables need French widths or ordering. This
follow-up completes those parts using andyst-dev's ROM detection, extraction,
builder and release integration from #34.
This remains a dependent Draft PR while #34 is open. The branch now targets
dev, rebased onto
564f225c960dbbd221fdf092851d24147375b98d, including #49,#50 and the host-test fixes from #37. No release branch is changed.
The original French-support commit by andyst-dev,
c06265b,is retained with its author and authored date as rebased commit
1c32e51.His work is not presented as ours. Our original two follow-up commits retain
their authorship as
2bec6a3anddcaa49f; the review fixes aref74a602and7565930. The follow-up comparisonshows only our 15 changed files. The combined diff against dev still includes
the underlying contribution from #34. Existing upstream and third-party
credits, including Jesus Oliva's Spanish work, are preserved.
Changes and review responses:
values and summary labels. All four ENHANCEMENTS rows added by ENHANCEMENTS: IVs/EVs, Repel prompt, infinite TMs, run indoors; Fly and Flash from the Bag #49 now use
CTR_TEXT: IV ET EV, RAPPEL REPOUSSE, CT INFINIES and COURSE INTÉR.Existing English and Spanish labels are retained.
454/454 and Spanish 449/449 source hashes, spans and bounds match. Against
the previous PR head, all 19,356 French and 19,348 Spanish edit reads retain
their ROM offsets, sizes and kinds; the source fragment at every edit is
unchanged. Graphics, symbol references and all other manifest metadata are
unchanged. Only source positions and source hashes were updated.
(The Pokédex page after a catch shows its whole description (#29) #50). The French series therefore uses 0041–0043, 0045 and 0047:
former French 0044 is now 0045; former French 0045 is now 0047. Number 0046
is left available for the current patch in pending ENHANCEMENTS: the physical/special split, with category icons #30. These numbers were
checked against dev and ENHANCEMENTS: the physical/special split, with category icons #30 at rebase time. Both renamed patches have the
standard pinned-pret header and an
Applies after …line; the completesorted patch series applies to pinned pret commit
76463dac15cad36aca5e2b3f6366abf9e53f814f.CtrLocale_Glyphnow supports í/ó/ú/Í/Ó/Ú/¡/¿, including the game'snon-contiguous codes for í and Í.
&,,and%render in English too,including
TMS & HMS. Adapter tests cover those characters in EN, ES andFR, invalid UTF-8, unsupported characters, termination and truncation.
rows, 22-byte type names, team EXP message, metric Pokédex and decimal comma.
Game-side changes stay guarded by the port and language checks.
0.3.1 release notes. The French guide lists the required photos and explains
the fixed SD save paths for testing separately from an existing installation.
Validation on exact head
7565930(2026-10-11):checks for all three languages; Python byte-compilation passed.
a local BPEF ROM-byte scan. The synthetic web payload contract audit passed.
Follow-up commits pass
git diff --check; the four existing notices inFrench: play from your own Pokémon Émeraude (France) ROM #34's patch context are unchanged.
the four new labels measure 34/73/49/61 pixels in a 96-pixel name area.
Tab labels, including both CHEATS page numbers, fit their available width.
These measurements do not replace screenshots.
localize_french.pycompleted successfully on the clean BPEF ROM againstthis rebased tree, with no source or ROM-range rejection.
All other host verification targets (input, video, pack, voxel, settings
and building proofs) passed separately, with native C tests under
-Werror.Separate ARM11/link audits passed for both builds; asset checks passed
(EN 6424/6424, FR 6393/6393). Strict engine-only publication audits passed
for both executables with a BPEF ROM-byte scan.
staging.py pak --rom <clean BPEF ROM>(the generic make target defaultsto the English ROM identity). All 6401/6401 files are byte-identical to
staging; payload CRCs, the BPEF SHA-1 and ABI
da7d2adcwere verified.The copied source overlay matches the committed head, and the delivered
executable/pack have recorded SHA-256 hashes. These private outputs
remain local and are excluded from Git.
Still pending before acceptance:
make verify: it was run on both English and French builds andfails at
verify-bottom-map. The unchangedbottom_map_test.pyextractorpicks the
RectsMeetprototype and the following unrelated animationfunction instead of its definition; its mocks also lack the current map
name bounds and raster helpers. The same failure was reproduced using
the test, helper and UI source exported directly from current dev
564f225. Our follow-up does not change any of those map functions ortests. Other host targets and the ARM11/link audits were run separately;
their success does not constitute a passing complete verification suite.
contributor, so
localize_spanish.pyhas not been run with BPES on thisrebased head. Spanish source hashes, every span, ROM-read preservation and
the synthetic regressions pass. A reviewer with BPES still needs to run the
real staging command. andyst-dev's earlier successful BPES/BPEF checks in
this thread apply to the previous head, not to this one.
and this corrected branch has not been tested on a physical console.
Requested bottom-screen photos: OPTIONS/RÉGLAGES, AMÉLIOR. including the
four new rows, ASTUCES 1/2 and 2/2, Pokémon summary/statistics/moves panels,
and the battle move-selection panel, with long names, types and PP visible.
The contributor will provide the photos and console model; this PR will be
completed with that evidence afterward. Earlier launch/introduction/menu
observations belong to a previous private French build; emulator reports
in French: play from your own Pokémon Émeraude (France) ROM #34 belong to its author. No adventure, combat, save compatibility,
cheat behavior or performance validation of this head is claimed.
The private French test compilation is built from this exact committed head
and kept separately from the existing installation. It contains no save.
Testing instructions require a separate test SD card because the unchanged
engine uses fixed SD paths; launching the 3DSX in a differently named folder
would still share saves and settings. Private binaries and ROM-derived data
are not uploaded to this PR or committed.
AI disclosure: OpenAI Codex assisted with implementation, rebase, local checks
and this description. No prompts or transcripts are included. Maintainer
review and the pending hardware evidence remain required.