This commit is contained in:
Thomas G 2022-08-14 12:09:59 +10:00
parent 48f6a0ea9b
commit 93c5d748e0
25 changed files with 208 additions and 1385 deletions

View File

@ -5,7 +5,7 @@
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{FE8FC745-5077-4C8D-9017-A13490C48BC2}</ProjectGuid>
<ProjectGuid>{49DD1842-81E0-4D7E-AFE9-6270B3DDF9A1}</ProjectGuid>
<OutputType>WinExe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ARCHBLOXLauncher_XP</RootNamespace>
@ -34,6 +34,9 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<ApplicationIcon>archblox.ico</ApplicationIcon>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
<Reference Include="System.Core" />
@ -60,7 +63,6 @@
<Compile Include="Form2.designer.cs">
<DependentUpon>Form2.cs</DependentUpon>
</Compile>
<Compile Include="obj\x86\Debug\.NETFramework,Version=v4.0.AssemblyAttributes.cs" />
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="URI_Maker.cs" />
@ -70,13 +72,6 @@
<EmbeddedResource Include="Form2.resx">
<DependentUpon>Form2.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="obj\x86\Debug\ARCHBLOXLauncher_XP.Form1.resources" />
<EmbeddedResource Include="obj\x86\Debug\ARCHBLOXLauncher_XP.Form2.resources" />
<EmbeddedResource Include="obj\x86\Debug\ARCHBLOXLauncher_XP.Properties.Resources.resources" />
<EmbeddedResource Include="obj\x86\Debug\WindowsFormsApplication1.Properties.Resources.resources" />
<EmbeddedResource Include="obj\x86\Release\ARCHBLOXLauncher_XP.Form1.resources" />
<EmbeddedResource Include="obj\x86\Release\ARCHBLOXLauncher_XP.Form2.resources" />
<EmbeddedResource Include="obj\x86\Release\ARCHBLOXLauncher_XP.Properties.Resources.resources" />
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
@ -88,19 +83,6 @@
<DesignTime>True</DesignTime>
</Compile>
<None Include="app.config" />
<None Include="bin\Debug\ARCHBLOXLauncher_XP.exe.config" />
<None Include="bin\Debug\ARCHBLOXLauncher_XP.vshost.exe.config" />
<None Include="bin\Release\ARCHBLOXLauncher_XP.exe.config" />
<None Include="obj\x86\Debug\ARCHBLOXLauncher_XP.csproj.AssemblyReference.cache" />
<None Include="obj\x86\Debug\ARCHBLOXLauncher_XP.csproj.ResolveComReference.cache" />
<None Include="obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache" />
<None Include="obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache" />
<None Include="obj\x86\Debug\GenerateResource.read.1.tlog" />
<None Include="obj\x86\Debug\GenerateResource.write.1.tlog" />
<None Include="obj\x86\Release\ARCHBLOXLauncher_XP.csproj.ResolveComReference.cache" />
<None Include="obj\x86\Release\DesignTimeResolveAssemblyReferencesInput.cache" />
<None Include="obj\x86\Release\GenerateResource.read.1.tlog" />
<None Include="obj\x86\Release\GenerateResource.write.1.tlog" />
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
@ -110,35 +92,6 @@
<DependentUpon>Settings.settings</DependentUpon>
<DesignTimeSharedInput>True</DesignTimeSharedInput>
</Compile>
<None Include="Resources\Thumbs.db" />
</ItemGroup>
<ItemGroup>
<Content Include="bin\Debug\ARCHBLOXLauncher_XP.exe" />
<Content Include="bin\Debug\ARCHBLOXLauncher_XP.pdb" />
<Content Include="bin\Debug\ARCHBLOXLauncher_XP.vshost.exe" />
<Content Include="bin\Debug\WindowsFormsApplication1.exe" />
<Content Include="bin\Debug\WindowsFormsApplication1.pdb" />
<Content Include="bin\Release\ARCHBLOXLauncher_XP.exe" />
<Content Include="bin\Release\ARCHBLOXLauncher_XP.pdb" />
<Content Include="obj\x86\Debug\ARCHBLOXLauncher_XP.csproj.FileListAbsolute.txt" />
<Content Include="obj\x86\Debug\ARCHBLOXLauncher_XP.exe" />
<Content Include="obj\x86\Debug\ARCHBLOXLauncher_XP.pdb" />
<Content Include="obj\x86\Debug\Interop.IWshRuntimeLibrary.dll" />
<Content Include="obj\x86\Debug\Interop.Shell32.dll" />
<Content Include="obj\x86\Debug\TempPE\Properties.Resources.Designer.cs.dll" />
<Content Include="obj\x86\Debug\WindowsFormsApplication1.exe" />
<Content Include="obj\x86\Debug\WindowsFormsApplication1.pdb" />
<Content Include="obj\x86\Release\ARCHBLOXLauncher_XP.csproj.FileListAbsolute.txt" />
<Content Include="obj\x86\Release\ARCHBLOXLauncher_XP.exe" />
<Content Include="obj\x86\Release\ARCHBLOXLauncher_XP.pdb" />
<Content Include="obj\x86\Release\Interop.IWshRuntimeLibrary.dll" />
<Content Include="obj\x86\Release\Interop.Shell32.dll" />
<Content Include="obj\x86\Release\TempPE\Properties.Resources.Designer.cs.dll" />
<Content Include="Resources\archblox.png" />
<Content Include="Resources\archbloxlowres.png" />
<Content Include="Resources\buttonblue200.png" />
<Content Include="Resources\buttongreen200.png" />
<Content Include="Resources\unknown.png" />
</ItemGroup>
<ItemGroup>
<COMReference Include="IWshRuntimeLibrary">
@ -160,6 +113,21 @@
<EmbedInteropTypes>True</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<None Include="Resources\buttonblue200.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\buttongreen200.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\archbloxlowres.png" />
</ItemGroup>
<ItemGroup>
<None Include="Resources\archblox.png" />
</ItemGroup>
<ItemGroup>
<Content Include="archblox.ico" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.

View File

@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual C# Express 2010
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARCHBLOXLauncher_XP", "ARCHBLOXLauncher_XP.csproj", "{FE8FC745-5077-4C8D-9017-A13490C48BC2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARCHBLOXLauncher_XP", "ARCHBLOXLauncher_XP.csproj", "{49DD1842-81E0-4D7E-AFE9-6270B3DDF9A1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@ -9,10 +9,10 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Debug|x86.ActiveCfg = Debug|x86
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Debug|x86.Build.0 = Debug|x86
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Release|x86.ActiveCfg = Release|x86
{FE8FC745-5077-4C8D-9017-A13490C48BC2}.Release|x86.Build.0 = Release|x86
{49DD1842-81E0-4D7E-AFE9-6270B3DDF9A1}.Debug|x86.ActiveCfg = Debug|x86
{49DD1842-81E0-4D7E-AFE9-6270B3DDF9A1}.Debug|x86.Build.0 = Debug|x86
{49DD1842-81E0-4D7E-AFE9-6270B3DDF9A1}.Release|x86.ActiveCfg = Release|x86
{49DD1842-81E0-4D7E-AFE9-6270B3DDF9A1}.Release|x86.Build.0 = Release|x86
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

Binary file not shown.

Before

Width:  |  Height:  |  Size: 283 KiB

View File

@ -34,19 +34,19 @@
this.label4 = new System.Windows.Forms.Label();
this.serverport = new System.Windows.Forms.TextBox();
this.label7 = new System.Windows.Forms.Label();
this.button2 = new System.Windows.Forms.Button();
this.HostBox = new System.Windows.Forms.GroupBox();
this.label2 = new System.Windows.Forms.Label();
this.textBox1 = new System.Windows.Forms.TextBox();
this.label3 = new System.Windows.Forms.Label();
this.button3 = new System.Windows.Forms.Button();
this.textBox2 = new System.Windows.Forms.TextBox();
this.button1 = new System.Windows.Forms.Button();
this.BackBTN = new System.Windows.Forms.Button();
this.UpdateBTN = new System.Windows.Forms.Button();
this.JoinBTN = new System.Windows.Forms.Button();
this.HostBTN = new System.Windows.Forms.Button();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
this.button2 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button();
this.button1 = new System.Windows.Forms.Button();
this.label1 = new System.Windows.Forms.Label();
this.JoinBox.SuspendLayout();
this.HostBox.SuspendLayout();
@ -61,8 +61,7 @@
this.JoinBox.Controls.Add(this.serverport);
this.JoinBox.Controls.Add(this.label7);
this.JoinBox.Controls.Add(this.button2);
this.JoinBox.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.JoinBox.Location = new System.Drawing.Point(6, 45);
this.JoinBox.Location = new System.Drawing.Point(6, 44);
this.JoinBox.Name = "JoinBox";
this.JoinBox.Size = new System.Drawing.Size(245, 130);
this.JoinBox.TabIndex = 26;
@ -72,46 +71,170 @@
// serverip
//
this.serverip.CharacterCasing = System.Windows.Forms.CharacterCasing.Lower;
this.serverip.ForeColor = System.Drawing.SystemColors.MenuText;
this.serverip.Location = new System.Drawing.Point(5, 34);
this.serverip.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.serverip.Location = new System.Drawing.Point(5, 35);
this.serverip.MaxLength = 15;
this.serverip.Name = "serverip";
this.serverip.Size = new System.Drawing.Size(237, 21);
this.serverip.Size = new System.Drawing.Size(237, 20);
this.serverip.TabIndex = 18;
//
// label4
//
this.label4.AutoSize = true;
this.label4.BackColor = System.Drawing.Color.Transparent;
this.label4.Location = new System.Drawing.Point(5, 17);
this.label4.Location = new System.Drawing.Point(5, 16);
this.label4.Name = "label4";
this.label4.Size = new System.Drawing.Size(251, 13);
this.label4.Size = new System.Drawing.Size(243, 13);
this.label4.TabIndex = 17;
this.label4.Text = "Server IP (Use localhost if joining your own server)";
//
// serverport
//
this.serverport.ForeColor = System.Drawing.SystemColors.MenuText;
this.serverport.Location = new System.Drawing.Point(5, 72);
this.serverport.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.serverport.Location = new System.Drawing.Point(5, 73);
this.serverport.MaxLength = 5;
this.serverport.Name = "serverport";
this.serverport.Size = new System.Drawing.Size(235, 21);
this.serverport.Size = new System.Drawing.Size(235, 20);
this.serverport.TabIndex = 19;
//
// label7
//
this.label7.AutoSize = true;
this.label7.BackColor = System.Drawing.Color.Transparent;
this.label7.Location = new System.Drawing.Point(5, 58);
this.label7.Location = new System.Drawing.Point(5, 57);
this.label7.Name = "label7";
this.label7.Size = new System.Drawing.Size(62, 13);
this.label7.Size = new System.Drawing.Size(60, 13);
this.label7.TabIndex = 25;
this.label7.Text = "Server Port";
//
// HostBox
//
this.HostBox.BackColor = System.Drawing.Color.Black;
this.HostBox.Controls.Add(this.label2);
this.HostBox.Controls.Add(this.textBox1);
this.HostBox.Controls.Add(this.label3);
this.HostBox.Controls.Add(this.button3);
this.HostBox.Controls.Add(this.textBox2);
this.HostBox.Controls.Add(this.button1);
this.HostBox.Location = new System.Drawing.Point(6, 44);
this.HostBox.Name = "HostBox";
this.HostBox.Size = new System.Drawing.Size(247, 121);
this.HostBox.TabIndex = 27;
this.HostBox.TabStop = false;
this.HostBox.Visible = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Location = new System.Drawing.Point(3, 16);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(145, 13);
this.label2.TabIndex = 23;
this.label2.Text = "Port (53640 is recommended)";
//
// textBox1
//
this.textBox1.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.textBox1.Location = new System.Drawing.Point(5, 33);
this.textBox1.MaxLength = 5;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(235, 20);
this.textBox1.TabIndex = 24;
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Location = new System.Drawing.Point(3, 55);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(163, 13);
this.label3.TabIndex = 27;
this.label3.Text = "Filename (use temp.rbxl if unsure)";
//
// textBox2
//
this.textBox2.ForeColor = System.Drawing.SystemColors.ActiveCaptionText;
this.textBox2.Location = new System.Drawing.Point(5, 70);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(168, 20);
this.textBox2.TabIndex = 25;
//
// BackBTN
//
this.BackBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue;
this.BackBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.BackBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.BackBTN.Location = new System.Drawing.Point(197, 12);
this.BackBTN.Name = "BackBTN";
this.BackBTN.Size = new System.Drawing.Size(57, 24);
this.BackBTN.TabIndex = 31;
this.BackBTN.Text = "Back";
this.BackBTN.UseVisualStyleBackColor = true;
this.BackBTN.Visible = false;
this.BackBTN.Click += new System.EventHandler(this.BackBTN_Click);
//
// UpdateBTN
//
this.UpdateBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue;
this.UpdateBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.UpdateBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.UpdateBTN.Font = new System.Drawing.Font("Segoe UI Semilight", 15.75F);
this.UpdateBTN.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.UpdateBTN.Location = new System.Drawing.Point(10, 62);
this.UpdateBTN.Name = "UpdateBTN";
this.UpdateBTN.Size = new System.Drawing.Size(237, 46);
this.UpdateBTN.TabIndex = 30;
this.UpdateBTN.Text = "Install";
this.UpdateBTN.UseVisualStyleBackColor = true;
this.UpdateBTN.Click += new System.EventHandler(this.UpdateBTN_Click);
//
// JoinBTN
//
this.JoinBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue;
this.JoinBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.JoinBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.JoinBTN.Font = new System.Drawing.Font("Segoe UI Semilight", 12F);
this.JoinBTN.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.JoinBTN.Location = new System.Drawing.Point(133, 113);
this.JoinBTN.Name = "JoinBTN";
this.JoinBTN.Size = new System.Drawing.Size(116, 45);
this.JoinBTN.TabIndex = 29;
this.JoinBTN.Text = "Join a Game";
this.JoinBTN.UseVisualStyleBackColor = true;
this.JoinBTN.Click += new System.EventHandler(this.JoinBTN_Click);
//
// HostBTN
//
this.HostBTN.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue;
this.HostBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.HostBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.HostBTN.Font = new System.Drawing.Font("Segoe UI Semilight", 12F);
this.HostBTN.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.HostBTN.Location = new System.Drawing.Point(10, 113);
this.HostBTN.Name = "HostBTN";
this.HostBTN.Size = new System.Drawing.Size(117, 45);
this.HostBTN.TabIndex = 28;
this.HostBTN.Text = "Host a Game";
this.HostBTN.UseVisualStyleBackColor = true;
this.HostBTN.Click += new System.EventHandler(this.HostBTN_Click);
//
// pictureBox1
//
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox1.Image = global::ARCHBLOXLauncher_XP.Properties.Resources.unknown;
this.pictureBox1.Location = new System.Drawing.Point(5, 3);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(149, 33);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.Zoom;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// button2
//
this.button2.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.button2.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button2.BackgroundImage")));
this.button2.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttongreen;
this.button2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button2.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button2.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
@ -123,59 +246,13 @@
this.button2.UseVisualStyleBackColor = false;
this.button2.Click += new System.EventHandler(this.button2_Click);
//
// HostBox
//
this.HostBox.BackColor = System.Drawing.Color.Black;
this.HostBox.Controls.Add(this.label2);
this.HostBox.Controls.Add(this.textBox1);
this.HostBox.Controls.Add(this.label3);
this.HostBox.Controls.Add(this.button3);
this.HostBox.Controls.Add(this.textBox2);
this.HostBox.Controls.Add(this.button1);
this.HostBox.Font = new System.Drawing.Font("Tahoma", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.HostBox.Location = new System.Drawing.Point(6, 45);
this.HostBox.Name = "HostBox";
this.HostBox.Size = new System.Drawing.Size(247, 122);
this.HostBox.TabIndex = 27;
this.HostBox.TabStop = false;
this.HostBox.Visible = false;
//
// label2
//
this.label2.AutoSize = true;
this.label2.BackColor = System.Drawing.Color.Transparent;
this.label2.Location = new System.Drawing.Point(3, 17);
this.label2.Name = "label2";
this.label2.Size = new System.Drawing.Size(148, 13);
this.label2.TabIndex = 23;
this.label2.Text = "Port (53640 is recommended)";
//
// textBox1
//
this.textBox1.ForeColor = System.Drawing.SystemColors.MenuText;
this.textBox1.Location = new System.Drawing.Point(5, 32);
this.textBox1.MaxLength = 5;
this.textBox1.Name = "textBox1";
this.textBox1.Size = new System.Drawing.Size(235, 21);
this.textBox1.TabIndex = 24;
//
// label3
//
this.label3.AutoSize = true;
this.label3.BackColor = System.Drawing.Color.Transparent;
this.label3.Location = new System.Drawing.Point(3, 55);
this.label3.Name = "label3";
this.label3.Size = new System.Drawing.Size(171, 13);
this.label3.TabIndex = 27;
this.label3.Text = "Filename (use temp.rbxl if unsure)";
//
// button3
//
this.button3.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button3.BackgroundImage")));
this.button3.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttonblue;
this.button3.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button3.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button3.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.button3.Location = new System.Drawing.Point(177, 70);
this.button3.Location = new System.Drawing.Point(177, 69);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(63, 19);
this.button3.TabIndex = 26;
@ -183,22 +260,14 @@
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.button3_Click);
//
// textBox2
//
this.textBox2.ForeColor = System.Drawing.SystemColors.MenuText;
this.textBox2.Location = new System.Drawing.Point(5, 71);
this.textBox2.Name = "textBox2";
this.textBox2.Size = new System.Drawing.Size(168, 21);
this.textBox2.TabIndex = 25;
//
// button1
//
this.button1.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(192)))), ((int)(((byte)(0)))));
this.button1.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("button1.BackgroundImage")));
this.button1.BackgroundImage = global::ARCHBLOXLauncher_XP.Properties.Resources.buttongreen;
this.button1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.button1.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.button1.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.button1.Location = new System.Drawing.Point(5, 95);
this.button1.Location = new System.Drawing.Point(5, 94);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(235, 19);
this.button1.TabIndex = 28;
@ -206,91 +275,14 @@
this.button1.UseVisualStyleBackColor = false;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// BackBTN
//
this.BackBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.BackBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("BackBTN.BackgroundImage")));
this.BackBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.BackBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.BackBTN.Font = new System.Drawing.Font("Tahoma", 10.25F, System.Drawing.FontStyle.Bold);
this.BackBTN.Location = new System.Drawing.Point(194, 12);
this.BackBTN.Name = "BackBTN";
this.BackBTN.Size = new System.Drawing.Size(60, 27);
this.BackBTN.TabIndex = 31;
this.BackBTN.Text = "Back";
this.BackBTN.UseVisualStyleBackColor = false;
this.BackBTN.Visible = false;
this.BackBTN.Click += new System.EventHandler(this.BackBTN_Click);
//
// UpdateBTN
//
this.UpdateBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.UpdateBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("UpdateBTN.BackgroundImage")));
this.UpdateBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.UpdateBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.UpdateBTN.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);
this.UpdateBTN.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.UpdateBTN.Location = new System.Drawing.Point(10, 61);
this.UpdateBTN.Name = "UpdateBTN";
this.UpdateBTN.Size = new System.Drawing.Size(237, 45);
this.UpdateBTN.TabIndex = 30;
this.UpdateBTN.Text = "Install";
this.UpdateBTN.UseVisualStyleBackColor = false;
this.UpdateBTN.Click += new System.EventHandler(this.UpdateBTN_Click);
//
// JoinBTN
//
this.JoinBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.JoinBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("JoinBTN.BackgroundImage")));
this.JoinBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.JoinBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.JoinBTN.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);
this.JoinBTN.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.JoinBTN.Location = new System.Drawing.Point(133, 112);
this.JoinBTN.Name = "JoinBTN";
this.JoinBTN.Size = new System.Drawing.Size(116, 45);
this.JoinBTN.TabIndex = 29;
this.JoinBTN.Text = "Join a Game";
this.JoinBTN.UseVisualStyleBackColor = false;
this.JoinBTN.Click += new System.EventHandler(this.JoinBTN_Click);
//
// HostBTN
//
this.HostBTN.BackColor = System.Drawing.Color.FromArgb(((int)(((byte)(0)))), ((int)(((byte)(0)))), ((int)(((byte)(192)))));
this.HostBTN.BackgroundImage = ((System.Drawing.Image)(resources.GetObject("HostBTN.BackgroundImage")));
this.HostBTN.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.HostBTN.FlatStyle = System.Windows.Forms.FlatStyle.Popup;
this.HostBTN.Font = new System.Drawing.Font("Tahoma", 11F, System.Drawing.FontStyle.Bold);
this.HostBTN.ForeColor = System.Drawing.SystemColors.ButtonHighlight;
this.HostBTN.Location = new System.Drawing.Point(10, 112);
this.HostBTN.Name = "HostBTN";
this.HostBTN.Size = new System.Drawing.Size(117, 45);
this.HostBTN.TabIndex = 28;
this.HostBTN.Text = "Host a Game";
this.HostBTN.UseVisualStyleBackColor = false;
this.HostBTN.Click += new System.EventHandler(this.HostBTN_Click);
//
// pictureBox1
//
this.pictureBox1.Anchor = System.Windows.Forms.AnchorStyles.Top;
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(14, 5);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(174, 34);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 0;
this.pictureBox1.TabStop = false;
//
// label1
//
this.label1.AutoSize = true;
this.label1.BackColor = System.Drawing.Color.Transparent;
this.label1.Location = new System.Drawing.Point(12, 35);
this.label1.Location = new System.Drawing.Point(7, 35);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(131, 13);
this.label1.TabIndex = 26;
this.label1.Text = "Windows XP/Vista Edition";
this.label1.Size = new System.Drawing.Size(184, 13);
this.label1.TabIndex = 32;
this.label1.Text = "Legacy Edition for Windows XP/Vista";
//
// Form1
//

View File

@ -42,7 +42,7 @@ namespace ARCHBLOXLauncher_XP
catch
{
MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: HttpOpenRequest failed for GET http://archblox.com/client/version.txt, Error ID: 6", "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Error);
Environment.Exit(0);
// Environment.Exit(0);
}
ARCHBLOXProtocol.ARCHBLOXURIProtocol.Register();
CreateShortcut();
@ -180,6 +180,7 @@ namespace ARCHBLOXLauncher_XP
pProcess.StartInfo.CreateNoWindow = false;
pProcess.Start();
pProcess.EnableRaisingEvents = true;
var random = new Random();
MessageBox.Show("Starting game server on port " + textBox1.Text + " using " + textBox2.Text, "ARCHBLOX", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
@ -202,7 +203,6 @@ namespace ARCHBLOXLauncher_XP
}
else
{
var pProcess = new Process();
pProcess.StartInfo.FileName = filePath;
pProcess.StartInfo.Arguments = "-a \"http://www.morblox.us/\" -j \"http://www.morblox.us/game/join.ashx?port=" + serverport.Text + "&ip=" + serverip.Text + "\" -t \"1\"";

View File

@ -43,10 +43,10 @@ namespace ARCHBLOXLauncher_XP
{
byte[] raw = wc.DownloadData("http://archblox.com/client/version.txt");
string webData = Encoding.UTF8.GetString(raw);
string version_string = webData;
string version_string = webData;
string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Versions\");
string clientPath = Path.Combine(folderPath, version_string + @"\");
string filePath = Path.Combine(Path.GetTempPath(), version_string + ".zip");
string filePath = Path.Combine(Path.GetTempPath(),version_string + ".zip");
// setup file paths etc
{
if (Directory.Exists(folderPath))
@ -87,14 +87,12 @@ namespace ARCHBLOXLauncher_XP
wc.DownloadFileAsync(new Uri(@"http://archblox.com/client/" + version_string + ".zip"), filePath);
progressBar1.Style = ProgressBarStyle.Blocks;
handle.WaitOne();
}
else
} else
{
this.Hide();
this.Close();
}
}
else
} else
{
this.Hide();
this.Close();
@ -116,7 +114,7 @@ namespace ARCHBLOXLauncher_XP
File.Delete(filePath);
label1.Text = "Installing URi...";
try
{
{
ARCHBLOXProtocol.ARCHBLOXURIProtocol.Register();
Uri_Installed = true;
}
@ -124,8 +122,7 @@ namespace ARCHBLOXLauncher_XP
if (Uri_Installed == true)
{
label1.Text = "ARCHBLOX has been installed!";
}
else
} else
{
label1.Text = "ARCHBLOX installed without URI.";
}

View File

@ -48,7 +48,7 @@
//
// label1
//
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.25F);
this.label1.Font = new System.Drawing.Font("Segoe UI", 9F);
this.label1.Location = new System.Drawing.Point(58, 18);
this.label1.Name = "label1";
this.label1.Size = new System.Drawing.Size(237, 21);
@ -58,6 +58,8 @@
//
// progressBar1
//
this.progressBar1.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.progressBar1.BackColor = System.Drawing.Color.White;
this.progressBar1.Location = new System.Drawing.Point(58, 51);
this.progressBar1.Name = "progressBar1";
this.progressBar1.Size = new System.Drawing.Size(287, 26);
@ -65,12 +67,15 @@
//
// Form2
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 17F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(362, 146);
this.BackColor = System.Drawing.SystemColors.Control;
this.ClientSize = new System.Drawing.Size(352, 136);
this.Controls.Add(this.progressBar1);
this.Controls.Add(this.label1);
this.Controls.Add(this.pictureBox1);
this.Cursor = System.Windows.Forms.Cursors.AppStarting;
this.Font = new System.Drawing.Font("Segoe UI", 10F);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;

File diff suppressed because it is too large Load Diff

View File

@ -1,14 +1,15 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace ARCHBLOXLauncher_XP
{
static class Program
internal static class Program
{
/// <summary>
/// The main entry point for the application.
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main(string[] args)
@ -25,4 +26,4 @@ namespace ARCHBLOXLauncher_XP
Application.Run(new Form1());
}
}
}
}

View File

@ -5,12 +5,12 @@ 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("ARCHBLOX Launcher")]
[assembly: AssemblyDescription("ARCHBLOX Launcher for Windows XP and Vista")]
[assembly: AssemblyTitle("ARCHBLOXLauncher_XP")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("")]
[assembly: AssemblyCopyright("")]
[assembly: AssemblyProduct("ARCHBLOXLauncher_XP")]
[assembly: AssemblyCopyright("Copyright © 2022")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
@ -20,7 +20,7 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("17e4483b-21d9-4182-9390-3738ffe7e059")]
[assembly: Guid("79dd365c-346f-4fd1-892f-0c7d63649b82")]
// Version information for an assembly consists of the following four values:
//

View File

@ -73,9 +73,9 @@ namespace ARCHBLOXLauncher_XP.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap archbloxlowres {
internal static System.Drawing.Bitmap buttonblue {
get {
object obj = ResourceManager.GetObject("archbloxlowres", resourceCulture);
object obj = ResourceManager.GetObject("buttonblue", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -83,9 +83,9 @@ namespace ARCHBLOXLauncher_XP.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap buttonblue200 {
internal static System.Drawing.Bitmap buttongreen {
get {
object obj = ResourceManager.GetObject("buttonblue200", resourceCulture);
object obj = ResourceManager.GetObject("buttongreen", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
@ -93,21 +93,11 @@ namespace ARCHBLOXLauncher_XP.Properties {
/// <summary>
/// Looks up a localized resource of type System.Drawing.Bitmap.
/// </summary>
internal static System.Drawing.Bitmap buttongreen200 {
internal static System.Drawing.Bitmap unknown {
get {
object obj = ResourceManager.GetObject("buttongreen200", resourceCulture);
object obj = ResourceManager.GetObject("unknown", resourceCulture);
return ((System.Drawing.Bitmap)(obj));
}
}
/// <summary>
/// Looks up a localized resource of type System.Byte[].
/// </summary>
internal static byte[] Thumbs {
get {
object obj = ResourceManager.GetObject("Thumbs", resourceCulture);
return ((byte[])(obj));
}
}
}
}

View File

@ -118,19 +118,16 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<assembly alias="System.Windows.Forms" name="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
<data name="Thumbs" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\Thumbs.db;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</data>
<data name="archblox" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\archblox.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="archbloxlowres" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\archbloxlowres.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="buttonblue200" type="System.Resources.ResXFileRef, System.Windows.Forms">
<data name="buttonblue" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\buttonblue200.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="buttongreen200" type="System.Resources.ResXFileRef, System.Windows.Forms">
<data name="buttongreen" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\buttongreen200.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
<data name="unknown" type="System.Resources.ResXFileRef, System.Windows.Forms">
<value>..\Resources\archbloxlowres.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</value>
</data>
</root>

View File

@ -1,2 +0,0 @@
# ARCHBLOXLauncherLegacy
A version of the ARCHBLOX Launcher for legacy operating systems such as Windows XP and Windows Vista. To compile this for those platforms, you need to use VS2010.

View File

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 59 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

BIN
archblox.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 162 KiB