Star Wars: The Old Republic fan-localization project
- Specify your game folder in
localization_assistance/Gamework.py
and run it to extract all known .stb files. Copy them intoresources_stb/en_all/
- Copy the directory you want to translate from
localization_assistance/resources_stb/...
totranslations/.../0_EN/
- Use
localization_assistance/translation_tool.html
to open and translate .stb files. (Blank lines can help you to understand the dialog structure.) Place translated files totranslations/.../
- Specify
xml
informat
parameter intor.extract_everything()
inGamework.py
and copy extracted files toresources_xml/
. Use 3rd-party programs to translate big files such asnpc.xml
and convert them back to .stb usinglocalization_assistance/xml_to_stb.py
- Collect the translated content into
trans/
withlocalization_assistance/files_to_trans.py
. Copy the game paths of the files you want to collect tolocalization_assistance/name.txt
and specify all required parameters in .py file (end_of_source_directory, prefix), then run .py file - Execute
localization_assistance/files_unification.py
to replace quotes, dashes, Sith, etc. - Edit
trans/settings.txt
(game path, filename intrans/
) andtrans/info.txt
- Package the files from
trans/
intotrans.zip
specifying this password:iz20Wo4suqmUcZHFXL8G
(7-zip, ZipCrypto) - Copy this package to your localization program directory, reinstall translation
Localization program is based on PyQT5. Graphics files contain "gui" prefix. After editing the source files, build them into executable with pyinstaller.
pyinstaller --onefile --icon=icon.ico --noconsole main.py
Then build the setup executable with Inno Script Studio (don't forget to edit paths in program/Build/base24_12.iss
)
SWTOR localization program that installs translation by modifying the game content.
Different tools for game localization (such as .stb to .xml file converter).
Translated game files to be inserted into the game content.
Original and translated game files.