Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: JSON file not found?  (Read 120 times)

hidefreek

  • Lieutenant
  • **
  • Posts: 94
    • View Profile
JSON file not found?
« on: March 25, 2024, 10:45:23 PM »

I started the game and it was not found JSON.
Is it

697651 [Thread-2] ERROR com.fs.starfarer.combat.CombatMain  - org.json.JSONException: JSONObject["version file"] not found.
org.json.JSONException: JSONObject["version file"] not found.
   at org.json.JSONObject.get(JSONObject.java:406) ~[json.jar:?]
   at org.json.JSONObject.getString(JSONObject.java:577) ~[json.jar:?]
   at com.fs.starfarer.loading.LoadingUtils.Ò00000(Unknown Source) ~[port_obf.jar:?]
   at com.fs.starfarer.settings.StarfarerSettings$1.getMergedSpreadsheetDataForMod(Unknown Source) ~[port_obf.jar:?]
   at lunalib.backend.ui.versionchecker.VCModPlugin.onApplicationLoad(VCModPlugin.java:68) ~[?:?]
   at lunalib.LunaLibPlugin.onApplicationLoad(LunaLibPlugin.kt:53) ~[?:?]
   at com.fs.starfarer.loading.ResourceLoaderState.init(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) [?:?]
Logged

Histidine

  • Admiral
  • *****
  • Posts: 4690
    • View Profile
    • GitHub profile
Re: JSON file not found?
« Reply #1 on: March 26, 2024, 03:33:00 AM »

Some mod has an invalid copy of data\config\version\version_files.csv maybe

Scroll up a bit in the log and see if it tells you which one (look for lines starting with [Thread-2]), if it doesn't try a file search in Windows Explorer or equivalent and check all the CSV files by that name.
Logged

hidefreek

  • Lieutenant
  • **
  • Posts: 94
    • View Profile
Re: JSON file not found?
« Reply #2 on: March 26, 2024, 10:30:10 AM »

Some mod has an invalid copy of data\config\version\version_files.csv maybe

Scroll up a bit in the log and see if it tells you which one (look for lines starting with [Thread-2]), if it doesn't try a file search in Windows Explorer or equivalent and check all the CSV files by that name.
I think it may be caused by the NiteLib I newly installed.
After I disable this mod, it works out just fine.
I am not sure if this mod has some conflict with other mods throughout.
I install Mikohime Java 23+7 and Shenandoah too.
Logged