Skip to content

DATE A LIVE: Ren Dystopia — Spanish patch

Spanish patch for a PC/Steam visual novel: 12,849 translated lines, a font rebuilt by reverse-engineering the game's glyph table, and a one-click installer. Documented for other translators.

Author — translation, reverse engineering and tooling

maintained

  • Python
  • PowerShell
  • Reverse engineering

WebsiteSource

  • Translated all 12,849 dialogue lines of the visual novel into Spanish
  • Rebuilt the game font to support ñ, accents and ¿ ¡ — previously considered impossible
  • One-click PowerShell installer with backup, uninstall and verification
  • Raised the line limit from 59 to 69 characters by patching the .exe's advance-width table

Context

DATE A LIVE: Ren Dystopia is a PC/Steam visual novel whose font had no ñ, accents or ¿ ¡. For two years, adding characters to it was considered impossible (DALTools issue #46). It follows an earlier Spanish patch I worked on: DATE A LIVE: Rio Reincarnation.

What I did

I am the sole author. I translated and reviewed all 12,849 lines (Latin American neutral Spanish, keeping honorifics and each character’s catchphrases), reverse-engineered the game’s executable and font files, wrote the Python tools that rebuild the font, and built the installer. I also wrote the reverse-engineering notes in English so translators of other languages can reuse them.

Technical details

The game does not render text: it looks up each character in a table and copies a cell from a pre-rendered image atlas. The repository documents eight stacked problems, among them:

  • The lookup uses a binary search, so new entries must be re-sorted into the .code table, or they show as boxes.
  • The atlas is a strict grid, so glyphs cannot be packed tightly or they overlap.
  • ASCII spacing comes from a static table inside DateALive_RD.exe, not from the font.
  • ¿ and ¡ fell outside the engine’s “special” character range and got a 25 px gap, fixed with a 14-byte patch.

Rewriting the width table (828 bytes in the .exe, backed up and reversible) made text about 14 % narrower. The font is regenerated from any .ttf (403 glyphs, M PLUS 1).

Result

The installer is a .bat that uses PowerShell. It finds the Steam install, backs up the touched files, and can uninstall or verify. The repository has 9 GitHub stars and a latest release to download.

Type to search