split asset sdk into separate utilities

This commit is contained in:
Bitl 2022-07-26 13:31:08 -07:00
parent 34e0732e57
commit 2eca513251
23 changed files with 6596 additions and 2679 deletions

View File

@ -0,0 +1,257 @@
partial class AssetDownloader
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssetDownloader));
this.AssetDownloaderBatch_Note = new System.Windows.Forms.Label();
this.AssetDownloaderBatch_Status = new System.Windows.Forms.Label();
this.AssetDownloader_BatchMode = new System.Windows.Forms.CheckBox();
this.AssetDownloaderBatch_BatchIDBox = new System.Windows.Forms.TextBox();
this.AssetDownloader_AssetNameBox = new System.Windows.Forms.TextBox();
this.AssetDownloader_AssetNameText = new System.Windows.Forms.Label();
this.AssetDownloader_AssetVersionText = new System.Windows.Forms.Label();
this.AssetDownloader_AssetIDText = new System.Windows.Forms.Label();
this.AssetDownloader_AssetVersionSelector = new System.Windows.Forms.NumericUpDown();
this.AssetDownloader_AssetIDBox = new System.Windows.Forms.TextBox();
this.AssetDownloader_AssetDownloaderButton = new System.Windows.Forms.Button();
this.AssetDownloader_LoadHelpMessage = new System.Windows.Forms.CheckBox();
this.CustomDLURLLabel = new System.Windows.Forms.Label();
this.URLOverrideBox = new System.Windows.Forms.TextBox();
this.URLListLabel = new System.Windows.Forms.Label();
this.URLSelection = new System.Windows.Forms.ComboBox();
((System.ComponentModel.ISupportInitialize)(this.AssetDownloader_AssetVersionSelector)).BeginInit();
this.SuspendLayout();
//
// AssetDownloaderBatch_Note
//
this.AssetDownloaderBatch_Note.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.AssetDownloaderBatch_Note.ForeColor = System.Drawing.Color.Red;
this.AssetDownloaderBatch_Note.Location = new System.Drawing.Point(13, 150);
this.AssetDownloaderBatch_Note.Name = "AssetDownloaderBatch_Note";
this.AssetDownloaderBatch_Note.Size = new System.Drawing.Size(241, 42);
this.AssetDownloaderBatch_Note.TabIndex = 23;
this.AssetDownloaderBatch_Note.Text = "You must enter in each item as <Name>|<ID>|<Version>. \r\nExample: RedTopHat|297230" +
"2|1";
this.AssetDownloaderBatch_Note.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.AssetDownloaderBatch_Note.Visible = false;
//
// AssetDownloaderBatch_Status
//
this.AssetDownloaderBatch_Status.Cursor = System.Windows.Forms.Cursors.Default;
this.AssetDownloaderBatch_Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.AssetDownloaderBatch_Status.ForeColor = System.Drawing.Color.Red;
this.AssetDownloaderBatch_Status.Location = new System.Drawing.Point(12, 393);
this.AssetDownloaderBatch_Status.Name = "AssetDownloaderBatch_Status";
this.AssetDownloaderBatch_Status.Size = new System.Drawing.Size(241, 13);
this.AssetDownloaderBatch_Status.TabIndex = 1;
this.AssetDownloaderBatch_Status.Text = "Please wait...";
this.AssetDownloaderBatch_Status.TextAlign = System.Drawing.ContentAlignment.TopCenter;
this.AssetDownloaderBatch_Status.Visible = false;
//
// AssetDownloader_BatchMode
//
this.AssetDownloader_BatchMode.Location = new System.Drawing.Point(165, 102);
this.AssetDownloader_BatchMode.Name = "AssetDownloader_BatchMode";
this.AssetDownloader_BatchMode.Size = new System.Drawing.Size(88, 23);
this.AssetDownloader_BatchMode.TabIndex = 22;
this.AssetDownloader_BatchMode.Text = "Batch Mode";
this.AssetDownloader_BatchMode.UseVisualStyleBackColor = true;
this.AssetDownloader_BatchMode.CheckedChanged += new System.EventHandler(this.AssetDownloader_BatchMode_CheckedChanged);
//
// AssetDownloaderBatch_BatchIDBox
//
this.AssetDownloaderBatch_BatchIDBox.Enabled = false;
this.AssetDownloaderBatch_BatchIDBox.Location = new System.Drawing.Point(12, 199);
this.AssetDownloaderBatch_BatchIDBox.Multiline = true;
this.AssetDownloaderBatch_BatchIDBox.Name = "AssetDownloaderBatch_BatchIDBox";
this.AssetDownloaderBatch_BatchIDBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.AssetDownloaderBatch_BatchIDBox.Size = new System.Drawing.Size(242, 185);
this.AssetDownloaderBatch_BatchIDBox.TabIndex = 0;
//
// AssetDownloader_AssetNameBox
//
this.AssetDownloader_AssetNameBox.Location = new System.Drawing.Point(23, 22);
this.AssetDownloader_AssetNameBox.Name = "AssetDownloader_AssetNameBox";
this.AssetDownloader_AssetNameBox.Size = new System.Drawing.Size(76, 20);
this.AssetDownloader_AssetNameBox.TabIndex = 21;
//
// AssetDownloader_AssetNameText
//
this.AssetDownloader_AssetNameText.Location = new System.Drawing.Point(44, 6);
this.AssetDownloader_AssetNameText.Name = "AssetDownloader_AssetNameText";
this.AssetDownloader_AssetNameText.Size = new System.Drawing.Size(35, 14);
this.AssetDownloader_AssetNameText.TabIndex = 20;
this.AssetDownloader_AssetNameText.Text = "Name";
//
// AssetDownloader_AssetVersionText
//
this.AssetDownloader_AssetVersionText.Location = new System.Drawing.Point(201, 6);
this.AssetDownloader_AssetVersionText.Name = "AssetDownloader_AssetVersionText";
this.AssetDownloader_AssetVersionText.Size = new System.Drawing.Size(55, 14);
this.AssetDownloader_AssetVersionText.TabIndex = 17;
this.AssetDownloader_AssetVersionText.Text = "Version";
this.AssetDownloader_AssetVersionText.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// AssetDownloader_AssetIDText
//
this.AssetDownloader_AssetIDText.Location = new System.Drawing.Point(127, 6);
this.AssetDownloader_AssetIDText.Name = "AssetDownloader_AssetIDText";
this.AssetDownloader_AssetIDText.Size = new System.Drawing.Size(41, 14);
this.AssetDownloader_AssetIDText.TabIndex = 16;
this.AssetDownloader_AssetIDText.Text = "Item ID";
//
// AssetDownloader_AssetVersionSelector
//
this.AssetDownloader_AssetVersionSelector.Location = new System.Drawing.Point(204, 22);
this.AssetDownloader_AssetVersionSelector.Maximum = new decimal(new int[] {
-727379969,
232,
0,
0});
this.AssetDownloader_AssetVersionSelector.Name = "AssetDownloader_AssetVersionSelector";
this.AssetDownloader_AssetVersionSelector.Size = new System.Drawing.Size(52, 20);
this.AssetDownloader_AssetVersionSelector.TabIndex = 15;
//
// AssetDownloader_AssetIDBox
//
this.AssetDownloader_AssetIDBox.Location = new System.Drawing.Point(109, 22);
this.AssetDownloader_AssetIDBox.Name = "AssetDownloader_AssetIDBox";
this.AssetDownloader_AssetIDBox.Size = new System.Drawing.Size(76, 20);
this.AssetDownloader_AssetIDBox.TabIndex = 14;
//
// AssetDownloader_AssetDownloaderButton
//
this.AssetDownloader_AssetDownloaderButton.Location = new System.Drawing.Point(12, 124);
this.AssetDownloader_AssetDownloaderButton.Name = "AssetDownloader_AssetDownloaderButton";
this.AssetDownloader_AssetDownloaderButton.Size = new System.Drawing.Size(241, 23);
this.AssetDownloader_AssetDownloaderButton.TabIndex = 13;
this.AssetDownloader_AssetDownloaderButton.Text = "Download!";
this.AssetDownloader_AssetDownloaderButton.UseVisualStyleBackColor = true;
this.AssetDownloader_AssetDownloaderButton.Click += new System.EventHandler(this.AssetDownloader_AssetDownloaderButton_Click);
//
// AssetDownloader_LoadHelpMessage
//
this.AssetDownloader_LoadHelpMessage.Location = new System.Drawing.Point(18, 102);
this.AssetDownloader_LoadHelpMessage.Name = "AssetDownloader_LoadHelpMessage";
this.AssetDownloader_LoadHelpMessage.Size = new System.Drawing.Size(147, 23);
this.AssetDownloader_LoadHelpMessage.TabIndex = 19;
this.AssetDownloader_LoadHelpMessage.Text = "Disable Help Messages";
this.AssetDownloader_LoadHelpMessage.UseVisualStyleBackColor = true;
this.AssetDownloader_LoadHelpMessage.CheckedChanged += new System.EventHandler(this.AssetDownloader_LoadHelpMessage_CheckedChanged);
//
// CustomDLURLLabel
//
this.CustomDLURLLabel.AutoSize = true;
this.CustomDLURLLabel.Location = new System.Drawing.Point(5, 78);
this.CustomDLURLLabel.Name = "CustomDLURLLabel";
this.CustomDLURLLabel.Size = new System.Drawing.Size(67, 13);
this.CustomDLURLLabel.TabIndex = 26;
this.CustomDLURLLabel.Text = "Custom URL";
//
// URLOverrideBox
//
this.URLOverrideBox.Location = new System.Drawing.Point(72, 75);
this.URLOverrideBox.Name = "URLOverrideBox";
this.URLOverrideBox.Size = new System.Drawing.Size(185, 20);
this.URLOverrideBox.TabIndex = 25;
this.URLOverrideBox.Click += new System.EventHandler(this.URLOverrideBox_Click);
this.URLOverrideBox.TextChanged += new System.EventHandler(this.URLOverrideBox_TextChanged);
//
// URLListLabel
//
this.URLListLabel.AutoSize = true;
this.URLListLabel.Location = new System.Drawing.Point(18, 51);
this.URLListLabel.Name = "URLListLabel";
this.URLListLabel.Size = new System.Drawing.Size(48, 13);
this.URLListLabel.TabIndex = 24;
this.URLListLabel.Text = "URL List";
//
// URLSelection
//
this.URLSelection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.URLSelection.DropDownWidth = 242;
this.URLSelection.FormattingEnabled = true;
this.URLSelection.Location = new System.Drawing.Point(72, 48);
this.URLSelection.Name = "URLSelection";
this.URLSelection.Size = new System.Drawing.Size(185, 21);
this.URLSelection.TabIndex = 18;
this.URLSelection.SelectedIndexChanged += new System.EventHandler(this.URLSelection_SelectedIndexChanged);
//
// AssetDownloader
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.ClientSize = new System.Drawing.Size(265, 415);
this.Controls.Add(this.AssetDownloaderBatch_Note);
this.Controls.Add(this.URLOverrideBox);
this.Controls.Add(this.AssetDownloaderBatch_Status);
this.Controls.Add(this.CustomDLURLLabel);
this.Controls.Add(this.AssetDownloader_BatchMode);
this.Controls.Add(this.URLListLabel);
this.Controls.Add(this.AssetDownloaderBatch_BatchIDBox);
this.Controls.Add(this.AssetDownloader_AssetNameBox);
this.Controls.Add(this.AssetDownloader_AssetNameText);
this.Controls.Add(this.AssetDownloader_LoadHelpMessage);
this.Controls.Add(this.AssetDownloader_AssetVersionText);
this.Controls.Add(this.URLSelection);
this.Controls.Add(this.AssetDownloader_AssetIDText);
this.Controls.Add(this.AssetDownloader_AssetDownloaderButton);
this.Controls.Add(this.AssetDownloader_AssetVersionSelector);
this.Controls.Add(this.AssetDownloader_AssetIDBox);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "AssetDownloader";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Asset Downloader";
this.Closing += new System.ComponentModel.CancelEventHandler(this.AssetSDK_Close);
this.Load += new System.EventHandler(this.AssetSDK_Load);
((System.ComponentModel.ISupportInitialize)(this.AssetDownloader_AssetVersionSelector)).EndInit();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox AssetDownloader_AssetNameBox;
private System.Windows.Forms.Label AssetDownloader_AssetNameText;
private System.Windows.Forms.CheckBox AssetDownloader_LoadHelpMessage;
private System.Windows.Forms.ComboBox URLSelection;
private System.Windows.Forms.Label AssetDownloader_AssetVersionText;
private System.Windows.Forms.Label AssetDownloader_AssetIDText;
private System.Windows.Forms.NumericUpDown AssetDownloader_AssetVersionSelector;
private System.Windows.Forms.TextBox AssetDownloader_AssetIDBox;
private System.Windows.Forms.Button AssetDownloader_AssetDownloaderButton;
private System.Windows.Forms.CheckBox AssetDownloader_BatchMode;
private System.Windows.Forms.TextBox AssetDownloaderBatch_BatchIDBox;
private System.Windows.Forms.Label AssetDownloaderBatch_Status;
private System.Windows.Forms.Label AssetDownloaderBatch_Note;
private System.Windows.Forms.Label CustomDLURLLabel;
private System.Windows.Forms.TextBox URLOverrideBox;
private System.Windows.Forms.Label URLListLabel;
}

View File

@ -0,0 +1,304 @@
#region Usings
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Linq;
#endregion
public partial class AssetDownloader : Form
{
#region Private Variables
public Provider[] contentProviders;
private string url = "";
private bool isWebSite = false;
private bool batchMode = false;
private bool hasOverrideWarningOpenedOnce = false;
#endregion
#region Constructor
public AssetDownloader()
{
InitializeComponent();
}
#endregion
#region Form Events
#region Load/Close Events
private void AssetSDK_Load(object sender, EventArgs e)
{
//shared
if (File.Exists(GlobalPaths.ConfigDir + "\\" + GlobalPaths.ContentProviderXMLName))
{
contentProviders = OnlineClothing.GetContentProviders();
for (int i = 0; i < contentProviders.Length; i++)
{
if (contentProviders[i].URL.Contains("?id="))
{
URLSelection.Items.Add(contentProviders[i].Name);
}
}
}
URLSelection.Items.Add("https://www.roblox.com/catalog/");
URLSelection.Items.Add("https://www.roblox.com/library/");
isWebSite = false;
URLSelection.SelectedItem = URLSelection.Items[0];
//downloader
AssetDownloader_LoadHelpMessage.Checked = GlobalVars.UserConfiguration.DisabledAssetSDKHelp;
}
void AssetSDK_Close(object sender, CancelEventArgs e)
{
}
private void URLSelection_SelectedIndexChanged(object sender, EventArgs e)
{
SetURL();
}
private void URLOverrideBox_Click(object sender, EventArgs e)
{
if (hasOverrideWarningOpenedOnce == false && !GlobalVars.UserConfiguration.DisabledAssetSDKHelp)
{
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;
}
}
private void URLOverrideBox_TextChanged(object sender, EventArgs e)
{
if (!string.IsNullOrWhiteSpace(URLOverrideBox.Text))
{
URLSelection.Enabled = false;
url = URLOverrideBox.Text;
}
else
{
URLSelection.Enabled = true;
SetURL();
}
MessageBox.Show(url);
}
void SetURL()
{
if (URLSelection.SelectedItem.Equals("https://www.roblox.com/catalog/") || URLSelection.SelectedItem.Equals("https://www.roblox.com/library/"))
{
url = URLSelection.SelectedItem.ToString();
isWebSite = true;
}
else
{
Provider pro = OnlineClothing.FindContentProviderByName(contentProviders, URLSelection.SelectedItem.ToString());
if (pro != null)
{
url = pro.URL;
isWebSite = false;
}
}
}
#endregion
#region Asset Downloader
public static void StartItemDownload(string name, string url, string id, int ver, bool iswebsite)
{
try
{
string version = ((ver != 0) && (!iswebsite)) ? "&version=" + ver : "";
string fullURL = url + id + version;
if (!iswebsite)
{
if (!GlobalVars.UserConfiguration.DisabledAssetSDKHelp)
{
string helptext = "If you're trying to create a offline item, please use these file extension names when saving your files:\n.rbxm - Roblox Model/Item\n.rbxl - Roblox Place\n.mesh - Roblox Mesh\n.png - Texture/Icon\n.wav - Sound\n.lua - Lua Script";
MessageBox.Show(helptext, "Novetus Asset SDK", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
Downloader download = new Downloader(fullURL, name, "Roblox Model (*.rbxm)|*.rbxm|Roblox Place (*.rbxl) |*.rbxl|Roblox Mesh (*.mesh)|*.mesh|PNG Image (*.png)|*.png|WAV Sound (*.wav)|*.wav|Lua Script (*.lua)|*.lua");
try
{
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, use the Asset Localizer in the Asset SDK.\n\nIf you get a corrupted file, change the URL using the drop down box.";
download.InitDownload((!GlobalVars.UserConfiguration.DisabledAssetSDKHelp) ? helptext : "");
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
MessageBox.Show("Error: Unable to download the file. " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
if (!string.IsNullOrWhiteSpace(download.getDownloadOutcome()))
{
MessageBoxIcon boxicon = MessageBoxIcon.Information;
if (download.getDownloadOutcome().Contains("Error"))
{
boxicon = MessageBoxIcon.Error;
}
MessageBox.Show(download.getDownloadOutcome(), "Novetus Asset SDK - Download Completed", MessageBoxButtons.OK, boxicon);
}
}
else
{
Process.Start(fullURL);
}
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
MessageBox.Show("Error: Unable to download the file. Try using a different file name or ID.", "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public static bool StartItemBatchDownload(string name, string url, string id, int ver, bool iswebsite, string path)
{
bool noErrors = true;
try
{
string version = ((ver != 0) && (!iswebsite)) ? "&version=" + ver : "";
string fullURL = url + id + version;
if (!iswebsite)
{
Downloader download = new Downloader(fullURL, name, "", path);
try
{
download.InitDownloadNoDialog(download.GetFullDLPath());
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
noErrors = false;
}
}
else
{
Process.Start(fullURL);
}
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
noErrors = false;
}
return noErrors;
}
private void AssetDownloader_AssetDownloaderButton_Click(object sender, EventArgs e)
{
if (!string.IsNullOrWhiteSpace(URLOverrideBox.Text))
{
url = URLOverrideBox.Text;
}
if (batchMode == false)
{
StartItemDownload(
AssetDownloader_AssetNameBox.Text,
url,
AssetDownloader_AssetIDBox.Text,
Convert.ToInt32(AssetDownloader_AssetVersionSelector.Value),
isWebSite);
}
else
{
try
{
SaveFileDialog saveFileDialog1 = new SaveFileDialog
{
FileName = "Choose batch download location.",
//"Compressed zip files (*.zip)|*.zip|All files (*.*)|*.*"
Filter = "Roblox Model (*.rbxm)|*.rbxm|Roblox Place (*.rbxl) |*.rbxl|Roblox Mesh (*.mesh)|*.mesh|PNG Image (*.png)|*.png|WAV Sound (*.wav)|*.wav",
DefaultExt = ".rbxm",
Title = "Save files downloaded via batch"
};
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
string basepath = Path.GetDirectoryName(saveFileDialog1.FileName);
string extension = Path.GetExtension(saveFileDialog1.FileName);
AssetDownloaderBatch_Status.Visible = true;
string[] lines = AssetDownloaderBatch_BatchIDBox.Lines;
int lineCount = lines.Count();
foreach (var line in lines)
{
string[] linesplit = line.Split('|');
bool noErrors = StartItemBatchDownload(
linesplit[0] + extension,
url,
linesplit[1],
Convert.ToInt32(linesplit[2]),
isWebSite, basepath);
if (!noErrors)
{
--lineCount;
}
}
AssetDownloaderBatch_Status.Visible = false;
string extraText = (lines.Count() != lineCount) ? "\n" + (lines.Count() - lineCount) + " errors were detected during the download. Make sure your IDs and links are valid." : "";
MessageBox.Show("Batch download complete! " + lineCount + " items downloaded!" + extraText, "Novetus Asset SDK - Download Complete", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
MessageBox.Show("Unable to batch download files. Error:" + ex.Message + "\n Make sure your items are set up properly.", "Novetus Asset SDK - Unable to batch download files.", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
private void AssetDownloader_LoadHelpMessage_CheckedChanged(object sender, EventArgs e)
{
GlobalVars.UserConfiguration.DisabledAssetSDKHelp = AssetDownloader_LoadHelpMessage.Checked;
}
private void AssetDownloader_BatchMode_CheckedChanged(object sender, EventArgs e)
{
batchMode = AssetDownloader_BatchMode.Checked;
if (batchMode)
{
AssetDownloaderBatch_BatchIDBox.Enabled = true;
AssetDownloaderBatch_Note.Visible = true;
AssetDownloader_AssetIDBox.Enabled = false;
AssetDownloader_AssetNameBox.Enabled = false;
AssetDownloader_AssetVersionSelector.Enabled = false;
}
else
{
AssetDownloaderBatch_BatchIDBox.Enabled = false;
AssetDownloaderBatch_Note.Visible = false;
AssetDownloader_AssetIDBox.Enabled = true;
AssetDownloader_AssetNameBox.Enabled = true;
AssetDownloader_AssetVersionSelector.Enabled = true;
}
}
#endregion
#endregion
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,254 @@
partial class AssetFixer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssetFixer));
this.CustomDLURLLabel = new System.Windows.Forms.Label();
this.URLOverrideBox = new System.Windows.Forms.TextBox();
this.URLListLabel = new System.Windows.Forms.Label();
this.URLSelection = new System.Windows.Forms.ComboBox();
this.AssetFixer_ProgressLabel = new System.Windows.Forms.Label();
this.AssetFixer_ProgressBar = new System.Windows.Forms.ProgressBar();
this.AssetLocalization_AssetLinks = new System.Windows.Forms.CheckBox();
this.AssetLocalization_LocalizePermanentlyBox = new System.Windows.Forms.CheckBox();
this.AssetLocalization_SaveBackups = new System.Windows.Forms.CheckBox();
this.AssetLocalization_AssetTypeText = new System.Windows.Forms.Label();
this.AssetLocalization_ItemNameText = new System.Windows.Forms.Label();
this.AssetLocalization_ItemNameBox = new System.Windows.Forms.TextBox();
this.AssetLocalization_StatusText = new System.Windows.Forms.Label();
this.AssetLocalization_AssetTypeBox = new System.Windows.Forms.ComboBox();
this.AssetLocalization_LocalizeButton = new System.Windows.Forms.Button();
this.AssetLocalization_BackgroundWorker = new System.ComponentModel.BackgroundWorker();
this.SuspendLayout();
//
// CustomDLURLLabel
//
this.CustomDLURLLabel.AutoSize = true;
this.CustomDLURLLabel.Location = new System.Drawing.Point(14, 41);
this.CustomDLURLLabel.Name = "CustomDLURLLabel";
this.CustomDLURLLabel.Size = new System.Drawing.Size(67, 13);
this.CustomDLURLLabel.TabIndex = 26;
this.CustomDLURLLabel.Text = "Custom URL";
//
// URLOverrideBox
//
this.URLOverrideBox.Location = new System.Drawing.Point(81, 38);
this.URLOverrideBox.Name = "URLOverrideBox";
this.URLOverrideBox.Size = new System.Drawing.Size(214, 20);
this.URLOverrideBox.TabIndex = 25;
this.URLOverrideBox.Click += new System.EventHandler(this.URLOverrideBox_Click);
this.URLOverrideBox.TextChanged += new System.EventHandler(this.URLOverrideBox_TextChanged);
//
// URLListLabel
//
this.URLListLabel.AutoSize = true;
this.URLListLabel.Location = new System.Drawing.Point(12, 14);
this.URLListLabel.Name = "URLListLabel";
this.URLListLabel.Size = new System.Drawing.Size(48, 13);
this.URLListLabel.TabIndex = 24;
this.URLListLabel.Text = "URL List";
//
// URLSelection
//
this.URLSelection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.URLSelection.DropDownWidth = 242;
this.URLSelection.FormattingEnabled = true;
this.URLSelection.Location = new System.Drawing.Point(81, 11);
this.URLSelection.Name = "URLSelection";
this.URLSelection.Size = new System.Drawing.Size(214, 21);
this.URLSelection.TabIndex = 18;
this.URLSelection.SelectedIndexChanged += new System.EventHandler(this.URLSelection_SelectedIndexChanged);
//
// AssetFixer_ProgressLabel
//
this.AssetFixer_ProgressLabel.Location = new System.Drawing.Point(12, 254);
this.AssetFixer_ProgressLabel.Name = "AssetFixer_ProgressLabel";
this.AssetFixer_ProgressLabel.Size = new System.Drawing.Size(278, 18);
this.AssetFixer_ProgressLabel.TabIndex = 24;
this.AssetFixer_ProgressLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// AssetFixer_ProgressBar
//
this.AssetFixer_ProgressBar.Location = new System.Drawing.Point(12, 228);
this.AssetFixer_ProgressBar.Name = "AssetFixer_ProgressBar";
this.AssetFixer_ProgressBar.Size = new System.Drawing.Size(278, 23);
this.AssetFixer_ProgressBar.TabIndex = 23;
//
// AssetLocalization_AssetLinks
//
this.AssetLocalization_AssetLinks.AutoSize = true;
this.AssetLocalization_AssetLinks.Location = new System.Drawing.Point(42, 140);
this.AssetLocalization_AssetLinks.Name = "AssetLocalization_AssetLinks";
this.AssetLocalization_AssetLinks.Size = new System.Drawing.Size(215, 17);
this.AssetLocalization_AssetLinks.TabIndex = 22;
this.AssetLocalization_AssetLinks.Text = "Replace Asset Links with Selected URL";
this.AssetLocalization_AssetLinks.UseVisualStyleBackColor = true;
this.AssetLocalization_AssetLinks.CheckedChanged += new System.EventHandler(this.AssetLocalization_AssetLinks_CheckedChanged);
//
// AssetLocalization_LocalizePermanentlyBox
//
this.AssetLocalization_LocalizePermanentlyBox.AutoSize = true;
this.AssetLocalization_LocalizePermanentlyBox.Location = new System.Drawing.Point(164, 117);
this.AssetLocalization_LocalizePermanentlyBox.Name = "AssetLocalization_LocalizePermanentlyBox";
this.AssetLocalization_LocalizePermanentlyBox.Size = new System.Drawing.Size(126, 17);
this.AssetLocalization_LocalizePermanentlyBox.TabIndex = 21;
this.AssetLocalization_LocalizePermanentlyBox.Text = "Localize Permanently";
this.AssetLocalization_LocalizePermanentlyBox.UseVisualStyleBackColor = true;
this.AssetLocalization_LocalizePermanentlyBox.CheckedChanged += new System.EventHandler(this.AssetLocalization_LocalizePermanentlyBox_CheckedChanged);
this.AssetLocalization_LocalizePermanentlyBox.Click += new System.EventHandler(this.AssetLocalization_LocalizePermanentlyBox_Click);
//
// AssetLocalization_SaveBackups
//
this.AssetLocalization_SaveBackups.AutoSize = true;
this.AssetLocalization_SaveBackups.Location = new System.Drawing.Point(21, 117);
this.AssetLocalization_SaveBackups.Name = "AssetLocalization_SaveBackups";
this.AssetLocalization_SaveBackups.Size = new System.Drawing.Size(96, 17);
this.AssetLocalization_SaveBackups.TabIndex = 20;
this.AssetLocalization_SaveBackups.Text = "Save Backups";
this.AssetLocalization_SaveBackups.UseVisualStyleBackColor = true;
this.AssetLocalization_SaveBackups.CheckedChanged += new System.EventHandler(this.AssetLocalization_SaveBackups_CheckedChanged);
//
// AssetLocalization_AssetTypeText
//
this.AssetLocalization_AssetTypeText.AutoSize = true;
this.AssetLocalization_AssetTypeText.Location = new System.Drawing.Point(12, 66);
this.AssetLocalization_AssetTypeText.Name = "AssetLocalization_AssetTypeText";
this.AssetLocalization_AssetTypeText.Size = new System.Drawing.Size(63, 13);
this.AssetLocalization_AssetTypeText.TabIndex = 18;
this.AssetLocalization_AssetTypeText.Text = "Asset Type:";
//
// AssetLocalization_ItemNameText
//
this.AssetLocalization_ItemNameText.AutoSize = true;
this.AssetLocalization_ItemNameText.Location = new System.Drawing.Point(12, 93);
this.AssetLocalization_ItemNameText.Name = "AssetLocalization_ItemNameText";
this.AssetLocalization_ItemNameText.Size = new System.Drawing.Size(115, 13);
this.AssetLocalization_ItemNameText.TabIndex = 15;
this.AssetLocalization_ItemNameText.Text = "Asset Name (Optional):";
//
// AssetLocalization_ItemNameBox
//
this.AssetLocalization_ItemNameBox.Location = new System.Drawing.Point(140, 90);
this.AssetLocalization_ItemNameBox.Name = "AssetLocalization_ItemNameBox";
this.AssetLocalization_ItemNameBox.Size = new System.Drawing.Size(155, 20);
this.AssetLocalization_ItemNameBox.TabIndex = 14;
this.AssetLocalization_ItemNameBox.TextChanged += new System.EventHandler(this.AssetLocalization_ItemNameBox_TextChanged);
//
// AssetLocalization_StatusText
//
this.AssetLocalization_StatusText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.AssetLocalization_StatusText.Location = new System.Drawing.Point(12, 188);
this.AssetLocalization_StatusText.Name = "AssetLocalization_StatusText";
this.AssetLocalization_StatusText.Size = new System.Drawing.Size(278, 36);
this.AssetLocalization_StatusText.TabIndex = 13;
this.AssetLocalization_StatusText.Text = "Idle";
this.AssetLocalization_StatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// AssetLocalization_AssetTypeBox
//
this.AssetLocalization_AssetTypeBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.AssetLocalization_AssetTypeBox.FormattingEnabled = true;
this.AssetLocalization_AssetTypeBox.Items.AddRange(new object[] {
"RBXL",
"RBXM",
"Lua Script"});
this.AssetLocalization_AssetTypeBox.Location = new System.Drawing.Point(81, 63);
this.AssetLocalization_AssetTypeBox.Name = "AssetLocalization_AssetTypeBox";
this.AssetLocalization_AssetTypeBox.Size = new System.Drawing.Size(214, 21);
this.AssetLocalization_AssetTypeBox.TabIndex = 12;
this.AssetLocalization_AssetTypeBox.SelectedIndexChanged += new System.EventHandler(this.AssetLocalization_AssetTypeBox_SelectedIndexChanged);
//
// AssetLocalization_LocalizeButton
//
this.AssetLocalization_LocalizeButton.Location = new System.Drawing.Point(12, 164);
this.AssetLocalization_LocalizeButton.Name = "AssetLocalization_LocalizeButton";
this.AssetLocalization_LocalizeButton.Size = new System.Drawing.Size(278, 21);
this.AssetLocalization_LocalizeButton.TabIndex = 11;
this.AssetLocalization_LocalizeButton.Text = "Browse and Localize Model/Place";
this.AssetLocalization_LocalizeButton.UseVisualStyleBackColor = true;
this.AssetLocalization_LocalizeButton.Click += new System.EventHandler(this.AssetLocalization_LocalizeButton_Click);
//
// AssetLocalization_BackgroundWorker
//
this.AssetLocalization_BackgroundWorker.WorkerReportsProgress = true;
this.AssetLocalization_BackgroundWorker.WorkerSupportsCancellation = true;
this.AssetLocalization_BackgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.AssetLocalization_BackgroundWorker_DoWork);
this.AssetLocalization_BackgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.AssetLocalization_BackgroundWorker_ProgressChanged);
this.AssetLocalization_BackgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.AssetLocalization_BackgroundWorker_RunWorkerCompleted);
//
// AssetFixer
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.ClientSize = new System.Drawing.Size(302, 281);
this.Controls.Add(this.AssetFixer_ProgressLabel);
this.Controls.Add(this.URLOverrideBox);
this.Controls.Add(this.AssetFixer_ProgressBar);
this.Controls.Add(this.CustomDLURLLabel);
this.Controls.Add(this.AssetLocalization_AssetLinks);
this.Controls.Add(this.AssetLocalization_LocalizePermanentlyBox);
this.Controls.Add(this.URLListLabel);
this.Controls.Add(this.AssetLocalization_SaveBackups);
this.Controls.Add(this.URLSelection);
this.Controls.Add(this.AssetLocalization_AssetTypeText);
this.Controls.Add(this.AssetLocalization_StatusText);
this.Controls.Add(this.AssetLocalization_ItemNameText);
this.Controls.Add(this.AssetLocalization_LocalizeButton);
this.Controls.Add(this.AssetLocalization_ItemNameBox);
this.Controls.Add(this.AssetLocalization_AssetTypeBox);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "AssetFixer";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Asset Fixer";
this.Closing += new System.ComponentModel.CancelEventHandler(this.AssetSDK_Close);
this.Load += new System.EventHandler(this.AssetSDK_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.CheckBox AssetLocalization_SaveBackups;
private System.Windows.Forms.Label AssetLocalization_AssetTypeText;
private System.Windows.Forms.Label AssetLocalization_ItemNameText;
private System.Windows.Forms.TextBox AssetLocalization_ItemNameBox;
private System.Windows.Forms.Label AssetLocalization_StatusText;
private System.Windows.Forms.ComboBox AssetLocalization_AssetTypeBox;
private System.Windows.Forms.Button AssetLocalization_LocalizeButton;
private System.Windows.Forms.ComboBox URLSelection;
private System.ComponentModel.BackgroundWorker AssetLocalization_BackgroundWorker;
private System.Windows.Forms.Label CustomDLURLLabel;
private System.Windows.Forms.TextBox URLOverrideBox;
private System.Windows.Forms.Label URLListLabel;
private System.Windows.Forms.CheckBox AssetLocalization_LocalizePermanentlyBox;
private System.Windows.Forms.CheckBox AssetLocalization_AssetLinks;
private System.Windows.Forms.ProgressBar AssetFixer_ProgressBar;
private System.Windows.Forms.Label AssetFixer_ProgressLabel;
}

View File

@ -12,39 +12,23 @@ using System.Xml;
using System.Xml.Linq;
#endregion
public partial class AssetSDK : Form
public partial class AssetFixer : Form
{
#region Private Variables
//shared
public Provider[] contentProviders;
private string url = "";
private bool isWebSite = false;
//localizer
private RobloxFileType currentType;
private string path;
private string name;
private string meshname;
private int errors = 0;
//downloader
private bool batchMode = false;
private bool hasOverrideWarningOpenedOnce = false;
//obj2mesh
private OpenFileDialog MeshConverter_OpenOBJDialog;
private string output;
#endregion
#region Constructor
public AssetSDK()
public AssetFixer()
{
InitializeComponent();
//meshconverter
MeshConverter_OpenOBJDialog = new OpenFileDialog()
{
FileName = "Select a .OBJ file",
Filter = "Wavefront .obj file (*.obj)|*.obj",
Title = "Open model .obj"
};
}
#endregion
@ -73,16 +57,10 @@ public partial class AssetSDK : Form
URLSelection.SelectedItem = URLSelection.Items[0];
//downloader
AssetDownloader_LoadHelpMessage.Checked = GlobalVars.UserConfiguration.DisabledAssetSDKHelp;
//asset localizer
AssetLocalization_SaveBackups.Checked = GlobalVars.UserConfiguration.AssetSDKFixerSaveBackups;
AssetLocalization_AssetTypeBox.SelectedItem = "RBXL";
//MeshConverter
MeshConverter_MeshVersionSelector.SelectedItem = "1.00";
SetAssetCachePaths();
GlobalFuncs.CreateAssetCacheDirectories();
@ -145,195 +123,6 @@ public partial class AssetSDK : Form
}
#endregion
#region Asset Downloader
public static void StartItemDownload(string name, string url, string id, int ver, bool iswebsite)
{
try
{
string version = ((ver != 0) && (!iswebsite)) ? "&version=" + ver : "";
string fullURL = url + id + version;
if (!iswebsite)
{
if (!GlobalVars.UserConfiguration.DisabledAssetSDKHelp)
{
string helptext = "If you're trying to create a offline item, please use these file extension names when saving your files:\n.rbxm - Roblox Model/Item\n.rbxl - Roblox Place\n.mesh - Roblox Mesh\n.png - Texture/Icon\n.wav - Sound\n.lua - Lua Script";
MessageBox.Show(helptext, "Novetus Asset SDK", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
Downloader download = new Downloader(fullURL, name, "Roblox Model (*.rbxm)|*.rbxm|Roblox Place (*.rbxl) |*.rbxl|Roblox Mesh (*.mesh)|*.mesh|PNG Image (*.png)|*.png|WAV Sound (*.wav)|*.wav|Lua Script (*.lua)|*.lua");
try
{
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, use the Asset Localizer in the Asset SDK.\n\nIf you get a corrupted file, change the URL using the drop down box.";
download.InitDownload((!GlobalVars.UserConfiguration.DisabledAssetSDKHelp) ? helptext : "");
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
MessageBox.Show("Error: Unable to download the file. " + ex.Message, "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
if (!string.IsNullOrWhiteSpace(download.getDownloadOutcome()))
{
MessageBoxIcon boxicon = MessageBoxIcon.Information;
if (download.getDownloadOutcome().Contains("Error"))
{
boxicon = MessageBoxIcon.Error;
}
MessageBox.Show(download.getDownloadOutcome(), "Novetus Asset SDK - Download Completed", MessageBoxButtons.OK, boxicon);
}
}
else
{
Process.Start(fullURL);
}
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
MessageBox.Show("Error: Unable to download the file. Try using a different file name or ID.", "Novetus Asset SDK - Error", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
public static bool StartItemBatchDownload(string name, string url, string id, int ver, bool iswebsite, string path)
{
bool noErrors = true;
try
{
string version = ((ver != 0) && (!iswebsite)) ? "&version=" + ver : "";
string fullURL = url + id + version;
if (!iswebsite)
{
Downloader download = new Downloader(fullURL, name, "", path);
try
{
download.InitDownloadNoDialog(download.GetFullDLPath());
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
noErrors = false;
}
}
else
{
Process.Start(fullURL);
}
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
noErrors = false;
}
return noErrors;
}
private void AssetDownloader_AssetDownloaderButton_Click(object sender, EventArgs e)
{
if (!string.IsNullOrWhiteSpace(URLOverrideBox.Text))
{
url = URLOverrideBox.Text;
}
if (batchMode == false)
{
StartItemDownload(
AssetDownloader_AssetNameBox.Text,
url,
AssetDownloader_AssetIDBox.Text,
Convert.ToInt32(AssetDownloader_AssetVersionSelector.Value),
isWebSite);
}
else
{
try
{
SaveFileDialog saveFileDialog1 = new SaveFileDialog
{
FileName = "Choose batch download location.",
//"Compressed zip files (*.zip)|*.zip|All files (*.*)|*.*"
Filter = "Roblox Model (*.rbxm)|*.rbxm|Roblox Place (*.rbxl) |*.rbxl|Roblox Mesh (*.mesh)|*.mesh|PNG Image (*.png)|*.png|WAV Sound (*.wav)|*.wav",
DefaultExt = ".rbxm",
Title = "Save files downloaded via batch"
};
if (saveFileDialog1.ShowDialog() == DialogResult.OK)
{
string basepath = Path.GetDirectoryName(saveFileDialog1.FileName);
string extension = Path.GetExtension(saveFileDialog1.FileName);
AssetDownloaderBatch_Status.Visible = true;
string[] lines = AssetDownloaderBatch_BatchIDBox.Lines;
int lineCount = lines.Count();
foreach (var line in lines)
{
string[] linesplit = line.Split('|');
bool noErrors = StartItemBatchDownload(
linesplit[0] + extension,
url,
linesplit[1],
Convert.ToInt32(linesplit[2]),
isWebSite, basepath);
if (!noErrors)
{
--lineCount;
}
}
AssetDownloaderBatch_Status.Visible = false;
string extraText = (lines.Count() != lineCount) ? "\n" + (lines.Count() - lineCount) + " errors were detected during the download. Make sure your IDs and links are valid." : "";
MessageBox.Show("Batch download complete! " + lineCount + " items downloaded!" + extraText, "Novetus Asset SDK - Download Complete", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
}
catch (Exception ex)
{
GlobalFuncs.LogExceptions(ex);
MessageBox.Show("Unable to batch download files. Error:" + ex.Message + "\n Make sure your items are set up properly.", "Novetus Asset SDK - Unable to batch download files.", MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
}
private void AssetDownloader_LoadHelpMessage_CheckedChanged(object sender, EventArgs e)
{
GlobalVars.UserConfiguration.DisabledAssetSDKHelp = AssetDownloader_LoadHelpMessage.Checked;
}
private void AssetDownloader_BatchMode_CheckedChanged(object sender, EventArgs e)
{
batchMode = AssetDownloader_BatchMode.Checked;
if (batchMode)
{
AssetDownloaderBatch_BatchIDBox.Enabled = true;
AssetDownloaderBatch_Note.Visible = true;
AssetDownloader_AssetIDBox.Enabled = false;
AssetDownloader_AssetNameBox.Enabled = false;
AssetDownloader_AssetVersionSelector.Enabled = false;
}
else
{
AssetDownloaderBatch_BatchIDBox.Enabled = false;
AssetDownloaderBatch_Note.Visible = false;
AssetDownloader_AssetIDBox.Enabled = true;
AssetDownloader_AssetNameBox.Enabled = true;
AssetDownloader_AssetVersionSelector.Enabled = true;
}
}
#endregion
#region Asset Fixer
public static OpenFileDialog LoadROBLOXFileDialog(RobloxFileType type)
@ -453,7 +242,7 @@ public partial class AssetSDK : Form
File.WriteAllLines(filepath, file);
}
public void LocalizeAsset(RobloxFileType type, BackgroundWorker worker, string path, string itemname, string meshname, bool useURLs = false, string remoteurl = "")
public void LocalizeAsset(RobloxFileType type, BackgroundWorker worker, string path, string itemname, bool useURLs = false, string remoteurl = "")
{
AssetFixer_ProgressLabel.Text = "Loading...";
@ -588,7 +377,7 @@ public partial class AssetSDK : Form
{
path = robloxFileDialog.FileName;
#if DEBUG
LocalizeAsset(currentType, null, path, name, meshname,
LocalizeAsset(currentType, null, path, name,
AssetLocalization_AssetLinks.Checked ? AssetLocalization_AssetLinks.Checked : false,
AssetLocalization_AssetLinks.Checked ? url : "");
#else
@ -601,7 +390,7 @@ public partial class AssetSDK : Form
private void AssetLocalization_BackgroundWorker_DoWork(object sender, DoWorkEventArgs e)
{
BackgroundWorker worker = sender as BackgroundWorker;
LocalizeAsset(currentType, worker, path, name, meshname,
LocalizeAsset(currentType, worker, path, name,
AssetLocalization_AssetLinks.Checked ? AssetLocalization_AssetLinks.Checked : false,
AssetLocalization_AssetLinks.Checked ? url : "");
}
@ -698,48 +487,5 @@ public partial class AssetSDK : Form
}
#endregion
#region Mesh Converter
private void MeshConverter_ConvertButton_Click(object sender, EventArgs e)
{
if (MeshConverter_OpenOBJDialog.ShowDialog() == DialogResult.OK)
{
MeshConverter_ProcessOBJ(GlobalPaths.DataDir + "\\ObjToRBXMesh.exe", MeshConverter_OpenOBJDialog.FileName);
}
}
private void MeshConverter_ProcessOBJ(string EXEName, string FileName)
{
MeshConverter_StatusText.Text = "Loading utility...";
Process proc = new Process();
proc.StartInfo.FileName = EXEName;
proc.StartInfo.Arguments = "\"" + FileName + "\" " + MeshConverter_MeshVersionSelector.Text;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.EnableRaisingEvents = true;
proc.Exited += new EventHandler(OBJ2MeshV1Exited);
proc.Start();
MeshConverter_StatusText.Text = "Converting OBJ to Roblox Mesh v" + MeshConverter_MeshVersionSelector.Text + "...";
output = proc.StandardOutput.ReadToEnd();
proc.WaitForExit();
}
void OBJ2MeshV1Exited(object sender, EventArgs e)
{
MeshConverter_StatusText.Text = "Ready";
string properName = Path.GetFileName(MeshConverter_OpenOBJDialog.FileName) + ".mesh";
string message = "File " + properName + " created!";
if (output.Contains("ERROR"))
{
message = "Error when creating file.";
}
string small_output = output.Substring(0, 1024);
MessageBox.Show(message + "\nOutput:\n" + small_output, "Novetus Asset SDK - Mesh File Created", MessageBoxButtons.OK, MessageBoxIcon.Information);
}
#endregion
#endregion
}

File diff suppressed because it is too large Load Diff

View File

@ -1,521 +0,0 @@
partial class AssetSDK
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(AssetSDK));
this.AssetDownloader = new System.Windows.Forms.GroupBox();
this.AssetDownloaderBatch_Note = new System.Windows.Forms.Label();
this.AssetDownloaderBatch_Status = new System.Windows.Forms.Label();
this.AssetDownloader_BatchMode = new System.Windows.Forms.CheckBox();
this.AssetDownloaderBatch_BatchIDBox = new System.Windows.Forms.TextBox();
this.AssetDownloader_AssetNameBox = new System.Windows.Forms.TextBox();
this.AssetDownloader_AssetNameText = new System.Windows.Forms.Label();
this.AssetDownloader_AssetVersionText = new System.Windows.Forms.Label();
this.AssetDownloader_AssetIDText = new System.Windows.Forms.Label();
this.AssetDownloader_AssetVersionSelector = new System.Windows.Forms.NumericUpDown();
this.AssetDownloader_AssetIDBox = new System.Windows.Forms.TextBox();
this.AssetDownloader_AssetDownloaderButton = new System.Windows.Forms.Button();
this.AssetDownloader_LoadHelpMessage = new System.Windows.Forms.CheckBox();
this.CustomDLURLLabel = new System.Windows.Forms.Label();
this.URLOverrideBox = new System.Windows.Forms.TextBox();
this.URLListLabel = new System.Windows.Forms.Label();
this.URLSelection = new System.Windows.Forms.ComboBox();
this.AssetLocalization = new System.Windows.Forms.GroupBox();
this.AssetFixer_ProgressLabel = new System.Windows.Forms.Label();
this.AssetFixer_ProgressBar = new System.Windows.Forms.ProgressBar();
this.AssetLocalization_AssetLinks = new System.Windows.Forms.CheckBox();
this.AssetLocalization_LocalizePermanentlyBox = new System.Windows.Forms.CheckBox();
this.AssetLocalization_SaveBackups = new System.Windows.Forms.CheckBox();
this.AssetLocalization_AssetTypeText = new System.Windows.Forms.Label();
this.AssetLocalization_ItemNameText = new System.Windows.Forms.Label();
this.AssetLocalization_ItemNameBox = new System.Windows.Forms.TextBox();
this.AssetLocalization_StatusText = new System.Windows.Forms.Label();
this.AssetLocalization_AssetTypeBox = new System.Windows.Forms.ComboBox();
this.AssetLocalization_LocalizeButton = new System.Windows.Forms.Button();
this.MeshConverter = new System.Windows.Forms.GroupBox();
this.MeshConverter_MeshVersionSelector = new System.Windows.Forms.ComboBox();
this.MeshConverter_StatusText = new System.Windows.Forms.Label();
this.MeshConverter_MeshVersionText = new System.Windows.Forms.Label();
this.MeshConverter_CreditText = new System.Windows.Forms.Label();
this.MeshConverter_ConvertButton = new System.Windows.Forms.Button();
this.AssetLocalization_BackgroundWorker = new System.ComponentModel.BackgroundWorker();
this.AssetDownloader.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.AssetDownloader_AssetVersionSelector)).BeginInit();
this.AssetLocalization.SuspendLayout();
this.MeshConverter.SuspendLayout();
this.SuspendLayout();
//
// AssetDownloader
//
this.AssetDownloader.Controls.Add(this.AssetDownloaderBatch_Note);
this.AssetDownloader.Controls.Add(this.AssetDownloaderBatch_Status);
this.AssetDownloader.Controls.Add(this.AssetDownloader_BatchMode);
this.AssetDownloader.Controls.Add(this.AssetDownloaderBatch_BatchIDBox);
this.AssetDownloader.Controls.Add(this.AssetDownloader_AssetNameBox);
this.AssetDownloader.Controls.Add(this.AssetDownloader_AssetNameText);
this.AssetDownloader.Controls.Add(this.AssetDownloader_AssetVersionText);
this.AssetDownloader.Controls.Add(this.AssetDownloader_AssetIDText);
this.AssetDownloader.Controls.Add(this.AssetDownloader_AssetVersionSelector);
this.AssetDownloader.Controls.Add(this.AssetDownloader_AssetIDBox);
this.AssetDownloader.Controls.Add(this.AssetDownloader_AssetDownloaderButton);
this.AssetDownloader.Location = new System.Drawing.Point(12, 62);
this.AssetDownloader.Name = "AssetDownloader";
this.AssetDownloader.Size = new System.Drawing.Size(260, 348);
this.AssetDownloader.TabIndex = 0;
this.AssetDownloader.TabStop = false;
this.AssetDownloader.Text = "Asset Downloader";
//
// AssetDownloaderBatch_Note
//
this.AssetDownloaderBatch_Note.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.AssetDownloaderBatch_Note.ForeColor = System.Drawing.Color.Red;
this.AssetDownloaderBatch_Note.Location = new System.Drawing.Point(14, 85);
this.AssetDownloaderBatch_Note.Name = "AssetDownloaderBatch_Note";
this.AssetDownloaderBatch_Note.Size = new System.Drawing.Size(236, 42);
this.AssetDownloaderBatch_Note.TabIndex = 23;
this.AssetDownloaderBatch_Note.Text = "You must enter in each item as <Name>|<ID>|<Version>. \r\nExample: RedTopHat|297230" +
"2|1";
this.AssetDownloaderBatch_Note.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
this.AssetDownloaderBatch_Note.Visible = false;
//
// AssetDownloaderBatch_Status
//
this.AssetDownloaderBatch_Status.AutoSize = true;
this.AssetDownloaderBatch_Status.Cursor = System.Windows.Forms.Cursors.Default;
this.AssetDownloaderBatch_Status.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.AssetDownloaderBatch_Status.ForeColor = System.Drawing.Color.Red;
this.AssetDownloaderBatch_Status.Location = new System.Drawing.Point(89, 325);
this.AssetDownloaderBatch_Status.Name = "AssetDownloaderBatch_Status";
this.AssetDownloaderBatch_Status.Size = new System.Drawing.Size(84, 13);
this.AssetDownloaderBatch_Status.TabIndex = 1;
this.AssetDownloaderBatch_Status.Text = "Please wait...";
this.AssetDownloaderBatch_Status.Visible = false;
//
// AssetDownloader_BatchMode
//
this.AssetDownloader_BatchMode.Location = new System.Drawing.Point(164, 57);
this.AssetDownloader_BatchMode.Name = "AssetDownloader_BatchMode";
this.AssetDownloader_BatchMode.Size = new System.Drawing.Size(90, 23);
this.AssetDownloader_BatchMode.TabIndex = 22;
this.AssetDownloader_BatchMode.Text = "Batch Mode";
this.AssetDownloader_BatchMode.UseVisualStyleBackColor = true;
this.AssetDownloader_BatchMode.CheckedChanged += new System.EventHandler(this.AssetDownloader_BatchMode_CheckedChanged);
//
// AssetDownloaderBatch_BatchIDBox
//
this.AssetDownloaderBatch_BatchIDBox.Enabled = false;
this.AssetDownloaderBatch_BatchIDBox.Location = new System.Drawing.Point(8, 132);
this.AssetDownloaderBatch_BatchIDBox.Multiline = true;
this.AssetDownloaderBatch_BatchIDBox.Name = "AssetDownloaderBatch_BatchIDBox";
this.AssetDownloaderBatch_BatchIDBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
this.AssetDownloaderBatch_BatchIDBox.Size = new System.Drawing.Size(242, 185);
this.AssetDownloaderBatch_BatchIDBox.TabIndex = 0;
//
// AssetDownloader_AssetNameBox
//
this.AssetDownloader_AssetNameBox.Location = new System.Drawing.Point(16, 30);
this.AssetDownloader_AssetNameBox.Name = "AssetDownloader_AssetNameBox";
this.AssetDownloader_AssetNameBox.Size = new System.Drawing.Size(76, 20);
this.AssetDownloader_AssetNameBox.TabIndex = 21;
//
// AssetDownloader_AssetNameText
//
this.AssetDownloader_AssetNameText.Location = new System.Drawing.Point(37, 14);
this.AssetDownloader_AssetNameText.Name = "AssetDownloader_AssetNameText";
this.AssetDownloader_AssetNameText.Size = new System.Drawing.Size(35, 14);
this.AssetDownloader_AssetNameText.TabIndex = 20;
this.AssetDownloader_AssetNameText.Text = "Name";
//
// AssetDownloader_AssetVersionText
//
this.AssetDownloader_AssetVersionText.Location = new System.Drawing.Point(194, 14);
this.AssetDownloader_AssetVersionText.Name = "AssetDownloader_AssetVersionText";
this.AssetDownloader_AssetVersionText.Size = new System.Drawing.Size(55, 14);
this.AssetDownloader_AssetVersionText.TabIndex = 17;
this.AssetDownloader_AssetVersionText.Text = "Version";
this.AssetDownloader_AssetVersionText.TextAlign = System.Drawing.ContentAlignment.TopCenter;
//
// AssetDownloader_AssetIDText
//
this.AssetDownloader_AssetIDText.Location = new System.Drawing.Point(120, 14);
this.AssetDownloader_AssetIDText.Name = "AssetDownloader_AssetIDText";
this.AssetDownloader_AssetIDText.Size = new System.Drawing.Size(41, 14);
this.AssetDownloader_AssetIDText.TabIndex = 16;
this.AssetDownloader_AssetIDText.Text = "Item ID";
//
// AssetDownloader_AssetVersionSelector
//
this.AssetDownloader_AssetVersionSelector.Location = new System.Drawing.Point(197, 30);
this.AssetDownloader_AssetVersionSelector.Maximum = new decimal(new int[] {
-727379969,
232,
0,
0});
this.AssetDownloader_AssetVersionSelector.Name = "AssetDownloader_AssetVersionSelector";
this.AssetDownloader_AssetVersionSelector.Size = new System.Drawing.Size(52, 20);
this.AssetDownloader_AssetVersionSelector.TabIndex = 15;
//
// AssetDownloader_AssetIDBox
//
this.AssetDownloader_AssetIDBox.Location = new System.Drawing.Point(102, 30);
this.AssetDownloader_AssetIDBox.Name = "AssetDownloader_AssetIDBox";
this.AssetDownloader_AssetIDBox.Size = new System.Drawing.Size(76, 20);
this.AssetDownloader_AssetIDBox.TabIndex = 14;
//
// AssetDownloader_AssetDownloaderButton
//
this.AssetDownloader_AssetDownloaderButton.Location = new System.Drawing.Point(12, 57);
this.AssetDownloader_AssetDownloaderButton.Name = "AssetDownloader_AssetDownloaderButton";
this.AssetDownloader_AssetDownloaderButton.Size = new System.Drawing.Size(149, 23);
this.AssetDownloader_AssetDownloaderButton.TabIndex = 13;
this.AssetDownloader_AssetDownloaderButton.Text = "Download!";
this.AssetDownloader_AssetDownloaderButton.UseVisualStyleBackColor = true;
this.AssetDownloader_AssetDownloaderButton.Click += new System.EventHandler(this.AssetDownloader_AssetDownloaderButton_Click);
//
// AssetDownloader_LoadHelpMessage
//
this.AssetDownloader_LoadHelpMessage.Location = new System.Drawing.Point(204, 38);
this.AssetDownloader_LoadHelpMessage.Name = "AssetDownloader_LoadHelpMessage";
this.AssetDownloader_LoadHelpMessage.Size = new System.Drawing.Size(145, 24);
this.AssetDownloader_LoadHelpMessage.TabIndex = 19;
this.AssetDownloader_LoadHelpMessage.Text = "Disable Help Messages";
this.AssetDownloader_LoadHelpMessage.UseVisualStyleBackColor = true;
this.AssetDownloader_LoadHelpMessage.CheckedChanged += new System.EventHandler(this.AssetDownloader_LoadHelpMessage_CheckedChanged);
//
// CustomDLURLLabel
//
this.CustomDLURLLabel.AutoSize = true;
this.CustomDLURLLabel.Location = new System.Drawing.Point(286, 14);
this.CustomDLURLLabel.Name = "CustomDLURLLabel";
this.CustomDLURLLabel.Size = new System.Drawing.Size(67, 13);
this.CustomDLURLLabel.TabIndex = 26;
this.CustomDLURLLabel.Text = "Custom URL";
//
// URLOverrideBox
//
this.URLOverrideBox.Location = new System.Drawing.Point(353, 11);
this.URLOverrideBox.Name = "URLOverrideBox";
this.URLOverrideBox.Size = new System.Drawing.Size(187, 20);
this.URLOverrideBox.TabIndex = 25;
this.URLOverrideBox.Click += new System.EventHandler(this.URLOverrideBox_Click);
this.URLOverrideBox.TextChanged += new System.EventHandler(this.URLOverrideBox_TextChanged);
//
// URLListLabel
//
this.URLListLabel.AutoSize = true;
this.URLListLabel.Location = new System.Drawing.Point(12, 14);
this.URLListLabel.Name = "URLListLabel";
this.URLListLabel.Size = new System.Drawing.Size(48, 13);
this.URLListLabel.TabIndex = 24;
this.URLListLabel.Text = "URL List";
//
// URLSelection
//
this.URLSelection.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.URLSelection.DropDownWidth = 242;
this.URLSelection.FormattingEnabled = true;
this.URLSelection.Location = new System.Drawing.Point(66, 11);
this.URLSelection.Name = "URLSelection";
this.URLSelection.Size = new System.Drawing.Size(214, 21);
this.URLSelection.TabIndex = 18;
this.URLSelection.SelectedIndexChanged += new System.EventHandler(this.URLSelection_SelectedIndexChanged);
//
// AssetLocalization
//
this.AssetLocalization.Controls.Add(this.AssetFixer_ProgressLabel);
this.AssetLocalization.Controls.Add(this.AssetFixer_ProgressBar);
this.AssetLocalization.Controls.Add(this.AssetLocalization_AssetLinks);
this.AssetLocalization.Controls.Add(this.AssetLocalization_LocalizePermanentlyBox);
this.AssetLocalization.Controls.Add(this.AssetLocalization_SaveBackups);
this.AssetLocalization.Controls.Add(this.AssetLocalization_AssetTypeText);
this.AssetLocalization.Controls.Add(this.AssetLocalization_ItemNameText);
this.AssetLocalization.Controls.Add(this.AssetLocalization_ItemNameBox);
this.AssetLocalization.Controls.Add(this.AssetLocalization_StatusText);
this.AssetLocalization.Controls.Add(this.AssetLocalization_AssetTypeBox);
this.AssetLocalization.Controls.Add(this.AssetLocalization_LocalizeButton);
this.AssetLocalization.Location = new System.Drawing.Point(278, 176);
this.AssetLocalization.Name = "AssetLocalization";
this.AssetLocalization.Size = new System.Drawing.Size(267, 234);
this.AssetLocalization.TabIndex = 1;
this.AssetLocalization.TabStop = false;
this.AssetLocalization.Text = "Asset Fixer";
//
// AssetFixer_ProgressLabel
//
this.AssetFixer_ProgressLabel.Location = new System.Drawing.Point(6, 206);
this.AssetFixer_ProgressLabel.Name = "AssetFixer_ProgressLabel";
this.AssetFixer_ProgressLabel.Size = new System.Drawing.Size(254, 18);
this.AssetFixer_ProgressLabel.TabIndex = 24;
this.AssetFixer_ProgressLabel.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// AssetFixer_ProgressBar
//
this.AssetFixer_ProgressBar.Location = new System.Drawing.Point(6, 180);
this.AssetFixer_ProgressBar.Name = "AssetFixer_ProgressBar";
this.AssetFixer_ProgressBar.Size = new System.Drawing.Size(254, 23);
this.AssetFixer_ProgressBar.TabIndex = 23;
//
// AssetLocalization_AssetLinks
//
this.AssetLocalization_AssetLinks.AutoSize = true;
this.AssetLocalization_AssetLinks.Location = new System.Drawing.Point(22, 92);
this.AssetLocalization_AssetLinks.Name = "AssetLocalization_AssetLinks";
this.AssetLocalization_AssetLinks.Size = new System.Drawing.Size(215, 17);
this.AssetLocalization_AssetLinks.TabIndex = 22;
this.AssetLocalization_AssetLinks.Text = "Replace Asset Links with Selected URL";
this.AssetLocalization_AssetLinks.UseVisualStyleBackColor = true;
this.AssetLocalization_AssetLinks.CheckedChanged += new System.EventHandler(this.AssetLocalization_AssetLinks_CheckedChanged);
//
// AssetLocalization_LocalizePermanentlyBox
//
this.AssetLocalization_LocalizePermanentlyBox.AutoSize = true;
this.AssetLocalization_LocalizePermanentlyBox.Location = new System.Drawing.Point(125, 69);
this.AssetLocalization_LocalizePermanentlyBox.Name = "AssetLocalization_LocalizePermanentlyBox";
this.AssetLocalization_LocalizePermanentlyBox.Size = new System.Drawing.Size(126, 17);
this.AssetLocalization_LocalizePermanentlyBox.TabIndex = 21;
this.AssetLocalization_LocalizePermanentlyBox.Text = "Localize Permanently";
this.AssetLocalization_LocalizePermanentlyBox.UseVisualStyleBackColor = true;
this.AssetLocalization_LocalizePermanentlyBox.CheckedChanged += new System.EventHandler(this.AssetLocalization_LocalizePermanentlyBox_CheckedChanged);
this.AssetLocalization_LocalizePermanentlyBox.Click += new System.EventHandler(this.AssetLocalization_LocalizePermanentlyBox_Click);
//
// AssetLocalization_SaveBackups
//
this.AssetLocalization_SaveBackups.AutoSize = true;
this.AssetLocalization_SaveBackups.Location = new System.Drawing.Point(15, 69);
this.AssetLocalization_SaveBackups.Name = "AssetLocalization_SaveBackups";
this.AssetLocalization_SaveBackups.Size = new System.Drawing.Size(96, 17);
this.AssetLocalization_SaveBackups.TabIndex = 20;
this.AssetLocalization_SaveBackups.Text = "Save Backups";
this.AssetLocalization_SaveBackups.UseVisualStyleBackColor = true;
this.AssetLocalization_SaveBackups.CheckedChanged += new System.EventHandler(this.AssetLocalization_SaveBackups_CheckedChanged);
//
// AssetLocalization_AssetTypeText
//
this.AssetLocalization_AssetTypeText.AutoSize = true;
this.AssetLocalization_AssetTypeText.Location = new System.Drawing.Point(6, 18);
this.AssetLocalization_AssetTypeText.Name = "AssetLocalization_AssetTypeText";
this.AssetLocalization_AssetTypeText.Size = new System.Drawing.Size(63, 13);
this.AssetLocalization_AssetTypeText.TabIndex = 18;
this.AssetLocalization_AssetTypeText.Text = "Asset Type:";
//
// AssetLocalization_ItemNameText
//
this.AssetLocalization_ItemNameText.AutoSize = true;
this.AssetLocalization_ItemNameText.Location = new System.Drawing.Point(6, 45);
this.AssetLocalization_ItemNameText.Name = "AssetLocalization_ItemNameText";
this.AssetLocalization_ItemNameText.Size = new System.Drawing.Size(115, 13);
this.AssetLocalization_ItemNameText.TabIndex = 15;
this.AssetLocalization_ItemNameText.Text = "Asset Name (Optional):";
//
// AssetLocalization_ItemNameBox
//
this.AssetLocalization_ItemNameBox.Location = new System.Drawing.Point(134, 42);
this.AssetLocalization_ItemNameBox.Name = "AssetLocalization_ItemNameBox";
this.AssetLocalization_ItemNameBox.Size = new System.Drawing.Size(126, 20);
this.AssetLocalization_ItemNameBox.TabIndex = 14;
this.AssetLocalization_ItemNameBox.TextChanged += new System.EventHandler(this.AssetLocalization_ItemNameBox_TextChanged);
//
// AssetLocalization_StatusText
//
this.AssetLocalization_StatusText.BorderStyle = System.Windows.Forms.BorderStyle.FixedSingle;
this.AssetLocalization_StatusText.Location = new System.Drawing.Point(6, 140);
this.AssetLocalization_StatusText.Name = "AssetLocalization_StatusText";
this.AssetLocalization_StatusText.Size = new System.Drawing.Size(254, 36);
this.AssetLocalization_StatusText.TabIndex = 13;
this.AssetLocalization_StatusText.Text = "Idle";
this.AssetLocalization_StatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// AssetLocalization_AssetTypeBox
//
this.AssetLocalization_AssetTypeBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.AssetLocalization_AssetTypeBox.FormattingEnabled = true;
this.AssetLocalization_AssetTypeBox.Items.AddRange(new object[] {
"RBXL",
"RBXM",
"Lua Script"});
this.AssetLocalization_AssetTypeBox.Location = new System.Drawing.Point(75, 15);
this.AssetLocalization_AssetTypeBox.Name = "AssetLocalization_AssetTypeBox";
this.AssetLocalization_AssetTypeBox.Size = new System.Drawing.Size(185, 21);
this.AssetLocalization_AssetTypeBox.TabIndex = 12;
this.AssetLocalization_AssetTypeBox.SelectedIndexChanged += new System.EventHandler(this.AssetLocalization_AssetTypeBox_SelectedIndexChanged);
//
// AssetLocalization_LocalizeButton
//
this.AssetLocalization_LocalizeButton.Location = new System.Drawing.Point(6, 116);
this.AssetLocalization_LocalizeButton.Name = "AssetLocalization_LocalizeButton";
this.AssetLocalization_LocalizeButton.Size = new System.Drawing.Size(254, 21);
this.AssetLocalization_LocalizeButton.TabIndex = 11;
this.AssetLocalization_LocalizeButton.Text = "Browse and Localize Model/Place";
this.AssetLocalization_LocalizeButton.UseVisualStyleBackColor = true;
this.AssetLocalization_LocalizeButton.Click += new System.EventHandler(this.AssetLocalization_LocalizeButton_Click);
//
// MeshConverter
//
this.MeshConverter.Controls.Add(this.MeshConverter_MeshVersionSelector);
this.MeshConverter.Controls.Add(this.MeshConverter_StatusText);
this.MeshConverter.Controls.Add(this.MeshConverter_MeshVersionText);
this.MeshConverter.Controls.Add(this.MeshConverter_CreditText);
this.MeshConverter.Controls.Add(this.MeshConverter_ConvertButton);
this.MeshConverter.Location = new System.Drawing.Point(278, 62);
this.MeshConverter.Name = "MeshConverter";
this.MeshConverter.Size = new System.Drawing.Size(262, 106);
this.MeshConverter.TabIndex = 2;
this.MeshConverter.TabStop = false;
this.MeshConverter.Text = "Mesh Converter";
//
// MeshConverter_MeshVersionSelector
//
this.MeshConverter_MeshVersionSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.MeshConverter_MeshVersionSelector.FormattingEnabled = true;
this.MeshConverter_MeshVersionSelector.Items.AddRange(new object[] {
"1.00",
"1.01",
"2.00"});
this.MeshConverter_MeshVersionSelector.Location = new System.Drawing.Point(125, 14);
this.MeshConverter_MeshVersionSelector.Name = "MeshConverter_MeshVersionSelector";
this.MeshConverter_MeshVersionSelector.Size = new System.Drawing.Size(90, 21);
this.MeshConverter_MeshVersionSelector.TabIndex = 11;
//
// MeshConverter_StatusText
//
this.MeshConverter_StatusText.Location = new System.Drawing.Point(12, 66);
this.MeshConverter_StatusText.Name = "MeshConverter_StatusText";
this.MeshConverter_StatusText.Size = new System.Drawing.Size(239, 14);
this.MeshConverter_StatusText.TabIndex = 10;
this.MeshConverter_StatusText.Text = "Ready";
this.MeshConverter_StatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// MeshConverter_MeshVersionText
//
this.MeshConverter_MeshVersionText.AutoSize = true;
this.MeshConverter_MeshVersionText.Location = new System.Drawing.Point(45, 17);
this.MeshConverter_MeshVersionText.Name = "MeshConverter_MeshVersionText";
this.MeshConverter_MeshVersionText.Size = new System.Drawing.Size(74, 13);
this.MeshConverter_MeshVersionText.TabIndex = 8;
this.MeshConverter_MeshVersionText.Text = "Mesh Version:";
//
// MeshConverter_CreditText
//
this.MeshConverter_CreditText.AutoSize = true;
this.MeshConverter_CreditText.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.MeshConverter_CreditText.Location = new System.Drawing.Point(1, 85);
this.MeshConverter_CreditText.Name = "MeshConverter_CreditText";
this.MeshConverter_CreditText.Size = new System.Drawing.Size(261, 12);
this.MeshConverter_CreditText.TabIndex = 7;
this.MeshConverter_CreditText.Text = "ObjToRBXMesh built by coke. Modified to support old meshes.";
//
// MeshConverter_ConvertButton
//
this.MeshConverter_ConvertButton.Location = new System.Drawing.Point(12, 40);
this.MeshConverter_ConvertButton.Name = "MeshConverter_ConvertButton";
this.MeshConverter_ConvertButton.Size = new System.Drawing.Size(239, 23);
this.MeshConverter_ConvertButton.TabIndex = 6;
this.MeshConverter_ConvertButton.Text = "Browse for mesh and convert...";
this.MeshConverter_ConvertButton.UseVisualStyleBackColor = true;
this.MeshConverter_ConvertButton.Click += new System.EventHandler(this.MeshConverter_ConvertButton_Click);
//
// AssetLocalization_BackgroundWorker
//
this.AssetLocalization_BackgroundWorker.WorkerReportsProgress = true;
this.AssetLocalization_BackgroundWorker.WorkerSupportsCancellation = true;
this.AssetLocalization_BackgroundWorker.DoWork += new System.ComponentModel.DoWorkEventHandler(this.AssetLocalization_BackgroundWorker_DoWork);
this.AssetLocalization_BackgroundWorker.ProgressChanged += new System.ComponentModel.ProgressChangedEventHandler(this.AssetLocalization_BackgroundWorker_ProgressChanged);
this.AssetLocalization_BackgroundWorker.RunWorkerCompleted += new System.ComponentModel.RunWorkerCompletedEventHandler(this.AssetLocalization_BackgroundWorker_RunWorkerCompleted);
//
// AssetSDK
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.ClientSize = new System.Drawing.Size(557, 418);
this.Controls.Add(this.URLOverrideBox);
this.Controls.Add(this.CustomDLURLLabel);
this.Controls.Add(this.MeshConverter);
this.Controls.Add(this.AssetLocalization);
this.Controls.Add(this.URLListLabel);
this.Controls.Add(this.AssetDownloader);
this.Controls.Add(this.AssetDownloader_LoadHelpMessage);
this.Controls.Add(this.URLSelection);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "AssetSDK";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Novetus Asset SDK";
this.Closing += new System.ComponentModel.CancelEventHandler(this.AssetSDK_Close);
this.Load += new System.EventHandler(this.AssetSDK_Load);
this.AssetDownloader.ResumeLayout(false);
this.AssetDownloader.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.AssetDownloader_AssetVersionSelector)).EndInit();
this.AssetLocalization.ResumeLayout(false);
this.AssetLocalization.PerformLayout();
this.MeshConverter.ResumeLayout(false);
this.MeshConverter.PerformLayout();
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.GroupBox AssetDownloader;
private System.Windows.Forms.GroupBox AssetLocalization;
private System.Windows.Forms.GroupBox MeshConverter;
private System.Windows.Forms.Label MeshConverter_StatusText;
private System.Windows.Forms.Label MeshConverter_MeshVersionText;
private System.Windows.Forms.Label MeshConverter_CreditText;
private System.Windows.Forms.Button MeshConverter_ConvertButton;
private System.Windows.Forms.CheckBox AssetLocalization_SaveBackups;
private System.Windows.Forms.Label AssetLocalization_AssetTypeText;
private System.Windows.Forms.Label AssetLocalization_ItemNameText;
private System.Windows.Forms.TextBox AssetLocalization_ItemNameBox;
private System.Windows.Forms.Label AssetLocalization_StatusText;
private System.Windows.Forms.ComboBox AssetLocalization_AssetTypeBox;
private System.Windows.Forms.Button AssetLocalization_LocalizeButton;
private System.Windows.Forms.TextBox AssetDownloader_AssetNameBox;
private System.Windows.Forms.Label AssetDownloader_AssetNameText;
private System.Windows.Forms.CheckBox AssetDownloader_LoadHelpMessage;
private System.Windows.Forms.ComboBox URLSelection;
private System.Windows.Forms.Label AssetDownloader_AssetVersionText;
private System.Windows.Forms.Label AssetDownloader_AssetIDText;
private System.Windows.Forms.NumericUpDown AssetDownloader_AssetVersionSelector;
private System.Windows.Forms.TextBox AssetDownloader_AssetIDBox;
private System.Windows.Forms.Button AssetDownloader_AssetDownloaderButton;
private System.ComponentModel.BackgroundWorker AssetLocalization_BackgroundWorker;
private System.Windows.Forms.CheckBox AssetDownloader_BatchMode;
private System.Windows.Forms.TextBox AssetDownloaderBatch_BatchIDBox;
private System.Windows.Forms.Label AssetDownloaderBatch_Status;
private System.Windows.Forms.Label AssetDownloaderBatch_Note;
private System.Windows.Forms.Label CustomDLURLLabel;
private System.Windows.Forms.TextBox URLOverrideBox;
private System.Windows.Forms.Label URLListLabel;
private System.Windows.Forms.CheckBox AssetLocalization_LocalizePermanentlyBox;
private System.Windows.Forms.ComboBox MeshConverter_MeshVersionSelector;
private System.Windows.Forms.CheckBox AssetLocalization_AssetLinks;
private System.Windows.Forms.ProgressBar AssetFixer_ProgressBar;
private System.Windows.Forms.Label AssetFixer_ProgressLabel;
}

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,118 @@
partial class MeshConverter
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
protected override void Dispose(bool disposing)
{
if (disposing && (components != null))
{
components.Dispose();
}
base.Dispose(disposing);
}
#region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(MeshConverter));
this.MeshConverter_MeshVersionSelector = new System.Windows.Forms.ComboBox();
this.MeshConverter_StatusText = new System.Windows.Forms.Label();
this.MeshConverter_MeshVersionText = new System.Windows.Forms.Label();
this.MeshConverter_CreditText = new System.Windows.Forms.Label();
this.MeshConverter_ConvertButton = new System.Windows.Forms.Button();
this.SuspendLayout();
//
// MeshConverter_MeshVersionSelector
//
this.MeshConverter_MeshVersionSelector.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.MeshConverter_MeshVersionSelector.FormattingEnabled = true;
this.MeshConverter_MeshVersionSelector.Items.AddRange(new object[] {
"1.00",
"1.01",
"2.00"});
this.MeshConverter_MeshVersionSelector.Location = new System.Drawing.Point(147, 6);
this.MeshConverter_MeshVersionSelector.Name = "MeshConverter_MeshVersionSelector";
this.MeshConverter_MeshVersionSelector.Size = new System.Drawing.Size(105, 21);
this.MeshConverter_MeshVersionSelector.TabIndex = 11;
//
// MeshConverter_StatusText
//
this.MeshConverter_StatusText.Location = new System.Drawing.Point(11, 59);
this.MeshConverter_StatusText.Name = "MeshConverter_StatusText";
this.MeshConverter_StatusText.Size = new System.Drawing.Size(261, 14);
this.MeshConverter_StatusText.TabIndex = 10;
this.MeshConverter_StatusText.Text = "Ready";
this.MeshConverter_StatusText.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
//
// MeshConverter_MeshVersionText
//
this.MeshConverter_MeshVersionText.AutoSize = true;
this.MeshConverter_MeshVersionText.Location = new System.Drawing.Point(67, 9);
this.MeshConverter_MeshVersionText.Name = "MeshConverter_MeshVersionText";
this.MeshConverter_MeshVersionText.Size = new System.Drawing.Size(74, 13);
this.MeshConverter_MeshVersionText.TabIndex = 8;
this.MeshConverter_MeshVersionText.Text = "Mesh Version:";
//
// MeshConverter_CreditText
//
this.MeshConverter_CreditText.AutoSize = true;
this.MeshConverter_CreditText.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
this.MeshConverter_CreditText.Location = new System.Drawing.Point(15, 82);
this.MeshConverter_CreditText.Name = "MeshConverter_CreditText";
this.MeshConverter_CreditText.Size = new System.Drawing.Size(261, 12);
this.MeshConverter_CreditText.TabIndex = 7;
this.MeshConverter_CreditText.Text = "ObjToRBXMesh built by coke. Modified to support old meshes.";
//
// MeshConverter_ConvertButton
//
this.MeshConverter_ConvertButton.Location = new System.Drawing.Point(15, 33);
this.MeshConverter_ConvertButton.Name = "MeshConverter_ConvertButton";
this.MeshConverter_ConvertButton.Size = new System.Drawing.Size(258, 23);
this.MeshConverter_ConvertButton.TabIndex = 6;
this.MeshConverter_ConvertButton.Text = "Browse for mesh and convert...";
this.MeshConverter_ConvertButton.UseVisualStyleBackColor = true;
this.MeshConverter_ConvertButton.Click += new System.EventHandler(this.MeshConverter_ConvertButton_Click);
//
// MeshConverter
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
this.ClientSize = new System.Drawing.Size(287, 106);
this.Controls.Add(this.MeshConverter_MeshVersionSelector);
this.Controls.Add(this.MeshConverter_StatusText);
this.Controls.Add(this.MeshConverter_MeshVersionText);
this.Controls.Add(this.MeshConverter_ConvertButton);
this.Controls.Add(this.MeshConverter_CreditText);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedDialog;
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.MaximizeBox = false;
this.Name = "MeshConverter";
this.StartPosition = System.Windows.Forms.FormStartPosition.CenterScreen;
this.Text = "Mesh Converter";
this.Closing += new System.ComponentModel.CancelEventHandler(this.AssetSDK_Close);
this.Load += new System.EventHandler(this.AssetSDK_Load);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.Label MeshConverter_StatusText;
private System.Windows.Forms.Label MeshConverter_MeshVersionText;
private System.Windows.Forms.Label MeshConverter_CreditText;
private System.Windows.Forms.Button MeshConverter_ConvertButton;
private System.Windows.Forms.ComboBox MeshConverter_MeshVersionSelector;
}

View File

@ -0,0 +1,92 @@
#region Usings
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Xml;
using System.Xml.Linq;
#endregion
public partial class MeshConverter : Form
{
#region Private Variables
//obj2mesh
private OpenFileDialog MeshConverter_OpenOBJDialog;
private string output;
#endregion
#region Constructor
public MeshConverter()
{
InitializeComponent();
//meshconverter
MeshConverter_OpenOBJDialog = new OpenFileDialog()
{
FileName = "Select a .OBJ file",
Filter = "Wavefront .obj file (*.obj)|*.obj",
Title = "Open model .obj"
};
}
#endregion
#region Form Events
#region Load/Close Events
private void AssetSDK_Load(object sender, EventArgs e)
{
//MeshConverter
MeshConverter_MeshVersionSelector.SelectedItem = "1.00";
}
void AssetSDK_Close(object sender, CancelEventArgs e)
{
}
#endregion
#region Mesh Converter
private void MeshConverter_ConvertButton_Click(object sender, EventArgs e)
{
if (MeshConverter_OpenOBJDialog.ShowDialog() == DialogResult.OK)
{
MeshConverter_ProcessOBJ(GlobalPaths.DataDir + "\\ObjToRBXMesh.exe", MeshConverter_OpenOBJDialog.FileName);
}
}
private void MeshConverter_ProcessOBJ(string EXEName, string FileName)
{
MeshConverter_StatusText.Text = "Loading utility...";
Process proc = new Process();
proc.StartInfo.FileName = EXEName;
proc.StartInfo.Arguments = "\"" + FileName + "\" " + MeshConverter_MeshVersionSelector.Text;
proc.StartInfo.CreateNoWindow = false;
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardOutput = true;
proc.EnableRaisingEvents = true;
proc.Start();
MeshConverter_StatusText.Text = "Converting OBJ to Roblox Mesh v" + MeshConverter_MeshVersionSelector.Text + "...";
output = proc.StandardOutput.ReadToEnd();
if (proc.HasExited)
{
MeshConverter_StatusText.Invoke(new Action(() => { MeshConverter_StatusText.Text = "Ready"; }));
string properName = Path.GetFileName(MeshConverter_OpenOBJDialog.FileName) + ".mesh";
string message = "File " + properName + " created!";
if (output.Contains("ERROR"))
{
string small_output = output.Substring(0, output.Length);
message = "Error when creating file.\nOutput:\n" + small_output;
}
MessageBox.Show(message, "Novetus Asset SDK - Mesh File Created", MessageBoxButtons.OK, (output.Contains("ERROR")) ? MessageBoxIcon.Error : MessageBoxIcon.Information);
}
}
#endregion
#endregion
}

File diff suppressed because it is too large Load Diff

View File

@ -30,22 +30,26 @@
System.Windows.Forms.ListViewItem listViewItem1 = new System.Windows.Forms.ListViewItem(new string[] {
"Client SDK"}, "ClientSDK.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))));
System.Windows.Forms.ListViewItem listViewItem2 = new System.Windows.Forms.ListViewItem(new string[] {
"Asset SDK"}, "AssetSDK.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"Asset Fixer"}, "AssetFixer.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem3 = new System.Windows.Forms.ListViewItem(new string[] {
"Item SDK"}, "ItemCreationSDK.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"Asset Downloader"}, "AssetDownloader.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem4 = new System.Windows.Forms.ListViewItem(new string[] {
"ClientScript Documentation"}, "ClientScriptTester.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"Mesh Converter"}, "MeshConverter.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem5 = new System.Windows.Forms.ListViewItem(new string[] {
"Splash Tester"}, "splash.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"Item SDK"}, "ItemCreationSDK.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem6 = new System.Windows.Forms.ListViewItem(new string[] {
"Roblox Script Generator"}, "ROBLOXScriptGenerator.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"ClientScript Documentation"}, "ClientScriptTester.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem7 = new System.Windows.Forms.ListViewItem(new string[] {
"Roblox Legacy Place Converter"}, "ROBLOXLegacyPlaceConverter.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"Splash Tester"}, "splash.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem8 = new System.Windows.Forms.ListViewItem(new string[] {
"Diogenes Editor"}, "Diogenes.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"Roblox Script Generator"}, "ROBLOXScriptGenerator.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem9 = new System.Windows.Forms.ListViewItem(new string[] {
"ClientScript Tester"}, "ClientScriptTester.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
"Roblox Legacy Place Converter"}, "ROBLOXLegacyPlaceConverter.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem10 = new System.Windows.Forms.ListViewItem(new string[] {
"Diogenes Editor"}, "Diogenes.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem11 = new System.Windows.Forms.ListViewItem(new string[] {
"ClientScript Tester"}, "ClientScriptTester.png", System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.Windows.Forms.ListViewItem listViewItem12 = new System.Windows.Forms.ListViewItem(new string[] {
"XML Content Editor"}, 9, System.Drawing.Color.Empty, System.Drawing.Color.Empty, new System.Drawing.Font("Microsoft Sans Serif", 9.75F));
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(NovetusSDK));
this.label1 = new System.Windows.Forms.Label();
@ -90,7 +94,9 @@
listViewItem7,
listViewItem8,
listViewItem9,
listViewItem10});
listViewItem10,
listViewItem11,
listViewItem12});
this.listView1.Location = new System.Drawing.Point(12, 102);
this.listView1.Name = "listView1";
this.listView1.Size = new System.Drawing.Size(414, 224);
@ -110,7 +116,7 @@
this.imageList1.ImageStream = ((System.Windows.Forms.ImageListStreamer)(resources.GetObject("imageList1.ImageStream")));
this.imageList1.TransparentColor = System.Drawing.Color.Transparent;
this.imageList1.Images.SetKeyName(0, "N.png");
this.imageList1.Images.SetKeyName(1, "AssetSDK.png");
this.imageList1.Images.SetKeyName(1, "AssetFixer.png");
this.imageList1.Images.SetKeyName(2, "ClientScriptTester.png");
this.imageList1.Images.SetKeyName(3, "ClientSDK.png");
this.imageList1.Images.SetKeyName(4, "Diogenes.png");
@ -119,6 +125,8 @@
this.imageList1.Images.SetKeyName(7, "ROBLOXScriptGenerator.png");
this.imageList1.Images.SetKeyName(8, "splash.png");
this.imageList1.Images.SetKeyName(9, "XMLContentEditor.png");
this.imageList1.Images.SetKeyName(10, "MeshConverter.png");
this.imageList1.Images.SetKeyName(11, "AssetDownloader.png");
//
// NovetusSDK
//

View File

@ -12,7 +12,9 @@ using System.Windows.Forms;
enum SDKApps
{
ClientSDK,
AssetSDK,
AssetFixer,
AssetDownloader,
MeshConverter,
ItemCreationSDK,
ClientScriptDoc,
SplashTester,
@ -104,9 +106,17 @@ public partial class NovetusSDK : Form
switch (selectedApp)
{
case SDKApps.AssetSDK:
AssetSDK asset = new AssetSDK();
asset.Show();
case SDKApps.AssetFixer:
AssetFixer assetF = new AssetFixer();
assetF.Show();
break;
case SDKApps.AssetDownloader:
AssetDownloader assetD = new AssetDownloader();
assetD.Show();
break;
case SDKApps.MeshConverter:
MeshConverter mesh = new MeshConverter();
mesh.Show();
break;
case SDKApps.ItemCreationSDK:
ItemCreationSDK icsdk = new ItemCreationSDK();

View File

@ -124,9 +124,9 @@
<value>
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAAAU
EwAAAk1TRnQBSQF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BAfwBPwH8ATACAAHAAQAB8AEPAfwDAAGAAQAB8AEPAf4DAAGAAQAB+AE/AQgBEQQAAfwBPwEM
AQEEAAH8AT8BAAEBBAAB/AE/AcAFAAH8AT8BwAUAAfwBPwHgAwABgAEBAfwBPwHgAT8CAAGAAQEB/AE/
AfABHwIAAcABAwH8AT8B4AEfAgAB4AEHAfwBPwT/AfgBHwL/AfMBPwL/AeABBwH8AQMB8wE/Av8BwAED
AfwBAwHzAT8BwAE/AQABAQH8AQMB8wEfAYABBwEAAQEBhAEDAeABAwGAAQECAAGEAQEB4AEDAYABAQIA
AYQBAAHgAQcBgAEBAgABhAEAAfkBnwGAAQECAAGAAQAB+QGPAeABBwIAAYABAQHgAQMB4AEHAgABgAE/
AeABAwHgAQcCAAGEAR8B/AHPAcABBwIAAYQBHwH8Ac8BwAEHAYABAAGAAR8B/AHHAeABBwGAAQEBgAE/
AfwBRwHwAQ8BwAEDAYAF/wHgAQcE/wH4AQMBAAEDBP8B+AIAAQMC/wHDAYMB8AIAAQMCAAHDAYMBgAIA
AQMCAAHBAQMDAAEDAwABAwIAAYABAwMAAQMCAAGAAQMDAAEBAgABgAEBAgABgAEBAgABwAEBAgABwAEB
AQABAQHAAQECAAHAAQEBAAEBAcADAAHAAYMBAAEBAcADAAHBAYMB8AEBAcADAAHDAYMB8AEDAcADAAL/
AfABAwHAAwAE/wHAAQAC/ws=
</value>
</data>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />

View File

@ -204,11 +204,23 @@
<Compile Include="Forms\LauncherForm\Stylish\LauncherFormStylishServerInfo.Designer.cs">
<DependentUpon>LauncherFormStylishServerInfo.cs</DependentUpon>
</Compile>
<Compile Include="Forms\SDK\AssetSDK.cs">
<Compile Include="Forms\SDK\AssetDownloader.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\SDK\AssetSDK.Designer.cs">
<DependentUpon>AssetSDK.cs</DependentUpon>
<Compile Include="Forms\SDK\AssetDownloader.Designer.cs">
<DependentUpon>AssetDownloader.cs</DependentUpon>
</Compile>
<Compile Include="Forms\SDK\AssetFixer.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\SDK\AssetFixer.Designer.cs">
<DependentUpon>AssetFixer.cs</DependentUpon>
</Compile>
<Compile Include="Forms\SDK\MeshConverter.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\SDK\MeshConverter.Designer.cs">
<DependentUpon>MeshConverter.cs</DependentUpon>
</Compile>
<Compile Include="Forms\SDK\ClientinfoCreator.cs">
<SubType>Form</SubType>
@ -314,8 +326,14 @@
<EmbeddedResource Include="Forms\LauncherForm\Stylish\LauncherFormStylishServerInfo.resx">
<DependentUpon>LauncherFormStylishServerInfo.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SDK\AssetSDK.resx">
<DependentUpon>AssetSDK.cs</DependentUpon>
<EmbeddedResource Include="Forms\SDK\AssetDownloader.resx">
<DependentUpon>AssetDownloader.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SDK\AssetFixer.resx">
<DependentUpon>AssetFixer.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SDK\MeshConverter.resx">
<DependentUpon>MeshConverter.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\SDK\ClientinfoCreator.resx">
<DependentUpon>ClientinfoCreator.cs</DependentUpon>

Binary file not shown.

After

Width:  |  Height:  |  Size: 98 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 379 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 976 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 963 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 99 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 666 B