icons, better messages, map loading

This commit is contained in:
Bitl 2021-07-30 13:00:53 -07:00
parent c09c373046
commit f105533c64
26 changed files with 387 additions and 171 deletions

View File

@ -994,7 +994,7 @@ public partial class CharacterCustomizationCompact : Form
if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome())) if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome()))
{ {
MessageBox.Show(icon.getInstallOutcome()); MessageBox.Show(icon.getInstallOutcome(), "Novetus - Icon Installed", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
Image icon1 = GlobalFuncs.LoadImage(GlobalPaths.extradirIcons + "\\" + GlobalVars.UserConfiguration.PlayerName + ".png", GlobalPaths.extradir + "\\NoExtra.png"); Image icon1 = GlobalFuncs.LoadImage(GlobalPaths.extradirIcons + "\\" + GlobalVars.UserConfiguration.PlayerName + ".png", GlobalPaths.extradir + "\\NoExtra.png");
@ -1010,7 +1010,7 @@ public partial class CharacterCustomizationCompact : Form
private void button71_Click(object sender, EventArgs e) private void button71_Click(object sender, EventArgs e)
{ {
GlobalFuncs.Customization(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigNameCustomization, true); GlobalFuncs.Customization(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigNameCustomization, true);
MessageBox.Show("Outfit Saved!"); MessageBox.Show("Outfit Saved!", "Novetus - Outfit Saved", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
void TextBox1TextChanged(object sender, EventArgs e) void TextBox1TextChanged(object sender, EventArgs e)

View File

@ -997,7 +997,7 @@ public partial class CharacterCustomizationExtended : Form
if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome())) if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome()))
{ {
MessageBox.Show(icon.getInstallOutcome()); MessageBox.Show(icon.getInstallOutcome(), "Novetus - Icon Installed", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
Image icon1 = GlobalFuncs.LoadImage(GlobalPaths.extradirIcons + "\\" + GlobalVars.UserConfiguration.PlayerName + ".png", GlobalPaths.extradir + "\\NoExtra.png"); Image icon1 = GlobalFuncs.LoadImage(GlobalPaths.extradirIcons + "\\" + GlobalVars.UserConfiguration.PlayerName + ".png", GlobalPaths.extradir + "\\NoExtra.png");
@ -1075,7 +1075,7 @@ public partial class CharacterCustomizationExtended : Form
private void button71_Click(object sender, EventArgs e) private void button71_Click(object sender, EventArgs e)
{ {
GlobalFuncs.Customization(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigNameCustomization, true); GlobalFuncs.Customization(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ConfigNameCustomization, true);
MessageBox.Show("Outfit Saved!"); MessageBox.Show("Outfit Saved!", "Novetus - Outfit Saved", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
void TextBox1TextChanged(object sender, EventArgs e) void TextBox1TextChanged(object sender, EventArgs e)

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -559,10 +559,21 @@ public class GlobalFuncs
ChangeGameSettings(ClientName); ChangeGameSettings(ClientName);
} }
public static void FixedFileCopy(string src, string dest, bool overwrite) public static void FixedFileCopy(string src, string dest, bool overwrite, bool overwritewarning = false)
{ {
if (File.Exists(dest)) if (File.Exists(dest))
{ {
if (overwrite && overwritewarning)
{
DialogResult box = MessageBox.Show("A file with a similar name was detected in the directory as '" + dest +
"'.\n\nWould you like to override it?", "Novetus - Override Warning", MessageBoxButtons.YesNo, MessageBoxIcon.Warning);
if (box == DialogResult.No)
{
return;
}
}
File.SetAttributes(dest, FileAttributes.Normal); File.SetAttributes(dest, FileAttributes.Normal);
} }

View File

@ -19,6 +19,7 @@ public class GlobalPaths
public static readonly string ConfigDirData = BasePathLauncher + @"\\data"; public static readonly string ConfigDirData = BasePathLauncher + @"\\data";
public static readonly string ClientDir = BasePath + @"\\clients"; public static readonly string ClientDir = BasePath + @"\\clients";
public static readonly string MapsDir = BasePath + @"\\maps"; public static readonly string MapsDir = BasePath + @"\\maps";
public static readonly string MapsDirCustom = MapsDir + @"\\Custom";
public static readonly string MapsDirBase = "maps"; public static readonly string MapsDirBase = "maps";
public static readonly string BaseGameDir = "rbxasset://../../../"; public static readonly string BaseGameDir = "rbxasset://../../../";
public static readonly string AltBaseGameDir = "rbxasset://"; public static readonly string AltBaseGameDir = "rbxasset://";

View File

@ -372,7 +372,7 @@ public class ScriptFuncs
if (compiled.Contains("%disabled%")) if (compiled.Contains("%disabled%"))
{ {
MessageBox.Show("This option has been disabled for this client."); MessageBox.Show("This option has been disabled for this client.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
return ""; return "";
} }

View File

@ -40,7 +40,7 @@ class SDKFuncs
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset Localizer", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
} }
@ -156,7 +156,7 @@ class SDKFuncs
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset Localizer", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
finally finally
{ {
@ -206,7 +206,7 @@ class SDKFuncs
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset Localizer", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
finally finally
{ {
@ -238,7 +238,7 @@ class SDKFuncs
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset Localizer", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("The download has experienced an error: " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
finally finally
{ {
@ -798,7 +798,7 @@ class SDKFuncs
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("Error: Unable to localize the asset. " + ex.Message, "Novetus Asset Localizer", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("Error: Unable to localize the asset. " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
#endregion #endregion
@ -1069,7 +1069,7 @@ class SDKFuncs
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("The Item Creation SDK has experienced an error: " + ex.Message, "Novetus Item Creation SDK", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("The Item Creation SDK has experienced an error: " + ex.Message, "Novetus Item Creation SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
success = false; success = false;
} }
finally finally
@ -1111,12 +1111,12 @@ class SDKFuncs
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("Error: Unable to download the file. " + ex.Message, "Novetus Item SDK | Error", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("Error: Unable to download the file. " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
if (!string.IsNullOrWhiteSpace(download.getDownloadOutcome())) if (!string.IsNullOrWhiteSpace(download.getDownloadOutcome()))
{ {
MessageBox.Show(download.getDownloadOutcome(), "Novetus Item SDK", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show(download.getDownloadOutcome(), "Novetus Asset SDK - Download Completed", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
} }
else else
@ -1126,13 +1126,13 @@ class SDKFuncs
if (!GlobalVars.UserConfiguration.DisabledItemMakerHelp) if (!GlobalVars.UserConfiguration.DisabledItemMakerHelp)
{ {
string helptext = "In order for the item to work in Novetus, you'll need to find an icon for your item (it must be a .png file), then name it the same name as your item.\n\nIf you want to create a local (offline) item, you'll have to download the meshes/textures from the links in the rbxm file, then replace the links in the file pointing to where they are using rbxasset://. Look at the directory in the 'shareddata/charcustom' folder that best suits your item type, then look at the rbxm for any one of the items. If you get a corrupted file, change the URL using the drop down box.\n\nIf you're trying to create a offline item, please use these file extension names when saving your files:\n.rbxm - ROBLOX Model/Item\n.mesh - ROBLOX Mesh\n.png - Texture/Icon\n.wav - Sound"; string helptext = "In order for the item to work in Novetus, you'll need to find an icon for your item (it must be a .png file), then name it the same name as your item.\n\nIf you want to create a local (offline) item, you'll have to download the meshes/textures from the links in the rbxm file, then replace the links in the file pointing to where they are using rbxasset://. Look at the directory in the 'shareddata/charcustom' folder that best suits your item type, then look at the rbxm for any one of the items. If you get a corrupted file, change the URL using the drop down box.\n\nIf you're trying to create a offline item, please use these file extension names when saving your files:\n.rbxm - ROBLOX Model/Item\n.mesh - ROBLOX Mesh\n.png - Texture/Icon\n.wav - Sound";
MessageBox.Show(helptext, "Novetus Item SDK", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show(helptext, "Novetus Asset SDK - Help", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
} }
} }
catch (Exception) catch (Exception)
{ {
MessageBox.Show("Error: Unable to download the file. Try using a different file name or ID.", "Novetus Item SDK | Error", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("Error: Unable to download the file. Try using a different file name or ID.", "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }

View File

@ -223,7 +223,7 @@ namespace NovetusLauncher
if (!hasFoundDir) if (!hasFoundDir)
{ {
MessageBox.Show("This client does not support setting adjustment through the Novetus Launcher.\nTry opening this client in ROBLOX Studio and adjust it through the settings in Tools -> Settings."); MessageBox.Show("This client does not support setting adjustment through the Novetus Launcher.\nTry opening this client in ROBLOX Studio and adjust it through the settings in Tools -> Settings.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
Close(); Close();
} }
} }
@ -244,7 +244,7 @@ namespace NovetusLauncher
if (GraphicsLevel.Value > 19 && (info.ClientLoadOptions != Settings.GraphicsOptions.ClientLoadOptions.Client_2008AndUp_ForceAutomaticQL21 || if (GraphicsLevel.Value > 19 && (info.ClientLoadOptions != Settings.GraphicsOptions.ClientLoadOptions.Client_2008AndUp_ForceAutomaticQL21 ||
info.ClientLoadOptions != Settings.GraphicsOptions.ClientLoadOptions.Client_2008AndUp_QualityLevel21)) info.ClientLoadOptions != Settings.GraphicsOptions.ClientLoadOptions.Client_2008AndUp_QualityLevel21))
{ {
MessageBox.Show("This client does not support quality levels above 19."); MessageBox.Show("This client does not support quality levels above 19.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
@ -326,7 +326,7 @@ namespace NovetusLauncher
private void Styles2007Info_Click(object sender, EventArgs e) private void Styles2007Info_Click(object sender, EventArgs e)
{ {
MessageBox.Show("Make sure you place the styles you want in the Styles folder in " + GlobalPaths.ClientDir.Replace(@"\\", @"\") + @"\" + ClientName + @"\Styles." + Environment.NewLine + "If the files are not placed in this directory, they will not be loaded properly.\nThis client will accept .msstyles and .cjstyles files."); MessageBox.Show("Make sure you place the styles you want in the Styles folder in " + GlobalPaths.ClientDir.Replace(@"\\", @"\") + @"\" + ClientName + @"\Styles." + Environment.NewLine + "If the files are not placed in this directory, they will not be loaded properly.\nThis client will accept .msstyles and .cjstyles files.", "Novetus - Styles Help", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
private void GraphicsShadows2007_SelectedIndexChanged(object sender, EventArgs e) private void GraphicsShadows2007_SelectedIndexChanged(object sender, EventArgs e)

View File

@ -41,6 +41,7 @@ namespace NovetusLauncher
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormCompact)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormCompact));
this.tabControl1 = new System.Windows.Forms.TabControl(); this.tabControl1 = new System.Windows.Forms.TabControl();
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage1 = new System.Windows.Forms.TabPage();
@ -80,10 +81,8 @@ namespace NovetusLauncher
this.label30 = new System.Windows.Forms.Label(); this.label30 = new System.Windows.Forms.Label();
this.listBox2 = new System.Windows.Forms.ListBox(); this.listBox2 = new System.Windows.Forms.ListBox();
this.tabPage4 = new System.Windows.Forms.TabPage(); this.tabPage4 = new System.Windows.Forms.TabPage();
this.SearchButton = new System.Windows.Forms.Button();
this.SearchBar = new System.Windows.Forms.TextBox(); this.SearchBar = new System.Windows.Forms.TextBox();
this.textBox4 = new System.Windows.Forms.TextBox(); this.textBox4 = new System.Windows.Forms.TextBox();
this.button24 = new System.Windows.Forms.Button();
this.treeView1 = new System.Windows.Forms.TreeView(); this.treeView1 = new System.Windows.Forms.TreeView();
this.button6 = new System.Windows.Forms.Button(); this.button6 = new System.Windows.Forms.Button();
this.tabPage6 = new System.Windows.Forms.TabPage(); this.tabPage6 = new System.Windows.Forms.TabPage();
@ -128,7 +127,6 @@ namespace NovetusLauncher
this.label13 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox();
this.button4 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.button8 = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button();
this.label25 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label();
@ -161,6 +159,11 @@ namespace NovetusLauncher
this.panel3 = new System.Windows.Forms.Panel(); this.panel3 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel(); this.panel4 = new System.Windows.Forms.Panel();
this.button35 = new System.Windows.Forms.Button(); this.button35 = new System.Windows.Forms.Button();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.button23 = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.SearchButton = new System.Windows.Forms.Button();
this.button24 = new System.Windows.Forms.Button();
this.tabControl1.SuspendLayout(); this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout(); this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
@ -406,8 +409,8 @@ namespace NovetusLauncher
this.textBox8.Name = "textBox8"; this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(100, 20); this.textBox8.Size = new System.Drawing.Size(100, 20);
this.textBox8.TabIndex = 83; this.textBox8.TabIndex = 83;
this.textBox8.TextChanged += new System.EventHandler(this.textBox8_TextChanged);
this.textBox8.Click += new System.EventHandler(this.textBox8_Click); this.textBox8.Click += new System.EventHandler(this.textBox8_Click);
this.textBox8.TextChanged += new System.EventHandler(this.textBox8_TextChanged);
// //
// label17 // label17
// //
@ -630,6 +633,7 @@ namespace NovetusLauncher
// //
// tabPage4 // tabPage4
// //
this.tabPage4.Controls.Add(this.button23);
this.tabPage4.Controls.Add(this.SearchButton); this.tabPage4.Controls.Add(this.SearchButton);
this.tabPage4.Controls.Add(this.SearchBar); this.tabPage4.Controls.Add(this.SearchBar);
this.tabPage4.Controls.Add(this.textBox4); this.tabPage4.Controls.Add(this.textBox4);
@ -643,21 +647,11 @@ namespace NovetusLauncher
this.tabPage4.Text = "MAPS"; this.tabPage4.Text = "MAPS";
this.tabPage4.UseVisualStyleBackColor = true; this.tabPage4.UseVisualStyleBackColor = true;
// //
// SearchButton
//
this.SearchButton.Location = new System.Drawing.Point(164, 3);
this.SearchButton.Name = "SearchButton";
this.SearchButton.Size = new System.Drawing.Size(49, 23);
this.SearchButton.TabIndex = 69;
this.SearchButton.Text = "Search";
this.SearchButton.UseVisualStyleBackColor = true;
this.SearchButton.Click += new System.EventHandler(this.SearchButton_Click);
//
// SearchBar // SearchBar
// //
this.SearchBar.Location = new System.Drawing.Point(7, 5); this.SearchBar.Location = new System.Drawing.Point(7, 5);
this.SearchBar.Name = "SearchBar"; this.SearchBar.Name = "SearchBar";
this.SearchBar.Size = new System.Drawing.Size(151, 20); this.SearchBar.Size = new System.Drawing.Size(125, 20);
this.SearchBar.TabIndex = 68; this.SearchBar.TabIndex = 68;
// //
// textBox4 // textBox4
@ -671,16 +665,6 @@ namespace NovetusLauncher
this.textBox4.Size = new System.Drawing.Size(392, 110); this.textBox4.Size = new System.Drawing.Size(392, 110);
this.textBox4.TabIndex = 67; this.textBox4.TabIndex = 67;
// //
// button24
//
this.button24.Location = new System.Drawing.Point(216, 3);
this.button24.Name = "button24";
this.button24.Size = new System.Drawing.Size(76, 23);
this.button24.TabIndex = 59;
this.button24.Text = "Refresh List";
this.button24.UseVisualStyleBackColor = true;
this.button24.Click += new System.EventHandler(this.Button24Click);
//
// treeView1 // treeView1
// //
this.treeView1.HideSelection = false; this.treeView1.HideSelection = false;
@ -693,9 +677,9 @@ namespace NovetusLauncher
// button6 // button6
// //
this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.Location = new System.Drawing.Point(294, 3); this.button6.Location = new System.Drawing.Point(297, 3);
this.button6.Name = "button6"; this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(105, 23); this.button6.Size = new System.Drawing.Size(102, 23);
this.button6.TabIndex = 56; this.button6.TabIndex = 56;
this.button6.Text = "Open Maps Folder"; this.button6.Text = "Open Maps Folder";
this.button6.UseVisualStyleBackColor = true; this.button6.UseVisualStyleBackColor = true;
@ -1156,16 +1140,6 @@ namespace NovetusLauncher
this.button4.UseVisualStyleBackColor = true; this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.Button4Click); this.button4.Click += new System.EventHandler(this.Button4Click);
// //
// pictureBox2
//
this.pictureBox2.BackgroundImage = global::NovetusLauncher.Properties.Resources.N;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBox2.Location = new System.Drawing.Point(6, 12);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 41);
this.pictureBox2.TabIndex = 7;
this.pictureBox2.TabStop = false;
//
// button8 // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -1410,6 +1384,55 @@ namespace NovetusLauncher
this.button35.Size = new System.Drawing.Size(75, 23); this.button35.Size = new System.Drawing.Size(75, 23);
this.button35.TabIndex = 0; this.button35.TabIndex = 0;
// //
// 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");
//
// button23
//
this.button23.Location = new System.Drawing.Point(219, 3);
this.button23.Name = "button23";
this.button23.Size = new System.Drawing.Size(75, 23);
this.button23.TabIndex = 70;
this.button23.Text = "Add Map...";
this.button23.UseVisualStyleBackColor = true;
this.button23.Click += new System.EventHandler(this.button23_Click);
//
// pictureBox2
//
this.pictureBox2.BackgroundImage = global::NovetusLauncher.Properties.Resources.N;
this.pictureBox2.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
this.pictureBox2.Location = new System.Drawing.Point(6, 12);
this.pictureBox2.Name = "pictureBox2";
this.pictureBox2.Size = new System.Drawing.Size(43, 41);
this.pictureBox2.TabIndex = 7;
this.pictureBox2.TabStop = false;
//
// SearchButton
//
this.SearchButton.ImageKey = "search.png";
this.SearchButton.ImageList = this.imageList1;
this.SearchButton.Location = new System.Drawing.Point(141, 3);
this.SearchButton.Name = "SearchButton";
this.SearchButton.Size = new System.Drawing.Size(26, 23);
this.SearchButton.TabIndex = 69;
this.SearchButton.UseVisualStyleBackColor = true;
this.SearchButton.Click += new System.EventHandler(this.SearchButton_Click);
//
// button24
//
this.button24.ImageKey = "refresh.png";
this.button24.ImageList = this.imageList1;
this.button24.Location = new System.Drawing.Point(173, 3);
this.button24.Name = "button24";
this.button24.Size = new System.Drawing.Size(24, 23);
this.button24.TabIndex = 59;
this.button24.UseVisualStyleBackColor = true;
this.button24.Click += new System.EventHandler(this.Button24Click);
//
// LauncherFormCompact // LauncherFormCompact
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -1637,5 +1660,7 @@ namespace NovetusLauncher
private System.Windows.Forms.TextBox textBox7; private System.Windows.Forms.TextBox textBox7;
private System.Windows.Forms.Label label9; private System.Windows.Forms.Label label9;
private System.Windows.Forms.Label label20; private System.Windows.Forms.Label label20;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.Button button23;
} }
} }

View File

@ -308,6 +308,11 @@ namespace NovetusLauncher
launcherForm.ShowMasterServerWarning(); launcherForm.ShowMasterServerWarning();
} }
#endregion #endregion
private void button23_Click(object sender, EventArgs e)
{
launcherForm.AddNewMap();
}
} }
#endregion #endregion
} }

View File

@ -126,6 +126,57 @@
</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>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB0
CQAAAk1TRnQBSQFMAgEBAgEAARABAAEQAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm
AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM
AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA
ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz
AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ
AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwH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AB9AHsARIB7AHyCQAB7AHq
Af8CAAL/AQAB9AFtAREBvAERMwAB/wHsAREB7wHyAfMB8AHsAQ4BkgH3AQ4BETUAAfEB7AEVAREB6gHv
AfQCAAH3ARE+AAH/AQchAAFCAU0BPgcAAT4DAAEoAwABQAMAARADAAEBAQABAQUAAYAXAAP/AQAC/wH+
AT8EAAL/AfABBwQAAf8BxwHAAQMEAAH/AYMBxAEhBAAB/wEDAYgBAQQAAfgBBwGRAQcEAAHgAQ8BkwHP
BAAB4gEfARIBAQQAAecBHwESAQEEAAHnAZ8BkwEZBAAB5wEfAZABCQQAAeABPwGIAQEEAAHwAX8BxgFB
BAAC/wHAAQEEAAL/AfABGQQAA/8B+QQACw==
</value> </value>
</data> </data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" /> <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

View File

@ -134,7 +134,7 @@ namespace NovetusLauncher
} }
else else
{ {
MessageBox.Show("You do not have the 'Custom' option selected. Please select it before continuing."); MessageBox.Show("You do not have the 'Custom' option selected. Please select it before continuing.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
#endregion #endregion

View File

@ -41,6 +41,7 @@ namespace NovetusLauncher
private void InitializeComponent() private void InitializeComponent()
{ {
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormExtended)); System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LauncherFormExtended));
this.button25 = new System.Windows.Forms.Button(); this.button25 = new System.Windows.Forms.Button();
this.button21 = new System.Windows.Forms.Button(); this.button21 = new System.Windows.Forms.Button();
@ -49,7 +50,6 @@ namespace NovetusLauncher
this.label13 = new System.Windows.Forms.Label(); this.label13 = new System.Windows.Forms.Label();
this.textBox2 = new System.Windows.Forms.TextBox(); this.textBox2 = new System.Windows.Forms.TextBox();
this.button4 = new System.Windows.Forms.Button(); this.button4 = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.button8 = new System.Windows.Forms.Button(); this.button8 = new System.Windows.Forms.Button();
this.button3 = new System.Windows.Forms.Button(); this.button3 = new System.Windows.Forms.Button();
this.label25 = new System.Windows.Forms.Label(); this.label25 = new System.Windows.Forms.Label();
@ -70,11 +70,6 @@ namespace NovetusLauncher
this.button28 = new System.Windows.Forms.Button(); this.button28 = new System.Windows.Forms.Button();
this.button34 = new System.Windows.Forms.Button(); this.button34 = new System.Windows.Forms.Button();
this.panel2 = new System.Windows.Forms.Panel(); this.panel2 = new System.Windows.Forms.Panel();
this.SettingsButton = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.button35 = new System.Windows.Forms.Button();
this.UAButton = new System.Windows.Forms.Button();
this.tabControl1 = new TabControlWithoutHeader(); this.tabControl1 = new TabControlWithoutHeader();
this.tabPage1 = new System.Windows.Forms.TabPage(); this.tabPage1 = new System.Windows.Forms.TabPage();
this.button37 = new System.Windows.Forms.Button(); this.button37 = new System.Windows.Forms.Button();
@ -161,11 +156,16 @@ namespace NovetusLauncher
this.label18 = new System.Windows.Forms.Label(); this.label18 = new System.Windows.Forms.Label();
this.label8 = new System.Windows.Forms.Label(); this.label8 = new System.Windows.Forms.Label();
this.label7 = new System.Windows.Forms.Label(); this.label7 = new System.Windows.Forms.Label();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit(); this.SettingsButton = new System.Windows.Forms.Button();
this.panel3 = new System.Windows.Forms.Panel();
this.panel4 = new System.Windows.Forms.Panel();
this.button35 = new System.Windows.Forms.Button();
this.UAButton = new System.Windows.Forms.Button();
this.pictureBox2 = new System.Windows.Forms.PictureBox();
this.imageList1 = new System.Windows.Forms.ImageList(this.components);
this.button23 = new System.Windows.Forms.Button();
this.panel1.SuspendLayout(); this.panel1.SuspendLayout();
this.panel2.SuspendLayout(); this.panel2.SuspendLayout();
this.panel3.SuspendLayout();
this.panel4.SuspendLayout();
this.tabControl1.SuspendLayout(); this.tabControl1.SuspendLayout();
this.tabPage1.SuspendLayout(); this.tabPage1.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit(); ((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
@ -179,6 +179,9 @@ namespace NovetusLauncher
this.tabPage8.SuspendLayout(); this.tabPage8.SuspendLayout();
this.tabPage5.SuspendLayout(); this.tabPage5.SuspendLayout();
this.panel5.SuspendLayout(); this.panel5.SuspendLayout();
this.panel3.SuspendLayout();
this.panel4.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
this.SuspendLayout(); this.SuspendLayout();
// //
// button25 // button25
@ -251,16 +254,6 @@ namespace NovetusLauncher
this.button4.UseVisualStyleBackColor = true; this.button4.UseVisualStyleBackColor = true;
this.button4.Click += new System.EventHandler(this.Button4Click); this.button4.Click += new System.EventHandler(this.Button4Click);
// //
// 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;
//
// button8 // 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.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
@ -469,61 +462,6 @@ namespace NovetusLauncher
this.panel2.Size = new System.Drawing.Size(646, 311); this.panel2.Size = new System.Drawing.Size(646, 311);
this.panel2.TabIndex = 61; this.panel2.TabIndex = 61;
// //
// 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;
//
// 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;
//
// tabControl1 // tabControl1
// //
this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom; this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
@ -742,8 +680,8 @@ namespace NovetusLauncher
this.textBox8.Name = "textBox8"; this.textBox8.Name = "textBox8";
this.textBox8.Size = new System.Drawing.Size(100, 20); this.textBox8.Size = new System.Drawing.Size(100, 20);
this.textBox8.TabIndex = 68; this.textBox8.TabIndex = 68;
this.textBox8.TextChanged += new System.EventHandler(this.textBox8_TextChanged);
this.textBox8.Click += new System.EventHandler(this.textBox8_Click); this.textBox8.Click += new System.EventHandler(this.textBox8_Click);
this.textBox8.TextChanged += new System.EventHandler(this.textBox8_TextChanged);
// //
// label17 // label17
// //
@ -971,6 +909,7 @@ namespace NovetusLauncher
// //
// tabPage4 // tabPage4
// //
this.tabPage4.Controls.Add(this.button23);
this.tabPage4.Controls.Add(this.SearchButton); this.tabPage4.Controls.Add(this.SearchButton);
this.tabPage4.Controls.Add(this.SearchBar); this.tabPage4.Controls.Add(this.SearchBar);
this.tabPage4.Controls.Add(this.textBox4); this.tabPage4.Controls.Add(this.textBox4);
@ -986,11 +925,12 @@ namespace NovetusLauncher
// //
// SearchButton // SearchButton
// //
this.SearchButton.Location = new System.Drawing.Point(343, 3); this.SearchButton.ImageKey = "search.png";
this.SearchButton.ImageList = this.imageList1;
this.SearchButton.Location = new System.Drawing.Point(269, 3);
this.SearchButton.Name = "SearchButton"; this.SearchButton.Name = "SearchButton";
this.SearchButton.Size = new System.Drawing.Size(51, 23); this.SearchButton.Size = new System.Drawing.Size(23, 23);
this.SearchButton.TabIndex = 69; this.SearchButton.TabIndex = 69;
this.SearchButton.Text = "Search";
this.SearchButton.UseVisualStyleBackColor = true; this.SearchButton.UseVisualStyleBackColor = true;
this.SearchButton.Click += new System.EventHandler(this.SearchButton_Click); this.SearchButton.Click += new System.EventHandler(this.SearchButton_Click);
// //
@ -998,7 +938,7 @@ namespace NovetusLauncher
// //
this.SearchBar.Location = new System.Drawing.Point(7, 5); this.SearchBar.Location = new System.Drawing.Point(7, 5);
this.SearchBar.Name = "SearchBar"; this.SearchBar.Name = "SearchBar";
this.SearchBar.Size = new System.Drawing.Size(330, 20); this.SearchBar.Size = new System.Drawing.Size(253, 20);
this.SearchBar.TabIndex = 68; this.SearchBar.TabIndex = 68;
// //
// textBox4 // textBox4
@ -1014,11 +954,12 @@ namespace NovetusLauncher
// //
// button24 // button24
// //
this.button24.Location = new System.Drawing.Point(400, 3); this.button24.ImageKey = "refresh.png";
this.button24.ImageList = this.imageList1;
this.button24.Location = new System.Drawing.Point(298, 3);
this.button24.Name = "button24"; this.button24.Name = "button24";
this.button24.Size = new System.Drawing.Size(98, 23); this.button24.Size = new System.Drawing.Size(25, 23);
this.button24.TabIndex = 59; this.button24.TabIndex = 59;
this.button24.Text = "Refresh Map List";
this.button24.UseVisualStyleBackColor = true; this.button24.UseVisualStyleBackColor = true;
this.button24.Click += new System.EventHandler(this.Button24Click); this.button24.Click += new System.EventHandler(this.Button24Click);
// //
@ -1034,9 +975,9 @@ namespace NovetusLauncher
// button6 // button6
// //
this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); this.button6.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.button6.Location = new System.Drawing.Point(504, 3); this.button6.Location = new System.Drawing.Point(516, 3);
this.button6.Name = "button6"; this.button6.Name = "button6";
this.button6.Size = new System.Drawing.Size(114, 23); this.button6.Size = new System.Drawing.Size(102, 23);
this.button6.TabIndex = 56; this.button6.TabIndex = 56;
this.button6.Text = "Open Maps Folder"; this.button6.Text = "Open Maps Folder";
this.button6.UseVisualStyleBackColor = true; this.button6.UseVisualStyleBackColor = true;
@ -1514,6 +1455,88 @@ namespace NovetusLauncher
this.label7.Text = "PROJECT STARLIGHT"; this.label7.Text = "PROJECT STARLIGHT";
this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter; 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;
//
// 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;
//
// 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;
//
// 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");
//
// button23
//
this.button23.Location = new System.Drawing.Point(435, 3);
this.button23.Name = "button23";
this.button23.Size = new System.Drawing.Size(75, 23);
this.button23.TabIndex = 71;
this.button23.Text = "Add Map...";
this.button23.UseVisualStyleBackColor = true;
this.button23.Click += new System.EventHandler(this.button23_Click);
//
// LauncherFormExtended // LauncherFormExtended
// //
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
@ -1537,12 +1560,8 @@ namespace NovetusLauncher
this.Text = "Novetus"; this.Text = "Novetus";
this.Closing += new System.ComponentModel.CancelEventHandler(this.MainFormClose); this.Closing += new System.ComponentModel.CancelEventHandler(this.MainFormClose);
this.Load += new System.EventHandler(this.MainFormLoad); this.Load += new System.EventHandler(this.MainFormLoad);
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.panel1.ResumeLayout(false); this.panel1.ResumeLayout(false);
this.panel2.ResumeLayout(false); this.panel2.ResumeLayout(false);
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.panel4.ResumeLayout(false);
this.tabControl1.ResumeLayout(false); this.tabControl1.ResumeLayout(false);
this.tabPage1.ResumeLayout(false); this.tabPage1.ResumeLayout(false);
this.tabPage1.PerformLayout(); this.tabPage1.PerformLayout();
@ -1561,6 +1580,10 @@ namespace NovetusLauncher
this.tabPage5.ResumeLayout(false); this.tabPage5.ResumeLayout(false);
this.panel5.ResumeLayout(false); this.panel5.ResumeLayout(false);
this.panel5.PerformLayout(); this.panel5.PerformLayout();
this.panel3.ResumeLayout(false);
this.panel3.PerformLayout();
this.panel4.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
this.ResumeLayout(false); this.ResumeLayout(false);
} }
@ -1741,5 +1764,7 @@ namespace NovetusLauncher
private System.Windows.Forms.Label label6; private System.Windows.Forms.Label label6;
private System.Windows.Forms.TextBox textBox7; private System.Windows.Forms.TextBox textBox7;
private System.Windows.Forms.Label label3; private System.Windows.Forms.Label label3;
private System.Windows.Forms.ImageList imageList1;
private System.Windows.Forms.Button button23;
} }
} }

View File

@ -392,7 +392,7 @@ namespace NovetusLauncher
} }
else else
{ {
MessageBox.Show("You do not have the 'Custom' option selected. Please select it before continuing."); MessageBox.Show("You do not have the 'Custom' option selected. Please select it before continuing.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
@ -441,6 +441,11 @@ namespace NovetusLauncher
{ {
launcherForm.ShowMasterServerWarning(); launcherForm.ShowMasterServerWarning();
} }
private void button23_Click(object sender, EventArgs e)
{
launcherForm.AddNewMap();
}
#endregion #endregion
} }
#endregion #endregion

View File

@ -117,6 +117,57 @@
<resheader name="writer"> <resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value> <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader> </resheader>
<metadata name="imageList1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<data name="imageList1.ImageStream" mimetype="application/x-microsoft.net.object.binary.base64">
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAB0
CQAAAk1TRnQBSQFMAgEBAgEAAQgBAAEIAQABEAEAARABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
AwABQAMAARADAAEBAQABCAYAAQQYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
AWYDAAGZAwABzAIAATMDAAIzAgABMwFmAgABMwGZAgABMwHMAgABMwH/AgABZgMAAWYBMwIAAmYCAAFm
AZkCAAFmAcwCAAFmAf8CAAGZAwABmQEzAgABmQFmAgACmQIAAZkBzAIAAZkB/wIAAcwDAAHMATMCAAHM
AWYCAAHMAZkCAALMAgABzAH/AgAB/wFmAgAB/wGZAgAB/wHMAQABMwH/AgAB/wEAATMBAAEzAQABZgEA
ATMBAAGZAQABMwEAAcwBAAEzAQAB/wEAAf8BMwIAAzMBAAIzAWYBAAIzAZkBAAIzAcwBAAIzAf8BAAEz
AWYCAAEzAWYBMwEAATMCZgEAATMBZgGZAQABMwFmAcwBAAEzAWYB/wEAATMBmQIAATMBmQEzAQABMwGZ
AWYBAAEzApkBAAEzAZkBzAEAATMBmQH/AQABMwHMAgABMwHMATMBAAEzAcwBZgEA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
Af8CAAL/AQAB9AFtAREBvAERMwAB/wH4AREB7wHyAfMB8AH4AQ4BkgH3AQ4BETUAAfEB+AEVAREB6gHv
AfQCAAH3ARE+AAH/AQchAAFCAU0BPgcAAT4DAAEoAwABQAMAARADAAEBAQABAQUAAYAXAAP/AQAC/wH+
AT8EAAL/AfABBwQAAf8BxwHAAQMEAAH/AYMBxAEhBAAB/wEDAYgBAQQAAfgBBwGRAQcEAAHgAQ8BkwHP
BAAB4gEfARIBAQQAAecBHwESAQEEAAHnAZ8BkwEZBAAB5wEfAZABCQQAAeABPwGIAQEEAAHwAX8BxgFB
BAAC/wHAAQEEAAL/AfABGQQAA/8B+QQACw==
</value>
</data>
<data name="label4.Text" xml:space="preserve"> <data name="label4.Text" xml:space="preserve">
<value>NOTE: <value>NOTE:
- If you have a problem where you can't see your character, REGENERATE YOUR PLAYER ID THEN REJOIN THE SERVER. - If you have a problem where you can't see your character, REGENERATE YOUR PLAYER ID THEN REJOIN THE SERVER.

View File

@ -229,6 +229,11 @@ namespace NovetusLauncher
GlobalFuncs.CreateAssetCacheDirectories(); GlobalFuncs.CreateAssetCacheDirectories();
if (!Directory.Exists(GlobalPaths.MapsDirCustom))
{
Directory.CreateDirectory(GlobalPaths.MapsDirCustom);
}
ProductVersionLabel.Text = Application.ProductVersion; ProductVersionLabel.Text = Application.ProductVersion;
LocalVars.important = SecurityFuncs.GenerateMD5(Assembly.GetExecutingAssembly().Location); LocalVars.important = SecurityFuncs.GenerateMD5(Assembly.GetExecutingAssembly().Location);
NovetusVersionLabel.Text = GlobalVars.ProgramInformation.Version; NovetusVersionLabel.Text = GlobalVars.ProgramInformation.Version;
@ -519,7 +524,7 @@ namespace NovetusLauncher
} }
catch (Exception) catch (Exception)
{ {
MessageBox.Show("The map '" + searchText + "' cannot be found. Please try another term."); MessageBox.Show("The map '" + searchText + "' cannot be found. Please try another term.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
@ -767,7 +772,7 @@ namespace NovetusLauncher
GlobalFuncs.ConsolePrint("Config Saved.", 3, ConsoleBox); GlobalFuncs.ConsolePrint("Config Saved.", 3, ConsoleBox);
if (ShowBox) if (ShowBox)
{ {
MessageBox.Show("Config Saved!"); MessageBox.Show("Config Saved!", "Novetus - Config Saved", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
} }
@ -796,7 +801,7 @@ namespace NovetusLauncher
ReadConfigValues(); ReadConfigValues();
if (ShowBox) if (ShowBox)
{ {
MessageBox.Show("Config Reset!"); MessageBox.Show("Config Reset!", "Novetus - Config Reset", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
} }
@ -880,7 +885,7 @@ namespace NovetusLauncher
if (!string.IsNullOrWhiteSpace(addon.getInstallOutcome())) if (!string.IsNullOrWhiteSpace(addon.getInstallOutcome()))
{ {
MessageBox.Show(addon.getInstallOutcome()); MessageBox.Show(addon.getInstallOutcome(), "Novetus - Addon Installed", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
} }
@ -890,11 +895,11 @@ namespace NovetusLauncher
{ {
Directory.Delete(GlobalPaths.AssetCacheDir, true); Directory.Delete(GlobalPaths.AssetCacheDir, true);
GlobalFuncs.ConsolePrint("Asset cache cleared!", 3, ConsoleBox); GlobalFuncs.ConsolePrint("Asset cache cleared!", 3, ConsoleBox);
MessageBox.Show("Asset cache cleared!"); MessageBox.Show("Asset cache cleared!", "Novetus - Asset Cache Cleared", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
else else
{ {
MessageBox.Show("There is no asset cache to clear."); MessageBox.Show("There is no asset cache to clear.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
@ -923,10 +928,10 @@ namespace NovetusLauncher
switch (box.Checked) switch (box.Checked)
{ {
case false: case false:
MessageBox.Show("Novetus will now restart.", title, MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show("Novetus will now restart.", title, MessageBoxButtons.OK, MessageBoxIcon.Warning);
break; break;
default: default:
MessageBox.Show("Novetus will now restart." + Environment.NewLine + subText, title, MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show("Novetus will now restart." + Environment.NewLine + subText, title, MessageBoxButtons.OK, MessageBoxIcon.Warning);
break; break;
} }
@ -1161,6 +1166,42 @@ namespace NovetusLauncher
break; break;
} }
} }
public void AddNewMap()
{
using (var ofd = new OpenFileDialog())
{
ofd.Filter = "ROBLOX Level (*.rbxl)|*.rbxl|ROBLOX Level (*.rbxlx)|*.rbxlx";
ofd.FilterIndex = 1;
ofd.Title = "Load ROBLOX map";
if (ofd.ShowDialog() == DialogResult.OK)
{
if (!Directory.Exists(GlobalPaths.MapsDirCustom))
{
Directory.CreateDirectory(GlobalPaths.MapsDirCustom);
}
string mapname = Path.GetFileName(ofd.FileName);
try
{
GlobalFuncs.FixedFileCopy(ofd.FileName, GlobalPaths.MapsDirCustom + @"\\" + mapname, true, true);
}
catch (Exception ex)
{
MessageBox.Show("Novetus has experienced an error when adding your map file: " + ex.Message + "\n\nYour file has not been added. Please try again.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
finally
{
if (File.Exists(GlobalPaths.MapsDir + @"\\" + mapname))
{
Tree.SelectedNode = TreeNodeHelper.SearchTreeView(mapname, Tree.Nodes);
MessageBox.Show("The map '" + mapname + "' was successfully added to Novetus!" , "Novetus - Map Upload Confirmation");
}
}
}
}
}
#endregion #endregion
#region Helper Functions #region Helper Functions

View File

@ -151,7 +151,7 @@ public partial class AssetSDK : Form
AssetDownloaderBatch_Status.Visible = false; AssetDownloaderBatch_Status.Visible = false;
MessageBox.Show("Batch download complete! " + lines.Count() + " items downloaded!", "Novetus Item SDK", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show("Batch download complete! " + lines.Count() + " items downloaded!", "Novetus Asset SDK - Download Complete", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
} }
} }
@ -256,7 +256,7 @@ public partial class AssetSDK : Form
{ {
if (hasOverrideWarningOpenedOnce == false) if (hasOverrideWarningOpenedOnce == false)
{ {
MessageBox.Show("By using the custom URL setting, you will override any selected entry in the default URL list. Keep this in mind before downloading anything with this option.\n\nAlso, the URL must be a asset url with 'asset/?id=' at the end of it in order for the Asset Downloader to work smoothly.", "Novetus Asset SDK | URL Override Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning); MessageBox.Show("By using the custom URL setting, you will override any selected entry in the default URL list. Keep this in mind before downloading anything with this option.\n\nAlso, the URL must be a asset url with 'asset/?id=' at the end of it in order for the Asset Downloader to work smoothly.", "Novetus Asset SDK - URL Override Warning", MessageBoxButtons.OK, MessageBoxIcon.Warning);
hasOverrideWarningOpenedOnce = true; hasOverrideWarningOpenedOnce = true;
} }
} }
@ -290,7 +290,7 @@ public partial class AssetSDK : Form
{ {
MeshConverter_StatusText.Text = "Ready"; MeshConverter_StatusText.Text = "Ready";
string properName = Path.GetFileName(MeshConverter_OpenOBJDialog.FileName) + ".mesh"; string properName = Path.GetFileName(MeshConverter_OpenOBJDialog.FileName) + ".mesh";
MessageBox.Show("File " + properName + " created!"); MessageBox.Show("File " + properName + " created!", "Novetus Asset SDK - Mesh File Created", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
#endregion #endregion

View File

@ -263,11 +263,11 @@ public partial class ClientinfoEditor : Form
label9.Text = "v2 (v" + GlobalVars.ProgramInformation.Version + ")"; label9.Text = "v2 (v" + GlobalVars.ProgramInformation.Version + ")";
MessageBox.Show(SelectedClientInfoPath + "\\clientinfo.nov saved!", "Novetus Launcher - Novetus Client SDK", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show(SelectedClientInfoPath + "\\clientinfo.nov saved!", "Novetus Client SDK - Clientinfo Saved", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
else else
{ {
MessageBox.Show("You must save the into a seperate directory with a client in it, generate the IDs, then use this option.", "Novetus Launcher - Error when saving to client.", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("You must save the into a seperate directory with a client in it, generate the IDs, then use this option.", "Novetus Client SDK - Error when saving to client.", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
@ -429,7 +429,7 @@ public partial class ClientinfoEditor : Form
{ {
if (string.IsNullOrWhiteSpace(SelectedClientInfoPath)) if (string.IsNullOrWhiteSpace(SelectedClientInfoPath))
{ {
MessageBox.Show("Please choose the folder where you would like to save your clientinfo file.", "Novetus Launcher - Novetus Client SDK", MessageBoxButtons.OK, MessageBoxIcon.Exclamation); MessageBox.Show("Please choose the folder where you would like to save your clientinfo file.", "Novetus Client SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog(); FolderBrowserDialog folderBrowserDialog1 = new FolderBrowserDialog();
if (folderBrowserDialog1.ShowDialog() == DialogResult.OK) if (folderBrowserDialog1.ShowDialog() == DialogResult.OK)
@ -457,7 +457,7 @@ public partial class ClientinfoEditor : Form
} }
else else
{ {
MessageBox.Show("Cannot load '" + ClientName.Trim('/') + "'. Please make sure you saved the clientinfo.nov into the client directory and if the file exists.", "Novetus Launcher - Error while generating MD5 for client", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("Cannot load '" + ClientName.Trim('/') + "'. Please make sure you saved the clientinfo.nov into the client directory and if the file exists.", "Novetus Client SDK - Error while generating MD5 for client", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
string ClientScriptMD5 = File.Exists(SelectedClientInfoPath + "\\content\\scripts\\" + GlobalPaths.ScriptName + ".lua") ? SecurityFuncs.GenerateMD5(SelectedClientInfoPath + "\\content\\scripts\\" + GlobalPaths.ScriptName + ".lua") : ""; string ClientScriptMD5 = File.Exists(SelectedClientInfoPath + "\\content\\scripts\\" + GlobalPaths.ScriptName + ".lua") ? SecurityFuncs.GenerateMD5(SelectedClientInfoPath + "\\content\\scripts\\" + GlobalPaths.ScriptName + ".lua") : "";
@ -468,7 +468,7 @@ public partial class ClientinfoEditor : Form
} }
else else
{ {
MessageBox.Show("Cannot load '" + GlobalPaths.ScriptName + ".lua'. Please make sure you saved the clientinfo.nov into the client directory and if the file exists.", "Novetus Launcher - Error while generating MD5 for script", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show("Cannot load '" + GlobalPaths.ScriptName + ".lua'. Please make sure you saved the clientinfo.nov into the client directory and if the file exists.", "Novetus Client SDK - Error while generating MD5 for script", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }

View File

@ -47,7 +47,7 @@ public partial class ItemCreationSDK : Form
{ {
if (string.IsNullOrWhiteSpace(ItemNameBox.Text)) if (string.IsNullOrWhiteSpace(ItemNameBox.Text))
{ {
MessageBox.Show("You must assign an item name before you change the icon.", "Novetus Item Creation SDK", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show("You must assign an item name before you change the icon.", "Novetus Item Creation SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
else else
{ {
@ -69,7 +69,7 @@ public partial class ItemCreationSDK : Form
if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome())) if (!string.IsNullOrWhiteSpace(icon.getInstallOutcome()))
{ {
MessageBox.Show(icon.getInstallOutcome()); MessageBox.Show(icon.getInstallOutcome(), "Novetus Item Creation SDK - Icon Copy Completed", MessageBoxButtons.OK, MessageBoxIcon.Information);
} }
Image icon1 = GlobalFuncs.LoadImage(icon.ItemDir + "\\" + icon.ItemName.Replace(" ", "") + ".png", ""); Image icon1 = GlobalFuncs.LoadImage(icon.ItemDir + "\\" + icon.ItemName.Replace(" ", "") + ".png", "");
@ -85,7 +85,7 @@ public partial class ItemCreationSDK : Form
} }
else else
{ {
MessageBox.Show("An icon with this item's name already exists. Please change the item's name.", "Novetus Item Creation SDK", MessageBoxButtons.OK, MessageBoxIcon.Information); MessageBox.Show("An icon with this item's name already exists. Please change the item's name.", "Novetus Item Creation SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
} }
@ -232,7 +232,7 @@ public partial class ItemCreationSDK : Form
DescBox.Text DescBox.Text
)) ))
{ {
DialogResult LaunchCharCustom = MessageBox.Show("The creation of your item, " + ItemNameBox.Text + ", is successful! Would you like to test your item out in Character Customization?", "Novetus Item Creation SDK", MessageBoxButtons.YesNo, MessageBoxIcon.Information); DialogResult LaunchCharCustom = MessageBox.Show("The creation of your item, " + ItemNameBox.Text + ", is successful! Would you like to test your item out in Character Customization?", "Novetus Item Creation SDK - Item Creation Success", MessageBoxButtons.YesNo, MessageBoxIcon.Information);
if (LaunchCharCustom == DialogResult.Yes) if (LaunchCharCustom == DialogResult.Yes)
{ {
@ -382,7 +382,7 @@ public partial class ItemCreationSDK : Form
if (!passed) if (!passed)
{ {
msgboxtext += "\n\nThese requirements must be fullfiled before the item can be created."; msgboxtext += "\n\nThese requirements must be fullfiled before the item can be created.";
MessageBox.Show(msgboxtext, "Novetus Item Creation SDK", MessageBoxButtons.OK, MessageBoxIcon.Error); MessageBox.Show(msgboxtext, "Novetus Item Creation SDK - Requirements", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
return passed; return passed;

View File

@ -80,7 +80,7 @@ public partial class NovetusSDK : Form
dio.Show(); dio.Show();
break; break;
case SDKApps.ClientScriptTester: case SDKApps.ClientScriptTester:
MessageBox.Show("Note: If you want to test a specific way of loading a client, select the ClientScript Tester in the 'Versions' tab of the Novetus Launcher, then launch it through any way you wish."); MessageBox.Show("Note: If you want to test a specific way of loading a client, select the ClientScript Tester in the 'Versions' tab of the Novetus Launcher, then launch it through any way you wish.", "Novetus SDK - Client Script Tester Help", MessageBoxButtons.OK, MessageBoxIcon.Information);
#if LAUNCHER #if LAUNCHER
GlobalFuncs.LaunchRBXClient("ClientScriptTester", ScriptType.Client, false, false, null, null); GlobalFuncs.LaunchRBXClient("ClientScriptTester", ScriptType.Client, false, false, null, null);
#else #else

View File

@ -66,14 +66,14 @@ namespace NovetusLauncher
} }
else else
{ {
MessageBox.Show("There are no servers available on this master server."); MessageBox.Show("There are no servers available on this master server.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
ServerListView.EndUpdate(); ServerListView.EndUpdate();
} }
catch (Exception ex) catch (Exception ex)
{ {
MessageBox.Show("Unable to load servers. (" + ex + ")"); MessageBox.Show("Unable to load servers. (" + ex + ")", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
} }
@ -98,7 +98,7 @@ namespace NovetusLauncher
} }
else else
{ {
MessageBox.Show("Select a server before joining it."); MessageBox.Show("Select a server before joining it.", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
} }
} }
catch (Exception) catch (Exception)

View File

@ -312,6 +312,7 @@
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="NovetusIcon.ico" /> <Content Include="NovetusIcon.ico" />
<None Include="Resources\search.png" />
<None Include="Resources\NOVETUS_small.png" /> <None Include="Resources\NOVETUS_small.png" />
<None Include="Resources\N.png" /> <None Include="Resources\N.png" />
</ItemGroup> </ItemGroup>

Binary file not shown.

After

Width:  |  Height:  |  Size: 504 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 412 B