Thank you very much for you help!
smyth25
Member Since 31 Aug 2021Offline Last Active Sep 14 2021 06:17 AM
Community Stats
- Group Member
- Active Posts 5
- Profile Views 812
- Age 26 years old
- Birthday September 21, 1998
-
Gender
Male
Posts I've Made
In Topic: NearInfinity
11 September 2021 - 05:03 AM
In Topic: NearInfinity
11 September 2021 - 04:53 AM
Yes that command line did work, NI can read the BIFFs even when they are not matching cases. I'm not sure whether its relevant, but the terminal also returned the following warnings when I opened NI using the command line:
WARNING: Illegal reflective access by org.infinity.gui.BrowserMenuBar$OptionsMenu (file:/Users/myname/Desktop/Mod%20stuff/NearInfinity.jar) to constructor com.sun.java.swing.plaf.motif.MotifLookAndFeel()
WARNING: Please consider reporting this to the maintainers of org.infinity.gui.BrowserMenuBar$OptionsMenu
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
java.lang.ClassNotFoundException: com.apple.eawt.QuitStrategy
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
In Topic: NearInfinity
11 September 2021 - 04:14 AM
I've had a check and both those BIFFs seem to be present in the data folder. Through some further tinkering though I think I may have found that the issue is related to case sensitivity in the chitin.key. Examining the key file through a text editor shows that the BIFF files were referenced in all caps, whereas they were not stored as such in the data folder. Changing the name of the BIFF file to match the case in the key file seemed to allow me access to its contents through NI, while not impeding the game.
I think the change to chitin.key was made by a mod, possibly by tweaks anthology if this thread is anything to go by (it's also 7 years old though so I'm not sure how much has changed since).
In regards to mac specific quitting issue, I've only had odd behaviours as opposed to problems. If I quit NI through the main menubar on my mac (or by using hotkeys), then NI tends not to save any changes I made to my preferences (such as where files in the override folder are displayed). However, if I quit NI from within the application by using Game -> Quit, then it will save any preference changes as normal.
In Topic: NearInfinity
09 September 2021 - 12:13 PM
Sorry for the late reply. Since you're playing the game on macOS the issue could be a permissions issue. Can you open the debug console (menu Tools > Show Debug Console) and post the error messages which are triggered when you start NI or try to open a biffed resource?
No worries! Here is the debug output from the launch of NI and from trying to open 1 biffed file.
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:602)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:340)
at org.infinity.NearInfinity.enableOSXQuitStrategy(Unknown Source)
at org.infinity.NearInfinity.(Unknown Source)
at org.infinity.NearInfinity.main(Unknown Source)
java.io.IOException: DATA/BLACKPITS.BIF not found
at org.infinity.resource.key.Keyfile.getBIFFFile(Unknown Source)
at org.infinity.resource.key.BIFFResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.resource.key.ResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.util.CreMapCache$AreWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
java.io.IOException: DATA/BLACKPITS.BIF not found
at org.infinity.resource.key.Keyfile.getBIFFFile(Unknown Source)
at org.infinity.resource.key.BIFFResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.resource.key.ResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.util.CreMapCache$AreWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
java.io.IOException: DATA/BLACKPITS.BIF not found
at org.infinity.resource.key.Keyfile.getBIFFFile(Unknown Source)
at org.infinity.resource.key.BIFFResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.resource.key.ResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.util.CreMapCache$AreWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
java.io.IOException: DATA/BLACKPITS.BIF not found
at org.infinity.resource.key.Keyfile.getBIFFFile(Unknown Source)
at org.infinity.resource.key.BIFFResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.resource.key.ResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.util.CreMapCache$AreWorker.run(Unknown Source)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
java.io.IOException: DATA/25DEFLT.BIF not found
at org.infinity.resource.key.Keyfile.getBIFFFile(Unknown Source)
at org.infinity.resource.key.BIFFResourceEntry.getActualPath(Unknown Source)
at org.infinity.resource.key.ResourceEntry.getActualPath(Unknown Source)
at org.infinity.resource.ResourceFactory.getResource(Unknown Source)
at org.infinity.resource.ResourceFactory.getResource(Unknown Source)
at org.infinity.gui.ResourceTree.valueChanged(Unknown Source)
at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:191)
at java.desktop/javax.swing.JTree.setSelectionPath(JTree.java:1656)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2736)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:4016)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3955)
at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6633)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6401)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4919)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4545)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4489)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2764)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Error reading ACAT.2DA
java.lang.reflect.InvocationTargetException
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:500)
at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:481)
at org.infinity.resource.ResourceFactory.getResource(Unknown Source)
at org.infinity.resource.ResourceFactory.getResource(Unknown Source)
at org.infinity.gui.ResourceTree.valueChanged(Unknown Source)
at java.desktop/javax.swing.JTree.fireValueChanged(JTree.java:2967)
at java.desktop/javax.swing.JTree$TreeSelectionRedirector.valueChanged(JTree.java:3456)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:641)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1111)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:297)
at java.desktop/javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:191)
at java.desktop/javax.swing.JTree.setSelectionPath(JTree.java:1656)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2736)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(BasicTreeUI.java:4016)
at java.desktop/javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(BasicTreeUI.java:3955)
at java.desktop/java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:287)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6633)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6401)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5012)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4919)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4545)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4489)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2764)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4844)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.io.IOException: DATA/25DEFLT.BIF not found
at org.infinity.resource.key.Keyfile.getBIFFFile(Unknown Source)
at org.infinity.resource.key.BIFFResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.resource.key.ResourceEntry.getResourceBuffer(Unknown Source)
at org.infinity.resource.text.PlainTextResource.(Unknown Source)
... 49 more
I do also have mods installed on this version of the game, it's just strange that I can have the same mods installed on BGEE or BG2EE from a different platform and not have the same problem.
In Topic: NearInfinity
31 August 2021 - 12:50 PM
EDIT: Ok it turns out that the issue could be fixed by replacing the chitin.key file in the GoG BG2EE install with the copy from Steam BG2EE. Perhaps the chitin.key file was corrupted somehow (the game still seemed to run normally before replacing it though). This isn't exactly an optimal solution though, since I need to switch back to the original chitin.key when I want to play the game, but it allows me to use NI at least.
---
Hi Argent, I'm having a bit of an issue. Its been going on for a while now, I was hoping a fresh install of the game might solve it (which I delayed until I had finished a modded playthrough), but it looks like it's still persisting.
NearInfinity seems to only be able to open files that are present in the override folder (or rather, it cannot open anything stored in the .BIFs). Also, it seems to be unable to open certain file types at all, such as .CRE. Trying to open these files results in NI returning "Error reading *file* @null" What's more strange is that this is only affecting my BG2EE install bought from GoG. BGEE from GoG is fine, as well as BG2EE from Steam.
I'm currently using the latest version of NI on mac (could perhaps be a permissions issue since mac security is rather tight?). I'm also using the latest version of Java to the best of my knowledge. If you need any more information then please ask, it would be good to nip this one in the bud since it has been persisting across multiple versions of NI. Many thanks!
- Spellhold Studios
- → Viewing Profile: Posts: smyth25
- Guidelines