SW:EaW Localization Suite

A toolkit for localizing games built on the Alamo engine (Star Wars: Empire at War). Automates the pipeline from binary data extraction to AI translation and manual review.

Utilities

EaWLocalizationTool.GUI — a WPF editor for DAT files for manual translation and review, built for modders who need full control over localization. Loads the original DAT plus a translation source (TSV or another DAT); filters by status (All / Untranslated / Translated / Modified / Issues / Technical); auto-validates \n, %s/%d, [tags], and <tags>; smart detection of technical entries (placeholders, crawl-text separators, DO NOT DISPLAY phrases, the TEXT_END_OF_DATA marker); a right-click context menu (copy original, paste original as translation, clear translation, copy key); safe writing that preserves CRC32 and keys as a byte-perfect copy of the original; autosave with a configurable interval; error/event logging for crash diagnostics; dark/light theme with font scaling; TSV export for Excel/Google Sheets.

EaWLocalizationTool (console) — extraction of XML/DAT/TXT into TSV, matching with translation, and repacking while preserving CRC32.

StarWarsLocalizer — an AI translator based on the Gemini API (3.1 Flash Lite / 2.5 Flash) with two-level hallucination verification and technical token control.

EaWTextureConverter — a WPF tool for batch DDS↔PNG conversion without external executables, compatible with any EaW/FoC mod. Recursive mod folder scan or manual file selection; DDS → PNG conversion preserving the alpha channel (via Magick.NET, DXT1/DXT3/DXT5) and PNG → DDS via a custom binary writer (uncompressed BGRA 32bpp, output compatible with DirectX 9/the Alamo engine); automatic mod root detection via the Data\Art structure with no hardcoded names; support for both EaW layouts (Data\Art\Textures and Data\patch2\DATA\ART\TEXTURES) with the full relative folder structure preserved in the output; column sorting, select/deselect all, bilingual interface, dark and light theme.

MEGExtractor — a tool for working with the game’s .meg archives.

Requirements

Windows 10/11 x64, .NET 10 Desktop Runtime

Download

The latest releases are available on GitHub Releases.

Security and Transparency

The source code for all utilities and the Inno Setup installer script are completely open-source. Core tools are portable and run without special privileges: the SetupFonts.bat script automatically detects the OS version — on modern Windows (10 build 1809+ and 11) it allows local font installation without administrator rights, while older systems or a global install safely request elevation via UAC.

The installer uses HKEY_CURRENT_USER solely to support the uninstaller and track the version (to prevent duplication); SetupFonts.bat modifies the Fonts branch (in HKEY_CURRENT_USER or HKEY_LOCAL_MACHINE, depending on the choice made) to officially register fonts, which the game engine requires. Gemini API keys are entered manually by the user and are not stored in the repository.

The uninstaller completely removes all localization files and its own registry entries, and interactively confirms before automatically removing installed fonts from the system.

The files have been checked by Nexus Mods moderation and VirusTotal. The lack of a digital signature is standard for non-commercial fan projects.

Developed for Star Wars: Empire at War — Ukrainian Localization.

Credits