This plugin is a collection of code patches for fixing bugs and performance issues in the KSP codebase, and adding small QoL improvements. Entirely new features (especially those already covered by other mods) are out of scope, as well as patches that might alter the stock behaviors to minimize potential mod compatibility issues.
This mod is meant as community project, so feel free to propose additional patch ideas by opening an issue, or to contribute with a pull request.
Compatible with KSP 1.8.0 to 1.12.5 - Available on the CKAN mod manager
Required and must be downloaded separately :
- HarmonyKSP : Download - Homepage - Available on CKAN
- ModuleManager : Download - Forum post - Available on CKAN
Installation
Installation with CKAN is recommended. Otherwise:
- Go to the GitHub release page and download the file named
KSPCommunityFixes_x.x.x.zip
- Open the downloaded *.zip archive
- Open the
GameData
folder of your KSP installation - Delete any existing
KSPCommunityFixes
folder in yourGameData
folder - Copy the
KSPCommunityFixes
folder found in the archive into yourGameData
folder
Individual patches can be enabled or disabled by editing the Settings.cfg
file. To make sure your changes persist when the mod is updated, it is recommended to make them in a ModuleManager patch. Open the Extras\KSPCF_UserSettings.cfg.extra
file in a text editor for further instructions.
While all KSP versions from 1.8.0 to 1.12.5 are supported, using the latest one (1.12.5) is highly recommended, as many patches only apply to the most recent KSP versions. When a bug fix patch doesn't apply to an older KSP version, this doesn't mean those bugs don't exist there.
User options are available from the "ESC" in-game settings menu :
- RefundingOnRecovery [KSP 1.11.0 - 1.12.5]
Vessel recovery funds properly account for modules implementing IPartCostModifier. This bug affect stock fairings, cargo parts and many modules from various mods (part switchers and procedural parts mods, USI, Kerbalism, Tweakscale, etc). - KerbalInventoryPersistence [KSP 1.12.2 - 1.12.5]
Fix the whole kerbal inventory persistence system being inactive in KSP 1.12.2+. This cause multiple issues, like being able to bypass kerbal inventories mass/volume limits, and various cargo part duplication / disappearance issues when EVAing / boarding. - RoboticsDrift [KSP 1.12.0 - 1.12.5]
Prevent unrecoverable part position drift of Breaking Grounds DLC robotic parts and their children parts. - DockingPortRotationDriftAndFixes [KSP 1.12.5]
Make the stock docking port rotation feature actually useable :- Completely prevent unrecoverable position drift of children parts of docking ports.
- Fix joint failure and phantom forces when a docking port pair is set to opposite extreme angles.
- Allow tweaking the rotation in the editor and while not docked in flight.
- Rotation can now be properly used in a robotic controller.
- Remove the -86°/86° hardcoded limitation of
hardMinMaxLimits
, it is now -180°/180°. - Fix many issues and state inconsistencies.
- An optional
DockingPortExtendedRotation.cfg.extra
MM patch extending rotation range to 360° is available in theExtras
folder. Copy it to yourGameData
folder and remove the.extra
extension to use it.
- AutoStrutDrift [KSP 1.8.0 - 1.12.5]
Improves the overall physics stability when using autostruts and prevent autostrut induced deformations following vessel modification events (decoupling, docking/undocking, fairing separation...). - ModuleIndexingMismatch [KSP 1.8.0 - 1.12.5]
Prevent modules persisted state from being lost in existing saves/ships following a mod installation/uninstallation/update. Note that this won't handle all cases, but it massively reduce occurrences of that issue. - PackedPartsRotation [KSP 1.8.0 - 1.12.5]
Fix part rotations not being reset to their pristine value when a non-landed vessel is packed, resulting in permanent part rotation drift when docking and other minor/cosmetic issues. - PartStartStability [KSP 1.8.0 - 1.12.5]
Fix vessel deformation and kraken events on flight scene load, also prevent some kraken issues when placing parts with EVA construction.
- PAWGroupMemory [KSP 1.8.0 - 1.12.5]
Fix the expanded/retracted state of Part Action Window groups being reset when the PAW is closed or internally rebuilt (especially frequent in the editor). - PAWItemsOrder [KSP 1.8.0 - 1.12.5]
Fix PAW items position randomly changing and flickering. - KerbalTooltipMaxSustainedG [KSP 1.8.0 - 1.12.5]
Fix the kerbals tooltip giving wrong "Max sustainable G" information. - ROCValidationOOR [KSP 1.8.0 - 1.12.5]
Fix ROCManager crashing during loading with Kopernicus modified systems. - ReactionWheelsPotentialTorque [KSP 1.8.0 - 1.12.5]
Fix reaction wheels reporting incorrect available torque when "Wheel Authority" is set below 100%. Fix stock SAS (and possibly other attitude controllers) instability issues. - StockAlarmCustomFormatterDate [KSP 1.12.0 - 1.12.5]
Make the stock alarm respect the day/year length defined by mods like Kronometer. Fix the underlying AppUIMemberDateTime UI widget API to use the mod-provided IDateTimeFormatter if present. - StockAlarmDescPreserveLineBreak [KSP 1.12.0 - 1.12.5]
Stock alarm preserve line breaks (and tabs) in the description field. - ExtendedDeployableParts [KSP 1.12.0 - 1.12.5]
Fix deployable parts (antennas, solar panels, radiators...) always starting in the extended state when the model isn't exported in the retracted state. This bug affect parts from various mods (ex : Ven's stock revamp solar panels). - DeltaVHideWhenDisabled [KSP 1.12.0 - 1.12.5]
Hide the stock stage delta-v UI elements and navball extended burn info whenDELTAV_CALCULATIONS_ENABLED
andDELTAV_APP_ENABLED
are disabled by another mod or in the KSPsettings.cfg
file. - AsteroidSpawnerUniqueFlightId [KSP 1.8.0 - 1.12.5]
Fix the asteroid/comet spawner generating non-uniquePart.flightId
identifiers. This has a few minor side effects in stock (mainly incorrect science bonuses), but this field is heavily relied upon by various mods and this can cause major issues for them. - PartListTooltipIconSpin [KSP 1.8.0 - 1.12.5]
Fix editor tooltip part icons not spinning anymore after hovering on a greyed out surface attachable only part while the editor is empty. - ScatterDistribution [KSP 1.8.0 - 1.12.5]
Fix incorrect terrain scatter distribution when a partial longitude range is defined in the PQSLandControl definition. - LostSoundAfterSceneSwitch [KSP 1.12.0 - 1.12.5]
Fix audio source not being centered/aligned with the current vessel after scene switches, causing loss of vessel effects audio and random volume or left/right channel weirdness. - EVAKerbalRecovery [KSP 1.11.0 - 1.12.5]
Fix recovery of EVAing kerbals either causing their inventory to be recovered twice or the science data they carry not being recovered, depending on the EVA kerbal variant/suit. - StickySplashedFixer [KSP 1.8.0 - 1.12.5]
Fix vessel never leaving the splashed state if it starts out splashed, and decouples from its only splashed parts. This also fixes an issue where Splashed overrides Prelaunch as a situation. - RescaledRoboticParts [KSP 1.8.0 - 1.12.5]
Fix rescaled robotics parts propagating their scale to childrens after actuating the servo in the editor - EnginePlateAirstreamShieldedTopPart [KSP 1.11.0 - 1.12.5]
Fix engine plates causing the part attached above them to be incorrectly shielded from airstream. - AsteroidInfiniteMining [KSP 1.10.0 - 1.12.5]
Fix asteroid/comet mass being restored to 100% when reloading after having mined it down to 0%. - CometMiningNotRemovingMass [KSP 1.12.2 - 1.12.5]
Fix mass of comets not actually reducing when mining them, despite the PAW saying so. - DoubleCurvePreserveTangents [KSP 1.8.0 - 1.12.5]
Fix DoubleCurve flattening the tangents of the first keyframe regardless of whether tangents are supplied. - StrategyDuration [KSP 1.8.0 - 1.12.5]
Fix Strategies not using Duration settings. - UpgradeBugs [KSP 1.12.0 - 1.12.5]
Fix various bugs with upgrades, like the part stats upgrade module breaking, upgrades not properly applying in the editor, upgrade cost not being applied to part cost, and various issues int the public API. - MapSOCorrectWrapping [KSP 1.10.0 - 1.12.5]
Fixes issues with biomes crossing the poles (South pole biome at north pole and vice versa). Fixes "polar spikes" in the terrain for 8-bit heightmaps. - ChutePhantomSymmetry [KSP 1.10.0 - 1.12.5]
Fix spread angle still being applied after decoupling symmetry-placed parachutes. - CorrectDragForFlags [KSP 1.12.3 - 1.12.5]
Fix the "panel" variants of the flag parts using a single drag cube, causing excessive drag for the smaller options. - LadderToggleableLight [KSP 1.8.0 - 1.12.5]
Fix for the stock "Kelus-LV Bay Mobility Enhancer" light being always active even when the ladder is retracted, and implements manual control of the light. - ReRootPreserveSurfaceAttach [KSP 1.8.0 - 1.12.5]
Disable the stock behavior of altering surface attachment nodes on re-rooting, a questionable QoL feature that doesn't work correctly, leading to permanently borked attachement nodes. - ThumbnailSpotlight [KSP 1.12.0 - 1.12.5], fix rogue spotlight staying in the scene when a part thumbnail fails to be generated.
- FixGetUnivseralTime [KSP 1.8.0 - 1.12.5]
Fix Planetarium.GetUniversalTime returning bad values in the editor. - DockingPortConserveMomentum [KSP 1.12.3 - 1.12.5]
Make docking ports conserve momentum by averaging the acquire force between the two ports. Notably, docking port Kraken drives will no longer work. - PropellantFlowDescription [KSP 1.8.0 - KSP 1.12.5]
Fix printing the resource's base flow mode instead of the (potentially overridden) propellant's flow mode when printing propellants in an engine's info panel in the Part Tooltip. - ModuleAnimateGenericCrewModSpawnIVA [KSP 1.8.0 - 1.12.5]
Fix IVA & crew portrait not spawning/despawning when ModuleAnimateGeneric is used to change the part crew capacity. Notably affect the stock inflatable airlock. - TimeWarpOrbitShift [KSP 1.8.0 - 1.12.5]
Fix active vessel orbit moving randomly when engaging timewarp while under heavy CPU load. - InventoryPartMass [KSP 1.12.0 - 1.12.5]
Fixes bugs where parts stored in inventories would not have the correct mass or volume when their resource levels were modified or variants changed. - EVAConstructionMass [KSP 1.12.3 - 1.12.5]
Fixes a bug where picking up a part in EVA construction would set its mass to the wrong value when mass modifiers are involved (e.g. part variants). - RespawnDeadKerbals [KSP 1.12.3 - 1.12.5]
When respawning is enabled, starts the respawn timer for any dead kerbals (changing their state to "missing") when loading a save. This addresses stock bugs where kerbals could be set to dead even when respawning is enabled. - ZeroCostTechNode [KSP 1.12.3 - 1.12.5]
Fixes a bug where parts in tech nodes that have 0 science cost would become unusable. - ModulePartVariantsNodePersistence [KSP 1.12.3 - 1.12.5]
Fixes an issue with ModulePartVariants where attachnodes would use their default state when resuming flight on a vessel from a saved game. This would lead to different behavior in part joints and flexibility between initial launch and loading a save. - PartBoundsIgnoreDisabledTransforms [KSP 1.12.3 - 1.12.5]
Fix disabled renderers by mesh switchers (B9PartSwitch...) still being considered for part bounds evaluation, resulting in various issues like parts not being occluded from drag in cargo bays, wrong vessel size being reported, etc... - DragCubeLoadException [KSP 1.8.0 - 1.12.5]
Fix loading of drag cubes without a name failing with an IndexOutOfRangeException - TimeWarpBodyCollision [KSP 1.12.0 - 1.12.5]
Fix timewarp rate not always being limited on SOI transistions, sometimes resulting in failure to detect an encounter/collision with the body in the next SOI. - ModuleActiveRadiatorNoParentException [KSP 1.12.3 - 1.12.5]
Fix exception spam when a radiator set toparentCoolingOnly
is detached from the vessel - FastAndFixedEnumExtensions [KSP 1.12.3 - 1.12.5]
Fix exceptions when calling theEnumExtensions.*Description()
methods with a non-defined enum value, and implement a cache for faster and less allocating execution of those methods. - DebugConsoleDontStealInput [KSP 1.12.3 - 1.12.5]
Fix the Alt+F12 console input field stealing input when a console entry is added
- PAWCollapsedInventories [KSP 1.11.0 - 1.12.5]
Part Action Window inventory UI widgets in a collapsed group by default, group title show volume and mass usage. Applied to part and kerbal inventories. - AltimeterHorizontalPosition [KSP 1.8.0 - 1.12.5]
Altimeter widget horizontal position is now tweakable in the pause menu settings. - PAWStockGroups [KSP 1.10.1 - 1.12.5]
Part Action Window groups for a selection of stock items/modules - TweakableWheelsAutostrut [KSP 1.8.0 - 1.12.5]
Allow tweaking the autostrut mode of wheels/landing legs. Still default to "Heaviest part". - AutostrutActions [KSP 1.8.0 - 1.12.5]
Allow autostrut mode to be toggled with action groups (requires advanced tweakables to be enabled). - UIFloatEditNumericInput [KSP 1.8.0 - 1.12.5]
Allow numeric input ("#" button) in "float edit" PAW items - DisableManeuverTool [KSP 1.12.0 - 1.12.5]
Allow disabling the KSP 1.12 maneuver/trip planner tool in the KSPCF in-game settings menu. It can cause stutters and freezes on scene load, when changing SOI or when editing maneuver nodes, especially with Kopernicus modified systems. - FairingMouseOverPersistence [KSP 1.10.0 - 1.12.5]
Make the "Fairing Expansion" state persistent when reloading a craft in the editor. - AutoSavedCraftNameAtLaunch [KSP 1.8.0 - 1.12.5]
Append[Auto-Saved Ship]
when relevant in the Launchpad / Runway UI. - ShowContractFinishDates [KSP 1.12.0 - 1.12.5]
For archived contracts, show accepted/finished dates. - NoIVA [KSP 1.8.0 - 1.12.5]
Allow to disable IVA functionality and prevent related assets from being loaded, reducing RAM/VRAM usage and slightly increasing performance in some cases. Has a "use placeholder IVA" option allowing to keep crew portraits. This patch is disabled by default and must be enabled from the KSP "ESC" settings menu. It has no entry in theSettings.cfg
file and require a restart to take effect. Do not use this option alongside IVA mods like RPM or MAS. - DisableNewGameIntro [KSP 1.8.0 - 1.12.5]
Disable the "intro" popups appearing in the space center, VAB/SPH and tracking station upon creating a new career game. Disabled by default. - ToolbarShowHide [KSP 1.8.0 - 1.12.5]
Add a button for hiding/showing the stock toolbar. Also allow accessing the toolbar while in the space center facilities windows (mission control, admin building, R&D...). - ResourceLockActions [KSP 1.8.0 - 1.12.5]
Add part actions for locking/unlocking resources flow state. - BetterEditorUndoRedo [KSP 1.12.3 - 1.12.5]
Invert the editor undo state capturing logic so part tweaks aren't lost when undoing. NOTE: this patch is disabled when TweakScale/L is installed. - OptionalMakingHistoryDLCFeatures [KSP 1.12.3 - 1.12.5]
Allow to disable the Making History DLC mission editor and additional launch sites features to decrease memory usage and increase loading speed. The Making History parts will still be available. Can be toggled from the KSPCF in-game settings (requires a restart), or from a MM patch (seeSettings.cfg
). - TargetParentBody [KSP 1.8.0 - 1.12.5]
Allow targeting the parent body of the current craft, or any body in the parent hierarchy.
- SceneLoadSpeedBoost [KSP 1.8.0 - 1.12.5]
Reduce scene switches loading time with large/modded saves by caching the current save in memory instead of loading it from disk. - ForceSyncSceneSwitch [KSP 1.12.0 - 1.12.5]
Forces all scene transitions to happen synchronously. Mainly benefits highly modded installs by reducing asset cleanup run count from 3 to 1. - OnDemandPartBuoyancy [KSP 1.8.0 - 1.12.5]
Prevent the part buoyancy integrator from running when not needed. Improves performance for large part count vessels while in the SOI of a body that has an ocean (Kerbin, Eve, Laythe...) - FastLoader [KSP 1.12.3 - 1.12.5]
Complete rewrite of the KSP asset/part loader : prevent GPU framerate limits from affecting loading speed, implement multithreaded asset loading (20% to 40% speedup depending on CPU & storage specs), provides an opt-in mechanism for caching PNG textures in the DXT5 format, also implements loading of additional DDS formats (see BetterDDSSupport patch in the API/modding tools section). - PQSUpdateNoMemoryAlloc [KSP 1.11.0 - 1.12.5]
Prevent huge memory allocations and resulting occasional stutter on PQS creation happening when moving around near a body surface. - PQSCoroutineLeak [KSP 1.8.0 - 1.12.5]
Prevent KSP from spawning multiple PQS update coroutines for the same PQS after scene switches and on other occasions, causing large performance degradation over time. - MemoryLeaks [KSP 1.12.0 - 1.12.5]
Fix a bunch of managed memory leaks, mainly by proactively removingGameEvents
delegates originating from destroyedUnityEngine.Object
instances on scene switches. Will log detected leaks and memory usage. Also seeSettings.cfg
to enable advanced logging options that can be useful to hunt down memory leaks in mods. - ProgressTrackingSpeedBoost [KSP 1.12.0 - 1.12.5]
Remove unused ProgressTracking update handlers. Provides a very noticeable performance uplift in career games having a large amount of celestial bodies and/or vessels. - DisableMapUpdateInFlight [KSP 1.8.0 - 1.12.5]
Disable the update of orbit lines and markers in flight when the map view isn't shown. Provides decent performance gains in games having a large amount of celestial bodies and/or vessels. - CommNetThrottling [KSP 1.12.0 - 1.12.5]
Implement a throttling mechanism preventing CommNet network updates from happening every frame. When this patch is enabled, network updates will only happen at a set interval of in-game seconds (default is 2.5s, configurable inSettings.cfg
). This patch will cause events such as line of sight loss or acquisition, or comm link changes to happen with a slight delay, but provide a significant performance uplift in games having a large amount of celestial bodies and/or vessels. - AsteroidAndCometDrillCache [KSP 1.12.5]
Reduce constant overhead of ModuleAsteroidDrill and ModuleCometDrill by using the cached asteroid/comet part lookup results from ModuleResourceHarvester. Improves performance with large part count vessels having at least one drill part. - FewerSaves [KSP 1.8.0 - KSP 1.12.5]
Disables saving on exiting Space Center minor buildings (Mission Control etc) and when deleting vessels in Tracking Station. Disabled by default. - ConfigNodePerf see also [KSP 1.8.0 - KSP 1.12.5]
Speeds up many ConfigNode methods, especially reading and writing ConfigNodes. - RestoreMaxPhysicsDT [KSP 1.8.0 - 1.12.5]
When using physics warp, Unity will set the max physics dt to be at least as high as the scaled physics dt. But KSP will never restore it back to the normal value from the settings. This can degrade performance as it allows more FixedUpdates to run per frame. - ContractProgressEnumCache [KSP 1.8.0 - 1.12.5]
Prevent performance drops when there are in-progress comet sample or rover construction contracts - DragCubeGeneration [KSP 1.12.0 - 1.12.5]
Faster and more reliable implementation of drag cube generation. Improves overall loading times (both game load and scene/vessel/ship load times), prevent occasional lag spikes (in the editor mostly) and fix some issues causing incorrect drag cubes to be generated (notable examples are the stock inflatable heat shield, the 1.25m and 2.5m nose cones and the Mainsail shroud). Note that by design, this patch results in a small deviation from the stock behavior for buyoancy, aerodynamics and thermodynamics, as the generated drag cubes will be slightly different. - LocalizerPerf [KSP 1.8.0 - 1.12.5]
Faster and minimal-allocation replacements for theLocalizer.Format()
methods, can provide significant speedup for GUI-heavy mods using localized strings. - DisableHiddenPortraits [KSP 1.8.0 - 1.12.5]
Prevent non-visible crew portraits from being rendered after a switch back from the map view (and other cases), causing a significant perf hit when there are many kerbals in the vessel. - IMGUIOptimization [KSP 1.8.0 - 1.12.5]
Eliminate structural GC allocations and reduce performance overhead of OnGUI() methods. Can provide significant performance gains when having many mods using IMGUI heavily. - CollisionManagerFastUpdate [KSP 1.11.0 - 1.12.5]
3-4 times faster update of parts inter-collision state, significantly reduce stutter on docking, undocking, decoupling and joint failure events. - LowerMinPhysicsDTPerFrame [KSP 1.12.3 - 1.12.5]
Allow a min value of 0.02 instead of 0.03 for the "Max Physics Delta-Time Per Frame" main menu setting. This allows for higher and smoother framerate at the expense of the game lagging behind real time. - OptimizedModuleRaycasts [KSP 1.12.3 - 1.12.5]
Improve engine exhaust damage and solar panel line of sight raycasts performance by avoiding extra physics state synchronization and caching solar panels scaled space raycasts results. Also prevent useless constant overhead and raycasts inModuleSurfaceFX.Update()
(see PR). - ModuleDockingNodeFindOtherNodesFaster [KSP 1.12.3 - 1.12.5]
Faster lookup of other docking nodes. - CollisionEnhancerFastUpdate [KSP 1.12.3 - 1.12.5]
Optimization of theCollisionEnhancer
component (responsible for part to terrain collision detection). - PartSystemsFastUpdate [KSP 1.12.3 - 1.12.5]
Optimization of various flight scene auxiliary subsystems : temperature gauges, highlighter, strut position tracking... - MinorPerfTweaks [KSP 1.12.3 - 1.12.5]
Various small performance patches (volume normalizer, eva module checks, fasterFlightGlobals.fetch
accessor) - FloatingOriginPerf [KSP 1.12.3 - 1.12.5]
General micro-optimization of floating origin shifts. Main benefit is in large particle count situations (ie, launches with many engines) but this helps a bit in other cases as well. - FasterPartFindTransform [KSP 1.12.3 - 1.12.5]
Faster, and minimal GC alloc relacements for the Part FindModelTransform* and FindHeirarchyTransform* methods. - CraftBrowserOptimisations [KSP 1.12.0 - 1.12.5]
Significantly reduces the time it takes to open the craft browser and to search by name. Most noticeable with lots of craft. - OptimisedVectorLines [KSP 1.12.0 - 1.12.5]
Improve performance in the Map View when a large number of vessels and bodies are visible via faster drawing of orbit lines and CommNet lines. - GameDatabasePerf [KSP 1.12.3 - 1.12.5]
Faster dictionary backed version of the stockGameDatabase.GetModel*
/GameDatabase.GetTexture*
methods. This patch is always enabled and has no entry inSettings.cfg
. - PartParsingPerf [KSP 1.8.0 - 1.12.5]
Faster part icon generation andPart
fields parsing. - ModuleColorChangerOptimization [KSP 1.12.3 - 1.12.5]
Reduce the constant overhead from ModuleColorChanger - FasterEditorPartList [KSP 1.12.3 - 1.12.5]
Improve the responsiveness of the part list when switching between categories, sorting and searching by tag.
- MultipleModuleInPartAPI [KSP 1.8.0 - 1.12.5]
This API allow other plugins to implement PartModules that can exist in multiple occurrence in a single part and won't suffer "module indexing mismatch" persistent data losses following part configuration changes. See documentation on the wiki. - DockingPortLockedEvents [KSP 1.12.2 - 1.12.5]
Disabled by default, you can enable it with a MM patch. Fire GameEvents onRoboticPartLockChanging/onRoboticPartLockChanged respectively before/after calls to ModuleDockingNode.ModifyLocked(), following a modification of the ModuleDockingNode.nodeIsLocked field. - OnSymmetryFieldChanged [KSP 1.8.0 - 1.12.5]
Disabled by default, you can enable it with a MM patch. Change theUI_Control.onSymmetryFieldChanged
callback to behave identically to theUI_Control.onFieldChanged
callback :- The callback will only be called when the field value has actually been modified.
- The "object" argument will contain the previous field value (instead of the new value).
- PersistentIConfigNode [KSP 1.8.0 - 1.12.5]
ImplementIConfigNode
members marked as[Persistent]
serialization support when using theCreateObjectFromConfig()
,LoadObjectFromConfig()
andCreateConfigFromObject()
methods. Also implementsGuid
serialization support for those methods. Includes a complete rewrite of underlying ConfigNode code (in line with ConfigNodePerf) for performance, lower GC impact, and to fix some stock bugs. - ReflectionTypeLoadExceptionHandler [KSP 1.8.0 - 1.12.5]
Patch the BCLAssembly.GetTypes()
method to always handle (gracefully) an eventualReflectionTypeLoadException
. Since having an assembly failing to load is a quite common scenario, this ensure such a situation won't cause issues with other plugins. Those exceptions are logged (but not re-thrown), and detailed information about offending plugins is shown on screen during loading so users are aware there is an issue with their install. This patch is always enabled and has no entry inSettings.cfg
. - DepartmentHeadImage [KSP 1.8.0 - 1.12.5]
Fix administration building custom departement head image not being used when added by a mod. - ModUpgradePipeline [KSP 1.8.0 - 1.12.5]
This will save mod versions in sfs and craft files, and use those versions for mods' SaveUpgradePipeline scripts so that mods can handle their own upgrade versioning using native KSP tools instead of having to always run their upgrade scripts. - BetterDDSSupport [KSP 1.12.3 - 1.12.5]
Implement compatibility with the DXT10/DXGI specification, and support of loading additional texture formats :BC4
: single channel (R) compressed 4 bppBC5
: 2 channels (RG) compressed 8 bppBC6H
: 3 channels (RGB) compressed 8 bpp with HDR color range (Not available on MacOS)BC7
: 4 channels (RGBA) compressed 8 bpp (Not available on MacOS)R16G16B16A16
: 4 channels (RGBA) uncompressed 64 bppR16_FLOAT
/R32_FLOAT
: single channel (R) uncompressed 16/32 bppR16G16_FLOAT
/R32G32_FLOAT
: 2 channels (RG) uncompressed 32/64 bppR16G16B16A16_FLOAT
/R32G32B32A32_FLOAT
: 4 channels (RGBA) uncompressed 64/128 bpp
- KSPFieldEnumDesc [KSP 1.12.2 - 1.12.5]
Disabled by default, you can enable it with a MM patch. Adds display name and localization support for enum KSPFields. To use addDescription
attribute to the field. - BaseFieldListUseFieldHost [KSP 1.12.3 - 1.12.5]
AllowBaseField
and associated features (PAW controls, persistence, etc) to work when a customBaseField
is added to aBaseFieldList
(ie, aPart
orPartModule
) with ahost
instance other than theBaseFieldList
owner. See the linked PR and code for use cases and example usage.
- ManufacturerFixes
Fix a bunch of stock parts not having manufacturers, add icons for the stock "Stratus Corporation" and "LightYear Tire Company" and two new agents, "FreeFall Parachutes" and "Clamp-O-Tron". - LandingGearLights
Fix the lights on the "LY-10" and "LY-35" landing gears not automatically turning on/off when extending/retracting the landing gear.
- CPU profiling results, KSPCF 1.37.0 vs stock, fresh sandbox save.
- 452 parts stock+DLCs craft (https://kerbalx.com/Zacspace/Exoloper-+-Delivery-System)
- 720P resolution, all graphics settings to the min to avoid being GPU-limited.
- 3 situations : idling on the launchpad, during launch at 3000m, idling in low kerbin orbit (LKO).
- AVG = average FPS | 1% = worst percentile ("1% lows") | IMP = Improvement over stock
AVG - Stock | AVG - KSPCF | AVG - IMP | 1% - Stock | 1% - KSPCF | 1% - IMP | |
---|---|---|---|---|---|---|
Launchpad | 10,0 | 15,8 | 58% | 8,0 | 13,4 | 68% |
Launch@3000m | 8,4 | 12,1 | 44% | 7,2 | 10,0 | 39% |
LKO | 11,1 | 14,7 | 32% | 9,3 | 12,8 | 38% |
AVG - Stock | AVG - KSPCF | AVG - IMP | 1% - Stock | 1% - KSPCF | 1% - IMP | |
---|---|---|---|---|---|---|
Launchpad | 46,4 | 69,4 | 50% | 39,2 | 59,2 | 51% |
Launch@3000m | 37,0 | 56,3 | 52% | 31,4 | 44,2 | 41% |
LKO | 49,5 | 92,0 | 86% | 41,0 | 70,4 | 72% |
MIT
This mod supports localization. If you wish to contribute a localization file, you can have the mod generate or update a language template by editing the Settings.cfg
(see instructions near the end of the file).
After loading the solution in your IDE, add a ReferencePath
pointing to the root of your KSP install :
For Visual Studio, right-click on the KSPCommunityFixes
project > Properties
> Reference Paths
, add the path to your KSP install and save the changes. Closing and re-opening the solution might be needed for the changes to propagate.
Alternatively, you can do that manually by creating a KSPCommunityFixes.csproj.user
file next to the KSPCommunityFixes.csproj
file, with the following content :
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ReferencePath>Absolute\Path\To\Your\KSP\Install\Folder</ReferencePath>
</PropertyGroup>
</Project>
Then close / re-open the solution.
Building in the Debug
configuration will update the GameData
folder in your KSP install, building in the Release
configuration will additionally create a zipped release in the Releases
repository root folder.
For incrementing the version, edit the KSPCommunityFixes.version
KSP-AVC file, changes will be propagated to AssemblyInfo.cs
when building in the Release
configuration.
The Start
action of the IDE will trigger a build, update the GameData
files in the KSP install and launch KSP.
If doing so in the Debug
configuration and if your KSP install is modified to be debuggable, you will be able to debug the code from within your IDE (if your IDE provides Unity debugging support).