Skip to content

NearInfinity 1.3.0-ci: Issue with loading .bif files (Ubuntu 22.04)

Hi all, I've been playing BG / BG2 / IWD / BG:EE / BG2:EE / IWD:EE for over a decade. Been EEKeepering (and DaleKeeper, and ShadowKeepering for those remember) for about as long, and with some NearInfinity experience on Windows.

I have multiple degrees in physics, and a career programming GPUs so I am comfortable with computer problems, memory, code, etc.., and have the wisdom to know the answer a lot of the time boils down to "Ask the people who made it", and this seems to be the place for NearInfinity questions.

Currently, I'm using Wine to run EEKeeper, and the games. The Icewind Dale wiki is, sadly, in a pitiful state compared to the Baldur's Gate wiki, and I'm in the process of routing a solo F/M/C run, so I've grown interested in using NearInfinity to get enemy data, item locations, etc.., however, when I run
mycomputer:path/to/cwd$ java -jar NearInfinity-1.3.0-ci.jar

I receive the following message:
java.io.FileNotFoundException: /home/matt/games/iwdee/Icewind Dale Enhanced Edition/game/baldur.ini (No such file or directory)
	at java.base/java.io.FileInputStream.open0(Native Method)
	at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
	at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
	at java.base/java.io.FileReader.<init>(FileReader.java:75)
	at infinity.util.FileReaderCI.<init>(Unknown Source)
	at infinity.resource.ResourceFactory.<init>(Unknown Source)
	at infinity.NearInfinity.<init>(Unknown Source)
	at infinity.NearInfinity.main(Unknown Source)

The game is expecting baldur.ini, but there's only a baldur.lua. Any idea how to point the game to it? Even without, the application still opens, and shows me everything I expect.

That's the first problem, the problem in the post title is when I try to look at a file, for example, ACCALIA.CRE:
Error reading ACCALIA.CRE data/CREFILE.bif not found

Same behavior happens no matter what I try, and yes, CREFILE.bif IS in path/to/iwdee/data/, and the game runs just fine, so I don't believe this is a corrupt installation problem.

Any advice is welcome, I'd really love to be able to use NearInfinity again, thank you.

Comments

  • iwdee_fmc_soloiwdee_fmc_solo Member Posts: 60
    I forgot to add this to the post body, but here's the relevant terminal output when trying to read ACCALIA.CRE:
    Error reading ACCALIA.CRE
    java.io.IOException: data/CREFILE.bif not found
    	at infinity.resource.key.Keyfile.getBIFFFile(Unknown Source)
    	at infinity.resource.key.BIFFResourceEntry.getResourceData(Unknown Source)
    	at infinity.resource.key.ResourceEntry.getResourceData(Unknown Source)
    	at infinity.resource.AbstractStruct.<init>(Unknown Source)
    	at infinity.resource.cre.CreResource.<init>(Unknown Source)
    	at infinity.resource.ResourceFactory.getResource(Unknown Source)
    	at infinity.gui.ResourceTree.valueChanged(Unknown Source)
    
    

    after this is a bunch more lines, but it's all calls to the Java ecosystem running down the pipeline to the point where the thread execution fucks up, so I excluded them.
Sign In or Register to comment.