various bug fixes and small additions

This commit is contained in:
Bitl 2021-09-12 10:31:45 -07:00
parent 8cb6364be0
commit 2b9b914539
19 changed files with 10526 additions and 249 deletions

View File

@ -16,6 +16,11 @@ namespace Novetus.Bootstrapper
Process client = new Process();
client.StartInfo.FileName = filePath + @"\\" + appName;
client.StartInfo.Arguments = args;
client.StartInfo.UseShellExecute = true;
if (SecurityFuncs.IsElevated)
{
client.StartInfo.Verb = "runas";
}
client.Start();
}

View File

@ -818,7 +818,14 @@ public partial class CharacterCustomizationCompact : Form
if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome()))
{
MessageBox.Show(icon.getInstallOutcome(), "Novetus - Icon Installed", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBoxIcon boxicon = MessageBoxIcon.Information;
if (icon.getInstallOutcome().Contains("Error"))
{
boxicon = MessageBoxIcon.Error;
}
MessageBox.Show(icon.getInstallOutcome(), "Novetus - Icon Installed", MessageBoxButtons.OK, boxicon);
}
Image icon1 = GlobalFuncs.LoadImage(GlobalPaths.extradirIcons + "\\" + GlobalVars.UserConfiguration.PlayerName + ".png", GlobalPaths.extradir + "\\NoExtra.png");

View File

@ -821,7 +821,14 @@ public partial class CharacterCustomizationExtended : Form
if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome()))
{
MessageBox.Show(icon.getInstallOutcome(), "Novetus - Icon Installed", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBoxIcon boxicon = MessageBoxIcon.Information;
if (icon.getInstallOutcome().Contains("Error"))
{
boxicon = MessageBoxIcon.Error;
}
MessageBox.Show(icon.getInstallOutcome(), "Novetus - Icon Installed", MessageBoxButtons.OK, boxicon);
}
Image icon1 = GlobalFuncs.LoadImage(GlobalPaths.extradirIcons + "\\" + GlobalVars.UserConfiguration.PlayerName + ".png", GlobalPaths.extradir + "\\NoExtra.png");

View File

@ -44,21 +44,7 @@ public class IconLoader
{
try
{
using (Stream str = openFileDialog1.OpenFile())
{
using (Stream output = new FileStream(dir + ".png", FileMode.Create))
{
byte[] buffer = new byte[32 * 1024];
int read;
while ((read = str.Read(buffer, 0, buffer.Length)) > 0)
{
output.Write(buffer, 0, read);
}
}
str.Close();
}
GlobalFuncs.FixedFileCopy(openFileDialog1.FileName, dir + ".png", true);
if (CopyToItemDir)
{

View File

@ -112,12 +112,12 @@ namespace NovetusLauncher
this.comboBox3 = new System.Windows.Forms.ComboBox();
this.checkBox2 = new System.Windows.Forms.CheckBox();
this.label18 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.button26 = new System.Windows.Forms.Button();
this.label7 = new System.Windows.Forms.Label();
this.label10 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.checkBox3 = new System.Windows.Forms.CheckBox();
this.UAButton = new System.Windows.Forms.Button();
this.checkBox1 = new System.Windows.Forms.CheckBox();
this.button9 = new System.Windows.Forms.Button();
this.richTextBox3 = new System.Windows.Forms.RichTextBox();
@ -136,7 +136,6 @@ namespace NovetusLauncher
this.label26 = new System.Windows.Forms.Label();
this.label27 = new System.Windows.Forms.Label();
this.label28 = new System.Windows.Forms.Label();
this.label11 = new System.Windows.Forms.Label();
this.label12 = new System.Windows.Forms.Label();
this.label16 = new System.Windows.Forms.Label();
this.button20 = new System.Windows.Forms.Button();
@ -928,7 +927,6 @@ namespace NovetusLauncher
this.tabPage5.Controls.Add(this.label10);
this.tabPage5.Controls.Add(this.label8);
this.tabPage5.Controls.Add(this.checkBox3);
this.tabPage5.Controls.Add(this.UAButton);
this.tabPage5.Controls.Add(this.checkBox1);
this.tabPage5.Controls.Add(this.button9);
this.tabPage5.Controls.Add(this.richTextBox3);
@ -944,7 +942,7 @@ namespace NovetusLauncher
// label5
//
this.label5.AutoSize = true;
this.label5.Location = new System.Drawing.Point(297, 18);
this.label5.Location = new System.Drawing.Point(211, 31);
this.label5.Name = "label5";
this.label5.Size = new System.Drawing.Size(78, 13);
this.label5.TabIndex = 62;
@ -957,7 +955,7 @@ namespace NovetusLauncher
this.comboBox3.Items.AddRange(new object[] {
"Extended",
"Compact"});
this.comboBox3.Location = new System.Drawing.Point(287, 34);
this.comboBox3.Location = new System.Drawing.Point(296, 28);
this.comboBox3.Name = "comboBox3";
this.comboBox3.Size = new System.Drawing.Size(99, 21);
this.comboBox3.TabIndex = 61;
@ -986,6 +984,16 @@ namespace NovetusLauncher
this.label18.Text = "qwertyuiopasdfghjklz";
this.label18.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label11
//
this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label11.Location = new System.Drawing.Point(6, 222);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(389, 15);
this.label11.TabIndex = 50;
this.label11.Text = "v1.0";
this.label11.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// button26
//
this.button26.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -1033,17 +1041,6 @@ namespace NovetusLauncher
this.checkBox3.UseVisualStyleBackColor = true;
this.checkBox3.CheckedChanged += new System.EventHandler(this.CheckBox3CheckedChanged);
//
// UAButton
//
this.UAButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.UAButton.Location = new System.Drawing.Point(147, 21);
this.UAButton.Name = "UAButton";
this.UAButton.Size = new System.Drawing.Size(63, 34);
this.UAButton.TabIndex = 37;
this.UAButton.Text = "Install UserAgent";
this.UAButton.UseVisualStyleBackColor = true;
this.UAButton.Click += new System.EventHandler(this.Button21Click);
//
// checkBox1
//
this.checkBox1.Checked = true;
@ -1093,9 +1090,9 @@ namespace NovetusLauncher
// SettingsButton
//
this.SettingsButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.SettingsButton.Location = new System.Drawing.Point(213, 21);
this.SettingsButton.Location = new System.Drawing.Point(146, 21);
this.SettingsButton.Name = "SettingsButton";
this.SettingsButton.Size = new System.Drawing.Size(55, 34);
this.SettingsButton.Size = new System.Drawing.Size(61, 34);
this.SettingsButton.TabIndex = 10;
this.SettingsButton.Text = "Settings";
this.SettingsButton.UseVisualStyleBackColor = true;
@ -1226,16 +1223,6 @@ namespace NovetusLauncher
this.label28.TabIndex = 19;
this.label28.Text = "Baseplate.rbxl";
//
// label11
//
this.label11.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.label11.Location = new System.Drawing.Point(6, 222);
this.label11.Name = "label11";
this.label11.Size = new System.Drawing.Size(389, 15);
this.label11.TabIndex = 50;
this.label11.Text = "v1.0";
this.label11.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// label12
//
this.label12.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -1570,7 +1557,6 @@ namespace NovetusLauncher
private System.Windows.Forms.TabPage tabPage6;
private System.Windows.Forms.Button button9;
private System.Windows.Forms.Button SettingsButton;
private System.Windows.Forms.Button UAButton;
private System.Windows.Forms.TextBox textBox6;
private System.Windows.Forms.Button button8;
private System.Windows.Forms.TextBox textBox5;

View File

@ -174,11 +174,6 @@ namespace NovetusLauncher
launcherForm.ProcessConsole(e);
}
void Button21Click(object sender, EventArgs e)
{
launcherForm.InstallRegServer();
}
void NumericUpDown1ValueChanged(object sender, EventArgs e)
{
launcherForm.ChangeJoinPort();

View File

@ -136,7 +136,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB0
CQAAAk1TRnQBSQFMAgEBAgEAAUgBAAFIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CQAAAk1TRnQBSQFMAgEBAgEAAVABAAFQAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA

View File

@ -44,7 +44,6 @@ namespace NovetusLauncher
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormExtended));
this.button25 = new System.Windows.Forms.Button();
this.button21 = new System.Windows.Forms.Button();
this.textBox5 = new System.Windows.Forms.TextBox();
this.label15 = new System.Windows.Forms.Label();
this.label13 = new System.Windows.Forms.Label();
@ -70,6 +69,12 @@ namespace NovetusLauncher
this.button28 = new System.Windows.Forms.Button();
this.button34 = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.SettingsButton = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.panel4 = new System.Windows.Forms.Panel();
this.UAButton = new System.Windows.Forms.Button();
this.tabControl1 = new TabControlWithoutHeader();
this.tabPage1 = new System.Windows.Forms.TabPage();
this.button37 = new System.Windows.Forms.Button();
@ -109,7 +114,6 @@ namespace NovetusLauncher
this.tabPage4 = new System.Windows.Forms.TabPage();
this.button23 = new System.Windows.Forms.Button();
this.SearchButton = new System.Windows.Forms.Button();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.SearchBar = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox();
this.button24 = new System.Windows.Forms.Button();
@ -149,14 +153,11 @@ namespace NovetusLauncher
this.label18 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label();
this.SettingsButton = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.panel4 = new System.Windows.Forms.Panel();
this.button35 = new System.Windows.Forms.Button();
this.UAButton = new System.Windows.Forms.Button();
this.panel1.SuspendLayout();
this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.panel4.SuspendLayout();
this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
@ -170,33 +171,19 @@ namespace NovetusLauncher
this.tabPage8.SuspendLayout();
this.tabPage5.SuspendLayout();
this.panel5.SuspendLayout();
this.panel3.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.panel4.SuspendLayout();
this.SuspendLayout();
//
// button25
//
this.button25.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button25.Location = new System.Drawing.Point(278, 3);
this.button25.Location = new System.Drawing.Point(306, 3);
this.button25.Name = "button25";
this.button25.Size = new System.Drawing.Size(75, 20);
this.button25.Size = new System.Drawing.Size(104, 20);
this.button25.TabIndex = 56;
this.button25.Text = "Install Addon";
this.button25.Text = "Install Mods/Addons";
this.button25.UseVisualStyleBackColor = true;
this.button25.Click += new System.EventHandler(this.button25_Click);
//
// button21
//
this.button21.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button21.Location = new System.Drawing.Point(356, 3);
this.button21.Name = "button21";
this.button21.Size = new System.Drawing.Size(128, 20);
this.button21.TabIndex = 44;
this.button21.Text = "Register UserAgent Library";
this.button21.UseVisualStyleBackColor = true;
this.button21.Click += new System.EventHandler(this.Button21Click);
//
// textBox5
//
this.textBox5.Location = new System.Drawing.Point(97, 25);
@ -248,7 +235,7 @@ namespace NovetusLauncher
// button8
//
this.button8.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button8.Location = new System.Drawing.Point(6, 3);
this.button8.Location = new System.Drawing.Point(78, 3);
this.button8.Name = "button8";
this.button8.Size = new System.Drawing.Size(104, 20);
this.button8.TabIndex = 35;
@ -259,11 +246,11 @@ namespace NovetusLauncher
// button3
//
this.button3.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button3.Location = new System.Drawing.Point(157, 3);
this.button3.Location = new System.Drawing.Point(188, 3);
this.button3.Name = "button3";
this.button3.Size = new System.Drawing.Size(81, 20);
this.button3.Size = new System.Drawing.Size(72, 20);
this.button3.TabIndex = 6;
this.button3.Text = "Studio with Map";
this.button3.Text = "Launch Studio";
this.button3.UseVisualStyleBackColor = true;
this.button3.Click += new System.EventHandler(this.Button3Click);
//
@ -436,7 +423,7 @@ namespace NovetusLauncher
// button34
//
this.button34.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button34.Location = new System.Drawing.Point(241, 3);
this.button34.Location = new System.Drawing.Point(266, 3);
this.button34.Name = "button34";
this.button34.Size = new System.Drawing.Size(34, 20);
this.button34.TabIndex = 60;
@ -453,6 +440,65 @@ namespace NovetusLauncher
this.panel2.Size = new System.Drawing.Size(646, 311);
this.panel2.TabIndex = 61;
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "search.png");
this.imageList1.Images.SetKeyName(1, "refresh.png");
//
// SettingsButton
//
this.SettingsButton.Location = new System.Drawing.Point(0, 0);
this.SettingsButton.Name = "SettingsButton";
this.SettingsButton.Size = new System.Drawing.Size(75, 23);
this.SettingsButton.TabIndex = 0;
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel3.Controls.Add(this.pictureBox2);
this.panel3.Controls.Add(this.textBox2);
this.panel3.Controls.Add(this.textBox5);
this.panel3.Controls.Add(this.button4);
this.panel3.Controls.Add(this.label16);
this.panel3.Controls.Add(this.label15);
this.panel3.Controls.Add(this.label12);
this.panel3.Controls.Add(this.label13);
this.panel3.Location = new System.Drawing.Point(1, 4);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(229, 69);
this.panel3.TabIndex = 62;
//
// pictureBox2
//
this.pictureBox2.BackgroundImage = global::NovetusLauncher.Properties.Resources.N;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBox2.Location = new System.Drawing.Point(3, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 41);
this.pictureBox2.TabIndex = 7;
this.pictureBox2.TabStop = false;
//
// panel4
//
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel4.Controls.Add(this.button34);
this.panel4.Controls.Add(this.button8);
this.panel4.Controls.Add(this.button3);
this.panel4.Controls.Add(this.button25);
this.panel4.Location = new System.Drawing.Point(236, 41);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(501, 32);
this.panel4.TabIndex = 63;
//
// UAButton
//
this.UAButton.Location = new System.Drawing.Point(0, 0);
this.UAButton.Name = "UAButton";
this.UAButton.Size = new System.Drawing.Size(75, 23);
this.UAButton.TabIndex = 0;
//
// tabControl1
//
this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
@ -926,13 +972,6 @@ namespace NovetusLauncher
this.SearchButton.UseVisualStyleBackColor = true;
this.SearchButton.Click += new System.EventHandler(this.SearchButton_Click);
//
// imageList1
//
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "search.png");
this.imageList1.Images.SetKeyName(1, "refresh.png");
//
// SearchBar
//
this.SearchBar.Location = new System.Drawing.Point(7, 5);
@ -1353,71 +1392,6 @@ namespace NovetusLauncher
this.label7.Text = "PROJECT STARLIGHT";
this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// SettingsButton
//
this.SettingsButton.Location = new System.Drawing.Point(0, 0);
this.SettingsButton.Name = "SettingsButton";
this.SettingsButton.Size = new System.Drawing.Size(75, 23);
this.SettingsButton.TabIndex = 0;
//
// panel3
//
this.panel3.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel3.Controls.Add(this.pictureBox2);
this.panel3.Controls.Add(this.textBox2);
this.panel3.Controls.Add(this.textBox5);
this.panel3.Controls.Add(this.button4);
this.panel3.Controls.Add(this.label16);
this.panel3.Controls.Add(this.label15);
this.panel3.Controls.Add(this.label12);
this.panel3.Controls.Add(this.label13);
this.panel3.Location = new System.Drawing.Point(1, 4);
this.panel3.Name = "panel3";
this.panel3.Size = new System.Drawing.Size(229, 69);
this.panel3.TabIndex = 62;
//
// pictureBox2
//
this.pictureBox2.BackgroundImage = global::NovetusLauncher.Properties.Resources.N;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBox2.Location = new System.Drawing.Point(3, 3);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 41);
this.pictureBox2.TabIndex = 7;
this.pictureBox2.TabStop = false;
//
// panel4
//
this.panel4.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
this.panel4.Controls.Add(this.button35);
this.panel4.Controls.Add(this.button34);
this.panel4.Controls.Add(this.button21);
this.panel4.Controls.Add(this.button8);
this.panel4.Controls.Add(this.button3);
this.panel4.Controls.Add(this.button25);
this.panel4.Location = new System.Drawing.Point(236, 41);
this.panel4.Name = "panel4";
this.panel4.Size = new System.Drawing.Size(501, 32);
this.panel4.TabIndex = 63;
//
// button35
//
this.button35.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button35.Location = new System.Drawing.Point(113, 3);
this.button35.Name = "button35";
this.button35.Size = new System.Drawing.Size(41, 20);
this.button35.TabIndex = 61;
this.button35.Text = "Studio";
this.button35.UseVisualStyleBackColor = true;
this.button35.Click += new System.EventHandler(this.button35_Click);
//
// UAButton
//
this.UAButton.Location = new System.Drawing.Point(0, 0);
this.UAButton.Name = "UAButton";
this.UAButton.Size = new System.Drawing.Size(75, 23);
this.UAButton.TabIndex = 0;
//
// LauncherFormExtended
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -1443,6 +1417,10 @@ namespace NovetusLauncher
this.Load += new System.EventHandler(this.MainFormLoad);
this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.panel4.ResumeLayout(false);
this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout();
@ -1461,10 +1439,6 @@ namespace NovetusLauncher
this.tabPage5.ResumeLayout(false);
this.panel5.ResumeLayout(false);
this.panel5.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.panel4.ResumeLayout(false);
this.ResumeLayout(false);
}
@ -1531,7 +1505,6 @@ namespace NovetusLauncher
private System.Windows.Forms.NumericUpDown numericUpDown3;
private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.NumericUpDown numericUpDown1;
private System.Windows.Forms.Button button21;
private System.Windows.Forms.Label label29;
private System.Windows.Forms.RichTextBox richTextBox2;
private System.Windows.Forms.TabPage tabPage8;
@ -1612,7 +1585,6 @@ namespace NovetusLauncher
private System.Windows.Forms.Panel panel3;
private System.Windows.Forms.Panel panel4;
private System.Windows.Forms.RichTextBox richTextBox3;
private System.Windows.Forms.Button button35;
private System.Windows.Forms.Label label24;
private System.Windows.Forms.Label label23;
private System.Windows.Forms.Panel panel5;

View File

@ -60,11 +60,6 @@ namespace NovetusLauncher
launcherForm.StartGame(ScriptType.Solo);
}
private void button35_Click(object sender, EventArgs e)
{
launcherForm.StartGame(ScriptType.Studio, false, true);
}
void MainFormLoad(object sender, EventArgs e)
{
launcherForm.InitForm();
@ -184,11 +179,6 @@ namespace NovetusLauncher
launcherForm.ProcessConsole(e);
}
void Button21Click(object sender, EventArgs e)
{
launcherForm.InstallRegServer();
}
void NumericUpDown1ValueChanged(object sender, EventArgs e)
{
launcherForm.ChangeJoinPort();

View File

@ -117,17 +117,6 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="label4.Text" xml:space="preserve">
<value>NOTE:
- If you have a problem where you can't see your character, REGENERATE YOUR PLAYER ID THEN REJOIN THE SERVER.
- If you tried to connect to the server and you get an error, REJOIN THE SERVER.
- To reset your character, type !!!reset into chat.
- Your tripcode will only be seen by you and the server host of any server you join. It is used to verify that you are a unique player.
</value>
</data>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
@ -136,7 +125,7 @@
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB0
CQAAAk1TRnQBSQFMAgEBAgEAAVgBAAFYAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
CQAAAk1TRnQBSQFMAgEBAgEAAXABAAFwAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
@ -177,6 +166,17 @@
AT8EAAL/AfABBwQAAf8BxwHAAQMEAAH/AYMBxAEhBAAB/wEDAYgBAQQAAfgBBwGRAQcEAAHgAQ8BkwHP
BAAB4gEfARIBAQQAAecBHwESAQEEAAHnAZ8BkwEZBAAB5wEfAZABCQQAAeABPwGIAQEEAAHwAX8BxgFB
BAAC/wHAAQEEAAL/AfABGQQAA/8B+QQACw==
</value>
</data>
<data name="label4.Text" xml:space="preserve">
<value>NOTE:
- If you have a problem where you can't see your character, REGENERATE YOUR PLAYER ID THEN REJOIN THE SERVER.
- If you tried to connect to the server and you get an error, REJOIN THE SERVER.
- To reset your character, type !!!reset into chat.
- Your tripcode will only be seen by you and the server host of any server you join. It is used to verify that you are a unique player.
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

View File

@ -355,28 +355,19 @@ namespace NovetusLauncher
{
if (gameType == ScriptType.Studio)
{
if (FormStyle == Settings.Style.Extended)
{
DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in Novetus's map folder, then launch your place in Play Solo.", "Novetus - Launch ROBLOX Studio", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
if (result == DialogResult.Cancel)
return;
}
else
{
DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in Novetus's map folder, then launch your place in Play Solo." + Environment.NewLine + Environment.NewLine + "Press Yes to launch Studio with a map, or No to launch Studio without a map.", "Novetus - Launch ROBLOX Studio", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Information);
bool nomapLegacy = false;
DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in Novetus's map folder, then launch your place in Play Solo." + Environment.NewLine + Environment.NewLine + "Press Yes to launch Studio with a map, or No to launch Studio without a map.", "Novetus - Launch ROBLOX Studio", MessageBoxButtons.YesNoCancel, MessageBoxIcon.Information);
bool nomapLegacy = false;
switch (result)
{
case DialogResult.Cancel:
return;
case DialogResult.No:
nomapLegacy = true;
nomap = nomapLegacy;
break;
default:
break;
}
switch (result)
{
case DialogResult.Cancel:
return;
case DialogResult.No:
nomapLegacy = true;
nomap = nomapLegacy;
break;
default:
break;
}
}
@ -829,7 +820,14 @@ namespace NovetusLauncher
if (!string.IsNullOrWhiteSpace(addon.getInstallOutcome()))
{
MessageBox.Show(addon.getInstallOutcome(), "Novetus - Addon Installed", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBoxIcon boxicon = MessageBoxIcon.Information;
if (addon.getInstallOutcome().Contains("Error"))
{
boxicon = MessageBoxIcon.Error;
}
MessageBox.Show(addon.getInstallOutcome(), "Novetus - Addon Installed", MessageBoxButtons.OK, boxicon);
}
}
@ -910,44 +908,6 @@ namespace NovetusLauncher
}
}
public void InstallRegServer()
{
if (SecurityFuncs.IsElevated)
{
try
{
Process process = new Process();
ProcessStartInfo startInfo = new ProcessStartInfo();
startInfo.FileName = GlobalPaths.ClientDir + @"\\" + GlobalVars.ProgramInformation.RegisterClient1 + @"\\RobloxApp_studio.exe";
startInfo.Arguments = "/regserver";
startInfo.Verb = "runas";
process.StartInfo = startInfo;
process.Start();
Process process2 = new Process();
ProcessStartInfo startInfo2 = new ProcessStartInfo();
startInfo2.FileName = GlobalPaths.ClientDir + @"\\" + GlobalVars.ProgramInformation.RegisterClient2 + @"\\RobloxApp_studio.exe";
startInfo2.Arguments = "/regserver";
startInfo2.Verb = "runas";
process2.StartInfo = startInfo2;
process2.Start();
GlobalFuncs.ConsolePrint("UserAgent Library successfully installed and registered!", 3, ConsoleBox);
MessageBox.Show("UserAgent Library successfully installed and registered!", "Novetus - Register UserAgent Library", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
GlobalFuncs.ConsolePrint("ERROR - Failed to register. (" + ex.Message + ")", 2, ConsoleBox);
MessageBox.Show("Failed to register. (Error: " + ex.Message + ")", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
else
{
GlobalFuncs.ConsolePrint("ERROR - Failed to register. (Did not run as Administrator)", 2, ConsoleBox);
MessageBox.Show("Failed to register. (Error: Did not run as Administrator)", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public void AddIPPortListing(ListBox box, string file, object val)
{
File.AppendAllText(file, val + Environment.NewLine);

View File

@ -81,7 +81,14 @@ public partial class ItemCreationSDK : Form
if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome()))
{
MessageBox.Show(icon.getInstallOutcome(), "Novetus Item Creation SDK - Icon Copy Completed", MessageBoxButtons.OK, MessageBoxIcon.Information);
MessageBoxIcon boxicon = MessageBoxIcon.Information;
if (icon.getInstallOutcome().Contains("Error"))
{
boxicon = MessageBoxIcon.Error;
}
MessageBox.Show(icon.getInstallOutcome(), "Novetus Item Creation SDK - Icon Copy Completed", MessageBoxButtons.OK, boxicon);
}
Image icon1 = GlobalFuncs.LoadImage(icon.ItemDir + "\\" + icon.ItemName.Replace(" ", "") + ".png", "");

View File

@ -1,4 +1,5 @@
#region Usings
using Microsoft.Win32;
using System;
using System.IO;
using System.Windows.Forms;
@ -18,7 +19,9 @@ namespace NovetusURI
URIReg novURI = new URIReg("novetus", "url.novetus");
novURI.Register();
MessageBox.Show("URI successfully installed and registered!", "Novetus - Install URI", MessageBoxButtons.OK, MessageBoxIcon.Information);
InstallRegServer();
MessageBox.Show("URI and UserAgent successfully installed and registered!", "Novetus - Install URI", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
catch (Exception ex)
{
@ -33,6 +36,44 @@ namespace NovetusURI
}
}
public static void InstallRegServer()
{
if (SecurityFuncs.IsElevated)
{
try
{
using (RegistryKey key = Registry.ClassesRoot.OpenSubKey("TypeLib", true))
{
if (key != null)
{
RegistryKey UARootKey = key.CreateSubKey("{03E1C8ED-C1C6-47BF-B9B9-A37B677318DD}");
RegistryKey UAKey12 = UARootKey.CreateSubKey("1.2");
UAKey12.SetValue("", "Roblox 1.2 Type Library");
RegistryKey UAKey12Win32 = UAKey12.CreateSubKey("0").CreateSubKey("win32");
string client1Path = GlobalPaths.ClientDir + @"\\" + GlobalVars.ProgramInformation.RegisterClient1;
string fixedpath1 = client1Path.Replace(@"\\", @"\");
UAKey12Win32.SetValue("", fixedpath1 + @"\RobloxApp_studio.exe");
UAKey12.CreateSubKey("FLAGS").SetValue("", "0");
UAKey12.CreateSubKey("HELPDIR").SetValue("", fixedpath1 + @"\");
RegistryKey UAKey13 = UARootKey.CreateSubKey("1.3");
UAKey13.SetValue("", "Roblox 1.3 Type Library");
RegistryKey UAKey13Win32 = UAKey13.CreateSubKey("0").CreateSubKey("win32");
string client2Path = GlobalPaths.ClientDir + @"\\" + GlobalVars.ProgramInformation.RegisterClient2;
string fixedpath2 = client2Path.Replace(@"\\", @"\");
UAKey13Win32.SetValue("", fixedpath2 + @"\RobloxApp_studio.exe");
UAKey13.CreateSubKey("FLAGS").SetValue("", "0");
UAKey13.CreateSubKey("HELPDIR").SetValue("", fixedpath2 + @"\");
}
}
}
catch (Exception)
{
}
}
}
public static void SetupURIValues()
{
string ExtractedArg = LocalVars.SharedArgs.Replace("novetus://", "").Replace("novetus", "").Replace(":", "").Replace("/", "").Replace("?", "");

View File

@ -30,29 +30,44 @@
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(InstallForm));
this.button1 = new System.Windows.Forms.Button();
this.pictureBox1 = new System.Windows.Forms.PictureBox();
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
this.SuspendLayout();
//
// button1
//
this.button1.Location = new System.Drawing.Point(13, 13);
this.button1.Location = new System.Drawing.Point(13, 104);
this.button1.Name = "button1";
this.button1.Size = new System.Drawing.Size(223, 23);
this.button1.Size = new System.Drawing.Size(423, 23);
this.button1.TabIndex = 0;
this.button1.Text = "Install URI";
this.button1.Text = "Install URI and UserAgent";
this.button1.UseVisualStyleBackColor = true;
this.button1.Click += new System.EventHandler(this.button1_Click);
//
// pictureBox1
//
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
this.pictureBox1.Location = new System.Drawing.Point(13, 13);
this.pictureBox1.Name = "pictureBox1";
this.pictureBox1.Size = new System.Drawing.Size(423, 85);
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
this.pictureBox1.TabIndex = 1;
this.pictureBox1.TabStop = false;
//
// InstallForm
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(248, 45);
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.ClientSize = new System.Drawing.Size(448, 136);
this.Controls.Add(this.pictureBox1);
this.Controls.Add(this.button1);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedSingle;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Name = "InstallForm";
this.Text = "Novetus URI Installer";
this.Load += new System.EventHandler(this.InstallForm_Load);
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
this.ResumeLayout(false);
}
@ -60,6 +75,7 @@
#endregion
private System.Windows.Forms.Button button1;
private System.Windows.Forms.PictureBox pictureBox1;
}
}

View File

@ -18,6 +18,8 @@ namespace NovetusURI
#region Form Events
private void InstallForm_Load(object sender, EventArgs e)
{
GlobalFuncs.ReadInfoFile(GlobalPaths.ConfigDir + "\\" + GlobalPaths.InfoName, true,
GlobalPaths.RootPathLauncher + "\\Novetus.exe");
CenterToScreen();
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 668 KiB

View File

@ -22,6 +22,12 @@ Changes from 1.3 Pre-Release 3:
- Updated mesh converter to a modified version of Coke's Obj2RBXMesh converter (https://github.com/Novetus/ObjToRBXMesh) to the Asset SDK.
- Added better mesh version selection to the Asset SDK.
- Added more detailed mesh conversion messages to the Asset SDK.
- Fixed copying issues caused by Icon Loaders.
- Using the Bootstrapper in admin mode will now launch all other applications in admin mode.
- Fixed errors when registering the User Agent.
- Icon Loader and Addon Loader errors will now properly show up as errors.
- Moved the UserAgent installer over to Novetus URI.
- Streamlined the launcher designs more.
- Added more items (full list at end of changelog)
Changes from 1.2.4.1:
- The OBJ2MeshV1GUI, The Asset Localizer, and the Item SDK have been merged to form the Asset SDK!

View File

@ -3,7 +3,7 @@ Branch=1.3
DefaultClient=2009E
DefaultMap=Dev - Baseplate2048.rbxl
UserAgentRegisterClient1=2007M
UserAgentRegisterClient2=2009L
UserAgentRegisterClient2=2010L
ExtendedVersionNumber=True
ExtendedVersionEditChangelog=True
ExtendedVersionTemplate=%version% v10.2021.%extended-revision%