Skip to content

About

Tool for parsing LOC files from EA games

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

14 Commits

Folders and files

Repository files navigation

EA-Loc-Manager

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.

Dependencies

How to Build on Windows

  1. Download and install Python 3.11.6. Remember to add Python to PATH during installation
  2. Download project's source code and unpack it
  3. Go to the directory containing source code
    • cd <directory_path>
  4. Create virtualenv and activate it
    • python -m venv my_env
    • .\my_env\Scripts\activate.bat
  5. Install all libraries from requirements.txt file
    • pip install -r requirements.txt
  6. Run the main script file
    • python ea_loc_manager.py <arguments>

Usage

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)

LOC formats support table

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) ✔️ ❌

Badges

GitHub Code style: black GitHub repo size GitHub all releases GitHub last commit GitHub commit activity

About

Tool for parsing LOC files from EA games

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages