Coder Social home page Coder Social logo

tweakscale / companion_frameworks Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 470 KB

Adds (up to date) TweakScale /L patches for Add'Ons that adds features to KSP itself, as Waterfall

License: GNU General Public License v2.0

C# 85.02% Shell 12.05% C++ 2.93%
ksp tweakscale-companion tweakscale waterfall kerbal-space-program kerbalspaceprogram

companion_frameworks's Introduction

TweakScale Companion :: Frameworks

Adds (up to date) TweakScale /L patches for Add'Ons that adds features to KSP itself.

In a Hurry

Description

Adds (up to date) TweakScale /L patches for some KSP Enhancing Add'Ons that needs scaling with the parts.

Currently supports:

  • Test Flight
  • Cryo Tanks
  • Space Dust
  • System Heat
  • Waterfall

Installation

Detailed installation instructions are now on its own file (see the In a Hurry section) and on the distribution file.

License

  • This work is double licensed as follows:
    • SKL 1.0. See here
      • You are free to:
        • Use : unpack and use the material in any computer or device
        • Redistribute: redistribute the original package in any medium
      • Under the following terms:
        • You agree to use the material only on (or to) KSP
        • You don't alter the package in any form or way (but you can embedded it)
        • You don't change the material in any way, and retain any copyright notices
        • You must explicitly state the author's Copyright, as well an Official Site for downloading the original and new versions
    • GPL 2.0. See here
      • You are free to:
        • Use : unpack and use the material in any computer or device
        • Redistribute : redistribute the original package in any medium
        • Adapt : Reuse, modify or incorporate source code into your works (and redistribute it!)
      • Under the following terms:
        • You retain any copyright notices
        • You recognise and respect any trademarks
        • You don't impersonate the authors, neither redistribute a derivative that could be misrepresented as theirs.
        • You credit the author and republish the copyright notices on your works where the work is used.
        • You relicense (and fully comply) your works using GPL 2.0
          • Please note that upgrading the license to GPLv3 IS NOT ALLOWED for this work, as the author DID NOT added the "or (at your option) any later version" on the license.
        • You don't mix your work with GPL incompatible works.
    • If by some reason the GPL would be invalid for you, rest assured that you still retain the right to Use the Work under SKL 1.0.

You have the option to choose the licence that best suits you (when applicable).

See NOTICE for further copyright and trademarks notices.

UPSTREAM

There's no upstream, I'm (g)ROOT. :)

References

companion_frameworks's People

Contributors

lisias avatar

Watchers

 avatar  avatar  avatar

companion_frameworks's Issues

Crash to desktop with version 2023.03.28.3

if i have installed version 2023.03.28.3, it ends in a crash to desktop when starting KSP.

is it normal that in many places in paths without gameplay folders are searched for?
*** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScale
[TweakScale] ERROR: Could not check the presense of TweakScale Companion due Could not find file "E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScaleCompanion" at error:0

Log with 2023.03.28.3

[LOG 19:43:53.625] [TweakScale] Version 2.4.7.1 /L
[LOG 19:43:53.647] *** TweakScale
[LOG 19:43:53.647] *** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScale
[LOG 19:43:53.647] *** TweakScale || E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\
[ERR 19:43:53.656] ADDON BINDER: Cannot resolve assembly: Scale.PartDB.19x

[LOG 19:43:53.657] [KSPe.Binder] Looking for Scale.PartDB.19x.dll on GameData\TweakScale\Plugins\PluginData\...
[LOG 19:43:53.658] [KSPe.Binder] Found it on E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\GameData\TweakScale\Plugins\PluginData\Scale.PartDB.19x.dll.
[LOG 19:43:53.661] [TweakScale] Support for KSP 1.9.0 to 1.12.5 Version 2.4.7.1 /L
[LOG 19:43:53.793] *** TweakScale
[LOG 19:43:53.793] *** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScale
[LOG 19:43:53.793] *** TweakScale || E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\
[LOG 19:43:53.798] [TweakScale] ERROR: Could not check the presense of TweakScale Companion due Could not find file "E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScaleCompanion" at error:0
[LOG 19:43:53.864] [TweakScaleCompanion.Frameworks] Version 0.4.0.2 /L BETA
[LOG 19:43:53.903] *** TweakScaleCompanion\Frameworks
[LOG 19:43:53.903] *** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScaleCompanion\Frameworks
[LOG 19:43:53.903] *** TweakScaleCompanion\Frameworks || E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\
[LOG 19:43:53.907] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
[LOG 19:43:53.941] *** TweakScaleCompanion\Frameworks\TestFlightCore
[LOG 19:43:53.942] *** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScaleCompanion\Frameworks\TestFlightCore
[LOG 19:43:53.942] *** TweakScaleCompanion\Frameworks\TestFlightCore || E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\
[LOG 19:43:53.951] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
[LOG 19:43:53.952] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
[LOG 19:43:53.953] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
...
...
[LOG 19:43:54.491] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
[LOG 19:43:54.493] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
[LOG 19:43:54.494] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
[LOG 19:43:54.495] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.2 /L BETA is loaded.
End of file

-> Crash to Desktop

if I take the TweakScalerTestFlightCore.dll from version 2023.03.28.2 the game starts again
then there is a DllNotFoundException: error, but KSP is starting

###############################################################

logs with 2023.03.28.2 dll - TweakScalerTestFlightCore.dll

[LOG 19:49:28.106] [TweakScale] Version 2.4.7.1 /L
[LOG 19:49:28.126] *** TweakScale
[LOG 19:49:28.126] *** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScale
[LOG 19:49:28.126] *** TweakScale || E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\
[ERR 19:49:28.135] ADDON BINDER: Cannot resolve assembly: Scale.PartDB.19x

[LOG 19:49:28.136] [KSPe.Binder] Looking for Scale.PartDB.19x.dll on GameData\TweakScale\Plugins\PluginData\...
[LOG 19:49:28.137] [KSPe.Binder] Found it on E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\GameData\TweakScale\Plugins\PluginData\Scale.PartDB.19x.dll.
[LOG 19:49:28.139] [TweakScale] Support for KSP 1.9.0 to 1.12.5 Version 2.4.7.1 /L
[LOG 19:49:28.216] *** TweakScale
[LOG 19:49:28.216] *** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScale
[LOG 19:49:28.216] *** TweakScale || E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\
[LOG 19:49:28.222] [TweakScale] ERROR: Could not check the presense of TweakScale Companion due Could not find file "E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScaleCompanion" at error:0
[LOG 19:49:28.289] [TweakScaleCompanion.Frameworks] Version 0.4.0.2 /L BETA
[LOG 19:49:28.327] *** TweakScaleCompanion\Frameworks
[LOG 19:49:28.327] *** E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\TweakScaleCompanion\Frameworks
[LOG 19:49:28.327] *** TweakScaleCompanion\Frameworks || E:\SteamLibrary1\steamapps\common\Kerbal Space Program 1.12.3 RP-1 2023\
[LOG 19:49:28.331] [TweakScaleCompanion.Frameworks] TweakScalerTestFlightCore Version 0.4.0.1 /L BETA is loaded.
[EXC 19:49:28.378] DllNotFoundException: An Add'On Support DLL was not loaded. Missing type : TweakScaleCompanion.Frameworks.TestFlightCore.Version
	KSPe.Util.SystemTools+Type+Find.ByQualifiedName (System.String qn) (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.Util.SystemTools+Type+Find.By (System.String ns, System.String name) (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.Util.SystemTools+Reflection+Version`1[T]..cctor () (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	Rethrow as TypeInitializationException: The type initializer for 'Version`1' threw an exception.
	KSPe.IO.Hierarchy`1[T].calculateTypeRoot () (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.IO.Hierarchy`1[T].CalculateTypeRoot () (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.IO.Hierarchy`1[T]..ctor (KSPe.IO.Hierarchy hierarchy) (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.IO.Hierarchy`1[T]..cctor () (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	Rethrow as TypeInitializationException: The type initializer for 'KSPe.IO.Hierarchy`1' threw an exception.
	KSPe.Util.SystemTools+Assembly+Loader`1[T].TryPath (System.String path, System.String[] subdirs) (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.Util.SystemTools+Assembly+Loader.buildSearchPath (System.String[] subdirs) (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.Util.SystemTools+Assembly+Loader..ctor (System.String[] subdirs) (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	KSPe.Util.SystemTools+Assembly+Loader`1[T]..ctor (System.String[] subdirs) (at <58fb44557e3d487fa13c42bddbc423e1>:0)
	TweakScaleCompanion.Frameworks.TestFlightCore.Startup.loadDLLs () (at <167c16a47da54d53885d62c6afddd8a8>:0)
	TweakScaleCompanion.Frameworks.TestFlightCore.Startup.Start () (at <167c16a47da54d53885d62c6afddd8a8>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
[LOG 19:49:28.379] [Waterfall][Asset Library]: Started loading
[LOG 19:49:28.379] [Waterfall][Asset Library]: Loading models
[LOG 19:49:28.385] [Waterfall][Asset Library]: Loaded 12 models
[LOG 19:49:28.385] [Waterfall][Asset Library]: Loading textures
[LOG 19:49:28.390] [Waterfall][Asset Library]: Loaded 27 textures
[LOG 19:49:28.390] [Waterfall][Asset Library]: Loading shaders
[LOG 19:49:28.395] [Waterfall][Asset Library]: Loaded 11 shaders
[LOG 19:49:28.395] [Waterfall][Asset Library]: Finished loading
[LOG 19:49:28.395] [TweakScaleCompanion.FS] Version 1.3.0.0 /L
[LOG 19:49:28.400] [TweakScaleCompanion.KIAS] Version 1.1.0.0 /L
[LOG 19:49:28.410] [TweakScaleCompanion.PKMC] Version 2.2.1.1 /L
[LOG 19:49:28.480] *** TweakScaleCompanion\PKMC

Issue involving several thrusters from Interstellar Extended

Never used Github before, I apologize if I'm doing something wrong here, I just wanted to bring up that several thrusters in the Interstellar Extended modpack conflict heavily with this mod. Attempting to place some of the engines (mainly the Rocinante Kerbstein Engine) results in extreme lag, and checking the logs show that it constantly repeats the message 'Exception: ReflectionTypeLoadException: Exception of type 'System.Reflection.ReflectionTypeLoadException' was thrown.'

This stopped working on KSP 1.12.x

At least for KSP 1.12.2 (didn't tested .0 and .1), the plumes are not being scaled anymore as it was being done on 1.11.2.

This probably is happening because the current code is probably relying on a race condition (I can't revert to launch without losing the scaling!).

Fellow Kerbonaut hohmannson did a full report on TweakScale's thread:

KSP 1.12.2, Waterfall 0.6.7, Waterfall-Restock, Stock Waterfall Effects, Tweakscale 2.4.5.1, Tweakscale Companion Visuals 0.1.0.0, plumes are not scaled and Kerbal Object Inspector doesn't see the companion's module on engines. Seems to not be a problem of plume patches, because even custom engine with custom plume doesn't get scaling.

Log: wfcomp_failed_log.zip

Race Condition while initialising the PartModule

It's raining Exceptions on Editor Scene:

[EXC 00:41:44.686] NullReferenceException: Object reference not set to an instance of an object
        TweakScaleCompanion.Visuals.Waterfall.TweakScalerWaterfallFX.InitInternalData () (at <3ee8574adb1f4b748e603a6ba53273ed>:0)
        TweakScaleCompanion.Visuals.Waterfall.TweakScalerWaterfallFX.Update () (at <3ee8574adb1f4b748e603a6ba53273ed>:0)
        UnityEngine.DebugLogHandler:LogException(Exception, Object)
        KSPe.Util.Log.UnityLogDecorator:UnityEngine.ILogHandler.LogException(Exception, Object)
        ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
        UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.