File format · .s2ml
StarCraft II Map Localization: How .SC2Map Files Break and Repair
How StarCraft II maps store localized text in per-locale GameStrings files, why translations break, and how damaged .SC2Map archives are repaired.
StarCraft II maps carry more than terrain and triggers. Each map saved from Blizzard's editor can hold its own translations, so one file serves players in many languages. When that localization data breaks, players see raw text keys instead of words, or the editor refuses to open the map at all. This page explains how the localization works, why it fails, and what repair can recover.
What is StarCraft II map localization?
StarCraft II is Blizzard Entertainment's real-time strategy sequel, released in 2010 with expansions through 2016. The game ships in many languages, and custom maps follow the same pattern. The StarCraft II Editor includes a Text module where an author writes a string once, then adds translations for each language the map will support.
The saved map keeps all of those language tables inside itself. A player running a Korean client sees Korean wording, and an English player sees English, from the same file. Localization is therefore part of the map document, not a separate download.
Inside the .SC2Map archive
A map saves to disk as a .SC2Map file. Under that extension sits an MPQ archive, the container Blizzard has long used for its game data. The file opens with the ASCII letters MPQ followed by byte 0x1A. Related documents from the same editor share the container, including .SC2Mod dependencies and .SC2Assets packages.
Inside the archive live the map's parts: map information, terrain, regions, object data, and trigger data, which the editor compiles to its Galaxy script language. Localization occupies its own corner. Each supported language, such as enUS, koKR, or deDE, gets a locale folder holding a LocalizedData area with a file named GameStrings.txt.
That file is plain text, one entry per line, in a Key=Value form. A key identifies the string; the value is the wording shown in that language. For exact internals, Blizzard's own editor documentation remains the authority. This page covers the parts that matter when a map breaks.
Why do localized maps stop working?
Most serious failures start in the container. A crash or power loss while the editor is saving can leave the archive half written, with damaged internal tables. A truncated download or a failing disk does the same. The editor then reports the file as invalid, or opens it with content missing.
Other faults sit in the text layer. If a map ships without a folder for the player's language, the game typically falls back to a default locale. Entries that exist nowhere show up on screen as raw keys instead of words. Publishing with only part of a locale, or renaming keys inside a dependency mod, leaves dangling references of the same kind.
Hand edits cause a third group of problems. GameStrings.txt is UTF-8 text, and saving it in the wrong encoding can garble every non-ASCII character. Korean, Cyrillic, and Chinese strings suffer most. Duplicate keys and broken line endings can also stop a table from parsing.
What can be recovered from a damaged map?
When the container is damaged, the goal is simple: get the editor to open the file again. Terrain, triggers, object data, and every locale table can usually be salvaged even from a map that will not load. The archive stores them as separate internal files, so damage to one does not destroy the rest.
Our engineers triage what is readable, then rebuild what they can from the available sources. Those sources include the author's backups, an earlier copy of the map, or the published version on Battle.net that the game can still fetch. If one locale survived and another did not, the intact table supplies the complete key list.
Text layer damage is often fully recoverable. Intact entries are kept, garbled lines are repaired or flagged, and missing keys can be restored so translation resumes instead of restarting.
How does the repair process work?
Every job starts on a copy, and the original is never touched. We first examine the MPQ header and its internal tables to learn which parts are intact. Where the tables are damaged, we reconstruct them from the file layout and extract everything readable.
Next we parse each locale's string table. We repair encoding damage, resolve duplicate keys, and rebuild entries wherever a source exists. Finally we repackage the archive and test it: the editor must open the map, and each included language must display. You receive the repaired map plus the extracted text tables, which makes future translation far easier.
For the container side of this work, see our MPQ archive repair service. It covers the same archive family used across Blizzard's games.
Frequently asked questions
The map shows codes instead of words. Is it corrupt?
Not usually. The map is missing an entry for your language, so the game is displaying the raw key. Filling in the missing strings in the editor's Text module fixes it. Repair is only needed if the file itself will not open.
Can a new language be added to a map that only has English?
Yes. The Text module lets an author add locales to an existing map and translate one string at a time. We can also extract the existing table as a clean list for your translators.
Will repair change my triggers or terrain?
No. The aim is to leave every working part of the map exactly as it was. A broken string table can be rebuilt without touching trigger or terrain data at all.
The editor says the file is not a valid map. Is the work lost?
Often it is not. That message usually points to container damage rather than lost content. The archive's internal files are frequently intact and can be extracted into a map that opens again.
Do replays and bank files use the same format?
No. Replays (.SC2Replay) and player bank files (.SC2Bank) are different structures from the same game family. We treat them as separate jobs.
Localization damage in a StarCraft II map is usually narrower than it looks. If your map shows raw keys, lost languages, or will not open at all, send it to our team for a free evaluation. We will tell you what is recoverable before any paid work begins.
Send us your .s2ml file for a free evaluation
Our recovery engineers will tell you exactly what can be recovered — at no cost. There is no charge if we cannot recover your data.
Start a free evaluation