diff options
| author | lempamo <[email protected]> | 2017-04-12 22:25:16 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-04-12 22:25:16 -0400 |
| commit | f1e0c8f75de4a5086ff955789e9397696df25199 (patch) | |
| tree | 2f5f87e06eff4596229d1d20182d46ac5c329d46 /TimeHACK.Engine | |
| parent | ffc2775fb60fa9f3383d1ecba008eb80db9a6336 (diff) | |
| download | histacom2-f1e0c8f75de4a5086ff955789e9397696df25199.tar.gz histacom2-f1e0c8f75de4a5086ff955789e9397696df25199.tar.bz2 histacom2-f1e0c8f75de4a5086ff955789e9397696df25199.zip | |
damn you github desktop >:(
Diffstat (limited to 'TimeHACK.Engine')
| -rw-r--r-- | TimeHACK.Engine/BSODCreator.cs | 19 | ||||
| -rw-r--r-- | TimeHACK.Engine/Properties/Resources.Designer.cs | 10 | ||||
| -rw-r--r-- | TimeHACK.Engine/Properties/Resources.resx | 3 | ||||
| -rw-r--r-- | TimeHACK.Engine/Resources/WinClassic/Window/windows_command_prompt.ttf | bin | 0 -> 29616 bytes | |||
| -rw-r--r-- | TimeHACK.Engine/Template/Win9XBSOD.Designer.cs | 123 | ||||
| -rw-r--r-- | TimeHACK.Engine/Template/Win9XBSOD.cs | 20 | ||||
| -rw-r--r-- | TimeHACK.Engine/Template/Win9XBSOD.resx | 120 | ||||
| -rw-r--r-- | TimeHACK.Engine/TimeHACK.Engine.csproj | 11 | ||||
| -rw-r--r-- | TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache | bin | 9177 -> 9298 bytes | |||
| -rw-r--r-- | TimeHACK.Engine/obj/Release/TempPE/Properties.Resources.Designer.cs.dll | bin | 5632 -> 5632 bytes |
10 files changed, 306 insertions, 0 deletions
diff --git a/TimeHACK.Engine/BSODCreator.cs b/TimeHACK.Engine/BSODCreator.cs new file mode 100644 index 0000000..eb9c9a5 --- /dev/null +++ b/TimeHACK.Engine/BSODCreator.cs @@ -0,0 +1,19 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using TimeHACK.Engine.Template; + +namespace TimeHACK.Engine +{ + public class BSODCreator + { + public static System.Drawing.Text.PrivateFontCollection pfc = new System.Drawing.Text.PrivateFontCollection(); + + public Win9XBSOD throw9XBSOD(bool except, int type) + { + return null; + } + } +} diff --git a/TimeHACK.Engine/Properties/Resources.Designer.cs b/TimeHACK.Engine/Properties/Resources.Designer.cs index 769996a..4fc5367 100644 --- a/TimeHACK.Engine/Properties/Resources.Designer.cs +++ b/TimeHACK.Engine/Properties/Resources.Designer.cs @@ -249,5 +249,15 @@ namespace TimeHACK.Engine.Properties { return ((System.Drawing.Bitmap)(obj)); } } + + /// <summary> + /// Looks up a localized resource of type System.Byte[]. + /// </summary> + internal static byte[] windows_command_prompt { + get { + object obj = ResourceManager.GetObject("windows_command_prompt", resourceCulture); + return ((byte[])(obj)); + } + } } } diff --git a/TimeHACK.Engine/Properties/Resources.resx b/TimeHACK.Engine/Properties/Resources.resx index fd22a0c..299d056 100644 --- a/TimeHACK.Engine/Properties/Resources.resx +++ b/TimeHACK.Engine/Properties/Resources.resx @@ -175,4 +175,7 @@ <data name="WinAboutSeparator95" type="System.Resources.ResXFileRef, System.Windows.Forms"> <value>..\Resources\WinAboutSeparator95.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value> </data> + <data name="windows_command_prompt" type="System.Resources.ResXFileRef, System.Windows.Forms"> + <value>..\Resources\WinClassic\Window\windows_command_prompt.ttf;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </data> </root>
\ No newline at end of file diff --git a/TimeHACK.Engine/Resources/WinClassic/Window/windows_command_prompt.ttf b/TimeHACK.Engine/Resources/WinClassic/Window/windows_command_prompt.ttf Binary files differnew file mode 100644 index 0000000..b771b3a --- /dev/null +++ b/TimeHACK.Engine/Resources/WinClassic/Window/windows_command_prompt.ttf diff --git a/TimeHACK.Engine/Template/Win9XBSOD.Designer.cs b/TimeHACK.Engine/Template/Win9XBSOD.Designer.cs new file mode 100644 index 0000000..169c81a --- /dev/null +++ b/TimeHACK.Engine/Template/Win9XBSOD.Designer.cs @@ -0,0 +1,123 @@ +namespace TimeHACK.Engine.Template +{ + partial class Win9XBSOD + { + /// <summary> + /// Required designer variable. + /// </summary> + private System.ComponentModel.IContainer components = null; + + /// <summary> + /// Clean up any resources being used. + /// </summary> + /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param> + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Windows Form Designer generated code + + /// <summary> + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// </summary> + private void InitializeComponent() + { + this.label1 = new System.Windows.Forms.Label(); + this.textBox1 = new System.Windows.Forms.TextBox(); + this.textBox2 = new System.Windows.Forms.TextBox(); + this.textBox3 = new System.Windows.Forms.TextBox(); + this.SuspendLayout(); + // + // label1 + // + this.label1.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) + | System.Windows.Forms.AnchorStyles.Right))); + this.label1.AutoSize = true; + this.label1.BackColor = System.Drawing.Color.Silver; + this.label1.Font = new System.Drawing.Font("Perfect DOS VGA 437", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.label1.ForeColor = System.Drawing.Color.Blue; + this.label1.Location = new System.Drawing.Point(564, 240); + this.label1.Name = "label1"; + this.label1.Size = new System.Drawing.Size(147, 28); + this.label1.TabIndex = 0; + this.label1.Text = " Windows "; + // + // textBox1 + // + this.textBox1.BackColor = System.Drawing.Color.Blue; + this.textBox1.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox1.Font = new System.Drawing.Font("Perfect DOS VGA 437", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox1.ForeColor = System.Drawing.Color.White; + this.textBox1.Location = new System.Drawing.Point(120, 294); + this.textBox1.Multiline = true; + this.textBox1.Name = "textBox1"; + this.textBox1.ReadOnly = true; + this.textBox1.Size = new System.Drawing.Size(950, 81); + this.textBox1.TabIndex = 0; + this.textBox1.TabStop = false; + this.textBox1.Text = "A fatal exception 0E has occured at 0028:C0034B23. The current application will " + + "be terminated."; + // + // textBox2 + // + this.textBox2.BackColor = System.Drawing.Color.Blue; + this.textBox2.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox2.Font = new System.Drawing.Font("Perfect DOS VGA 437", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox2.ForeColor = System.Drawing.Color.White; + this.textBox2.Location = new System.Drawing.Point(120, 381); + this.textBox2.Multiline = true; + this.textBox2.Name = "textBox2"; + this.textBox2.ReadOnly = true; + this.textBox2.Size = new System.Drawing.Size(950, 101); + this.textBox2.TabIndex = 1; + this.textBox2.TabStop = false; + this.textBox2.Text = "* Press any key to rewind time to before the crash.\r\n* Press ESC to shutdown yo" + + "ur computer. You will lose any\r\n unsaved data in all applications."; + // + // textBox3 + // + this.textBox3.BackColor = System.Drawing.Color.Blue; + this.textBox3.BorderStyle = System.Windows.Forms.BorderStyle.None; + this.textBox3.Font = new System.Drawing.Font("Perfect DOS VGA 437", 20.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); + this.textBox3.ForeColor = System.Drawing.Color.White; + this.textBox3.Location = new System.Drawing.Point(450, 488); + this.textBox3.Multiline = true; + this.textBox3.Name = "textBox3"; + this.textBox3.ReadOnly = true; + this.textBox3.Size = new System.Drawing.Size(382, 34); + this.textBox3.TabIndex = 2; + this.textBox3.TabStop = false; + this.textBox3.Text = "Press any key to rewind _"; + // + // Win9XBSOD + // + this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); + this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font; + this.BackColor = System.Drawing.Color.Blue; + this.ClientSize = new System.Drawing.Size(1280, 720); + this.Controls.Add(this.textBox3); + this.Controls.Add(this.textBox2); + this.Controls.Add(this.textBox1); + this.Controls.Add(this.label1); + this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None; + this.Name = "Win9XBSOD"; + this.Text = "Win9XBSOD"; + this.ResumeLayout(false); + this.PerformLayout(); + + } + + #endregion + + private System.Windows.Forms.Label label1; + private System.Windows.Forms.TextBox textBox1; + private System.Windows.Forms.TextBox textBox2; + private System.Windows.Forms.TextBox textBox3; + } +}
\ No newline at end of file diff --git a/TimeHACK.Engine/Template/Win9XBSOD.cs b/TimeHACK.Engine/Template/Win9XBSOD.cs new file mode 100644 index 0000000..b98fa6a --- /dev/null +++ b/TimeHACK.Engine/Template/Win9XBSOD.cs @@ -0,0 +1,20 @@ +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Data; +using System.Drawing; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Forms; + +namespace TimeHACK.Engine.Template +{ + public partial class Win9XBSOD : Form + { + public Win9XBSOD() + { + InitializeComponent(); + } + } +} diff --git a/TimeHACK.Engine/Template/Win9XBSOD.resx b/TimeHACK.Engine/Template/Win9XBSOD.resx new file mode 100644 index 0000000..1af7de1 --- /dev/null +++ b/TimeHACK.Engine/Template/Win9XBSOD.resx @@ -0,0 +1,120 @@ +<?xml version="1.0" encoding="utf-8"?> +<root> + <!-- + Microsoft ResX Schema + + Version 2.0 + + The primary goals of this format is to allow a simple XML format + that is mostly human readable. The generation and parsing of the + various data types are done through the TypeConverter classes + associated with the data types. + + Example: + + ... ado.net/XML headers & schema ... + <resheader name="resmimetype">text/microsoft-resx</resheader> + <resheader name="version">2.0</resheader> + <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader> + <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader> + <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data> + <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data> + <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64"> + <value>[base64 mime encoded serialized .NET Framework object]</value> + </data> + <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64"> + <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value> + <comment>This is a comment</comment> + </data> + + There are any number of "resheader" rows that contain simple + name/value pairs. + + Each data row contains a name, and value. The row also contains a + type or mimetype. Type corresponds to a .NET class that support + text/value conversion through the TypeConverter architecture. + Classes that don't support this are serialized and stored with the + mimetype set. + + The mimetype is used for serialized objects, and tells the + ResXResourceReader how to depersist the object. This is currently not + extensible. For a given mimetype the value must be set accordingly: + + Note - application/x-microsoft.net.object.binary.base64 is the format + that the ResXResourceWriter will generate, however the reader can + read any of the formats listed below. + + mimetype: application/x-microsoft.net.object.binary.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.soap.base64 + value : The object must be serialized with + : System.Runtime.Serialization.Formatters.Soap.SoapFormatter + : and then encoded with base64 encoding. + + mimetype: application/x-microsoft.net.object.bytearray.base64 + value : The object must be serialized into a byte array + : using a System.ComponentModel.TypeConverter + : and then encoded with base64 encoding. + --> + <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata"> + <xsd:import namespace="http://www.w3.org/XML/1998/namespace" /> + <xsd:element name="root" msdata:IsDataSet="true"> + <xsd:complexType> + <xsd:choice maxOccurs="unbounded"> + <xsd:element name="metadata"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" /> + </xsd:sequence> + <xsd:attribute name="name" use="required" type="xsd:string" /> + <xsd:attribute name="type" type="xsd:string" /> + <xsd:attribute name="mimetype" type="xsd:string" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="assembly"> + <xsd:complexType> + <xsd:attribute name="alias" type="xsd:string" /> + <xsd:attribute name="name" type="xsd:string" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="data"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" /> + <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" /> + <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" /> + <xsd:attribute ref="xml:space" /> + </xsd:complexType> + </xsd:element> + <xsd:element name="resheader"> + <xsd:complexType> + <xsd:sequence> + <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" /> + </xsd:sequence> + <xsd:attribute name="name" type="xsd:string" use="required" /> + </xsd:complexType> + </xsd:element> + </xsd:choice> + </xsd:complexType> + </xsd:element> + </xsd:schema> + <resheader name="resmimetype"> + <value>text/microsoft-resx</value> + </resheader> + <resheader name="version"> + <value>2.0</value> + </resheader> + <resheader name="reader"> + <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> + <resheader name="writer"> + <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> + </resheader> +</root>
\ No newline at end of file diff --git a/TimeHACK.Engine/TimeHACK.Engine.csproj b/TimeHACK.Engine/TimeHACK.Engine.csproj index 47c839d..2ca3c7c 100644 --- a/TimeHACK.Engine/TimeHACK.Engine.csproj +++ b/TimeHACK.Engine/TimeHACK.Engine.csproj @@ -45,6 +45,13 @@ <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> + <Compile Include="BSODCreator.cs" /> + <Compile Include="Template\Win9XBSOD.cs"> + <SubType>Form</SubType> + </Compile> + <Compile Include="Template\Win9XBSOD.Designer.cs"> + <DependentUpon>Win9XBSOD.cs</DependentUpon> + </Compile> <Compile Include="Template\AboutBox95.cs"> <SubType>UserControl</SubType> </Compile> @@ -77,6 +84,9 @@ <Generator>ResXFileCodeGenerator</Generator> <LastGenOutput>Resources.Designer.cs</LastGenOutput> </EmbeddedResource> + <EmbeddedResource Include="Template\Win9XBSOD.resx"> + <DependentUpon>Win9XBSOD.cs</DependentUpon> + </EmbeddedResource> <EmbeddedResource Include="Template\AboutBox95.resx"> <DependentUpon>AboutBox95.cs</DependentUpon> </EmbeddedResource> @@ -107,6 +117,7 @@ <Content Include="Resources\WinClassic\Window\WinClassicMin.png" /> <Content Include="Resources\WinClassic\Window\WinClassicRestore.png" /> <Content Include="Resources\WinClassic\Window\WinClassicWarning.png" /> + <None Include="Resources\WinClassic\Window\windows_command_prompt.ttf" /> </ItemGroup> <ItemGroup> <None Include="Resources\WinClassic\Window\LeviWindows.ttf" /> diff --git a/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache b/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache Binary files differindex 38115e1..67f8a94 100644 --- a/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache +++ b/TimeHACK.Engine/obj/Release/DesignTimeResolveAssemblyReferencesInput.cache diff --git a/TimeHACK.Engine/obj/Release/TempPE/Properties.Resources.Designer.cs.dll b/TimeHACK.Engine/obj/Release/TempPE/Properties.Resources.Designer.cs.dll Binary files differindex 7f8be7c..5de7cbf 100644 --- a/TimeHACK.Engine/obj/Release/TempPE/Properties.Resources.Designer.cs.dll +++ b/TimeHACK.Engine/obj/Release/TempPE/Properties.Resources.Designer.cs.dll |
