Fractal Softworks Forum

Please login or register.

Login with username, password and session length

Author Topic: Skins of Skins Are Load Order Sensitive  (Read 402 times)

SafariJohn

  • Admiral
  • *****
  • Posts: 3023
    • View Profile
Skins of Skins Are Load Order Sensitive
« on: March 06, 2022, 05:18:49 AM »

Roider Union Linux players are getting a crash on app start because I have a skin of a skin. Linux loads in the opposite order from Windows, so the skin-skin gets loaded before its base skin - crash.

I had a crash on game start with the version 1.3.13 until I change "baseHullId":"roider_gambit_p" to "baseHullId":"roider_gambit_p_base" in roider_gambit_p_early.skin file.
Can you please post the log message for that crash? It works fine as-is for me.
I am running Starsector on linux (I know that it can be usefull to know as system is case sensitive).
Here is the log, but I am afraid there is not more information than in my previous message:
Spoiler
Code
7994 [Thread-4] INFO  com.fs.starfarer.loading.ShipHullSpecLoader  - Loading hull skin [data/hulls/skins/roider_gambit_p_early.skin]
7994 [Thread-4] INFO  com.fs.starfarer.loading.LoadingUtils  - Loading JSON from [DIRECTORY: /home/[REDACTED]/.jeux/starsector/./mods/Roider Union (data/hulls/skins/roider_gambit_p_early.skin)]
8000 [Thread-4] ERROR com.fs.starfarer.combat.CombatMain  - java.lang.RuntimeException: Ship hull spec [roider_gambit_p] not found!
java.lang.RuntimeException: Ship hull spec [roider_gambit_p] not found!
at com.fs.starfarer.loading.oO0O.super(Unknown Source)
at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
at com.fs.starfarer.loading.SpecStore.super(Unknown Source)
at com.fs.starfarer.loading.ShipHullSpecLoader.Ò00000(Unknown Source)
at com.fs.starfarer.loading.ShipHullSpecLoader.Object(Unknown Source)
at com.fs.starfarer.loading.SpecStore.ÓO0000(Unknown Source)
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.lang.Thread.run(Unknown Source)
[close]
Thank you. Replicated - looks like skins of skins are sensitive to load order. Windows loads in one direction, Linux in the opposite, so what is safe on Windows crashes on Linux and vice versa.
Logged

Harmful Mechanic

  • Admiral
  • *****
  • Posts: 1340
  • On break.
    • View Profile
Re: Skins of Skins Are Load Order Sensitive
« Reply #1 on: March 06, 2022, 11:24:29 AM »

This is really useful to know about, since one of my speculative experiments relied on skins of skins to work properly.

Back to the drawing board.
Logged

Alex

  • Administrator
  • Admiral
  • *****
  • Posts: 24127
    • View Profile
Re: Skins of Skins Are Load Order Sensitive
« Reply #2 on: March 06, 2022, 07:06:11 PM »

Hmm, interesting. Going to call this one "unsupported"; sorry :)

(It really is; I'm half-surprised it even works on windows...)
Logged