XeNTaX Forum Index
Forum MultiEx Commander Tools Tools Home
It is currently Sat Jul 22, 2017 10:03 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [IKS] Zanzarah: The Hidden Portal tools
PostPosted: Wed Dec 23, 2015 10:29 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Thu Jul 26, 2012 5:06 pm
Posts: 212
Location: Poland, Łódź
Has thanked: 277 times
Have thanks: 62 times














You can make the ads go away by registering

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!


Attachments:


You do not have the required permissions to view the files attached to this post. Register to gain access.


_________________
http://ikskoks.pl/
https://www.facebook.com/ikskoks
Image


Top
 Profile  
 
 Post subject: Re: [IKS] Zanzarah: The Hidden Portal tools
PostPosted: Sat Dec 26, 2015 9:44 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 15, 2003 6:45 pm
Posts: 4006
Location: Dungeons of Doom
Has thanked: 408 times
Have thanks: 547 times
This doesn't run using Python 3.5.1?

_________________
Please like our Facebook page!


Top
 Profile  
 
 Post subject: Re: [IKS] Zanzarah: The Hidden Portal tools
PostPosted: Sat Dec 26, 2015 10:29 pm 
Offline
mega-veteran
mega-veteran
User avatar

Joined: Thu Jul 26, 2012 5:06 pm
Posts: 212
Location: Poland, Łódź
Has thanked: 277 times
Have thanks: 62 times
Mr.Mouse wrote:
This doesn't run using Python 3.5.1?

No, sorry. Only older version are able to handle this code.

_________________
http://ikskoks.pl/
https://www.facebook.com/ikskoks
Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group