Pocket Plane Group
Miscellany, Inc. => Infinity Engine Modding Q&A => Topic started by: Sevarus on February 23, 2011, 12:38:07 PM
-
Say I find an error with a dialog token that I would like to fix. I don't want to add any extra lines, and it's from an original line from the vanilla game, so no TRA strings to fool around with.
Existing line: "You, sir, are looking smashing." (Okay, this obviously isn't a real line, but you get the idea)
Changed: "You, <SIRMAAM>, are looking smashing."
First I tried using NI to just change the dialog.tlk file itself. The tokens didn't translate in game. I would literally see <SIRMAAM>, not "Sir" or "Ma'am." Plus I felt dirty straight up editing the tlk file itself ;)
So I attempted to use WeiDU. "Weidu dialogs\dshop2.d --tlkout dialog.tlk --out override. Went in NI, refreshed the files, looked at "DSHOP2.DLG" and nothing changed! ??? Went back to the command prompt, "weidu dshop02.dlg" Took a look... nothing changed. Weird.
Is there something I'm missing?
-
Usually you report to the fixpack for the particular game, and they fix it. If it's BG2, then it's BG2 Fixpack. If it's EasyTutu, there's an embedded text update component.
-
Yeah, I know, but this one is pretty much only useful to me. I have romance hacks installed, and DSHOP02 is for the merchant in the Docks who sells you a necklace if you are romancing Jaheira. Since my PC is a lady, I would prefer it if he would stop calling me "Sir" ;D And then, once I figure this one out, I can go and edit Galvarey's dialog and Wraith!Khalid's as well...
-
If you know the strref, you can create a simple tp2 that uses STRING_SET.
-
And is that safe to do with dialog.tlk entries added by mods, as well? I've read that STRING_SET wasn't supposed to be used, back in the day, but it's safe now, correct? If I screw something up, I can uninstall the changes and fix it?
Also, looking at the Game Text Update of the BG2 Fixpack, I see that they use a TPH file? Will I need to do that, or can I do it all within the .tp2?
-
And is that safe to do with dialog.tlk entries added by mods, as well? I've read that STRING_SET wasn't supposed to be used, back in the day, but it's safe now, correct? If I screw something up, I can uninstall the changes and fix it?
It's safe to use and uninsalls correctly. If the string is mod-added, it might change positions after reinstalling - in that case, you're better off altering the mods' TRA (and possibly report the change to the mod author - even if you're changing 'him' to <PRO_HIMHER>' to support romance hacks, it could make sense to have such support built in the mod itself).
Also, looking at the Game Text Update of the BG2 Fixpack, I see that they use a TPH file? Will I need to do that, or can I do it all within the .tp2?
Using a tph is for convenience, you can do everything in the tp2.
-
It appears I have success!!
I hope I didn't miss anything. The only mod content I ended up having to fiddle with was Flirtpack.
Thanks a lot for your help.