Metaphor: ReFantazio — Full Arabic Localization (Fan Mod)
A closed Persona-family engine that does no Arabic shaping and no bidi — it draws glyphs strictly left-to-right, in byte order. Every line is shaped, wrapped, and reordered offline, before the engine renders a single character.
Atlus's Metaphor runs on GFD, Studio Zero's in-house engine — the same
family as Persona 5 and Catherine, and neither Unity nor Unreal. Its text
lives inside an 85 GB CRIWARE CPK archive under per-file CRILAYLA
compression, with dialogue held in AtlusScript .msg files. The
engine expects a left-to-right script: it performs no Arabic shaping and no
bidirectional reordering, drawing glyphs in raw byte order and honoring
literal line breaks top-to-bottom. The usual "flip the font's line metrics"
shortcut is dead here — GFD reads usWinAscent/usWinDescent,
not signed metrics — so the text has to arrive already correct.
Full localization end-to-end: a custom CPK extractor handles the CRILAYLA decompression (chunks read as encrypted at ~8.0 entropy but were only compressed), and an offline RTL baker shapes each line into presentation forms, wraps it to a per-label box capacity derived from Atlus's own Japanese hand-wrapped line breaks, and reorders it visually — holding Latin islands in place and mirroring brackets — emitting hard line breaks the engine renders correctly. Colour tags, paired markup, and engine tokens survive the reversal intact. The Arabic font is injected into all nine font slots so names and menus render, and UI sprites are round-tripped through BC7 textures. ~1.16 million words translated through the hybrid localization workflow across more than 75,000 message entries.
Delivered as a one-click installer that deploys the build and proxies the engine silently, so players run it without touching a config file. Published on Nexus Mods.
- Words
- 1.16M
- Engine
- GFD · Studio Zero
- Approach
- Offline RTL baker