New PluginConfiguration class to let us make XML config files anywhere we want them. refactor
New PluginConfiguration class to let us make XML config files anywhere we want them.

file:a/IOTools.cs -> file:b/IOTools.cs
--- a/IOTools.cs
+++ b/IOTools.cs
@@ -35,8 +35,8 @@
 {
 	public static class IOTools
 	{
-		public static readonly string rootPath = KSPUtil.ApplicationRootPath;
-		public static readonly string gameDataPath = string.Format("{0}GameData/", rootPath);
+		public static readonly string KSPRootPath = KSPUtil.ApplicationRootPath.Replace("\\", "/");
+		public static readonly string GameDataPath = string.Format("{0}GameData/", KSPRootPath);
 
 		public static bool LoadTexture(
 			out Texture2D texture,
@@ -53,7 +53,7 @@
 			if (isGameDataRelative)
 			{
 				url = path;
-				path = string.Format("{0}{1}", gameDataPath, path);
+				path = string.Format("{0}{1}", GameDataPath, path);
 			}
 
 			bool success = false;
@@ -76,7 +76,7 @@
 
 					if (url == string.Empty)
 					{
-						url = path.Substring(gameDataPath.Length);
+						url = path.Substring(GameDataPath.Length);
 					}
 
 					texture = null;

--- /dev/null
+++ b/PluginConfiguration.cs
@@ -1,1 +1,37 @@
+// ToadicusTools
+//
+// PluginConfiguration.cs
+//
+// Copyright © 2015, toadicus
+// All rights reserved.
+//
+// Redistribution and use in source and binary forms, with or without modification,
+// are permitted provided that the following conditions are met:
+//
+// 1. Redistributions of source code must retain the above copyright notice,
+//    this list of conditions and the following disclaimer.
+//
+// 2. Redistributions in binary form must reproduce the above copyright notice,
+//    this list of conditions and the following disclaimer in the documentation and/or other
+//    materials provided with the distribution.
+//
+// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
+// INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+// DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+// SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+// WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 
+using KSP;
+using System;
+
+namespace ToadicusTools
+{
+	public class PluginConfiguration : KSP.IO.PluginConfiguration
+	{
+		public PluginConfiguration(string pathToFile) : base(pathToFile) {}
+	}
+}
+
+

--- a/ToadicusTools.csproj
+++ b/ToadicusTools.csproj
@@ -114,6 +114,7 @@
     <Compile Include="Text\Extensions.cs" />
     <Compile Include="Enums.cs" />
     <Compile Include="Compat\ToolbarWrapper.cs" />
+    <Compile Include="PluginConfiguration.cs" />
   </ItemGroup>
   <ProjectExtensions>
     <MonoDevelop>