KerbalData Create Method (String, String) KerbalData - KSP Data Unlocked!
Allows easy creation of KerbalData model instance with configuration.

Namespace: KerbalData
Assembly: KerbalData (in KerbalData.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public static KerbalData Create(
	string installPath,
	string configSectionName = "kerbalData"
)

Parameters

installPath
Type: OnlineSystem String
root path of KSP installation
configSectionName (Optional)
Type: OnlineSystem String
application confiiguration section name

Return Value

properly cofigured KerbalData instance
Remarks

This method has a hard wired default configuration should no configuration be available. The types used in the hard-wired configuration are static and will always be part of the KerbalData API and mainly represent the inital serializer and converters created for the API and serve as a starting point for all future configuratiions. TODO: Add sample .NET config to show current default config If another configuration section name is provided it will be used. This is the reccomeded way to qucickly start using the API with minimal configuration/setup.
Examples

var kd = KerbalData.Create(@"C:\KSP");
See Also