Getting this crash when doing Academy missions, with the fixed jar:
Spoiler
5220694 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Texture [entry_ruins] from category [fleetjour_intel] not found
java.lang.RuntimeException: Texture [entry_ruins] from category [fleetjour_intel] not found
at com.fs.starfarer.settings.StarfarerSettings.new(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.settings.StarfarerSettings$1.getSpriteName(Unknown Source) ~[port_obf.jar:?]
at fleetjour.scripts.AutoWriterScript.reportPlayerSurveyedPlanet(AutoWriterScript.kt:105) ~[?:?]
at com.fs.starfarer.api.campaign.listeners.ListenerUtil.reportPlayerSurveyedPlanet(ListenerUtil.java:76) ~[starfarer.api.jar:?]
at com.fs.starfarer.campaign.ui.marketinfo.PlanetSurveyPanel.applySurveyResults(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.ui.marketinfo.PlanetSurveyPanel.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.ui.marketinfo.newsuper.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.ui.E.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.coreui.voidnew.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.o0OO.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.O.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.L.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.O.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.newui.o0Oo.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.o000.advanceImpl(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.ui.thissuper.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.campaign.CampaignState.advance(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.BaseGameState.traverse(Unknown Source) ~[port_obf.jar:?]
at com.fs.state.AppDriver.begin(Unknown Source) ~[port.common_obf.jar:?]
at com.fs.starfarer.combat.CombatMain.main(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.StarfarerLauncher.super(Unknown Source) ~[port_obf.jar:?]
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source) ~[port_obf.jar:?]
at java.base/java.lang.Thread.run(Thread.java:1575) [?:?]
I don't recall anything in the code that would possibly cause this; my first advice would be to double-check whether you indeed have both settings.json in order and image file itself present.
1. settings.json over at /FleetJournal/data/config/ should look like this:
Spoiler
{
"graphics": {
"fleetjour_intel": {
"fleet_journal": "graphics/fleetjour/icons/intel/fleet_journal.png",
"entry_cache": "graphics/fleetjour/icons/intel/entry_cache.png",
"entry_debris": "graphics/fleetjour/icons/intel/entry_debris.png",
"entry_derelict": "graphics/fleetjour/icons/intel/entry_derelict.png",
"entry_entity": "graphics/fleetjour/icons/intel/entry_entity.png",
"entry_exclamation": "graphics/fleetjour/icons/intel/entry_exclamation.png",
"entry_station": "graphics/fleetjour/icons/intel/entry_station.png",
"entry_stellar_body": "graphics/fleetjour/icons/intel/entry_stellar_body.png",
"entry_probe": "graphics/fleetjour/icons/intel/entry_probe.png",
"entry_cryosleeper": "graphics/fleetjour/icons/intel/entry_cryosleeper.png",
"entry_ruins": "graphics/fleetjour/icons/intel/entry_ruins.png" #COMMENT: - this is the entry that is supposedly absent!
}
}
}
2. And there should be an image file called "entry_ruins.png" over at /Fleet Journal/graphics/fleetjour/icons/intel/ - if both config file and image are not present, that would most likely be because the jar and the mod files themselves are from different versions, jar being the latest with code that depends on something that isn't there in the folders. One way this could transpire would be - taking latest jar from my previous message and applying it to any but the latest version of the mod.
Should config and image be in order, then I would need more info to reproduce this bug - specific circumstances in which it occured and steps one would need to undertake to reproduce the bug. I also would like to see the modlist.
Just a note, the automatic logging is pretty annoying, sometimes giving 20 entries for one system. It would be nice to have all the notes in a system under one entry, but failing that, integrating the settings with LunaLib so we can change the settings from within the game would be much appreciated.
Thanks for the feedback! I'll consider what can be done, but no promises. Right now all I can offer is to toggle all automatic logging off entirely in config file.