Aller au contenu

Photo

Dialog editing NOW possible for Mass Effect 2!


  • Veuillez vous connecter pour répondre
55 réponses à ce sujet

#26
Slashice

Slashice
  • Members
  • 424 messages
Thanks a lot Gocek! :) The Central-EU community owes you a great debt (aswell as EA and BW since your tool might boost they selling on this DLC) :)
I'm a bit sad tho because I have to restart my work with the xml, but who cares if it's improved :P all I need to do is copy/paste anyway, hehe.

Btw is there any way to display which character says what? Or there's no such data inside the tlk files? (not that I don't know who says what since I played through this DLC 4 times so far, but just for further reference)

Keep up the good work! :)

Modifié par Slashice, 07 octobre 2010 - 07:38 .


#27
Gocek

Gocek
  • Members
  • 154 messages
 Yeah, sorry for this little change in XML, but it was necessary.
Unfortunately there's no way to show who says particular line. It's totally game-dependent, each string could be possibly used multiple times. The XML contains all the info you can extract from TLK...

#28
Prequel

Prequel
  • Members
  • 5 messages
Is this works for ME1 aswell? If not, is there another way to edit/recreate dialogues and other stuffs for ME1? I'm interested in translating whole ME1 to another language. Sorry for asking, i haven't the game installed at the moment and i'm unable to reinstall it for a while. So it would be nice to have a brief information on how are this things for ME1 aswell, thank you for your understanding.

#29
Captain_Obvious_au

Captain_Obvious_au
  • Members
  • 2 226 messages
Does anyone at all have a backup clean tlk file post-shadow broker? I perhaps was a bit over-eager with my edits... :-(

#30
Gocek

Gocek
  • Members
  • 154 messages

Prequel wrote...

Is this works for ME1 aswell? If not, is there another way to edit/recreate dialogues and other stuffs for ME1? I'm interested in translating whole ME1 to another language. Sorry for asking, i haven't the game installed at the moment and i'm unable to reinstall it for a while. So it would be nice to have a brief information on how are this things for ME1 aswell, thank you for your understanding.


This tool works only for ME2 and it's DLCs. It doesn't work with ME1. I have not investigated the first ME game at all. It's no longer even installed on my disk :)

#31
Slashice

Slashice
  • Members
  • 424 messages

Prequel wrote...

Is this works for ME1 aswell? If not, is there another way to edit/recreate dialogues and other stuffs for ME1? I'm interested in translating whole ME1 to another language. Sorry for asking, i haven't the game installed at the moment and i'm unable to reinstall it for a while. So it would be nice to have a brief information on how are this things for ME1 aswell, thank you for your understanding.


ME1 doesnt have *.tlk files. Well at least not in the format as in ME2. I believe its packed inside an *.upk file. So all you need to get is an *.upk file extractor (this is some kind of an unreal file), and see if there's an *.tlk file inside of it. If so, try this tool on it. Maybe they kept the same format for ME2 just not packed inside an upk file.

I'll try this later today aswell.

#32
Getorex

Getorex
  • Members
  • 4 882 messages
Nice. Too bad the voices aren't fully synthesized though in game. It would be quite cool to edit dialog and have the voices SAY the new dialog. One could "R" rate the game here and there with situation-appropriate cursing, lewd comments, and suggestive dialog :) One could also smart-up some of the weaker dialogs in game.



Someday the game engine and AI will be good enough for this to be accomplished...perhaps when we are all on Athlon or Pentium x128 bit multicore systems and a minimum of 16GB Ram.

#33
Slashice

Slashice
  • Members
  • 424 messages
Didn't find any usefull *.upk extractor. The one I found is always crash with an error message. So at the moment it's not possible to edit ME1 dialogue files.

#34
Getorex

Getorex
  • Members
  • 4 882 messages

Slashice wrote...

Didn't find any usefull *.upk extractor. The one I found is always crash with an error message. So at the moment it's not possible to edit ME1 dialogue files.


I guess the compression method used is unique and not based on zip, bzip, tar, etc? Or are the files not compressed, just encoded?

#35
Captain_Obvious_au

Captain_Obvious_au
  • Members
  • 2 226 messages

Captain_Obvious_au wrote...

Does anyone at all have a backup clean tlk file post-shadow broker? I perhaps was a bit over-eager with my edits... :-(

Anyone?

#36
brfritos

brfritos
  • Members
  • 774 messages

Captain_Obvious_au wrote...

Captain_Obvious_au wrote...

Does anyone at all have a backup clean tlk file post-shadow broker? I perhaps was a bit over-eager with my edits... :-(

Anyone?


Backup your saves, your profile and your coalescend.ini, reinstall the game and add-ons.

This will give you a clean tlk file.

Modifié par brfritos, 12 octobre 2010 - 12:59 .


#37
Gocek

Gocek
  • Members
  • 154 messages

Captain_Obvious_au wrote...

Captain_Obvious_au wrote...

Does anyone at all have a backup clean tlk file post-shadow broker? I perhaps was a bit over-eager with my edits... :-(

Anyone?


Posting such files here would be pretty much illegal and I don't want to risk closing my thread :)

But: 

1.) You can easily find such file with Google.
2.) Or extract it from the newest patch.

For method 2.) use 7-Zip, then right-click on "MassEffect2-1.02.exe" and choose "7-Zip -> Open archive" from the context menu. Browse to "$_OUTDIR\\BioGame\\CookedPC" and you will find BIOGame_INT.tlk in there.
If you need any TLK from any of the DLCs - you can follow the same procedure.

#38
Captain_Obvious_au

Captain_Obvious_au
  • Members
  • 2 226 messages
oh my apologies Gocek, I didn't realise it woul dbe illegal :-S. Thanks for the tips!

#39
Gocek

Gocek
  • Members
  • 154 messages
Hey!



Big fat bump :)

I've uploaded an important update - it's version 1.0.3. Anyone working on their TLK files should update to this newest version. It fixes a critical bug with game behaving weird when playing on custom TLK with female character.



I'd also like to let you know, that fan-created Polish translation of Lair of the Shadow Broker is nearly finished now. We were using the very same tool as you have here - so it's the best proof that it's: a) working B) useful :D

#40
Slashice

Slashice
  • Members
  • 424 messages

Gocek wrote...

Hey!

Big fat bump :)
I've uploaded an important update - it's version 1.0.3. Anyone working on their TLK files should update to this newest version. It fixes a critical bug with game behaving weird when playing on custom TLK with female character.

I'd also like to let you know, that fan-created Polish translation of Lair of the Shadow Broker is nearly finished now. We were using the very same tool as you have here - so it's the best proof that it's: a) working B) useful :D


Tried it and so far it works as intended :) Great job, as always ;) :)

#41
Morfeus839

Morfeus839
  • Members
  • 3 messages
Just to clarify - dialog/conversation is NOT possible. At least until some quality reverse-engineering is done. Trust me - objects used in packages are complicated way too complicated. Just ask DerPlaya.

What you refer to is just simple editing of strings.

And I suggest waiting a bit more - for a better tool...

Modifié par Morfeus839, 23 octobre 2010 - 05:11 .


#42
Gocek

Gocek
  • Members
  • 154 messages

Morfeus839 wrote...

Just to clarify - dialog/conversation is NOT possible. At least until some quality reverse-engineering is done. Trust me - objects used in packages are complicated way too complicated. Just ask DerPlaya.

What you refer to is just simple editing of strings.

And I suggest waiting a bit more - for a better tool...


This application was created mainly for translating purspose - I wouldn't even dare to try interfering with dialog structure and logic ;) And besides, with ME3 on it's way, that would probably be just a waste of time.

More user-friendly tool is definitely required for easier use. That's why I made the source code open to everyone, because I've got other stuff on my head at the moment and it might be a while before I will have time for developing real Edtior :)

#43
Morfeus839

Morfeus839
  • Members
  • 3 messages

Gocek wrote...

This application was created mainly for translating purspose - I wouldn't even dare to try interfering with dialog structure and logic ;) And besides, with ME3 on it's way, that would probably be just a waste of time.

I tried - no luck. Unless we had access to UT3 editor, all assets and tools BioWare uses, any manipulations of PCC files are useless.

The only thing I was able to do is this - ME2 - Lair of the Shadow Broker DLC - Properly edited Broker's video archive

Gocek wrote...

More user-friendly tool is definitely required for easier use. That's why I made the source code open to everyone, because I've got other stuff on my head at the moment and it might be a while before I will have time for developing real Edtior :)

Just wait. There might be already more suitable editor on its way...

#44
Slashice

Slashice
  • Members
  • 424 messages
Hey Gocek!



Is it possible to find out which line follows which line inside the tlk file? I mean like a dialogue tree. Guess that would be only possible with a built in editor. I'm just curious if you found any kind of data that connects the IDs in proper order.

#45
Gocek

Gocek
  • Members
  • 154 messages

Slashice wrote...

Hey Gocek!

Is it possible to find out which line follows which line inside the tlk file? I mean like a dialogue tree. Guess that would be only possible with a built in editor. I'm just curious if you found any kind of data that connects the IDs in proper order.


This kind of info is from outside of TLK file. In XML you see pretty much the whole TLK file, but in a human-readable form :) There's no more info than what you can already see.
Dialogue tree is stored somewhere else (probably in a 2da array stored in upk file, but I haven't investigated that any further).
So, unfortunately, for now - it's impossible to check the dialogue tree.

#46
Gocek

Gocek
  • Members
  • 154 messages
I'm proud to announce, that Polish translation of newest DLC - Lair of the Shadow Broker has gone public today :) It was created with "Mass Effect 2 TLK Tool" and only possible thanks to hard work of quite a few translators and beta-testers.

What EA couldn't do, ME2 fans could ;)

It really is a shame that EA Poland decided not to translate LotSB to Polish... They said: "due to technical issues". Weird: I haven't noticed any while leading this project ;)
Here's the link: http://social.biowar...m/project/3620/

Modifié par Gocek, 02 novembre 2010 - 06:57 .


#47
s0meguy6665

s0meguy6665
  • Members
  • 601 messages
i guess it isn't possible to add new sound files to the dialogue?

#48
deleted

deleted
  • Members
  • 309 messages
I'm frankly amazed by the effort and skill you all put into this for the sake of excluded players. It must be such a pain to have to be denied great products like ME just because of language barriers, and you've surpassed Bioware's translation teams. Good job guys.

#49
Gocek

Gocek
  • Members
  • 154 messages
Update!

I've just released version 1.0.4. The only difference is support for Xbox360 TLK files.

It's still pretty much experimental, because I don't own Xbox and can't test the files myself. But it works as far as reading is concerned. The problem is: I couldn't find anyone to test the resulting TLK file on the console.

So if you are an owner of Xbox360 and know how to put new files in there - feel free to test and let me know about the results!

Project page: http://social.biowar...m/project/3492/

Modifié par Gocek, 11 novembre 2010 - 08:26 .


#50
DarthCaine

DarthCaine
  • Members
  • 7 175 messages
Wait, does this mean I can replace the text in the dialogue wheel with what Shepard actually says? (I hate paraphrasing)