Tool for parsing LOC files from EA games.
It allows to extract texts from almost any EA game that uses EA localization files.
It's designed to help with translation projects.
LOC file format description can be found on RE Wiki.
- Download and install Python 3.11.6. Remember to add Python to PATH during installation
- Download project's source code and unpack it
- Go to the directory containing source code
cd <directory_path>
- Create virtualenv and activate it
python -m venv my_env.\my_env\Scripts\activate.bat
- Install all libraries from requirements.txt file
pip install -r requirements.txt
- Run the main script file
python ea_loc_manager.py <arguments>
EA Loc Manager v1.0
options:
-h, --help show this help message and exit
-e loc_file_path ini_file_path, --export loc_file_path ini_file_path
Export from LOC file
-i ini_file_path loc_file_path, --import ini_file_path loc_file_path
Import to LOC file
-enc {utf8,utf16,latin-1}, --encoding {utf8,utf16,latin-1}
Encoding to use (default: latin-1)
Table below isn't complete. It contains only some example games that I was able to test. If you know any other EA game that is supported by my tool, please let me know on GitHub's "Issues" tab.
| Game Title | Export support | Import support |
|---|---|---|
| Harry Potter and the Chamber of Secrets (PS2) | ✔️ | ❌ |
| Medal Of Honor: European Assault (XBOX Classic) | ✔️ | ❌ |
| NHL 07 (PSP) | ✔️ | ❌ |
| SSX 3 (PS2) | ❌ | ❌ |
| SSX On Tour (PS2) | ✔️ | ❌ |
| SSX Tricky (PS2) | ✔️ | ❌ |