Can you help me resolve this?
Exception in thread "main" com.jme3.asset.AssetNotFoundException: Interface/splash.png
at com.jme3.system.JmeDesktopSystem.showSettingsDialog(JmeDesktopSystem.java:112)
at com.jme3.system.JmeSystem.showSettingsDialog(JmeSystem.java:128)
at com.jme3.app.SimpleApplication.start(SimpleApplication.java:125)
at adventure.Q3World.main(Q3World.java:85)
It used to work, then I had to repackage everything and now I might've forgotten a setting or likewise in Eclipse. The splash file is there but it is not on some path.
What I'm trying to to is this, which works in my previous build:
settings.setSettingsDialogImage("Interface/splash.png");
I've also tried adding the path to the resource panel but to no other effect:
And in Java build path, the resource is listed but it's still not working:
The larger code block that I want to work and that which is working in the built jar but not from within eclipse juno is:
public static void main(String[] args) {
File file = new File("quake3level.zip");
if (!file.exists()) {
useHttp = true;
}
Q3World app = new Q3World();
AppSettings settings = new AppSettings(true);
settings.setTitle("Dungeon World");
settings.setSettingsDialogImage("Interface/splash.png");
app.setSettings(settings);
app.start();
}