Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Telltale and Gametap - extract to translate

Need help translating games in other languages? Have your language problems solved here.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Telltale and Gametap - extract to translate

Post by aluigi »

released version 0.1.3 which is able to rebuild the ttarch archives:

http://aluigi.org/papers.htm#ttarchext

if I'm not in error sam&max use version 4 (you can verify it when you extract or list the original archive) so try the following example command-line:

ttarchext.exe -b -V 4 6 c:\output.ttarch c:\input_folder

obviously 6 is the key of "Culture Shock" so use the one of the game you have modified.
let me know if everything it's ok, in my tests I have rebuilt completely all the archives of monkey island and the game worked perfectly.
neoen
n00b
Posts: 19
Joined: Wed Oct 15, 2008 11:34 am
Has thanked: 2 times
Been thanked: 1 time

Re: Telltale and Gametap - extract to translate

Post by neoen »

Could you please look at attached .langdb file?
This file is for translation, but it is not simple text file. Do you have any idea to translate it in the best way. It reminds me some database file, but I am not sure... Any idea? Thank you very much...
You do not have the required permissions to view the files attached to this post.
oiakiller
ultra-n00b
Posts: 9
Joined: Fri Jul 17, 2009 1:36 am
Has thanked: 1 time

Re: Telltale and Gametap - extract to translate

Post by oiakiller »

Thx, i'm going to test.

I will post the results

Edit: It's not working, when i click play the game, shows a message sayng thats a DLL error
You do not have the required permissions to view the files attached to this post.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Telltale and Gametap - extract to translate

Post by aluigi »

yeah this game crashes with the rebuilt archive.
I have already performed some tests in this moment without finding the cause so tomorrow I will take a look again to the info_table because there is additional data at its end
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Telltale and Gametap - extract to translate

Post by aluigi »

released version 0.1.4
this version is important also because there was a bug in the extraction where some rare files were corrupted in their last bytes, so remember to update.
oiakiller
ultra-n00b
Posts: 9
Joined: Fri Jul 17, 2009 1:36 am
Has thanked: 1 time

Re: Telltale and Gametap - extract to translate

Post by oiakiller »

Thanks, i will try and post the results
shippuuden
n00b
Posts: 15
Joined: Sun Jul 19, 2009 1:54 am
Been thanked: 3 times

Re: Telltale and Gametap - extract to translate

Post by shippuuden »

From Telltale Games I had only the new Monkey Island Part

And I try to extract an rebuilt it
and everything work perfect after the rebuilt

Now I try to edit the langdb ^^
Let see what can be done.

good work "Bugtest"

regards Shippuuden
oiakiller
ultra-n00b
Posts: 9
Joined: Fri Jul 17, 2009 1:36 am
Has thanked: 1 time

Re: Telltale and Gametap - extract to translate

Post by oiakiller »

Bugtest - The extract and rebuild works great!

But I'm having problems when I moddified the .Langdb

Now I just need to find a program to moddifie.

Thanks very much for the TTARCHEXT


THE TRANSLATIONS WORKS GOOD!!!!!!!!!!!!! TO TRANSLATE JUST NEED TO EDIT WITH A TEXT EDITO!!!

IMAGES: (PT-BR)

Image

Image


THANKS VERY VERY MUCH "BUGTEST"
shippuuden
n00b
Posts: 15
Joined: Sun Jul 19, 2009 1:54 am
Been thanked: 3 times

Re: Telltale and Gametap - extract to translate

Post by shippuuden »

Ohh, thats good news "oiakiller"
I will try tomorrow a bit with the "langdb"

@Bugtest
Is it possible to convert the (with -m extracted) ".dds" graphic files back to ".D3DTX"
(Or other way round)
Maybe so,
Is it possible to convert the (with -o extracted) "D3DTX" graphic files to ".dds" and then back (after editing)

There just a few pics, I want to edit
(In the Menu from MI)
And of course, I want to tinker a bit ^^

Yours sincerely
Shippuuden
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Telltale and Gametap - extract to translate

Post by aluigi »

the problem of the files (d3dtx, aud and lenc) handled with the -m option is that doesn't "seem" to exist a relation between them and the format of the file or the version of the ttarch archive or other things (lenc excluded which are simply encrypted completely and ever).
practically in the same ttarch file you could find 2 d3dtx files of which one has the first 0x800 bytes encrypted and the other which is clear.
then the d3dtx/aud formats are not known so the -m option does only a simple "search&dump" job, which is the only solution for viewing these files.

obviously I'm talking about the classical and automatic usage of ttarchext because you can do what you want performing some manual operations.

if you have a d3dtx file which is called (for example) launchmenu.d3dtx and you want to modify it you can do the following:
  • extract only that file using the -m option in another folder

    Code: Select all

    ttarchext -f launchmenu.d3dtx -m 24 narwhal.ttarch c:\
  • now take the launchmenu.d3dtx you extracted the first time and cut all the data after the header.
    for example if launchmenu.d3dtx is 14000 bytes and launchmenu.dds is 13500 you must remove the last 13500 bytes from the d3dtx one which will have a result size of 500 bytes
  • edit launchmenu.dds as you want with the only requirement of not modifying its size which must be the same of the original launchmenu.dds before your modifications because I don't know if it could give problems to the game
  • now append the content of launchmenu.dds to launchmenu.d3dtx using the following command:

    Code: Select all

    copy /b launchmenu.d3dtx + launchmenu.dds + launchmenu.d3dtx
now your d3dtx file is complete and ready for being reimported.
and don't worry, it looks more complex than how it is :)
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Telltale and Gametap - extract to translate

Post by aluigi »

oh, I forgot to say that if the d3dtx contains the dds with its first 0x800 bytes encrypted (you need a hex editor to verify it) you need to perform this additional cut+encrypt operation which could be boring.
shippuuden
n00b
Posts: 15
Joined: Sun Jul 19, 2009 1:54 am
Been thanked: 3 times

Re: Telltale and Gametap - extract to translate

Post by shippuuden »

I got it ^^

Its possible to change some pics ^^
I try it first with the Menu of MI (text on the right "the game title")
and there it work perfect

With Charakter or Obkekt textures, (Ingame)
I doesn't try it yet

@Bugtest
Why actually the rebuilted ".ttrach" so huge ?
The original such one third of then
Its undisturbing, but why this happend ?

Yours sincerely
Shippuuden
Last edited by shippuuden on Tue Jul 21, 2009 5:43 pm, edited 1 time in total.
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Telltale and Gametap - extract to translate

Post by aluigi »

the reason is simple.
in a couple of the MI ttarch archives it's used the compression and so they are smaller while in my rebuilder I supported only the clean method because it's retro-compatible with any older game and it's easier to implement.

if you have problems with the editing of the images just let me know it but I guess that the problems are only those with the 0x800 bytes encryption which are more boring to handle and, luckily, MI doesn't seem to use them :)
User avatar
aluigi
VVIP member
VVIP member
Posts: 1916
Joined: Thu Dec 08, 2005 12:26 pm
Location: www.ZENHAX.com
Has thanked: 4 times
Been thanked: 664 times
Contact:

Re: Telltale and Gametap - extract to translate

Post by aluigi »

IMPORTANT good news :)

is NOT needed to rebuild the whole ttarch archive but is enough to build a new one called 0.ttarch containing ONLY the files which have been changed.

for example I have extracted button_launch_launchdemo.png (the "Launch free demo!" image) from 0_monkeyisland101_pc_launcheronly.ttarch, I have edited it, I have built a new 0.ttarch archive containing only this file and now the game shows my changed image when it runs instead of the original one.

I know that this thing was enough obvious but, in case someone didn't know it, I hope it's useful
shippuuden
n00b
Posts: 15
Joined: Sun Jul 19, 2009 1:54 am
Been thanked: 3 times

Re: Telltale and Gametap - extract to translate

Post by shippuuden »

Thats cool and really helpful

I try it with an edited langdb and a edited d3dtx file at once "0.ttrach" archive

And it works perfect
Thats really cool ^^

Thanks "Bugtest"

Did you know why the game prefer the content from the "0.ttrach" ?


Yours sincerely
Shippuuden
Post Reply