Having some issues with near infinity
seraglio
Member Posts: 122
Not sure how to ask or phrase this question without being too longwinded, but I've been happily using NI to mess around with BG2, making my own items and spells for years w/o any issues I really noticed, or at least thought were due to NI. I have a massive, old, buggy installations filled with pretty much every mod ever released, all of which has been further modded over the years, so I expect problems. I always have a few issues here and there with bad .tlk references...I usually just find the correct ones and move on, its annoying but not game breaking. I chalked up most issues to the mods.
However recently I've noticed that when SEARCHING through the tlk file with NI, it sometimes somehow actually changes the "hits" on a search. Like if I search for the word "brine", I am finding later that some or all of the entries with that word in it get changed, even though I am just looking and never commit or save anything. At least this is what feels like is happening. Entries I know I've seen while doing a search, later wind up changed, moved, even with text mangled. I can post more details if someone wants but thats the gist of it. every time i see a bad reference and go to change it, several other references get messed up...even though, again, i just search and replace the reference/description on the .itm, not changing or adding anything to the talk file.
Anyone else had this sort of behavior? Its a new version, still on BG2.5, regular windows yada, yada. Nothing obvious. is there a better tool I should be using to just search/edit .tlk files when i need to? I find DLTCEP's interface difficult , but maybe there's something else. or maybe theres something I don't understand about how talk files work?
Also I'm close to 180k entries in the tlk file...is there a limit maybe I hit?
However recently I've noticed that when SEARCHING through the tlk file with NI, it sometimes somehow actually changes the "hits" on a search. Like if I search for the word "brine", I am finding later that some or all of the entries with that word in it get changed, even though I am just looking and never commit or save anything. At least this is what feels like is happening. Entries I know I've seen while doing a search, later wind up changed, moved, even with text mangled. I can post more details if someone wants but thats the gist of it. every time i see a bad reference and go to change it, several other references get messed up...even though, again, i just search and replace the reference/description on the .itm, not changing or adding anything to the talk file.
Anyone else had this sort of behavior? Its a new version, still on BG2.5, regular windows yada, yada. Nothing obvious. is there a better tool I should be using to just search/edit .tlk files when i need to? I find DLTCEP's interface difficult , but maybe there's something else. or maybe theres something I don't understand about how talk files work?
Also I'm close to 180k entries in the tlk file...is there a limit maybe I hit?
0
Comments
Are you using a recent NI version (check menu Help > About Near Infinity)? Does the debug console show anything unusual (menu Tools > Show Debug Console)? Can you reproduce this issue or does it happen randomly?
There is nothing in the debug console.
I don't think I can directly reproduce the problems... I don't notice anything wrong happened until I run across an item, spell, or dialog entry that has suddenly changed to another dialog that happens to be something with a keyword I searched for one time.
For instance weeks ago I added some elven chain armors I created into the game. I did a search for the word "elven" to get the current text entries, which I cut and pasted into notepad and used to create BRAND NEW entries with just the AC and what not changed. I didn't modify any of those original entries, nor items, just find string. Now recently, I've looked at some of the original chain armors in the game and most of them have multiple erroneous entries in the general description and identified description. One weird common denominator is that these new entries always have the word "elven" in them. So when I did the "find string", it seems to have chosen to replace the descriptions of .itm's I wasn't even looking at with the results of the search. As a rule I rarely change existing original itm's spells etc(I will directly change mod content tho), I almost always make a new copy, same with a dialog entry, I make new ones. I have no idea what's going on here.
There are also many dialog lines and item names/descriptions replaced by random mod content. Something must have messed up the dialog.tlk to end like this. I'd strongly recommend to create a new mod installation from scratch.
This is a short excerpt of the diff between unmodded and your modded dialog.tlk (after exporting them to .tra format with NI):
There are hundreds more mixed up instances which will probably make the game unplayable.
The dialog.tlk format is actually just a dumb flat file. However, the strings are all referenced by a global index which can be easily messed up if you're not careful (for example, never install mods or make changes in NI while the game is running).