Posted by: Wisp
« on: April 07, 2015, 12:43:15 PM »I am working on making this menu obsolete.
The "problem" is that WeiDU lists available game languages in alphabetical order which places German (de_DE) on first position. Many times people unconsciously press "0" if they want to select english. I've almost fallen for this as well when I tested my mod with one of the WeiDU betas.
One possible solution might be to fetch the game language from the baldur.ini (or use english by default if this entry doesn't exist) and put it on first position in the game language selection.
$ cat /proc/sys/vm/mmap_min_addr
65536
The amd64 build of weinstall doesn't even run (apparently a segfault).Which version of what distribution are you using?
The i386 build runs, but curiously reports its version as 23600That'd be because the 32-bit version you are using is v236. I have verified that the 32-bit build being distributed in the 237 package is actually v237, so kindly make sure you haven't made a mistake on your end. (As you may or may not know, IWD: EE is only properly supported by 237 and greater).
UPDATE: I managed to compile it from source, so now I have a 64bit weinstall that doesn't segfault and that reports its version as "23700". However, it still can't find the dialog.tlk, even when running weidu directly:Code: [Select]$ weidu --use-lang en_US bg2_tweaks/setup-bg2_tweaks.tp2
[weidu] WeiDU version 23700
[./chitin.key] 165 BIFFs, 37105 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")
I can't get it to work with IWD:EE on 64bit Linux...Actually you're misplacing the options on weinstall without having specified a path for the .tlk. And when you ran WeiDU to set the language don't add any other parameters, because it won't make the --use-lang work that way. Also be sure you're in the path the contain the CHITIN.KEY file.
The amd64 build of weinstall doesn't even run (apparently a segfault).
The i386 build runs, but curiously reports its version as 23600 and doesn't find the game's dialog.tk file:Code: [Select]$ weinstall bg2_tweaks
weidu --log setup-bg2_tweaks.debug bg2_tweaks.tp2 setup-bg2_tweaks.tp2 bg2_tweaks/bg2_tweaks.tp2 bg2_tweaks/setup-bg2_tweaks.tp2
[weidu] WeiDU version 23600
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")
And explicitly specifying it does not seem to work either:Code: [Select]$ weinstall --use-lang en_US bg2_tweaks
weidu --log setup---use-lang.debug --use-lang.tp2 setup---use-lang.tp2 --use-lang/--use-lang.tp2 --use-lang/setup---use-lang.tp2 en_US bg2_tweaks
[weidu] WeiDU version 23600
weidu: unknown option `--use-lang.tp2'.
WeiDU (version 23600: "Your daily WTF")
usage: WeiDU [options] BAF,BCS,D,DLG,TRA,TP,TP2-files
...
$ weinstall --tlkin ./lang/en_US/dialog.tlk bg2_tweaks
weidu --log setup---tlkin.debug --tlkin.tp2 setup---tlkin.tp2 --tlkin/--tlkin.tp2 --tlkin/setup---tlkin.tp2 ./lang/en_US/dialog.tlk bg2_tweaks
[weidu] WeiDU version 23600
weidu: unknown option `--tlkin.tp2'.
WeiDU (version 23600: "Your daily WTF")
usage: WeiDU [options] BAF,BCS,D,DLG,TRA,TP,TP2-files
...
$ weidu --use-lang en_US
$ weinstall bg2_tweaks.tp2
$ weidu --use-lang en_US bg2_tweaks/setup-bg2_tweaks.tp2
[weidu] WeiDU version 23700
[./chitin.key] 165 BIFFs, 37105 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")
$ weinstall bg2_tweaks
weidu --log setup-bg2_tweaks.debug bg2_tweaks.tp2 setup-bg2_tweaks.tp2 bg2_tweaks/bg2_tweaks.tp2 bg2_tweaks/setup-bg2_tweaks.tp2
[weidu] WeiDU version 23600
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")
$ weinstall --use-lang en_US bg2_tweaks
weidu --log setup---use-lang.debug --use-lang.tp2 setup---use-lang.tp2 --use-lang/--use-lang.tp2 --use-lang/setup---use-lang.tp2 en_US bg2_tweaks
[weidu] WeiDU version 23600
weidu: unknown option `--use-lang.tp2'.
WeiDU (version 23600: "Your daily WTF")
usage: WeiDU [options] BAF,BCS,D,DLG,TRA,TP,TP2-files
...
$ weinstall --tlkin ./lang/en_US/dialog.tlk bg2_tweaks
weidu --log setup---tlkin.debug --tlkin.tp2 setup---tlkin.tp2 --tlkin/--tlkin.tp2 --tlkin/setup---tlkin.tp2 ./lang/en_US/dialog.tlk bg2_tweaks
[weidu] WeiDU version 23600
weidu: unknown option `--tlkin.tp2'.
WeiDU (version 23600: "Your daily WTF")
usage: WeiDU [options] BAF,BCS,D,DLG,TRA,TP,TP2-files
...
All I can suggest is that you try compiling from source. However, bitness makes no practical difference for weinstall, so if the 32-bit version works, you may just as well use that.