diff --git a/OpenFK.sln b/OpenFK.sln
new file mode 100644
index 0000000..6254def
--- /dev/null
+++ b/OpenFK.sln
@@ -0,0 +1,25 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.30413.136
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "OpenFK", "OpenFK\OpenFK.csproj", "{8AB83EF7-E6F0-421D-A233-E84BD13F0B78}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {8AB83EF7-E6F0-421D-A233-E84BD13F0B78}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {8AB83EF7-E6F0-421D-A233-E84BD13F0B78}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {8AB83EF7-E6F0-421D-A233-E84BD13F0B78}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {8AB83EF7-E6F0-421D-A233-E84BD13F0B78}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {A27FADB7-F4AF-466E-8C53-BC85C6949F0F}
+ EndGlobalSection
+EndGlobal
diff --git a/OpenFK/Form1.Designer.cs b/OpenFK/Form1.Designer.cs
new file mode 100644
index 0000000..6c4bd25
--- /dev/null
+++ b/OpenFK/Form1.Designer.cs
@@ -0,0 +1,67 @@
+namespace OpenFK
+{
+ partial class Form1
+ {
+ ///
+ /// Required designer variable.
+ ///
+ private System.ComponentModel.IContainer components = null;
+
+ ///
+ /// Clean up any resources being used.
+ ///
+ /// true if managed resources should be disposed; otherwise, false.
+ protected override void Dispose(bool disposing)
+ {
+ if (disposing && (components != null))
+ {
+ components.Dispose();
+ }
+ base.Dispose(disposing);
+ }
+
+ #region Windows Form Designer generated code
+
+ ///
+ /// Required method for Designer support - do not modify
+ /// the contents of this method with the code editor.
+ ///
+ private void InitializeComponent()
+ {
+ System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(Form1));
+ this.axShockwaveFlash1 = new AxShockwaveFlashObjects.AxShockwaveFlash();
+ ((System.ComponentModel.ISupportInitialize)(this.axShockwaveFlash1)).BeginInit();
+ this.SuspendLayout();
+ //
+ // axShockwaveFlash1
+ //
+ this.axShockwaveFlash1.Dock = System.Windows.Forms.DockStyle.Fill;
+ this.axShockwaveFlash1.Enabled = true;
+ this.axShockwaveFlash1.Location = new System.Drawing.Point(0, 0);
+ this.axShockwaveFlash1.Name = "axShockwaveFlash1";
+ this.axShockwaveFlash1.OcxState = ((System.Windows.Forms.AxHost.State)(resources.GetObject("axShockwaveFlash1.OcxState")));
+ this.axShockwaveFlash1.Size = new System.Drawing.Size(800, 600);
+ this.axShockwaveFlash1.TabIndex = 0;
+ //
+ // Form1
+ //
+ this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
+ this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+ this.ClientSize = new System.Drawing.Size(800, 600);
+ this.Controls.Add(this.axShockwaveFlash1);
+ this.Name = "Form1";
+ this.StartPosition = System.Windows.Forms.FormStartPosition.WindowsDefaultBounds;
+ this.Text = "OpenFK";
+ this.FormClosing += new System.Windows.Forms.FormClosingEventHandler(this.Form_FormClosing);
+ this.Load += new System.EventHandler(this.Form1_Load);
+ ((System.ComponentModel.ISupportInitialize)(this.axShockwaveFlash1)).EndInit();
+ this.ResumeLayout(false);
+
+ }
+
+ #endregion
+
+ private AxShockwaveFlashObjects.AxShockwaveFlash axShockwaveFlash1;
+ }
+}
+
diff --git a/OpenFK/Form1.cs b/OpenFK/Form1.cs
new file mode 100644
index 0000000..7b75bc9
--- /dev/null
+++ b/OpenFK/Form1.cs
@@ -0,0 +1,130 @@
+using AxShockwaveFlashObjects;
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Diagnostics;
+using System.Drawing;
+using System.IO;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.Xml;
+using System.Xml.Linq;
+
+namespace OpenFK
+{
+ public partial class Form1 : Form
+ {
+ public Form1()
+ {
+ InitializeComponent();
+ }
+
+ private void Form1_Load(object sender, EventArgs e)
+ {
+ axShockwaveFlash1.Movie = Directory.GetCurrentDirectory() + @"\Main.swf"; //Sets Main.swf as the Flash Movie to Play.
+ axShockwaveFlash1.Play(); //Plays Main.swf
+ Debug.WriteLine("Main.swf is Loaded");
+ axShockwaveFlash1.FSCommand += new _IShockwaveFlashEvents_FSCommandEventHandler(flashPlayer_FSCommand); //This sets up the FSCommand handler, which CCommunicator likes to use a lot.
+ }
+ void flashPlayer_FSCommand(object sender, _IShockwaveFlashEvents_FSCommandEvent e) //FSCommand Handler
+ {
+ Debug.WriteLine("NEW COMMAND!" + " - " + e.command + " " + e.args);
+ if (e.args.Contains("");
+ }
+ if (e.args.Contains("radicaclose")) //Exit
+ {
+ Application.Exit();
+ Debug.WriteLine("radicaclose called, goodbye!");
+ }
+ if (e.args.Contains("fullscreen")) //Fullscreen
+ {
+ XmlDocument doc = new XmlDocument();
+ doc.LoadXml(e.args.ToString());
+ var nodeList = doc.SelectNodes("commands");
+ string commandLimited = "";
+ foreach (XmlNode node in nodeList)
+ {
+ Console.WriteLine(node.InnerXml);
+ commandLimited = node.InnerXml;
+ }
+ XmlDocument doc2 = new XmlDocument();
+ doc2.LoadXml(commandLimited);
+ var nodeList2 = doc2.SelectNodes("state");
+ XmlElement root = doc2.DocumentElement;
+ String name = root.GetAttribute("state");
+ if(name == "1")
+ {
+ this.FormBorderStyle = FormBorderStyle.None;
+ this.WindowState = FormWindowState.Maximized;
+ }
+ }
+ }
+ void Form_FormClosing(object sender, FormClosingEventArgs e) //Exit button
+ {
+ e.Cancel = (e.CloseReason == CloseReason.UserClosing);
+ if (e.CloseReason == CloseReason.UserClosing)
+ {
+ axShockwaveFlash1.SetVariable("msg", @"");
+ }
+ if (e.CloseReason == CloseReason.WindowsShutDown)
+ {
+ Application.Exit();
+ }
+ }
+ }
+}
diff --git a/OpenFK/Form1.resx b/OpenFK/Form1.resx
new file mode 100644
index 0000000..57b51a2
--- /dev/null
+++ b/OpenFK/Form1.resx
@@ -0,0 +1,134 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+
+ AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
+ LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACFTeXN0
+ ZW0uV2luZG93cy5Gb3Jtcy5BeEhvc3QrU3RhdGUBAAAABERhdGEHAgIAAAAJAwAAAA8DAAAAbwEAAAIB
+ AAAAAQAAAAAAAAAAAAAAAFoBAABnVWZVAA4AAK9SAAADPgAACAACAAAAAAAIAAQAAAAgAAAACAAEAAAA
+ IAAAAAgADgAAAFcAaQBuAGQAbwB3AAAACAAGAAAALQAxAAAACAAGAAAALQAxAAAACAAKAAAASABpAGcA
+ aAAAAAgAAgAAAAAACAAGAAAALQAxAAAACAAAAAAACAACAAAAAAAIABAAAABTAGgAbwB3AEEAbABsAAAA
+ CAAEAAAAMAAAAAgABAAAADAAAAAIAAIAAAAAAAgAAAAAAAgAAgAAAAAADQAAAAAAAAAAAAAAAAAAAAAA
+ CAAEAAAAMQAAAAgABAAAADAAAAAIAAAAAAAIAAQAAAAwAAAACAAIAAAAYQBsAGwAAAAIAAwAAABmAGEA
+ bABzAGUAAAAIAAwAAABmAGEAbABzAGUAAAAIAAQAAAAwAAAACAAMAAAAcwBjAGEAbABlAAAACAAGAAAA
+ LQAxAAAACw==
+
+
+
\ No newline at end of file
diff --git a/OpenFK/OpenFK.csproj b/OpenFK/OpenFK.csproj
new file mode 100644
index 0000000..930f316
--- /dev/null
+++ b/OpenFK/OpenFK.csproj
@@ -0,0 +1,98 @@
+
+
+
+
+ Debug
+ AnyCPU
+ {8AB83EF7-E6F0-421D-A233-E84BD13F0B78}
+ WinExe
+ OpenFK
+ OpenFK
+ v4.0
+ 512
+ true
+
+
+ AnyCPU
+ true
+ full
+ false
+ bin\Debug\
+ DEBUG;TRACE
+ prompt
+ 4
+
+
+ AnyCPU
+ pdbonly
+ true
+ bin\Release\
+ TRACE
+ prompt
+ 4
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Form
+
+
+ Form1.cs
+
+
+
+
+ Form1.cs
+
+
+ ResXFileCodeGenerator
+ Resources.Designer.cs
+ Designer
+
+
+ True
+ Resources.resx
+ True
+
+
+ SettingsSingleFileGenerator
+ Settings.Designer.cs
+
+
+ True
+ Settings.settings
+ True
+
+
+
+
+ {D27CDB6B-AE6D-11CF-96B8-444553540000}
+ 1
+ 0
+ 0
+ aximp
+ False
+
+
+ {D27CDB6B-AE6D-11CF-96B8-444553540000}
+ 1
+ 0
+ 0
+ tlbimp
+ False
+ True
+
+
+
+
\ No newline at end of file
diff --git a/OpenFK/Program.cs b/OpenFK/Program.cs
new file mode 100644
index 0000000..7cc7dac
--- /dev/null
+++ b/OpenFK/Program.cs
@@ -0,0 +1,21 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace OpenFK
+{
+ static class Program
+ {
+ ///
+ /// The main entry point for the application.
+ ///
+ [STAThread]
+ static void Main()
+ {
+ Application.EnableVisualStyles();
+ Application.SetCompatibleTextRenderingDefault(false);
+ Application.Run(new Form1());
+ }
+ }
+}
diff --git a/OpenFK/Properties/AssemblyInfo.cs b/OpenFK/Properties/AssemblyInfo.cs
new file mode 100644
index 0000000..95213d9
--- /dev/null
+++ b/OpenFK/Properties/AssemblyInfo.cs
@@ -0,0 +1,36 @@
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle("OpenFunkeys")]
+[assembly: AssemblyDescription("")]
+[assembly: AssemblyConfiguration("")]
+[assembly: AssemblyCompany("")]
+[assembly: AssemblyProduct("OpenFunkeys")]
+[assembly: AssemblyCopyright("Copyright © 2020")]
+[assembly: AssemblyTrademark("")]
+[assembly: AssemblyCulture("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible
+// to COM components. If you need to access a type in this assembly from
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible(false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid("8ab83ef7-e6f0-421d-a233-e84bd13f0b78")]
+
+// Version information for an assembly consists of the following four values:
+//
+// Major Version
+// Minor Version
+// Build Number
+// Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion("1.0.0.0")]
+[assembly: AssemblyFileVersion("1.0.0.0")]
diff --git a/OpenFK/Properties/Resources.Designer.cs b/OpenFK/Properties/Resources.Designer.cs
new file mode 100644
index 0000000..676d0c1
--- /dev/null
+++ b/OpenFK/Properties/Resources.Designer.cs
@@ -0,0 +1,63 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace OpenFK.Properties {
+ using System;
+
+
+ ///
+ /// A strongly-typed resource class, for looking up localized strings, etc.
+ ///
+ // This class was auto-generated by the StronglyTypedResourceBuilder
+ // class via a tool like ResGen or Visual Studio.
+ // To add or remove a member, edit your .ResX file then rerun ResGen
+ // with the /str option, or rebuild your VS project.
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "16.0.0.0")]
+ [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ internal class Resources {
+
+ private static global::System.Resources.ResourceManager resourceMan;
+
+ private static global::System.Globalization.CultureInfo resourceCulture;
+
+ [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+ internal Resources() {
+ }
+
+ ///
+ /// Returns the cached ResourceManager instance used by this class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Resources.ResourceManager ResourceManager {
+ get {
+ if (object.ReferenceEquals(resourceMan, null)) {
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("OpenFK.Properties.Resources", typeof(Resources).Assembly);
+ resourceMan = temp;
+ }
+ return resourceMan;
+ }
+ }
+
+ ///
+ /// Overrides the current thread's CurrentUICulture property for all
+ /// resource lookups using this strongly typed resource class.
+ ///
+ [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
+ internal static global::System.Globalization.CultureInfo Culture {
+ get {
+ return resourceCulture;
+ }
+ set {
+ resourceCulture = value;
+ }
+ }
+ }
+}
diff --git a/OpenFK/Properties/Resources.resx b/OpenFK/Properties/Resources.resx
new file mode 100644
index 0000000..af7dbeb
--- /dev/null
+++ b/OpenFK/Properties/Resources.resx
@@ -0,0 +1,117 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
\ No newline at end of file
diff --git a/OpenFK/Properties/Settings.Designer.cs b/OpenFK/Properties/Settings.Designer.cs
new file mode 100644
index 0000000..e998ffb
--- /dev/null
+++ b/OpenFK/Properties/Settings.Designer.cs
@@ -0,0 +1,26 @@
+//------------------------------------------------------------------------------
+//
+// This code was generated by a tool.
+// Runtime Version:4.0.30319.42000
+//
+// Changes to this file may cause incorrect behavior and will be lost if
+// the code is regenerated.
+//
+//------------------------------------------------------------------------------
+
+namespace OpenFK.Properties {
+
+
+ [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "16.7.0.0")]
+ internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
+
+ private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
+
+ public static Settings Default {
+ get {
+ return defaultInstance;
+ }
+ }
+ }
+}
diff --git a/OpenFK/Properties/Settings.settings b/OpenFK/Properties/Settings.settings
new file mode 100644
index 0000000..3964565
--- /dev/null
+++ b/OpenFK/Properties/Settings.settings
@@ -0,0 +1,7 @@
+
+
+
+
+
+
+