Page 4 of 42

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 8:52 pm
by shippuuden
I had some problems with Notepad++
and its not so easy/comfortable to edit the hex Code for the textlength

But its your choice ^^

Yours sincerely
shippuuden

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 8:57 pm
by aluigi
editing binary data with a text editor is ever a bad idea.
luckily notepad++ handles enough well also the binary data (from 0x00 to 0xff) but obviuosly remains the problem of carriage return (0x0d) and line feed (0x0a) due to the usual window and unix mode.
so in any case a hex editor is not only suggested but even required.

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 9:15 pm
by TavoT
Yes, I see that using a Text Editor nothing works :P

Now, i've started using the Hex Editor, modified a few words, repacked ttarch and... game crashes... Do I have to change textlenght of every word I change? How do I know where the textlenght begins and ends for each line of text?

This will not be easy :P

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 9:21 pm
by shippuuden
At Menu or Objekt text ever the 4byte in front of the main text.
You musst for each dialog or Menutext count the letter and write it back at a hexnumber

I post a example in few minutes......

Image

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 9:25 pm
by johntus
The contents of this post was deleted because of possible forum rules violation.

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 9:44 pm
by shippuuden
@johntus

Ohh, great work.

Then you are faster then I ^^

I worked the last days on a online php based editor for the langdb.
So that a few people can work together at the same file
It almost workable but you guy where faster ^^
Such the write funktion doesn't work correct.... YET^^.

Good work,
such a english inteface is missing ^^
But with a bit trying its good workable ^^


Yours sincerely
shippuuden

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 10:09 pm
by TavoT
@shippuden: Got it... Everything understood... But i've translated the main menu texts, corrected the textlenght control and now texts have dissapear. You gonna end hating me :D

@johntus: Excellent tool, unfortunately it doesn't work on mi computer, I execute it, shows error message and closes. Bad luck for me.

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 10:14 pm
by shippuuden
@johntus

!!! IMPORTANT !!!
I found a small mistake at your editor

Three sentences wouldn't read in your programm


Thats the three sentences in front of the three ".anm/.wav" breaks

"....107684864.anm....107684864.wav000"


The three misssing sentences are probably used at the multiple choice interface

This are the three missing sentences:

{Confused}What was it I was supposed to be doing?
and twice this one
{Whiney}I haven't got a crew to take me to Lucre Island.

always in front of the ".anm/.wav" break

(yes, of course the sentences are twice existent at the file)
One for the speach (sub) and the other one for the multiple choice interface


EDIT:
And the long Menu text after the points "Periodic" and "Frequent" missing too

"Thanks for playing the Tales of Monkey Island demo! This is just the beginning - play the full series to join Guybrush on his exciting piratey quest!..You can also extend your pirate experience by joining Guybrush's Treasure Hunt..This additional mini-game is separate from the Tales of Monkey Island story"

So, than
"have fun to fix this"

I work meantime on my Online PHP based langdb editor ^^


@TavoT
No.... I dont hate you
hmmm but right now, I dont know what you make wrong on your side ?!?!

But now you have nen first editor from johntus
And without that tree dont editable sentences his tool work fine
His tool work at you file OR ?


Yours sincerely
shippuuden

Re: Telltale and Gametap - extract to translate

Posted: Fri Jul 31, 2009 10:41 pm
by TavoT
I now tried johntus program in other PC and worked.. I don't know what is wrong with mine... anyway my part of the job is repacking the file, i will not translate so that tool will be a great help.

Thank you all for your help!

EDIT: Fixed it... It Requires Microsoft .Net Framework 2 to work... I didn't have it installed, but donwloaded and installed it and everithing is working fine now

EDIT 2: How do I save changes with the Langdb Translator? I can view and edit texts but it's not saving any changes

EDIT 3 and final: Found the button to save changes... all set!

Re: Telltale and Gametap - extract to translate

Posted: Sat Aug 01, 2009 8:30 am
by johntus
@shippuuden
It's just beta version, so it will be updated.

Re: Telltale and Gametap - extract to translate

Posted: Sat Aug 01, 2009 2:44 pm
by TavoT
Guess what... using the Langdb translator I changed all menu texts, packed the ttarch and game has crashed... first thing I thinked is that the program does not correct the textlenght control, but I've checked the langdb file with the hex editor and all textlenght controls were corrected. Could it be the filesize of english.langdb? After the modifications its bigger than it was originally

Re: Telltale and Gametap - extract to translate

Posted: Sat Aug 01, 2009 5:31 pm
by aluigi
@TavoT
for my curiosity, are you using Vista?
because in some cases this operating system has some problem scanning the directories with my code (used in rebuild mode).

remember that you can ever recheck the ttarch archive you have just rebuilt simply re-extracting its content in a new folder and comparing the files contained in them

Re: Telltale and Gametap - extract to translate

Posted: Sat Aug 01, 2009 9:26 pm
by TavoT
@Bugtest, no i'm using XP. Anyway it wasn't a problem of the rebuild. I already have done modifications and rebuilded several ttarch files that worked, and some others that crashed the game. I'm using the Langdb Editor johntus posted here and after translate the Main menu texts and rebuild the ttarch the game crashes... I tried to translate just a word with the same lenght and the game worked, that's why I think it could be a filesize problem

Re: Telltale and Gametap - extract to translate

Posted: Sat Aug 01, 2009 9:35 pm
by aluigi
in these cases the only problem is when the string you want to add is longer than the existent one.
if it's shorter it's enough to put the bytes 0x00 or 0x20 (space) covering the remaining chars of the previous string

Re: Telltale and Gametap - extract to translate

Posted: Sat Aug 01, 2009 10:25 pm
by TavoT
I supossed that, because with shorter texts the game works fine... Langdb Editor automatically corrects the textlength control.

Now the question is how can I do to insert longer lines?