WeiDUorg / weidu

WeiDU is a program used to develop, distribute and install modifications for games based on the Infinity Engine.
http://www.weidu.org
GNU General Public License v2.0
90 stars 20 forks source link

DECOMPRESS_BIFF failing to find a file in BGEE #159

Closed burner1024 closed 4 years ago

burner1024 commented 4 years ago

I have BGEE on a case-insensitive fs, and running linux native WeiDU. If I understand correctly, it doesn't need linux.ini, so there is none. Here's the relevant log:

Creating 1 directory
Looking for biff chasound.bif at /data/bgee_happy_tweaks-and-tricks_ac8518f/data/data/chasound.bif
Looking for biff chasound.bif at ./CD1/data/chasound.bif
Looking for biff chasound.bif at ./CD2/data/chasound.bif
Looking for biff chasound.bif at ./CD3/data/chasound.bif
Looking for biff chasound.bif at ./CD4/data/chasound.bif
Looking for biff chasound.bif at ./CD5/data/chasound.bif
Looking for biff chasound.bif at ./CD6/data/chasound.bif
Looking for biff chasound.bif at ./lang/en_us/data/chasound.bif
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.
Stopping installation because of error.

For some reason it's not checking data dir:

$ find . -iname chasound.bif
./data/CHASOUND.BIF
FredrikLindgren commented 4 years ago

So it's probably a bit late at this point, but you do need an INI file specifying the BIF paths. It's not about case-sensitivity, but about unix-style paths. I don't know what's going on with that first place WeiDU is looking in your log, but it never looks for chasound.bif in ./data/. I can possibly add some more/better defaults.

burner1024 commented 4 years ago

Cool, I'll leave it up to you then. I have it working well with linux.ini now.

FredrikLindgren commented 4 years ago

WeiDU will now look for biffs in . as a last resort (and consequently finding biffs at ./data/foo.bif)