[IKS] Zanzarah: The Hidden Portal tools

Programs that are related to this or that game.
Post Reply
User avatar
ikskoks
Moderator
Posts: 942
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 506 times
Been thanked: 234 times
Contact:

[IKS] Zanzarah: The Hidden Portal tools

Post by ikskoks » Wed Dec 23, 2015 10:29 pm

Hello. I want to share with you my collection of Python scripts, which I wrote to translate Zanzarah: The Hidden Portal game.

* PAK file *
First step to make full localisation of this game is unpacking PAK archive. You don't have to repack
this archive, because game reads new files from game directory (just like in Telltale games).

To unpack all files from DATA_0.PAK file, just use my Zanzarah PAK tool.
Usage: <script.py> DATA_0.PAK

* FBS files *
All text from this game is in two FBS files: _fb0x02.fbs and _fb0x06.fbs
My first script can unpack text to simple TXT file, so it can be translated easily even in Notepad.
To unpack all text from FBS file, just use my Zanzarah FBS unpacker.
Usage: <script.py> _fb0x02.fbs

When you finish translating text, you may want to change chars from your native language to chars recognized by game. To do that, you can use my Zanzarah Char Replacer.
Usage: <script.py> _fb0x02_skrypt.txt
But first you have to edit this tool! For example in Polish language there is letter "Ł" and i replaced it to "Â" char by this line ".replace('Ł', 'Â')". You just need to change letter on the left.

And the last step is packing text to new FBS file, you can do that using my Zanzarah FBS repacker.
Usage: <script.py> _fb0x02_skrypt.txt _fb0x02_repack_data.dat

If you want to see some examples, you can download polish translation here http://ikskoks.pl/download/spolszczenie ... en-portal/



And all tools you can download below.
Source code available!
You need Python 2.7.5 to run these tools!
You do not have the required permissions to view the files attached to this post.

User avatar
Mr.Mouse
Site Admin
Posts: 4051
Joined: Wed Jan 15, 2003 6:45 pm
Location: Dungeons of Doom
Has thanked: 421 times
Been thanked: 575 times
Contact:

Re: [IKS] Zanzarah: The Hidden Portal tools

Post by Mr.Mouse » Sat Dec 26, 2015 9:44 pm

This doesn't run using Python 3.5.1?

User avatar
ikskoks
Moderator
Posts: 942
Joined: Thu Jul 26, 2012 5:06 pm
Location: Poland, Łódź
Has thanked: 506 times
Been thanked: 234 times
Contact:

Re: [IKS] Zanzarah: The Hidden Portal tools

Post by ikskoks » Sat Dec 26, 2015 10:29 pm

Mr.Mouse wrote:This doesn't run using Python 3.5.1?
No, sorry. Only older version are able to handle this code.

Post Reply