Skip to content

an unofficial localize project for game EXAPUNKS

Notifications You must be signed in to change notification settings

Coelancanth/EXAPUNKS-Localize

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

这里有中文版

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.

Prepare the environment

1. install python 3 and some dependent libraries.

2. copy game files to localization working directory

  • 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

Translate the texts

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.

How to use json2excel.py

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

Modify the textures

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.

Generate the localization patch

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

Change game settings

Edit %USERPROFILE%\Documents\My Games\EXAPUNKS\xxxxxx\config.cfg

Language = English

Change 'English' to 'Chinese | Japanese | French'

Some screenshots

About

an unofficial localize project for game EXAPUNKS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.2%
  • Batchfile 0.8%