Made with ❤️ for all translators and translation developers.
This a tool on .NET 10.0 to extract text from any game on Unreal Engine (4.0 - 6.0).
Using CUE4Parse to work with Unreal Engine archives .pak and .utoc.
With it, you will receive a locresCSV file for localization of the game based on its resources.
Important
Now available fully functional extraction of DataTable, StringTable and direct .locres reading for games that ship pre-compiled localization binaries.
Will be imported or converted to .locres file.
- key = unique string of 32 characters.
- source = string from decoded text data
- Translation = null from unpacked resources
key,source,Translation
4A6FDB1549E45F6C5D8D739129686E2F,Default,
Importing a Translation column from CSV also possible via UE4localizationsTool.
For games running on Unreal Engine 4 before ZenLoader.
Find out if your game requires an AES key or not, as it may not be needed and the steps can be skipped.
Tip
The engine version and game type are detected automatically from the game executable.
- For many well-known games (see Supported games) no
-vflag is needed at all. - You can still override with
-v=UE5_1if auto-detection gives wrong results. - All UE version values come from the CUE4Parse library; find the right one via FModel.
- You will need to have an AES key to view the archives and retrieve data from them.
- You can find it online if you don't have it, or find it yourself from the resources.
- You can also get it using the
--aes:autoargument if the game does not have special encryption.
- Place
aes.txtin the main game directory with one line as 32-character hex string.- Or provide it with the argument
--aes=<key>. Key must start with0x.
- Or provide it with the argument
For games running on Unreal Engine 4-5 with ZenLoader.
First, follow the steps described above, and only then continue.
Important
You need to get the .usmap file to access the game's resources and archives.
- As before, you can find this file on the Internet, if you don't have it.
- Check nexusmods and modding forums for its availability.
- Or direct dump this file with UE4SS-Experimental, see extracting usmap guide.
- Place the
.usmapfile in the main directory of the game (or a subdir), and the tool will find it automatically. - The preparation for the work is completed.
The following games are auto-detected by folder or executable name — no -v flag required.
Game-specific pak formats, index offsets, and custom encryption are applied automatically via CUE4Parse.
| Game | Notes |
|---|---|
| Neverness To Everness | Custom pak index offset; .locres files are encrypted |
| Ash Echoes | Custom file provider |
| Wuthering Waves / KuroGames | Partial-encryption pak format |
| inZOI | Custom FPakInfo offset |
| Marvel Rivals | Custom encryption (auto-configured by CUE4Parse) |
| Dead by Daylight | Custom encryption (auto-configured by CUE4Parse) |
| FragPunk | Custom global IoStore handling |
| Infinity Nikki | Custom encryption (auto-configured by CUE4Parse) |
| Snowbreak: Containment Zone | — |
Tip
Detection works on the game folder name and the main .exe name (spaces, hyphens and underscores are ignored).
If your game is not listed, use -v=<UE_version> to specify the version manually.
Note
It happens automatically when you re-run the extraction of the same game (in the same folder).
- Very useful when the game is being updated and you need to get new lines without losing the translation.
Exactly how it works:
- If the row contains values in only 2 columns (
key&source) and theSourcevalue in theKeydoes not match — theSourcevalue from the past is added as aTranslation. (As an example when exporting from UE4localizationsTool) - Otherwise, if it matches, the value from the
Translationcolumn is written toTranslation. - Lines present in the previous file but not in the new one are preserved.
- Download and drag & drop a folder onto
UEExtractor.exeto parse the whole game directory and get<dir_name>.csv. - Or use
UEExtractor.exein the command line with arguments.
- Drag & drop the game folder onto
UEExtractor.exeto get<dir_name>_locres.csv. - Drag & drop a
locresCSVfile ontoUEExtractor.exeto get a.locresfile. - Or use the advanced options below via CMD.
UEExtractor.exe <dir_path> [output_csv] [arguments...]UEExtractor.exe <csv_path> <output_locres>UEExtractor.exe <original.locres> <translations.csv> -v=GAME_NevernessToEvernessThe patch mode is the recommended approach for games like Neverness to Everness that use NTE-encrypted v3 .locres files.
Instead of rebuilding the locres from scratch (which can miss entries), it:
- Reads the original game
.locresas a structural template (preserving every namespace, hash, key and their exact order). - Replaces each string with the translated text from the CSV (
Translationcolumn, orSourceas fallback). - Re-encrypts the strings and writes the output as
<original>_patched.locres.
The output is structurally identical to the original — same entry count, same namespace hashes, same key order — guaranteeing correct in-game lookup.
Full NTE translation workflow:
:: Step 1 – Extract and translate to Italian using an OpenRouter model
UEExtractor.exe "L:\Game" K:\output\ --path=HT/Content/Localization/Game/en/ ^
--lang:from=en --lang:to=it ^
--api:key=<your_key> --api:model=<model> --batch-size=50
:: Step 2 – Dump the original encrypted locres for use as template
UEExtractor.exe "L:\Game" K:\output\ --path=HT/Content/Localization/Game/en/ --extract-locres
:: Step 3 – Patch the original locres with Italian translations
UEExtractor.exe Game.locres K:\output\Game.csv -v=GAME_NevernessToEverness
:: → produces Game_patched.locres (deploy this to the game's Localization/it/ folder)Tip
The hash sidecar (.locreshashes) is saved automatically during extraction and loaded during import.
It preserves the game-original CityHash64 key hashes so the game's TMap lookup succeeds even for
games that use non-standard hash truncation (like NTE).
UEExtractor.exe <dir_path> --api:url=http://localhost:11434/v1/ --api:model=llama3 --lang:from=en --lang:to=itAny server that exposes an OpenAI-compatible /v1/chat/completions endpoint works. No --api:key is required for local servers.
UEExtractor.exe <dir_path> K:\output\ --path=HT/Content/Localization/Game/en/When the second argument is a directory path (ends with \ or /), each .locres file gets its own CSV named after it (e.g. Game.csv). If two locres files share the same name (from different pak chunks), the pak chunk name is appended: Game_pakchunk0-Windows.csv.
UEExtractor.exe <dir_path> --path=HT/Content/LocalizationIf you already know where the localization lives (e.g. from FModel), use --path to skip scanning the entire game.
| Argument | Short | Description |
|---|---|---|
--version=<ver> |
-v |
Set the engine version or game name. Auto-detected when omitted. Use -v=GAME_NevernessToEverness (or -v=NTE) to enable NTE encrypted locres output. Examples: -v=UE5_6, -v=Stalker2. |
--aes=<key> |
-a |
32-character hex AES key (must start with 0x). |
--aes:auto |
-a:auto |
Automatic extraction AES key into aes.txt at the root of the game (for directories only) |
--mapping |
-map |
Loads the USMAP file directly from the specified path. |
--search |
-s |
At the end, if the string was found, it outputs information about all its occurrences. |
--path=<virtual_path> |
-p |
Restrict processing to assets under a specific internal path (e.g. --path=HT/Content/Localization). Case-insensitive substring match. |
--verbose |
-vb |
Show per-file processing details and diagnostic info instead of the progress bar. |
--skip-uexp |
-s:xp |
Skip .uexp files during processing. |
--skip-uasset |
-s:et |
Skip .uasset files during processing. |
--read-locres |
-rl |
Read strings directly from .locres files. |
--locres |
-l |
Writes specified version (up to 3) of .locres file after process. ex -l=2 (Default: 1 or Compact). |
--extract-locres |
Dump the raw .locres binaries from the pak to the output directory (useful for inspection or as patch template). |
|
--all |
-all |
Process all folders in the archive (including effects, meshes, sounds, etc.). |
--no-underscore |
-n:un |
Skip lines with underscores: ex_string |
--no-uppercase |
-n:up |
Skip lines with ALL UPPERCASE: EXAMPLE |
--table-format |
-tf |
Replace the standard , separator with |. |
--headmark |
-m |
Include header and footer in the .csv. |
--auto-exit |
-exit |
Exit automatically after all processes complete. |
--invalid |
-i |
Include invalid data in the output. |
--qmarks |
-q |
Forcibly add quotation marks around text strings. |
--hash |
-h |
Include combined source hash: key,hash,<string> |
--url |
-url |
Include path to each file: path,key,<string> |
--picky |
Picky mode — displays more detailed per-file information. | |
--table:only:key=<name> |
-t:o:k |
Include only entries whose key/name matches the given value. |
--lang:from=<code> |
-l:f |
Source language for translation (e.g. en). |
--lang:to=<code> |
-l:t |
Target language for translation (e.g. ru). |
--api:key=<key> |
-a:key |
API key for OpenRouter or any server that requires authentication. |
--api:url=<url> |
-a:url |
Custom OpenAI-compatible base URL for a local model (e.g. http://localhost:11434/v1/ for Ollama). Omit for OpenRouter. |
--api:model=<model> |
-a:model |
Model name to use (e.g. tngtech/deepseek-r1t2-chimera:free for OpenRouter or llama3 for Ollama). |
--batch-size=<n> |
-bs |
Number of segments sent per translation request (default: 150). Lower for models with small context. |
--parallel=<n> |
-par |
Number of concurrent translation requests (default: 1). Increase for faster translation with local models. |
--translate-only |
-t:o |
Skip extraction entirely and translate the existing CSV file(s) from a previous run. Resumes from where translation stopped. |
--help |
Show help information. |
- You can create your own fork of this project and contribute to its development.
- You can also contribute via the Issues and Pull Request tabs by suggesting your code changes.