Weidu command line: BGEE dialog.tlk is reported to have 34000 strings, expected 71404; can't append
Thunderburp
Member Posts: 51
Hi,
Total Weidu noob here, using the unmodded BGEE 2.6.5.0 with SoD installed, with Weidu 24700 dropped in the main game folder.
I'm trying to use it to append 101 string entries to dialog.tlk with a bit of automation. I'd rather not climb the entry step to proper Weidu mod making just yet due to time constraints though, so I went with appending from command line. Here's the commands used:
Weidu reports 34000 entries, and 34101 entries after I switch to the new dialog.tlk, so it works. But when loading game resources in Near Infinity, it can be seen that there are 71404 string refs, and all the ones that I appended have been overridden. A few checks with both Weidu and NI suggest that strings 0-33999 as displayed by NI should be those from lang\en_US\dialog.tlk (= newdialog.tlk moved and renamed) that Weidu can see, while 34000-71403 come from elsewhere or something. Anything I appended has been replaced with that other source of string entries.
So... can Weidu append to the right place through command line alone?
Total Weidu noob here, using the unmodded BGEE 2.6.5.0 with SoD installed, with Weidu 24700 dropped in the main game folder.
I'm trying to use it to append 101 string entries to dialog.tlk with a bit of automation. I'd rather not climb the entry step to proper Weidu mod making just yet due to time constraints though, so I went with appending from command line. Here's the commands used:
weidu --game "PATH_TO_BG1EE" weidu --use-lang en weidu --strapp "MY_STRING_1" --strapp "MY_STRING_2" --strapp "MY_STRING_3" --tlkout newdialog.tlk
Weidu reports 34000 entries, and 34101 entries after I switch to the new dialog.tlk, so it works. But when loading game resources in Near Infinity, it can be seen that there are 71404 string refs, and all the ones that I appended have been overridden. A few checks with both Weidu and NI suggest that strings 0-33999 as displayed by NI should be those from lang\en_US\dialog.tlk (= newdialog.tlk moved and renamed) that Weidu can see, while 34000-71403 come from elsewhere or something. Anything I appended has been replaced with that other source of string entries.
So... can Weidu append to the right place through command line alone?
Post edited by Thunderburp on
0
Comments
So install https://forums.beamdog.com/discussion/71305/mod-dlc-merger-merge-steam-gog-sod-dlc-or-custom-dlcs-with-the-main-game first then your editing will work properly.
EDIT: Well, I was the slower one.
@argent77 Since you're the author of DLC Merger: Are you confident that what it modifies is not something that has any noteworthy chance to alter game content or mechanics? When working on the BG wiki I need this install to be completely mod-free. Modifying the Wild Surge table so it displays surge IDs along with text is useful, but now that most of the testing is behind me I have to balance the remaining needs with the risk that merging SoD could have small unforeseen divergences with vanilla here and there. Does it seem likely?
Thank you both either way; will be useful for another install
You can filter most of the SoD additiions out because Beamdog used the BD modding prefix where they could for the SoD content, if that helps.
Depending on what the tool does, likelihood to unwittingly introduce small changes is lower or higher. Since this one runs over a LOT of the content and apparently has to do more than simple unzipping, I can't really say, so unless Argent77 is confident enough I'll probably stay on the safe side. (Best practise for recurrent wiki contributors is to secure a fresh, unmodified install, i.e. "lab conditions")
However, if you want to be 100 percent sure you could purchase SoD directly from Beamdog. That version is already installed in a merged state by the Beamdog Client.
Thanks again.