Open arp242 opened 3 years ago
I just discovered there's --use-lang
for this (would be useful to mention that in the error maybe), but that doesn't work by default either:
ERROR: None of the dialog paths were a match against en_us
I need to do a ln -s en_US en_us
first and then it works.
Yeah, I should probably add something about --use-lang to the error message. The matching is case-sensitive.
Maybe this should be not case senstive at all, or at the very least attempt to navigate the lang folder? I don't know. I too had to make a link. This is not great behavior.
If I first link:
cd lang && ln -s en_US en_us
with config:
$ cat weidu.conf
lang_dir = en_US
This works!
However, once that link is removed weidu once again:
WeiDU version 24700
[./chitin.key] 191 BIFFs, 62570 resources
ERROR: Unable to find DIALOG.TLK in:
./^dialog/.tlk$
Please run this program in your Infinity Engine game directory.
FATAL ERROR: Failure("Unable to find DIALOG.TLK")
Just ran into the same on a fresh gog bg2ee install, but I had the bad idea to run tolower
(which is still included in releases!) - which circumvented this issue but of course broke the game to the point of requiring a reinstall, and mods still wouldn't install as they couldn't find their own 'English' files.
It seems the virtual case-insensitive file system kludge is still the only feasible recourse, even though it is 2022.
I get this error on both BG1 and 2:
These files do exist, but in a different location:
I tried using
--tlkin
, but that doesn't seem to work(?)So let's link it:
And now it works: