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.
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.
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.
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