Can confirm. It's crashing if LunaLib is enabled.
ERROR com.fs.starfarer.combat.CombatMain - java.lang.RuntimeException: Error loading [tahlan.version] resource, not found in [C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\LazyLib,C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\LunaLib,C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\MagicLib,C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\tahlan-shipworks,../starfarer.res/res,CLASSPATH]
java.lang.RuntimeException: Error loading [tahlan.version] resource, not found in [C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\LazyLib,C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\LunaLib,C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\MagicLib,C:\Program Files (x86)\Fractal Softworks\Starsector\starsector-core\..\mods\tahlan-shipworks,../starfarer.res/res,CLASSPATH]
at com.fs.util.ooOO.Object(Unknown Source)
at com.fs.util.ooOO. 00000(Unknown Source)
at com.fs.starfarer.loading.LoadingUtils.void(Unknown Source)
at com.fs.starfarer.loading.LoadingUtils.super(Unknown Source)
at com.fs.starfarer.loading.LoadingUtils. 00000(Unknown Source)
at com.fs.starfarer.settings.StarfarerSettings$1.loadJSON(Unknown Source)
at com.fs.starfarer.settings.StarfarerSettings$1.loadJSON(Unknown Source)
at lunalib.backend.ui.versionchecker.VCModPlugin.onApplicationLoad(VCModPlugin.java:88)
at lunalib.LunaLibPlugin.onApplicationLoad(LunaLibPlugin.kt:77)
at com.fs.starfarer.loading.ResourceLoaderState.init(Unknown Source)
at com.fs.state.AppDriver.begin(Unknown Source)
at com.fs.starfarer.combat.CombatMain.main(Unknown Source)
at com.fs.starfarer.StarfarerLauncher.o00000(Unknown Source)
at com.fs.starfarer.StarfarerLauncher$1.run(Unknown Source)
at java.base/java.lang.Thread.run(Unknown Source)
Works fine without LunaLib.
Oh btw, chat gpt fixed it for me:Fix for crash caused by missing or broken tahlan.version file when using LunaLib
If Starsector crashes at startup with an error like:
Failed to parse version file "tahlan.version"
JSONException: JSONObject["modVersion"] is not a JSONObject
Here's how to fix it:
Go to your Starsector mods folder:
Starsector/mods/tahlan-shipworks
Create a new file named:
tahlan.version
(Make sure the file extension is .version, not .txt!)
Open the file and paste this content:
{
"modName": "Tahlan Shipworks",
"modVersion": {
"major": 1,
"minor": 4,
"patch": 0
},
"masterVersionFile": "
https://raw.githubusercontent.com/Tartiflette/Tahlan-Shipworks/master/version/files/Tahlan_Shipworks.version"
}
Save the file and restart the game.
This will stop LunaLib from crashing due to a missing or invalid version file.