Skip to content

Extracts .locres from Unreal Engine unpacked: .pak or .utoc to localize the game.

License

Notifications You must be signed in to change notification settings

SolicenTEAM/UEExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solicen.UEExtractor

English | Русский

Made with ❤️ for all translators and translation developers.

This a script/tool to extract locresCSV from unpacked directory from the .pak or .utoc archive format Unreal Enigne (4.0 - 5.1).

With it, you will receive a locresCSV file for localization of the game based on its resources. However, locresCSV is not a special format, and this name is only used to separate from the regular CSV file, which it is anyway.

Caution

You will not be able to get strings from files that contain a DataTable structure and operate on these strings via .locres. Do not open a issue to solve this problem, I will not be able to solve it. Thank you for understanding.

LocresCSV Structure:

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,

Using:

  • Or download and drag & drop folder to a command tool to parse directory and get <dir_name>.csv.
  • Or use UEExtractor.exe in command line to parse directory.

UEExtractor - Unreal Engine (Text) Extractor

  • You can simply drag and drop directory with Unreal resources onto UEExtractor.exe to parse directory and get <dir_name>.csv.
  • Or use more advanced options with CMD.

Extract LocresCSV from game:

UEExtractor.exe <dir_path> <output_csv> 

Create .locres from csv file:

UEExtractor.exe <csv_path> <output_locres>
Argument Description
--skip-uexp, --skip-uasset skip .uexp or .uasset files during the process.
--locres write .locres file after parsing.
--underscore do not skip line with underscores: ex_string
--upper-upper do not skip line with upperupper: EXAMPLE.
--no-parallel disable parallel processing, slower, may output additional data.
--table-format replace standard separator , symbol to |
--headmark include header and footer in the csv.
--autoexit automatically exit after execution all processes.
--invalid include invalid data in the output.
--qmarks forcibly adds quotation marks between text strings.
--hash inculde hash of string for locres ex: [key][hash],[string].
--picky picky mode, displays more annoying information.
--url include path to file, example: [url][key],[string].
--help show help information.

Contributions:

  • 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. And further development of the project.

Thanks:

  • Ambi for his original script and idea to research.
  • Saipan for help in researching the creation of a locres file.