the hype is real, folks

This commit is contained in:
lempamo 2017-10-15 00:45:50 -04:00
parent 3dbe19613d
commit 718fc7c680
9 changed files with 291 additions and 6 deletions

View file

@ -58,6 +58,9 @@ private void dlTimer_Tick(object sender, EventArgs e)
case "Downloading: Web Chat 1999": case "Downloading: Web Chat 1999":
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Web Chat Setup.exe", "web chat 99 setup", 11, 37048); CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "Web Chat Setup.exe", "web chat 99 setup", 11, 37048);
break; break;
case "Downloading: Time Distorter 0.2":
CreateWindowsFile(Path.Combine(ProfileWindowsDirectory, "Desktop"), "tdistortv2.exe", "time distorter setup", 11, 21583);
break;
} }
/* if (appName.Text == "Downloading: Skindows 95") /* if (appName.Text == "Downloading: Skindows 95")
{ {

View file

@ -334,6 +334,12 @@
<Compile Include="OS\Win98\Win98Apps\WinClassicIE4.Designer.cs"> <Compile Include="OS\Win98\Win98Apps\WinClassicIE4.Designer.cs">
<DependentUpon>WinClassicIE4.cs</DependentUpon> <DependentUpon>WinClassicIE4.cs</DependentUpon>
</Compile> </Compile>
<Compile Include="OS\Win98\Win98Apps\WinClassicTimeDistorter2.cs">
<SubType>UserControl</SubType>
</Compile>
<Compile Include="OS\Win98\Win98Apps\WinClassicTimeDistorter2.Designer.cs">
<DependentUpon>WinClassicTimeDistorter2.cs</DependentUpon>
</Compile>
<Compile Include="OS\Win98\Win98Apps\WinClassicWindowsExplorer.cs"> <Compile Include="OS\Win98\Win98Apps\WinClassicWindowsExplorer.cs">
<SubType>UserControl</SubType> <SubType>UserControl</SubType>
</Compile> </Compile>
@ -546,6 +552,9 @@
<EmbeddedResource Include="OS\Win98\Win98Apps\WinClassicIE4.resx"> <EmbeddedResource Include="OS\Win98\Win98Apps\WinClassicIE4.resx">
<DependentUpon>WinClassicIE4.cs</DependentUpon> <DependentUpon>WinClassicIE4.cs</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="OS\Win98\Win98Apps\WinClassicTimeDistorter2.resx">
<DependentUpon>WinClassicTimeDistorter2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="OS\Win98\Win98Apps\WinClassicWindowsExplorer.resx"> <EmbeddedResource Include="OS\Win98\Win98Apps\WinClassicWindowsExplorer.resx">
<DependentUpon>WinClassicWindowsExplorer.cs</DependentUpon> <DependentUpon>WinClassicWindowsExplorer.cs</DependentUpon>
<SubType>Designer</SubType> <SubType>Designer</SubType>
@ -859,6 +868,7 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="OS\Win98\Win98Apps\Story\" />
<Folder Include="OS\WinXP\" /> <Folder Include="OS\WinXP\" />
</ItemGroup> </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

View file

@ -31,6 +31,7 @@ public partial class Windows98 : Form
public bool webchatInstalled = false; public bool webchatInstalled = false;
public bool hiddenpadamsFound = false; public bool hiddenpadamsFound = false;
private WinClassicTimeDistorter2 distort;
// Init the form // Init the form
public Windows98() public Windows98()
@ -455,11 +456,11 @@ private void PropertiesToolStripMenuItem1_Click(object sender, EventArgs e)
private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e) private void TimeDistorterToolStripMenuItem_Click(object sender, EventArgs e)
{ {
//distort = new Histacom2WinClassicTimeDistorter("1998", "1999", 150, Hack2.StartObjective); distort = new WinClassicTimeDistorter2();
//WinClassic app = wm.StartWin95(distort, "Time Distorter", null, false, true); WinClassic app = wm.Init(distort, "Time Distorter", null, false, false, false);
//AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null); AddTaskBarItem(app, app.Tag.ToString(), "Time Distorter", null);
//app.BringToFront(); app.BringToFront();
//startmenu.Hide(); startmenu.Hide();
} }
private void FTPClientToolStripMenuItem_Click(object sender, EventArgs e) private void FTPClientToolStripMenuItem_Click(object sender, EventArgs e)

View file

@ -131,6 +131,7 @@ private void InitializeComponent()
this.button5.Size = new System.Drawing.Size(75, 23); this.button5.Size = new System.Drawing.Size(75, 23);
this.button5.TabIndex = 0; this.button5.TabIndex = 0;
this.button5.Text = "Download"; this.button5.Text = "Download";
this.button5.Click += new System.EventHandler(this.button5_Click);
// //
// history // history
// //

View file

@ -10,6 +10,7 @@
using System.Media; using System.Media;
using Histacom2.Engine; using Histacom2.Engine;
using Histacom2.Engine.Template; using Histacom2.Engine.Template;
using Histacom2.GlobalPrograms;
namespace Histacom2.OS.Win98.Win98Apps namespace Histacom2.OS.Win98.Win98Apps
{ {
@ -128,6 +129,9 @@ private async void chatScript2()
await Task.Delay(3500); history.AppendText($"12padams: as i said before, make sure that {SaveSystem.ProfileName} arrives safely in 2000" + Environment.NewLine); receive.Play(); await Task.Delay(3500); history.AppendText($"12padams: as i said before, make sure that {SaveSystem.ProfileName} arrives safely in 2000" + Environment.NewLine); receive.Play();
await Task.Delay(3000); history.AppendText("HiddenHacker: but what if he doesnt make it?" + Environment.NewLine); receive.Play(); await Task.Delay(3000); history.AppendText("HiddenHacker: but what if he doesnt make it?" + Environment.NewLine); receive.Play();
await Task.Delay(3500); history.AppendText("12padams: we will cross that bridge when we come to it" + Environment.NewLine); receive.Play(); await Task.Delay(3500); history.AppendText("12padams: we will cross that bridge when we come to it" + Environment.NewLine); receive.Play();
await Task.Delay(3500); history.AppendText("12padams: anyways, im gonna upload 0.2 right now" + Environment.NewLine); receive.Play();
await Task.Delay(4500); history.AppendText("System: File \"tdistortv2\" has been uploaded." + Environment.NewLine); label5.Show(); button5.Show(); file.Play();
await Task.Delay(4500); history.AppendText($"12padams: go ahead and install it {SaveSystem.ProfileName}, we'll wait" + Environment.NewLine); receive.Play();
} }
private void button2_Click(object sender, EventArgs e) private void button2_Click(object sender, EventArgs e)
@ -147,5 +151,14 @@ private void button2_Click(object sender, EventArgs e)
break; break;
} }
} }
private void button5_Click(object sender, EventArgs e)
{
WinClassicDownloader opendownload = new WinClassicDownloader();
WindowManager wm = new WindowManager();
wm.Init(opendownload, "Downloader", null, false, true);
opendownload.appName.Text = "Downloading: Time Distorter 0.2";
opendownload.amountToDL = 42;
}
} }
} }

View file

@ -0,0 +1,117 @@
namespace Histacom2.OS.Win98.Win98Apps
{
partial class WinClassicTimeDistorter2
{
/// <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 Component 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.classicButton1 = new Histacom2.Engine.UI.ClassicButton();
this.classicLabel1 = new Histacom2.Engine.UI.ClassicLabel();
this.classicLabel2 = new Histacom2.Engine.UI.ClassicLabel();
this.classicLabel3 = new Histacom2.Engine.UI.ClassicLabel();
this.classicLabel4 = new Histacom2.Engine.UI.ClassicLabel();
this.SuspendLayout();
//
// classicButton1
//
this.classicButton1.AdaptBackColorWithTheme = true;
this.classicButton1.AdaptFontWithTheme = false;
this.classicButton1.AdaptForeColorWithTheme = true;
this.classicButton1.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.classicButton1.BackColor = System.Drawing.Color.Silver;
this.classicButton1.DialogResult = System.Windows.Forms.DialogResult.None;
this.classicButton1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F);
this.classicButton1.ForeColor = System.Drawing.Color.Black;
this.classicButton1.Location = new System.Drawing.Point(21, 174);
this.classicButton1.Name = "classicButton1";
this.classicButton1.Size = new System.Drawing.Size(276, 23);
this.classicButton1.TabIndex = 0;
this.classicButton1.Text = "Take me to 2000!";
//
// classicLabel1
//
this.classicLabel1.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.classicLabel1.Font = new System.Drawing.Font("Microsoft Sans Serif", 72F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.classicLabel1.Location = new System.Drawing.Point(25, 34);
this.classicLabel1.Name = "classicLabel1";
this.classicLabel1.Size = new System.Drawing.Size(270, 120);
this.classicLabel1.TabIndex = 1;
this.classicLabel1.Text = "1999";
//
// classicLabel2
//
this.classicLabel2.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.classicLabel2.Font = new System.Drawing.Font("Arial", 11.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.classicLabel2.Location = new System.Drawing.Point(104, 13);
this.classicLabel2.Name = "classicLabel2";
this.classicLabel2.Size = new System.Drawing.Size(108, 18);
this.classicLabel2.TabIndex = 2;
this.classicLabel2.Text = "Current Year:";
//
// classicLabel3
//
this.classicLabel3.Anchor = System.Windows.Forms.AnchorStyles.Bottom;
this.classicLabel3.Location = new System.Drawing.Point(24, 154);
this.classicLabel3.Name = "classicLabel3";
this.classicLabel3.Size = new System.Drawing.Size(289, 13);
this.classicLabel3.TabIndex = 3;
this.classicLabel3.Text = "Click the button to take a one-way trip to the year 2000!";
//
// classicLabel4
//
this.classicLabel4.Font = new System.Drawing.Font("Verdana", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.classicLabel4.Location = new System.Drawing.Point(21, 177);
this.classicLabel4.Name = "classicLabel4";
this.classicLabel4.Size = new System.Drawing.Size(276, 17);
this.classicLabel4.TabIndex = 4;
this.classicLabel4.Text = "Preparing to travel. ETA: N/A secs.";
this.classicLabel4.Visible = false;
//
// WinClassicTimeDistorter2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.Silver;
this.Controls.Add(this.classicLabel4);
this.Controls.Add(this.classicLabel3);
this.Controls.Add(this.classicLabel2);
this.Controls.Add(this.classicLabel1);
this.Controls.Add(this.classicButton1);
this.Name = "WinClassicTimeDistorter2";
this.Size = new System.Drawing.Size(313, 211);
this.ResumeLayout(false);
}
#endregion
private Engine.UI.ClassicButton classicButton1;
private Engine.UI.ClassicLabel classicLabel1;
private Engine.UI.ClassicLabel classicLabel2;
private Engine.UI.ClassicLabel classicLabel3;
private Engine.UI.ClassicLabel classicLabel4;
}
}

View file

@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Histacom2.OS.Win98.Win98Apps
{
public partial class WinClassicTimeDistorter2 : UserControl
{
public WinClassicTimeDistorter2()
{
InitializeComponent();
}
}
}

View file

@ -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>

View file

@ -329,7 +329,7 @@ void OpenApplication(string appname, string path)
WinClassicInstaller instTd = new WinClassicInstaller("Time Distorter 0.2"); WinClassicInstaller instTd = new WinClassicInstaller("Time Distorter 0.2");
instTd.InstallCompleted += (sendr, args) => instTd.InstallCompleted += (sendr, args) =>
{ {
TitleScreen.frm95.TimeDistorterToolStripMenuItem.Visible = true; TitleScreen.frm98.TimeDistorterToolStripMenuItem.Visible = true;
}; };
WinClassic appTd = wm.Init(instTd, "Time Distorter Setup", null, true, true); WinClassic appTd = wm.Init(instTd, "Time Distorter Setup", null, true, true);
Program.AddTaskbarItem(appTd, appTd.Tag.ToString(), "Time Distorter Setup", null); Program.AddTaskbarItem(appTd, appTd.Tag.ToString(), "Time Distorter Setup", null);