'Required library disabled'
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
So I ws editing and testing TSB, and discovered to my annoyance that the game had decided to stop loading the library after editing it with the error of 'required library disabled' (this is the core TSB_LibVol1 a00a0000 library - the others still worked fine) without actually saying *why* the library was disabled - not in-game, not in the debug log. The file was certainly there, so it couldnt have been that, and normally if there is an invalid unid it will say so, so I am not sure what is spawning this useless error.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Found out what the real error was, a station in a module had a typo in its sov UNID. This give an error when using transcompiler to try to make a tdb out of it, but when loading the XML module was loaded by the game it silently failed, which as a modder I would say is a rather severe bug.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
Currently TransCompiler is just a dumb packager. It does not actually load the XMLs the way the core game does. I agree that in the future it should do the exact same checks that the core game does. For now you should always test the XMLs before running the compiler. Using TransData is probably the easiest thing, since it does all the appropriate checks.Wolfy wrote:Found out what the real error was, a station in a module had a typo in its sov UNID. This give an error when using transcompiler to try to make a tdb out of it, but when loading the XML module was loaded by the game it silently failed, which as a modder I would say is a rather severe bug.
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
Actually I was running Transcompiler to see if it would throw an error because the core game should have thrown one but it did not
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
-
- Developer
- Posts: 2998
- Joined: Thu Jul 24, 2003 9:53 pm
- Contact:
The core game swallows errors in TDBs and non-debug mode because otherwise it would prevent a user from running the game (and potentially downloading a fixed TDB). The assumption is that if you've published a TDB to the Multiverse, it cannot have any errors loading. Obviously we would test that before publishing.Wolfy wrote:Actually I was running Transcompiler to see if it would throw an error because the core game should have thrown one but it did not
For draft/beta tests we don't have a good process. You need to run the game with the XMLs in debug mode and that should show an error. If it doesn't (sounds like it didn't?) then that's a bug.
One more change I could make it to at least log the errors that we swallow in TDBs.
- Aury
- Fleet Admiral
- Posts: 5510
- Joined: Tue Feb 05, 2008 1:10 am
- Location: At the VSS Shipyards in the frontier, designing new ships.
It was running off of the xmls in non-debug mode (because I keep forgetting to run the bat file i have for that)
It should still log errors that occur in non-debug mode, yes.
It should still log errors that occur in non-debug mode, yes.
(shpOrder gPlayership 'barrelRoll)
<New tutorials, modding resources, and official extension stuff coming to this space soon!>
<New tutorials, modding resources, and official extension stuff coming to this space soon!>