sonicpp / Dune-game-translations

Translation text and utils for Cryo's game Dune.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cryo Dune translation

This file will help you to translate Cryo's game Dune into your language. Some importat howto was grabbed from Dune Revival project and FED2k discussion.

Extraction

All Dune text files are compressed with HSQ algorithm. To decompress HSQ file use hsq util:

$ utils/hsq -d FILE.HSQ > FILE.BIN

After extraction you can also unpack these files to better editable format by using utils/tu util - this util will put each phrase on single line:

$ utils/tu -u FILE.BIN FILE.TXT

Warning: if you do not use utils/tu, then all phrases have to be exact size as the original file - it is because of offsets in the file.

Translation

Now, when you have files prepared, you can translate them. Choose, which files you will be editing (see files/TEXT.md for files description):

English:

  • PHRASE11.HSQ
  • PHRASE12.HSQ
  • COMMAND1.HSQ

France:

  • PHRASE21.HSQ
  • PHRASE22.HSQ
  • COMMAND2.HSQ

German:

  • PHRASE31.HSQ
  • PHRASE32.HSQ
  • COMMAND3.HSQ

Warning: beware of special bytes - these bytes has to be preserved. See files/TEXT.md for details.

Warning: Special national characters are not supported right now, use the same characters as editing file.

Packing

When your translation is done, just pack them back into game format (if you unpacked them before):

$ utils/tu -p FILE.TXT FILE.BIN

and then compress them back to HSQ:

$ utils/hsq -c FILE.BIN > FILE.HSQ

About

Translation text and utils for Cryo's game Dune.

License:GNU General Public License v2.0


Languages

Language:C 76.0%Language:Python 19.4%Language:Shell 3.6%Language:Makefile 1.1%