This an unofficial localize project for game EXAPUNKS.
First at all, you should own this game, you can buy it on steam or GOG or whatever platforms.
1. install python 3 and some dependent libraries.
-
install python from https://www.python.org/downloads/
-
install pandas
pip install pandas
-
install openpyxl
pip install openpyxl
-
install Pillow
pip install pillow
-
install python-lz4
pip install lz4
- copy
Content/descriptions/en/*
to./export_txt/Content/descriptions/en/
- copy
Content/vignettes/*
to./export_txt/Content/vignettes
- copy
PackedContent/fonts/*.packedfont
to./font/fonts
- copy
PackedContent/*.tex
to./images/PackedContent
There are three json files in directory import_txt
, they need be translated.
You could run json2excel.py
to generate excel files from these json files, then edit them in M$ Excel or LibreOffice calc or whatever spreadsheet editor.
-
EXAPUNKS_descriptions.json
Grabbed from Content/descriptions/*.txt
All texts in this file need been traslated.
-
EXAPUNKS_vignettes.json
Grabbed from Content/vignettes/*.csv
All texts in this file need be translated.
-
EXAPUNKS_exe.json
Grabbed from EXAPUNKS.exe
Not all texts in this file need be translated.
Only translate the text you actually see in the game.
generate EXAPUNKS_descriptions.xlsx from EXAPUNKS_descriptions.json
json2excel.py EXAPUNKS_descriptions.json EXAPUNKS_descriptions.xlsx
do the same thing
json2excel.py EXAPUNKS_descriptions.json
traverse current directory, generate .xlsx files from all .json files.
json2excel.py
Run images/export_imgs.py
It will traverse directory PackedContent
, convert all .tex files to .png into the directory out
.
Pick up the images what you want to modify. (No need for half
's, we will generate them automatically.)
Put them all to the new
dirctory, keep the some directory struct.
Run run.bat
, the localization patch will be generated in patch
directory.
If you want to know more details about this procedure, see details.md
Edit %USERPROFILE%\Documents\My Games\EXAPUNKS\xxxxxx\config.cfg
Language = English
Change 'English' to 'Chinese | Japanese | French'