Faark / KspLoadOnDemand

Makes KSP assets (atm only part textures) load once required instead of all on startup
14 stars 7 forks source link

Reports of incompatibility with 0.90 #6

Open Gaalidas opened 9 years ago

Gaalidas commented 9 years ago

So, I have yet to test this as KSP is still updating, but it would be great to look into this as early as possible. With KSP in beta, the RAM usage of the base game is about to get a lot higher and modding is getting bigger than ever. The world really needs LOD.

Gaalidas commented 9 years ago

I tried getting the source and recompiling with the latest updated references and it fails to even compile in its current state. Kept getting a whole slew of errors. Here's an example:

Build started. Compiling LoadOnDemand

Legacy\LegacyNativeWrapper.cs(37,13) : Warning CS0162: Unreachable code detected Logic\Editor.cs(34,33) : Error CS0117: 'EditorLogic' does not contain a definition for 'startPod' Logic\Editor.cs(36,44) : Error CS0117: 'EditorLogic' does not contain a definition for 'startPod' Logic\Editor.cs(87,13) : Error CS0103: The name 'myPseudoFilter' does not exist in the current context Logic\Editor.cs(87,34) : Error CS0305: Using the generic type 'EditorPartListFilter' requires 1 type arguments Logic\Editor.cs(88,33) : Error CS0305: Using the generic type 'EditorPartListFilter' requires 1 type arguments Logic\Editor.cs(92,17) : Error CS1502: The best overloaded method match for 'System.Collections.Generic.List.Add(EditorPartListFilter)' has some invalid arguments Logic\Editor.cs(92,26) : Error CS1503: Argument 1: cannot convert from 'EditorPartListFilter' to 'EditorPartListFilter' Logic\Editor.cs(94,62) : Error CS0103: The name 'myPseudoFilter' does not exist in the current context Logic\Editor.cs(146,69) : Error CS0103: The name 'myPseudoFilter' does not exist in the current context Logic\Editor.cs(149,13) : Error CS0103: The name 'myPseudoFilter' does not exist in the current context NativeBridge.cs(179,21) : Warning CS0162: Unreachable code detected Build failed. (00:00:02.8361595) I removed my local path from the errors to save space. It's not applicable anyway.
Ristellise commented 9 years ago

To be honest.... we need to rewrite the mod from scratch.....