1.2 stuffs ( i'm getting really uncreative with these commit names)
This commit is contained in:
parent
7b78b9578b
commit
86ea154975
|
|
@ -390,10 +390,10 @@ namespace NovetusCMD
|
|||
if (GlobalVars.CustomArgs.Equals("%args%"))
|
||||
{
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Server, GlobalVars.SelectedClient) + "; " + (!string.IsNullOrWhiteSpace(GlobalVars.AddonScriptPath) ? "dofile('" + GlobalVars.AddonScriptPath + "');" : "") + quote + (no3d ? " -no3d" : "");
|
||||
}
|
||||
else
|
||||
{
|
||||
args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Server, GlobalVars.SelectedClient) + "; " + (!string.IsNullOrWhiteSpace(GlobalVars.AddonScriptPath) ? "dofile('" + GlobalVars.AddonScriptPath + "');" : "") + quote + (no3d ? " -no3d" : "");
|
||||
}
|
||||
else
|
||||
{
|
||||
ScriptGenerator.GenerateScriptForClient(ScriptGenerator.ScriptType.Server, GlobalVars.SelectedClient);
|
||||
args = "-script " + quote + luafile + quote + (no3d ? " -no3d" : "") + " " + quote + mapfile + quote;
|
||||
|
|
|
|||
|
|
@ -49,32 +49,32 @@ public class ClientScript
|
|||
{
|
||||
if (type == ScriptGenerator.ScriptType.Client) {
|
||||
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true) {
|
||||
return "dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
} else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true) {
|
||||
return "dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
} else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false) {
|
||||
return "dofile('" + luafile + "'); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
} else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false) {
|
||||
return "dofile('" + luafile + "'); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSConnect(0,'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'Player'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
} else {
|
||||
return "dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSConnect(" + GlobalVars.UserID + ",'" + GlobalVars.IP + "'," + GlobalVars.RobloxPort + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.loadtext + "," + md5s + ",'" + GlobalVars.PlayerTripcode + "')";
|
||||
}
|
||||
} else if (type == ScriptGenerator.ScriptType.Server) {
|
||||
return "dofile('" + luafile + "'); _G.CSServer(" + GlobalVars.RobloxPort + "," + GlobalVars.PlayerLimit + "," + md5s + "); " + (!string.IsNullOrWhiteSpace(GlobalVars.AddonScriptPath) ? "dofile('" + GlobalVars.AddonScriptPath + "');" : "");
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSServer(" + GlobalVars.RobloxPort + "," + GlobalVars.PlayerLimit + "," + md5s + "); " + (!string.IsNullOrWhiteSpace(GlobalVars.AddonScriptPath) ? LauncherFuncs.ChangeGameSettings() + " dofile('" + GlobalVars.AddonScriptPath + "');" : "");
|
||||
} else if (type == ScriptGenerator.ScriptType.Solo) {
|
||||
if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == true) {
|
||||
return "dofile('" + luafile + "'); _G.CSSolo(" + GlobalVars.UserID + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.sololoadtext + ")";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSSolo(" + GlobalVars.UserID + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.sololoadtext + ")";
|
||||
} else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == true) {
|
||||
return "dofile('" + luafile + "'); _G.CSSolo(" + GlobalVars.UserID + ",'Player'," + GlobalVars.sololoadtext + ")";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSSolo(" + GlobalVars.UserID + ",'Player'," + GlobalVars.sololoadtext + ")";
|
||||
} else if (GlobalVars.UsesPlayerName == true && GlobalVars.UsesID == false) {
|
||||
return "dofile('" + luafile + "'); _G.CSSolo(0,'" + GlobalVars.PlayerName + "'," + GlobalVars.sololoadtext + ")";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSSolo(0,'" + GlobalVars.PlayerName + "'," + GlobalVars.sololoadtext + ")";
|
||||
} else if (GlobalVars.UsesPlayerName == false && GlobalVars.UsesID == false) {
|
||||
return "dofile('" + luafile + "'); _G.CSSolo(0,'Player'," + GlobalVars.sololoadtext + ")";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSSolo(0,'Player'," + GlobalVars.sololoadtext + ")";
|
||||
} else {
|
||||
return "dofile('" + luafile + "'); _G.CSSolo(" + GlobalVars.UserID + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.sololoadtext + ")";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CSSolo(" + GlobalVars.UserID + ",'" + GlobalVars.PlayerName + "'," + GlobalVars.sololoadtext + ")";
|
||||
}
|
||||
} else if (type == ScriptGenerator.ScriptType.Studio) {
|
||||
return "dofile('" + luafile + "');";
|
||||
return LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "');";
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
|
|
@ -189,7 +189,6 @@ public class ClientScript
|
|||
.Replace("%hat3ws%", GlobalVars.WebServer_HatDir + GlobalVars.Custom_Hat3ID_Offline)
|
||||
.Replace("%extraws%", GlobalVars.WebServer_ExtraDir + GlobalVars.Custom_Extra)
|
||||
.Replace("%hat4ws%", GlobalVars.WebServer_HatDir + GlobalVars.Custom_Extra)
|
||||
.Replace("%bodycolors%", GlobalVars.WebServer_BodyColors)
|
||||
.Replace("%mapfiled%", GlobalVars.BaseGameDir + GlobalVars.MapPathSnip.Replace(@"\\", @"\"))
|
||||
.Replace("%tripcode%", GlobalVars.PlayerTripcode)
|
||||
.Replace("%addonscriptpath%", GlobalVars.AddonScriptPath);
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ using System.Windows.Forms;
|
|||
using System.Diagnostics;
|
||||
using System.IO.Compression;
|
||||
using System.IO;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
public static class RichTextBoxExtensions
|
||||
{
|
||||
|
|
@ -182,4 +183,26 @@ public partial class TabControlWithoutHeader : TabControl
|
|||
else
|
||||
base.WndProc(ref m);
|
||||
}
|
||||
}
|
||||
|
||||
//https://stackoverflow.com/questions/12422619/can-i-disable-the-close-button-of-a-form-using-c
|
||||
public static class FormExt
|
||||
{
|
||||
[DllImport("user32")]
|
||||
public static extern IntPtr GetSystemMenu(IntPtr hWnd, bool bRevert);
|
||||
|
||||
[DllImport("user32")]
|
||||
public static extern bool EnableMenuItem(IntPtr hMenu, uint itemId, uint uEnable);
|
||||
|
||||
public static void DisableCloseButton(this Form form)
|
||||
{
|
||||
// The 1 parameter means to gray out. 0xF060 is SC_CLOSE.
|
||||
EnableMenuItem(GetSystemMenu(form.Handle, false), 0xF060, 1);
|
||||
}
|
||||
|
||||
public static void EnableCloseButton(this Form form)
|
||||
{
|
||||
// The zero parameter means to enable. 0xF060 is SC_CLOSE.
|
||||
EnableMenuItem(GetSystemMenu(form.Handle, false), 0xF060, 0);
|
||||
}
|
||||
}
|
||||
|
|
@ -29,7 +29,8 @@ public static class GlobalVars
|
|||
public static readonly string BasePath = RootPath.Replace(@"\", @"\\");
|
||||
public static readonly string DataPath = BasePath + @"\\shareddata";
|
||||
public static readonly string ConfigDir = BasePath + @"\\config";
|
||||
public static readonly string ClientDir = BasePath + @"\\clients";
|
||||
public static readonly string ConfigDirData = ConfigDir + @"\\data";
|
||||
public static readonly string ClientDir = BasePath + @"\\clients";
|
||||
public static readonly string MapsDir = BasePath + @"\\maps";
|
||||
public static readonly string MapsDirBase = "maps";
|
||||
public static string MapPath = "";
|
||||
|
|
@ -226,13 +227,17 @@ public static class GlobalVars
|
|||
public static string WebServer_ShirtDir = WebServer_CustomPlayerDir + "shirts/";
|
||||
public static string WebServer_PantsDir = WebServer_CustomPlayerDir + "pants/";
|
||||
public static string WebServer_ExtraDir = WebServer_CustomPlayerDir + "custom/";
|
||||
public static string WebServer_BodyColors = WebServer_CustomPlayerDir + "bodycolors.rbxm";
|
||||
//itemmaker
|
||||
public static bool DisabledHelp = false;
|
||||
//reshade
|
||||
public static bool ReShade = true;
|
||||
public static bool ReShadeFPSDisplay = false;
|
||||
public static bool ReShadePerformanceMode = false;
|
||||
//video
|
||||
public static int GraphicsMode = 1;
|
||||
public static bool Bevels = true;
|
||||
public static bool Shadows = true;
|
||||
public static int QualityLevel = 5;
|
||||
|
||||
public static string MultiLine(params string[] args)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,9 +7,12 @@
|
|||
* To change this template use Tools | Options | Coding | Edit Standard Headers.
|
||||
*/
|
||||
using System;
|
||||
using System.ComponentModel;
|
||||
using System.Diagnostics;
|
||||
using System.Drawing;
|
||||
using System.Drawing.Imaging;
|
||||
using System.IO;
|
||||
using System.Threading;
|
||||
|
||||
public class LauncherFuncs
|
||||
{
|
||||
|
|
@ -51,11 +54,19 @@ public class LauncherFuncs
|
|||
ini.IniWriteValue(section, "DiscordRichPresence", GlobalVars.DiscordPresence.ToString());
|
||||
ini.IniWriteValue(section, "MapPath", GlobalVars.MapPath.ToString());
|
||||
ini.IniWriteValue(section, "MapPathSnip", GlobalVars.MapPathSnip.ToString());
|
||||
ini.IniWriteValue(section, "GraphicsMode", GlobalVars.GraphicsMode.ToString());
|
||||
ini.IniWriteValue(section, "ReShade", GlobalVars.ReShade.ToString());
|
||||
ini.IniWriteValue(section, "Bevels", GlobalVars.Bevels.ToString());
|
||||
ini.IniWriteValue(section, "Shadows", GlobalVars.Shadows.ToString());
|
||||
ini.IniWriteValue(section, "QualityLevel", GlobalVars.QualityLevel.ToString());
|
||||
}
|
||||
else
|
||||
{
|
||||
//READ
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4, Decryptline5, Decryptline6, Decryptline7, Decryptline9, Decryptline10, Decryptline11, Decryptline12, Decryptline13, Decryptline14, Decryptline15;
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4,
|
||||
Decryptline5, Decryptline6, Decryptline7, Decryptline9, Decryptline10,
|
||||
Decryptline11, Decryptline12, Decryptline13, Decryptline14, Decryptline15,
|
||||
Decryptline16, Decryptline17, Decryptline18, Decryptline19, Decryptline20;
|
||||
|
||||
IniFile ini = new IniFile(cfgpath);
|
||||
|
||||
|
|
@ -173,6 +184,46 @@ public class LauncherFuncs
|
|||
Decryptline15 = ini.IniReadValue(section, "MapPathSnip");
|
||||
}
|
||||
|
||||
Decryptline16 = ini.IniReadValue(section, "GraphicsMode");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(Decryptline16))
|
||||
{
|
||||
ini.IniWriteValue(section, "GraphicsMode", GlobalVars.GraphicsMode.ToString());
|
||||
Decryptline16 = ini.IniReadValue(section, "GraphicsMode");
|
||||
}
|
||||
|
||||
Decryptline17 = ini.IniReadValue(section, "ReShade");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(Decryptline17))
|
||||
{
|
||||
ini.IniWriteValue(section, "ReShade", GlobalVars.ReShade.ToString());
|
||||
Decryptline17 = ini.IniReadValue(section, "ReShade");
|
||||
}
|
||||
|
||||
Decryptline18 = ini.IniReadValue(section, "Bevels");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(Decryptline18))
|
||||
{
|
||||
ini.IniWriteValue(section, "Bevels", GlobalVars.Bevels.ToString());
|
||||
Decryptline18 = ini.IniReadValue(section, "Bevels");
|
||||
}
|
||||
|
||||
Decryptline19 = ini.IniReadValue(section, "Shadows");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(Decryptline19))
|
||||
{
|
||||
ini.IniWriteValue(section, "Shadows", GlobalVars.Shadows.ToString());
|
||||
Decryptline19 = ini.IniReadValue(section, "Shadows");
|
||||
}
|
||||
|
||||
Decryptline20 = ini.IniReadValue(section, "QualityLevel");
|
||||
|
||||
if (string.IsNullOrWhiteSpace(Decryptline20))
|
||||
{
|
||||
ini.IniWriteValue(section, "QualityLevel", GlobalVars.QualityLevel.ToString());
|
||||
Decryptline20 = ini.IniReadValue(section, "QualityLevel");
|
||||
}
|
||||
|
||||
bool bline1 = Convert.ToBoolean(Decryptline1);
|
||||
GlobalVars.CloseOnLaunch = bline1;
|
||||
|
||||
|
|
@ -224,6 +275,16 @@ public class LauncherFuncs
|
|||
|
||||
GlobalVars.MapPath = Decryptline14;
|
||||
GlobalVars.MapPathSnip = Decryptline15;
|
||||
int iline16 = Convert.ToInt32(Decryptline16);
|
||||
GlobalVars.GraphicsMode = iline16;
|
||||
bool bline17 = Convert.ToBoolean(Decryptline17);
|
||||
GlobalVars.ReShade = bline17;
|
||||
bool bline18 = Convert.ToBoolean(Decryptline18);
|
||||
GlobalVars.Bevels = bline18;
|
||||
bool bline19 = Convert.ToBoolean(Decryptline19);
|
||||
GlobalVars.Shadows = bline19;
|
||||
int iline20 = Convert.ToInt32(Decryptline20);
|
||||
GlobalVars.QualityLevel = iline20;
|
||||
}
|
||||
|
||||
Customization(GlobalVars.ConfigDir + "\\" + GlobalVars.ConfigNameCustomization, write);
|
||||
|
|
@ -508,8 +569,6 @@ public class LauncherFuncs
|
|||
|
||||
string section = "GENERAL";
|
||||
|
||||
int NoReloadOnInit = GlobalVars.ReShade ? 0 : 1;
|
||||
ini.IniWriteValue(section, "NoReloadOnInit", NoReloadOnInit.ToString());
|
||||
int FPS = GlobalVars.ReShadeFPSDisplay ? 1 : 0;
|
||||
ini.IniWriteValue(section, "ShowFPS", FPS.ToString());
|
||||
ini.IniWriteValue(section, "ShowFrameTime", FPS.ToString());
|
||||
|
|
@ -519,18 +578,12 @@ public class LauncherFuncs
|
|||
else
|
||||
{
|
||||
//READ
|
||||
string Decryptline1, Decryptline2, Decryptline3, Decryptline4;
|
||||
string Decryptline2, Decryptline3, Decryptline4;
|
||||
|
||||
IniFile ini = new IniFile(cfgpath);
|
||||
|
||||
string section = "GENERAL";
|
||||
|
||||
Decryptline1 = ini.IniReadValue(section, "NoReloadOnInit");
|
||||
if (string.IsNullOrWhiteSpace(Decryptline1))
|
||||
{
|
||||
int NoReloadOnInit = GlobalVars.ReShade ? 0 : 1;
|
||||
ini.IniWriteValue(section, "NoReloadOnInit", NoReloadOnInit.ToString());
|
||||
}
|
||||
Decryptline2 = ini.IniReadValue(section, "ShowFPS");
|
||||
Decryptline3 = ini.IniReadValue(section, "ShowFrameTime");
|
||||
if (string.IsNullOrWhiteSpace(Decryptline2) || string.IsNullOrWhiteSpace(Decryptline3))
|
||||
|
|
@ -548,15 +601,6 @@ public class LauncherFuncs
|
|||
|
||||
if (setglobals)
|
||||
{
|
||||
if (Convert.ToInt32(Decryptline1) == 0)
|
||||
{
|
||||
GlobalVars.ReShade = true;
|
||||
}
|
||||
else if (Convert.ToInt32(Decryptline1) == 1)
|
||||
{
|
||||
GlobalVars.ReShade = false;
|
||||
}
|
||||
|
||||
if (Convert.ToInt32(Decryptline2) == 1 && Convert.ToInt32(Decryptline3) == 1)
|
||||
{
|
||||
GlobalVars.ReShadeFPSDisplay = true;
|
||||
|
|
@ -608,6 +652,23 @@ public class LauncherFuncs
|
|||
{
|
||||
ReShadeValues(fulldirpath, write, false);
|
||||
}
|
||||
|
||||
string fulldllpath = dir.FullName + @"\opengl32.dll";
|
||||
|
||||
if (GlobalVars.ReShade)
|
||||
{
|
||||
if (!File.Exists(fulldllpath))
|
||||
{
|
||||
File.Copy(GlobalVars.ConfigDirData + "\\opengl32.dll", fulldllpath, true);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (File.Exists(fulldllpath))
|
||||
{
|
||||
File.Delete(fulldllpath);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -627,6 +688,11 @@ public class LauncherFuncs
|
|||
GlobalVars.DiscordPresence = true;
|
||||
GlobalVars.MapPath = GlobalVars.MapsDir + @"\\" + GlobalVars.DefaultMap;
|
||||
GlobalVars.MapPathSnip = GlobalVars.MapsDirBase + @"\\" + GlobalVars.DefaultMap;
|
||||
GlobalVars.GraphicsMode = 1;
|
||||
GlobalVars.ReShade = true;
|
||||
GlobalVars.Bevels = true;
|
||||
GlobalVars.Shadows = true;
|
||||
GlobalVars.QualityLevel = 5;
|
||||
ResetCustomizationValues();
|
||||
}
|
||||
|
||||
|
|
@ -869,4 +935,141 @@ public class LauncherFuncs
|
|||
DiscordRpc.UpdatePresence(ref GlobalVars.presence);
|
||||
}
|
||||
}
|
||||
|
||||
public static string ChangeGameSettings()
|
||||
{
|
||||
string result = "";
|
||||
if (GlobalVars.GraphicsMode == 1)
|
||||
{
|
||||
result += "pcall(function() settings().Rendering.graphicsMode = 2 end);"
|
||||
+ " pcall(function() if settings().Rendering.graphicsMode ~= 2 then settings().Rendering.graphicsMode = 4 end end);";
|
||||
}
|
||||
else if(GlobalVars.GraphicsMode == 2)
|
||||
{
|
||||
result += "pcall(function() settings().Rendering.graphicsMode = 3 end);";
|
||||
}
|
||||
|
||||
if (GlobalVars.Bevels == true)
|
||||
{
|
||||
result += " pcall(function() settings().Rendering.Bevels = 1 end);";
|
||||
}
|
||||
else if (GlobalVars.Bevels == false)
|
||||
{
|
||||
result += " pcall(function() settings().Rendering.Bevels = 2 end);";
|
||||
}
|
||||
|
||||
if (GlobalVars.Shadows == true)
|
||||
{
|
||||
result += " pcall(function() settings().Rendering.Shadow = 1 end);"
|
||||
+ " pcall(function() settings().Rendering.Shadows = true end);";
|
||||
}
|
||||
else if (GlobalVars.Shadows == false)
|
||||
{
|
||||
result += " pcall(function() settings().Rendering.Shadow = 2 end);"
|
||||
+ " pcall(function() settings().Rendering.Shadows = false end);";
|
||||
}
|
||||
|
||||
int MeshDetail = 100;
|
||||
int ShadingQuality = 100;
|
||||
int QualityLevel = 19;
|
||||
int MaterialQuality = 3;
|
||||
|
||||
if (GlobalVars.QualityLevel == 1)
|
||||
{
|
||||
MeshDetail = 10;
|
||||
ShadingQuality = 10;
|
||||
QualityLevel = 1;
|
||||
MaterialQuality = 1;
|
||||
}
|
||||
else if (GlobalVars.QualityLevel == 2)
|
||||
{
|
||||
MeshDetail = 25;
|
||||
ShadingQuality = 25;
|
||||
QualityLevel = 5;
|
||||
MaterialQuality = 1;
|
||||
}
|
||||
else if (GlobalVars.QualityLevel == 3)
|
||||
{
|
||||
MeshDetail = 50;
|
||||
ShadingQuality = 50;
|
||||
QualityLevel = 10;
|
||||
MaterialQuality = 2;
|
||||
}
|
||||
else if (GlobalVars.QualityLevel == 4)
|
||||
{
|
||||
MeshDetail = 75;
|
||||
ShadingQuality = 75;
|
||||
QualityLevel = 15;
|
||||
}
|
||||
|
||||
//1 = very low, 2 = low, 3 = medium, 4 = high, 5 = ultra.
|
||||
|
||||
result += " pcall(function() settings().Rendering.maxMeshDetail = " + MeshDetail + " end);"
|
||||
+ " pcall(function() settings().Rendering.maxShadingQuality = " + ShadingQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.minMeshDetail = " + MeshDetail + " end);"
|
||||
+ " pcall(function() settings().Rendering.minShadingQuality = " + ShadingQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.AluminumQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.CompoundMaterialQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.CorrodedMetalQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.DiamondPlateQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.GrassQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.IceQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.PlasticQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.SlateQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.TrussDetail = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.WoodQuality = " + MaterialQuality + " end);"
|
||||
+ " pcall(function() settings().Rendering.QualityLevel = " + QualityLevel + " end);";
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
public static string GetLuaFileName()
|
||||
{
|
||||
string luafile = "";
|
||||
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
luafile = "rbxasset://scripts\\\\" + GlobalVars.ScriptName + ".lua";
|
||||
}
|
||||
else
|
||||
{
|
||||
luafile = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\content\\scripts\\" + GlobalVars.ScriptGenName + ".lua";
|
||||
}
|
||||
|
||||
return luafile;
|
||||
}
|
||||
|
||||
public static string GetClientEXEDir(ScriptGenerator.ScriptType type)
|
||||
{
|
||||
string rbxexe = "";
|
||||
if (GlobalVars.LegacyMode == true)
|
||||
{
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case ScriptGenerator.ScriptType.Client:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_client.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.Server:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_server.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.Studio:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_studio.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.Solo:
|
||||
case ScriptGenerator.ScriptType.EasterEgg:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_solo.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.None:
|
||||
default:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return rbxexe;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -103,7 +103,8 @@ public class ScriptGenerator
|
|||
string code = GlobalVars.MultiLine(
|
||||
"--Load Script",
|
||||
//scriptcontents,
|
||||
"dofile('rbxasset://scripts/" + GlobalVars.ScriptName + ".lua')",
|
||||
LauncherFuncs.ChangeGameSettings(),
|
||||
"dofile('rbxasset://scripts/" + GlobalVars.ScriptName + ".lua')",
|
||||
GetScriptFuncForType(type, client),
|
||||
!string.IsNullOrWhiteSpace(GlobalVars.AddonScriptPath) ? "dofile('" + GlobalVars.AddonScriptPath + "')" : ""
|
||||
);
|
||||
|
|
|
|||
|
|
@ -192,7 +192,7 @@ public class SimpleHTTPServer
|
|||
var ext = new FileInfo(filename);
|
||||
|
||||
if (ext.Extension == ".php") {
|
||||
string output = ProcessPhpPage(GlobalVars.ConfigDir + "\\php\\php.exe", filename);
|
||||
string output = ProcessPhpPage(GlobalVars.ConfigDirData + "\\php\\php.exe", filename);
|
||||
byte[] input = ASCIIEncoding.UTF8.GetBytes(output);
|
||||
//Adding permanent http response headers
|
||||
string mime;
|
||||
|
|
|
|||
|
|
@ -50,12 +50,6 @@ namespace NovetusLauncher
|
|||
this.button73 = new System.Windows.Forms.Button();
|
||||
this.button72 = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.button41 = new System.Windows.Forms.Button();
|
||||
this.button83 = new System.Windows.Forms.Button();
|
||||
this.button82 = new System.Windows.Forms.Button();
|
||||
this.button42 = new System.Windows.Forms.Button();
|
||||
this.button81 = new System.Windows.Forms.Button();
|
||||
this.tabControl1 = new TabControlWithoutHeader();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
||||
|
|
@ -183,9 +177,15 @@ namespace NovetusLauncher
|
|||
this.button54 = new System.Windows.Forms.Button();
|
||||
this.button53 = new System.Windows.Forms.Button();
|
||||
this.button52 = new System.Windows.Forms.Button();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.button41 = new System.Windows.Forms.Button();
|
||||
this.button83 = new System.Windows.Forms.Button();
|
||||
this.button82 = new System.Windows.Forms.Button();
|
||||
this.button42 = new System.Windows.Forms.Button();
|
||||
this.button81 = new System.Windows.Forms.Button();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
this.groupBox3.SuspendLayout();
|
||||
|
|
@ -213,6 +213,7 @@ namespace NovetusLauncher
|
|||
((System.ComponentModel.ISupportInitialize)(this.pictureBox9)).BeginInit();
|
||||
this.tabPage7.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).BeginInit();
|
||||
this.panel3.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// imageList1
|
||||
|
|
@ -226,10 +227,13 @@ namespace NovetusLauncher
|
|||
// panel1
|
||||
//
|
||||
this.panel1.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.panel1.Controls.Add(this.label9);
|
||||
this.panel1.Controls.Add(this.button71);
|
||||
this.panel1.Controls.Add(this.button80);
|
||||
this.panel1.Controls.Add(this.button79);
|
||||
this.panel1.Controls.Add(this.button78);
|
||||
this.panel1.Controls.Add(this.button77);
|
||||
this.panel1.Controls.Add(this.button43);
|
||||
this.panel1.Controls.Add(this.button76);
|
||||
this.panel1.Controls.Add(this.button75);
|
||||
this.panel1.Controls.Add(this.button74);
|
||||
|
|
@ -339,68 +343,6 @@ namespace NovetusLauncher
|
|||
this.panel2.Size = new System.Drawing.Size(568, 329);
|
||||
this.panel2.TabIndex = 2;
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.button41);
|
||||
this.panel3.Controls.Add(this.button83);
|
||||
this.panel3.Controls.Add(this.button82);
|
||||
this.panel3.Controls.Add(this.button42);
|
||||
this.panel3.Controls.Add(this.button81);
|
||||
this.panel3.Location = new System.Drawing.Point(110, 359);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(535, 62);
|
||||
this.panel3.TabIndex = 3;
|
||||
//
|
||||
// button41
|
||||
//
|
||||
this.button41.Location = new System.Drawing.Point(3, 33);
|
||||
this.button41.Name = "button41";
|
||||
this.button41.Size = new System.Drawing.Size(253, 29);
|
||||
this.button41.TabIndex = 55;
|
||||
this.button41.Text = "Randomize all 3";
|
||||
this.button41.UseVisualStyleBackColor = true;
|
||||
this.button41.Click += new System.EventHandler(this.Button41Click);
|
||||
//
|
||||
// button83
|
||||
//
|
||||
this.button83.Location = new System.Drawing.Point(296, 4);
|
||||
this.button83.Name = "button83";
|
||||
this.button83.Size = new System.Drawing.Size(56, 23);
|
||||
this.button83.TabIndex = 4;
|
||||
this.button83.Text = "HAT #3";
|
||||
this.button83.UseVisualStyleBackColor = true;
|
||||
this.button83.Click += new System.EventHandler(this.button83_Click);
|
||||
//
|
||||
// button82
|
||||
//
|
||||
this.button82.Location = new System.Drawing.Point(221, 4);
|
||||
this.button82.Name = "button82";
|
||||
this.button82.Size = new System.Drawing.Size(69, 23);
|
||||
this.button82.TabIndex = 58;
|
||||
this.button82.Text = "HAT #2";
|
||||
this.button82.UseVisualStyleBackColor = true;
|
||||
this.button82.Click += new System.EventHandler(this.button82_Click);
|
||||
//
|
||||
// button42
|
||||
//
|
||||
this.button42.Location = new System.Drawing.Point(269, 33);
|
||||
this.button42.Name = "button42";
|
||||
this.button42.Size = new System.Drawing.Size(263, 29);
|
||||
this.button42.TabIndex = 56;
|
||||
this.button42.Text = "Reset all 3";
|
||||
this.button42.UseVisualStyleBackColor = true;
|
||||
this.button42.Click += new System.EventHandler(this.Button42Click);
|
||||
//
|
||||
// button81
|
||||
//
|
||||
this.button81.Location = new System.Drawing.Point(159, 4);
|
||||
this.button81.Name = "button81";
|
||||
this.button81.Size = new System.Drawing.Size(56, 23);
|
||||
this.button81.TabIndex = 3;
|
||||
this.button81.Text = "HAT #1";
|
||||
this.button81.UseVisualStyleBackColor = true;
|
||||
this.button81.Click += new System.EventHandler(this.button81_Click);
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
|
||||
|
|
@ -1641,11 +1583,9 @@ namespace NovetusLauncher
|
|||
//
|
||||
// tabPage7
|
||||
//
|
||||
this.tabPage7.Controls.Add(this.button71);
|
||||
this.tabPage7.Controls.Add(this.label8);
|
||||
this.tabPage7.Controls.Add(this.pictureBox10);
|
||||
this.tabPage7.Controls.Add(this.button60);
|
||||
this.tabPage7.Controls.Add(this.button43);
|
||||
this.tabPage7.Controls.Add(this.textBox1);
|
||||
this.tabPage7.Controls.Add(this.label7);
|
||||
this.tabPage7.Controls.Add(this.label6);
|
||||
|
|
@ -1665,17 +1605,17 @@ namespace NovetusLauncher
|
|||
//
|
||||
// button71
|
||||
//
|
||||
this.button71.Location = new System.Drawing.Point(455, 48);
|
||||
this.button71.Location = new System.Drawing.Point(3, 268);
|
||||
this.button71.Name = "button71";
|
||||
this.button71.Size = new System.Drawing.Size(91, 23);
|
||||
this.button71.Size = new System.Drawing.Size(75, 22);
|
||||
this.button71.TabIndex = 13;
|
||||
this.button71.Text = "Save Outfit";
|
||||
this.button71.Text = "SAVE";
|
||||
this.button71.UseVisualStyleBackColor = true;
|
||||
this.button71.Click += new System.EventHandler(this.button71_Click);
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Location = new System.Drawing.Point(361, 6);
|
||||
this.label8.Location = new System.Drawing.Point(433, 6);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(69, 29);
|
||||
this.label8.TabIndex = 12;
|
||||
|
|
@ -1684,16 +1624,16 @@ namespace NovetusLauncher
|
|||
//
|
||||
// pictureBox10
|
||||
//
|
||||
this.pictureBox10.Location = new System.Drawing.Point(349, 38);
|
||||
this.pictureBox10.Location = new System.Drawing.Point(410, 38);
|
||||
this.pictureBox10.Name = "pictureBox10";
|
||||
this.pictureBox10.Size = new System.Drawing.Size(100, 100);
|
||||
this.pictureBox10.Size = new System.Drawing.Size(118, 118);
|
||||
this.pictureBox10.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox10.TabIndex = 11;
|
||||
this.pictureBox10.TabStop = false;
|
||||
//
|
||||
// button60
|
||||
//
|
||||
this.button60.Location = new System.Drawing.Point(364, 140);
|
||||
this.button60.Location = new System.Drawing.Point(434, 162);
|
||||
this.button60.Name = "button60";
|
||||
this.button60.Size = new System.Drawing.Size(68, 23);
|
||||
this.button60.TabIndex = 10;
|
||||
|
|
@ -1703,11 +1643,11 @@ namespace NovetusLauncher
|
|||
//
|
||||
// button43
|
||||
//
|
||||
this.button43.Location = new System.Drawing.Point(455, 3);
|
||||
this.button43.Location = new System.Drawing.Point(3, 243);
|
||||
this.button43.Name = "button43";
|
||||
this.button43.Size = new System.Drawing.Size(91, 42);
|
||||
this.button43.Size = new System.Drawing.Size(75, 22);
|
||||
this.button43.TabIndex = 1;
|
||||
this.button43.Text = "Avatar 3D Preview";
|
||||
this.button43.Text = "3D VIEW";
|
||||
this.button43.UseVisualStyleBackColor = true;
|
||||
this.button43.Click += new System.EventHandler(this.Button43Click);
|
||||
//
|
||||
|
|
@ -1739,9 +1679,9 @@ namespace NovetusLauncher
|
|||
//
|
||||
// button55
|
||||
//
|
||||
this.button55.Location = new System.Drawing.Point(68, 140);
|
||||
this.button55.Location = new System.Drawing.Point(11, 162);
|
||||
this.button55.Name = "button55";
|
||||
this.button55.Size = new System.Drawing.Size(201, 23);
|
||||
this.button55.Size = new System.Drawing.Size(367, 23);
|
||||
this.button55.TabIndex = 6;
|
||||
this.button55.Text = "Disable Icon/Enable Custom Icons";
|
||||
this.button55.UseVisualStyleBackColor = true;
|
||||
|
|
@ -1750,7 +1690,7 @@ namespace NovetusLauncher
|
|||
// label5
|
||||
//
|
||||
this.label5.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label5.Location = new System.Drawing.Point(202, 9);
|
||||
this.label5.Location = new System.Drawing.Point(229, 9);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(56, 19);
|
||||
this.label5.TabIndex = 5;
|
||||
|
|
@ -1771,7 +1711,7 @@ namespace NovetusLauncher
|
|||
// label3
|
||||
//
|
||||
this.label3.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label3.Location = new System.Drawing.Point(95, 9);
|
||||
this.label3.Location = new System.Drawing.Point(122, 9);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(111, 19);
|
||||
this.label3.TabIndex = 3;
|
||||
|
|
@ -1782,9 +1722,9 @@ namespace NovetusLauncher
|
|||
this.button54.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.button54.ImageKey = "OBC.png";
|
||||
this.button54.ImageList = this.imageList1;
|
||||
this.button54.Location = new System.Drawing.Point(227, 38);
|
||||
this.button54.Location = new System.Drawing.Point(260, 38);
|
||||
this.button54.Name = "button54";
|
||||
this.button54.Size = new System.Drawing.Size(100, 100);
|
||||
this.button54.Size = new System.Drawing.Size(118, 118);
|
||||
this.button54.TabIndex = 2;
|
||||
this.button54.Text = "OBC";
|
||||
this.button54.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
|
|
@ -1796,9 +1736,9 @@ namespace NovetusLauncher
|
|||
this.button53.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.button53.ImageKey = "TBC.png";
|
||||
this.button53.ImageList = this.imageList1;
|
||||
this.button53.Location = new System.Drawing.Point(121, 38);
|
||||
this.button53.Location = new System.Drawing.Point(136, 38);
|
||||
this.button53.Name = "button53";
|
||||
this.button53.Size = new System.Drawing.Size(100, 100);
|
||||
this.button53.Size = new System.Drawing.Size(118, 118);
|
||||
this.button53.TabIndex = 1;
|
||||
this.button53.Text = "TBC";
|
||||
this.button53.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
|
|
@ -1810,15 +1750,85 @@ namespace NovetusLauncher
|
|||
this.button52.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Center;
|
||||
this.button52.ImageKey = "BC.png";
|
||||
this.button52.ImageList = this.imageList1;
|
||||
this.button52.Location = new System.Drawing.Point(15, 38);
|
||||
this.button52.Location = new System.Drawing.Point(11, 38);
|
||||
this.button52.Name = "button52";
|
||||
this.button52.Size = new System.Drawing.Size(100, 100);
|
||||
this.button52.Size = new System.Drawing.Size(118, 118);
|
||||
this.button52.TabIndex = 0;
|
||||
this.button52.Text = "BC";
|
||||
this.button52.TextAlign = System.Drawing.ContentAlignment.BottomCenter;
|
||||
this.button52.UseVisualStyleBackColor = true;
|
||||
this.button52.Click += new System.EventHandler(this.Button52Click);
|
||||
//
|
||||
// panel3
|
||||
//
|
||||
this.panel3.Controls.Add(this.button41);
|
||||
this.panel3.Controls.Add(this.button83);
|
||||
this.panel3.Controls.Add(this.button82);
|
||||
this.panel3.Controls.Add(this.button42);
|
||||
this.panel3.Controls.Add(this.button81);
|
||||
this.panel3.Location = new System.Drawing.Point(110, 359);
|
||||
this.panel3.Name = "panel3";
|
||||
this.panel3.Size = new System.Drawing.Size(535, 62);
|
||||
this.panel3.TabIndex = 3;
|
||||
//
|
||||
// button41
|
||||
//
|
||||
this.button41.Location = new System.Drawing.Point(3, 33);
|
||||
this.button41.Name = "button41";
|
||||
this.button41.Size = new System.Drawing.Size(253, 29);
|
||||
this.button41.TabIndex = 55;
|
||||
this.button41.Text = "Randomize all 3";
|
||||
this.button41.UseVisualStyleBackColor = true;
|
||||
this.button41.Click += new System.EventHandler(this.Button41Click);
|
||||
//
|
||||
// button83
|
||||
//
|
||||
this.button83.Location = new System.Drawing.Point(296, 4);
|
||||
this.button83.Name = "button83";
|
||||
this.button83.Size = new System.Drawing.Size(56, 23);
|
||||
this.button83.TabIndex = 4;
|
||||
this.button83.Text = "HAT #3";
|
||||
this.button83.UseVisualStyleBackColor = true;
|
||||
this.button83.Click += new System.EventHandler(this.button83_Click);
|
||||
//
|
||||
// button82
|
||||
//
|
||||
this.button82.Location = new System.Drawing.Point(221, 4);
|
||||
this.button82.Name = "button82";
|
||||
this.button82.Size = new System.Drawing.Size(69, 23);
|
||||
this.button82.TabIndex = 58;
|
||||
this.button82.Text = "HAT #2";
|
||||
this.button82.UseVisualStyleBackColor = true;
|
||||
this.button82.Click += new System.EventHandler(this.button82_Click);
|
||||
//
|
||||
// button42
|
||||
//
|
||||
this.button42.Location = new System.Drawing.Point(269, 33);
|
||||
this.button42.Name = "button42";
|
||||
this.button42.Size = new System.Drawing.Size(263, 29);
|
||||
this.button42.TabIndex = 56;
|
||||
this.button42.Text = "Reset all 3";
|
||||
this.button42.UseVisualStyleBackColor = true;
|
||||
this.button42.Click += new System.EventHandler(this.Button42Click);
|
||||
//
|
||||
// button81
|
||||
//
|
||||
this.button81.Location = new System.Drawing.Point(159, 4);
|
||||
this.button81.Name = "button81";
|
||||
this.button81.Size = new System.Drawing.Size(56, 23);
|
||||
this.button81.TabIndex = 3;
|
||||
this.button81.Text = "HAT #1";
|
||||
this.button81.UseVisualStyleBackColor = true;
|
||||
this.button81.Click += new System.EventHandler(this.button81_Click);
|
||||
//
|
||||
// label9
|
||||
//
|
||||
this.label9.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.label9.Location = new System.Drawing.Point(3, 238);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(75, 2);
|
||||
this.label9.TabIndex = 14;
|
||||
//
|
||||
// CharacterCustomization
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
|
|
@ -1837,7 +1847,6 @@ namespace NovetusLauncher
|
|||
this.Load += new System.EventHandler(this.CharacterCustomizationLoad);
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.groupBox3.ResumeLayout(false);
|
||||
|
|
@ -1875,6 +1884,7 @@ namespace NovetusLauncher
|
|||
this.tabPage7.ResumeLayout(false);
|
||||
this.tabPage7.PerformLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox10)).EndInit();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
|
@ -2023,5 +2033,6 @@ namespace NovetusLauncher
|
|||
private System.Windows.Forms.Label label11;
|
||||
private System.Windows.Forms.Label label12;
|
||||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Label label9;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1381,10 +1381,10 @@ namespace NovetusLauncher
|
|||
{
|
||||
LauncherFuncs.ReloadLoadtextValue();
|
||||
string luafile = "rbxasset://scripts\\\\CSView.lua";
|
||||
string mapfile = GlobalVars.ConfigDir + "\\preview\\content\\fonts\\3DView.rbxl";
|
||||
string rbxexe = GlobalVars.ConfigDir + "\\preview\\3DView.exe";
|
||||
string mapfile = GlobalVars.ConfigDirData + "\\preview\\content\\fonts\\3DView.rbxl";
|
||||
string rbxexe = GlobalVars.ConfigDirData + "\\preview\\3DView.exe";
|
||||
string quote = "\"";
|
||||
string args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); _G.CS3DView(0,'Player'," + GlobalVars.loadtext + ");" + quote;
|
||||
string args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); _G.CS3DView(0,'Player'," + GlobalVars.loadtext + ");" + quote;
|
||||
try
|
||||
{
|
||||
Process client = new Process();
|
||||
|
|
|
|||
|
|
@ -125,7 +125,7 @@
|
|||
AAEAAAD/////AQAAAAAAAAAMAgAAAFdTeXN0ZW0uV2luZG93cy5Gb3JtcywgVmVyc2lvbj00LjAuMC4w
|
||||
LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWI3N2E1YzU2MTkzNGUwODkFAQAAACZTeXN0
|
||||
ZW0uV2luZG93cy5Gb3Jtcy5JbWFnZUxpc3RTdHJlYW1lcgEAAAAERGF0YQcCAgAAAAkDAAAADwMAAACe
|
||||
OAAAAk1TRnQBSQFMAgEBAwEAAVgBAAFYAQABQAEAAUABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
OAAAAk1TRnQBSQFMAgEBAwEAAWABAAFgAQABQAEAAUABAAT/AQkBAAj/AUIBTQE2AQQGAAE2AQQCAAEo
|
||||
BAABAQIAAUADAAEBAQABCAYAAUAYAAGAAgABgAMAAoABAAGAAwABgAEAAYABAAKAAgADwAEAAcAB3AHA
|
||||
AQAB8AHKAaYBAAEzBQABMwEAATMBAAEzAQACMwIAAxYBAAMcAQADIgEAAykBAANVAQADTQEAA0IBAAM5
|
||||
AQABgAF8Af8BAAJQAf8BAAGTAQAB1gEAAf8B7AHMAQABxgHWAe8BAAHWAucBAAGQAakBrQIAAf8BMwMA
|
||||
|
|
|
|||
|
|
@ -3,5 +3,6 @@
|
|||
class LocalVars
|
||||
{
|
||||
public static int Clicks = 0;
|
||||
public static string prevsplash = "";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -65,9 +65,6 @@ namespace NovetusLauncher
|
|||
this.button28 = new System.Windows.Forms.Button();
|
||||
this.button34 = new System.Windows.Forms.Button();
|
||||
this.panel2 = new System.Windows.Forms.Panel();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.button35 = new System.Windows.Forms.Button();
|
||||
this.tabControl1 = new TabControlWithoutHeader();
|
||||
this.tabPage1 = new System.Windows.Forms.TabPage();
|
||||
this.label24 = new System.Windows.Forms.Label();
|
||||
|
|
@ -124,31 +121,36 @@ namespace NovetusLauncher
|
|||
this.tabPage8 = new System.Windows.Forms.TabPage();
|
||||
this.richTextBox2 = new System.Windows.Forms.RichTextBox();
|
||||
this.tabPage5 = new System.Windows.Forms.TabPage();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.label20 = new System.Windows.Forms.Label();
|
||||
this.label9 = new System.Windows.Forms.Label();
|
||||
this.checkBox7 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox6 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
this.richTextBox3 = new System.Windows.Forms.RichTextBox();
|
||||
this.panel5 = new System.Windows.Forms.Panel();
|
||||
this.comboBox2 = new System.Windows.Forms.ComboBox();
|
||||
this.checkBox9 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox8 = new System.Windows.Forms.CheckBox();
|
||||
this.label31 = new System.Windows.Forms.Label();
|
||||
this.comboBox1 = new System.Windows.Forms.ComboBox();
|
||||
this.checkBox2 = new System.Windows.Forms.CheckBox();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.button26 = new System.Windows.Forms.Button();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.button9 = new System.Windows.Forms.Button();
|
||||
this.checkBox6 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox7 = new System.Windows.Forms.CheckBox();
|
||||
this.label22 = new System.Windows.Forms.Label();
|
||||
this.checkBox5 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox3 = new System.Windows.Forms.CheckBox();
|
||||
this.checkBox1 = new System.Windows.Forms.CheckBox();
|
||||
this.button9 = new System.Windows.Forms.Button();
|
||||
this.button26 = new System.Windows.Forms.Button();
|
||||
this.button5 = new System.Windows.Forms.Button();
|
||||
this.label6 = new System.Windows.Forms.Label();
|
||||
this.label5 = new System.Windows.Forms.Label();
|
||||
this.richTextBox3 = new System.Windows.Forms.RichTextBox();
|
||||
this.label10 = new System.Windows.Forms.Label();
|
||||
this.label18 = new System.Windows.Forms.Label();
|
||||
this.label8 = new System.Windows.Forms.Label();
|
||||
this.label7 = new System.Windows.Forms.Label();
|
||||
this.panel3 = new System.Windows.Forms.Panel();
|
||||
this.panel4 = new System.Windows.Forms.Panel();
|
||||
this.button35 = new System.Windows.Forms.Button();
|
||||
this.label3 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).BeginInit();
|
||||
this.panel1.SuspendLayout();
|
||||
this.panel2.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.tabControl1.SuspendLayout();
|
||||
this.tabPage1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.numericUpDown1)).BeginInit();
|
||||
|
|
@ -161,6 +163,9 @@ namespace NovetusLauncher
|
|||
this.tabPage7.SuspendLayout();
|
||||
this.tabPage8.SuspendLayout();
|
||||
this.tabPage5.SuspendLayout();
|
||||
this.panel5.SuspendLayout();
|
||||
this.panel3.SuspendLayout();
|
||||
this.panel4.SuspendLayout();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// button25
|
||||
|
|
@ -451,47 +456,6 @@ namespace NovetusLauncher
|
|||
this.panel2.Size = new System.Drawing.Size(646, 311);
|
||||
this.panel2.TabIndex = 61;
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// tabControl1
|
||||
//
|
||||
this.tabControl1.Alignment = System.Windows.Forms.TabAlignment.Bottom;
|
||||
|
|
@ -1136,26 +1100,14 @@ namespace NovetusLauncher
|
|||
//
|
||||
// tabPage5
|
||||
//
|
||||
this.tabPage5.Controls.Add(this.label22);
|
||||
this.tabPage5.Controls.Add(this.label20);
|
||||
this.tabPage5.Controls.Add(this.label9);
|
||||
this.tabPage5.Controls.Add(this.checkBox7);
|
||||
this.tabPage5.Controls.Add(this.checkBox6);
|
||||
this.tabPage5.Controls.Add(this.checkBox5);
|
||||
this.tabPage5.Controls.Add(this.label3);
|
||||
this.tabPage5.Controls.Add(this.richTextBox3);
|
||||
this.tabPage5.Controls.Add(this.checkBox2);
|
||||
this.tabPage5.Controls.Add(this.label18);
|
||||
this.tabPage5.Controls.Add(this.button26);
|
||||
this.tabPage5.Controls.Add(this.label7);
|
||||
this.tabPage5.Controls.Add(this.label10);
|
||||
this.tabPage5.Controls.Add(this.panel5);
|
||||
this.tabPage5.Controls.Add(this.label6);
|
||||
this.tabPage5.Controls.Add(this.label5);
|
||||
this.tabPage5.Controls.Add(this.richTextBox3);
|
||||
this.tabPage5.Controls.Add(this.label10);
|
||||
this.tabPage5.Controls.Add(this.label18);
|
||||
this.tabPage5.Controls.Add(this.label8);
|
||||
this.tabPage5.Controls.Add(this.button9);
|
||||
this.tabPage5.Controls.Add(this.checkBox3);
|
||||
this.tabPage5.Controls.Add(this.checkBox1);
|
||||
this.tabPage5.Controls.Add(this.button5);
|
||||
this.tabPage5.Controls.Add(this.label7);
|
||||
this.tabPage5.Location = new System.Drawing.Point(4, 4);
|
||||
this.tabPage5.Name = "tabPage5";
|
||||
this.tabPage5.Size = new System.Drawing.Size(625, 265);
|
||||
|
|
@ -1163,93 +1115,99 @@ namespace NovetusLauncher
|
|||
this.tabPage5.Text = "SETTINGS";
|
||||
this.tabPage5.UseVisualStyleBackColor = true;
|
||||
//
|
||||
// label22
|
||||
// panel5
|
||||
//
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.Location = new System.Drawing.Point(498, 3);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(52, 13);
|
||||
this.label22.TabIndex = 67;
|
||||
this.label22.Text = "ReShade";
|
||||
this.panel5.Controls.Add(this.label3);
|
||||
this.panel5.Controls.Add(this.comboBox2);
|
||||
this.panel5.Controls.Add(this.checkBox9);
|
||||
this.panel5.Controls.Add(this.checkBox8);
|
||||
this.panel5.Controls.Add(this.label31);
|
||||
this.panel5.Controls.Add(this.comboBox1);
|
||||
this.panel5.Controls.Add(this.checkBox2);
|
||||
this.panel5.Controls.Add(this.checkBox6);
|
||||
this.panel5.Controls.Add(this.checkBox7);
|
||||
this.panel5.Controls.Add(this.label22);
|
||||
this.panel5.Controls.Add(this.checkBox5);
|
||||
this.panel5.Controls.Add(this.checkBox3);
|
||||
this.panel5.Controls.Add(this.checkBox1);
|
||||
this.panel5.Controls.Add(this.button9);
|
||||
this.panel5.Controls.Add(this.button26);
|
||||
this.panel5.Controls.Add(this.button5);
|
||||
this.panel5.Location = new System.Drawing.Point(3, 4);
|
||||
this.panel5.Name = "panel5";
|
||||
this.panel5.Size = new System.Drawing.Size(200, 259);
|
||||
this.panel5.TabIndex = 68;
|
||||
//
|
||||
// label20
|
||||
// comboBox2
|
||||
//
|
||||
this.label20.AutoSize = true;
|
||||
this.label20.Location = new System.Drawing.Point(97, 3);
|
||||
this.label20.Name = "label20";
|
||||
this.label20.Size = new System.Drawing.Size(44, 13);
|
||||
this.label20.TabIndex = 66;
|
||||
this.label20.Text = "General";
|
||||
this.comboBox2.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox2.FormattingEnabled = true;
|
||||
this.comboBox2.Items.AddRange(new object[] {
|
||||
"Very Low",
|
||||
"Low",
|
||||
"Medium",
|
||||
"High",
|
||||
"Ultra"});
|
||||
this.comboBox2.Location = new System.Drawing.Point(90, 134);
|
||||
this.comboBox2.Name = "comboBox2";
|
||||
this.comboBox2.Size = new System.Drawing.Size(84, 21);
|
||||
this.comboBox2.TabIndex = 73;
|
||||
this.comboBox2.SelectedIndexChanged += new System.EventHandler(this.comboBox2_SelectedIndexChanged);
|
||||
//
|
||||
// label9
|
||||
// checkBox9
|
||||
//
|
||||
this.label9.AutoSize = true;
|
||||
this.label9.Location = new System.Drawing.Point(327, 3);
|
||||
this.label9.Name = "label9";
|
||||
this.label9.Size = new System.Drawing.Size(37, 13);
|
||||
this.label9.TabIndex = 65;
|
||||
this.label9.Text = "Config";
|
||||
this.checkBox9.AutoSize = true;
|
||||
this.checkBox9.Checked = true;
|
||||
this.checkBox9.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox9.Location = new System.Drawing.Point(67, 157);
|
||||
this.checkBox9.Name = "checkBox9";
|
||||
this.checkBox9.Size = new System.Drawing.Size(70, 17);
|
||||
this.checkBox9.TabIndex = 71;
|
||||
this.checkBox9.Text = "Shadows";
|
||||
this.checkBox9.UseVisualStyleBackColor = true;
|
||||
this.checkBox9.CheckedChanged += new System.EventHandler(this.checkBox9_CheckedChanged);
|
||||
//
|
||||
// checkBox7
|
||||
// checkBox8
|
||||
//
|
||||
this.checkBox7.AutoSize = true;
|
||||
this.checkBox7.Location = new System.Drawing.Point(412, 47);
|
||||
this.checkBox7.Name = "checkBox7";
|
||||
this.checkBox7.Size = new System.Drawing.Size(116, 17);
|
||||
this.checkBox7.TabIndex = 64;
|
||||
this.checkBox7.Text = "Performance Mode";
|
||||
this.checkBox7.UseVisualStyleBackColor = true;
|
||||
this.checkBox7.CheckedChanged += new System.EventHandler(this.checkBox7_CheckedChanged);
|
||||
this.checkBox8.AutoSize = true;
|
||||
this.checkBox8.Checked = true;
|
||||
this.checkBox8.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox8.Location = new System.Drawing.Point(3, 157);
|
||||
this.checkBox8.Name = "checkBox8";
|
||||
this.checkBox8.Size = new System.Drawing.Size(58, 17);
|
||||
this.checkBox8.TabIndex = 70;
|
||||
this.checkBox8.Text = "Bevels";
|
||||
this.checkBox8.UseVisualStyleBackColor = true;
|
||||
this.checkBox8.CheckedChanged += new System.EventHandler(this.checkBox8_CheckedChanged);
|
||||
//
|
||||
// checkBox6
|
||||
// label31
|
||||
//
|
||||
this.checkBox6.AutoSize = true;
|
||||
this.checkBox6.Location = new System.Drawing.Point(534, 47);
|
||||
this.checkBox6.Name = "checkBox6";
|
||||
this.checkBox6.Size = new System.Drawing.Size(83, 17);
|
||||
this.checkBox6.TabIndex = 63;
|
||||
this.checkBox6.Text = "FPS Display";
|
||||
this.checkBox6.UseVisualStyleBackColor = true;
|
||||
this.checkBox6.CheckedChanged += new System.EventHandler(this.checkBox6_CheckedChanged);
|
||||
this.label31.AutoSize = true;
|
||||
this.label31.Location = new System.Drawing.Point(3, 111);
|
||||
this.label31.Name = "label31";
|
||||
this.label31.Size = new System.Drawing.Size(79, 13);
|
||||
this.label31.TabIndex = 69;
|
||||
this.label31.Text = "Graphics Mode";
|
||||
//
|
||||
// checkBox5
|
||||
// comboBox1
|
||||
//
|
||||
this.checkBox5.AutoSize = true;
|
||||
this.checkBox5.Checked = true;
|
||||
this.checkBox5.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox5.Location = new System.Drawing.Point(467, 24);
|
||||
this.checkBox5.Name = "checkBox5";
|
||||
this.checkBox5.Size = new System.Drawing.Size(107, 17);
|
||||
this.checkBox5.TabIndex = 62;
|
||||
this.checkBox5.Text = "Toggle ReShade";
|
||||
this.checkBox5.UseVisualStyleBackColor = true;
|
||||
this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.Location = new System.Drawing.Point(119, 228);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(98, 32);
|
||||
this.label3.TabIndex = 61;
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// richTextBox3
|
||||
//
|
||||
this.richTextBox3.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.richTextBox3.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.richTextBox3.Location = new System.Drawing.Point(6, 129);
|
||||
this.richTextBox3.Name = "richTextBox3";
|
||||
this.richTextBox3.ReadOnly = true;
|
||||
this.richTextBox3.Size = new System.Drawing.Size(611, 96);
|
||||
this.richTextBox3.TabIndex = 60;
|
||||
this.richTextBox3.Text = "";
|
||||
this.comboBox1.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
||||
this.comboBox1.FormattingEnabled = true;
|
||||
this.comboBox1.Items.AddRange(new object[] {
|
||||
"OpenGL",
|
||||
"DirectX"});
|
||||
this.comboBox1.Location = new System.Drawing.Point(90, 108);
|
||||
this.comboBox1.Name = "comboBox1";
|
||||
this.comboBox1.Size = new System.Drawing.Size(84, 21);
|
||||
this.comboBox1.TabIndex = 68;
|
||||
this.comboBox1.SelectedIndexChanged += new System.EventHandler(this.comboBox1_SelectedIndexChanged);
|
||||
//
|
||||
// checkBox2
|
||||
//
|
||||
this.checkBox2.AutoSize = true;
|
||||
this.checkBox2.Checked = true;
|
||||
this.checkBox2.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox2.Location = new System.Drawing.Point(6, 22);
|
||||
this.checkBox2.Location = new System.Drawing.Point(3, 3);
|
||||
this.checkBox2.Name = "checkBox2";
|
||||
this.checkBox2.Size = new System.Drawing.Size(135, 17);
|
||||
this.checkBox2.TabIndex = 59;
|
||||
|
|
@ -1257,84 +1215,52 @@ namespace NovetusLauncher
|
|||
this.checkBox2.UseVisualStyleBackColor = true;
|
||||
this.checkBox2.CheckedChanged += new System.EventHandler(this.checkBox2_CheckedChanged);
|
||||
//
|
||||
// label18
|
||||
// checkBox6
|
||||
//
|
||||
this.label18.Location = new System.Drawing.Point(240, 237);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(155, 16);
|
||||
this.label18.TabIndex = 58;
|
||||
this.label18.Text = "qwertyuiopasdfghjklz";
|
||||
this.label18.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.checkBox6.Location = new System.Drawing.Point(3, 240);
|
||||
this.checkBox6.Name = "checkBox6";
|
||||
this.checkBox6.Size = new System.Drawing.Size(131, 16);
|
||||
this.checkBox6.TabIndex = 63;
|
||||
this.checkBox6.Text = "ReShade FPS Display";
|
||||
this.checkBox6.UseVisualStyleBackColor = true;
|
||||
this.checkBox6.CheckedChanged += new System.EventHandler(this.checkBox6_CheckedChanged);
|
||||
//
|
||||
// button26
|
||||
// checkBox7
|
||||
//
|
||||
this.button26.Location = new System.Drawing.Point(6, 42);
|
||||
this.button26.Name = "button26";
|
||||
this.button26.Size = new System.Drawing.Size(124, 21);
|
||||
this.button26.TabIndex = 57;
|
||||
this.button26.Text = "Clear Asset Cache";
|
||||
this.button26.UseVisualStyleBackColor = true;
|
||||
this.button26.Click += new System.EventHandler(this.button26_Click);
|
||||
this.checkBox7.AutoSize = true;
|
||||
this.checkBox7.Location = new System.Drawing.Point(3, 223);
|
||||
this.checkBox7.Name = "checkBox7";
|
||||
this.checkBox7.Size = new System.Drawing.Size(164, 17);
|
||||
this.checkBox7.TabIndex = 64;
|
||||
this.checkBox7.Text = "ReShade Performance Mode";
|
||||
this.checkBox7.UseVisualStyleBackColor = true;
|
||||
this.checkBox7.CheckedChanged += new System.EventHandler(this.checkBox7_CheckedChanged);
|
||||
//
|
||||
// label7
|
||||
// label22
|
||||
//
|
||||
this.label7.Location = new System.Drawing.Point(464, 237);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(153, 16);
|
||||
this.label7.TabIndex = 54;
|
||||
this.label7.Text = "PROJECT STARLIGHT";
|
||||
this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.label22.AutoSize = true;
|
||||
this.label22.Location = new System.Drawing.Point(3, 137);
|
||||
this.label22.Name = "label22";
|
||||
this.label22.Size = new System.Drawing.Size(84, 13);
|
||||
this.label22.TabIndex = 67;
|
||||
this.label22.Text = "Graphics Quality";
|
||||
//
|
||||
// label10
|
||||
// checkBox5
|
||||
//
|
||||
this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.label10.Location = new System.Drawing.Point(6, 120);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(612, 2);
|
||||
this.label10.TabIndex = 53;
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Location = new System.Drawing.Point(261, 72);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(106, 15);
|
||||
this.label6.TabIndex = 46;
|
||||
this.label6.Text = "Current Path:";
|
||||
this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Location = new System.Drawing.Point(5, 87);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(612, 25);
|
||||
this.label5.TabIndex = 45;
|
||||
this.label5.Text = "path lol";
|
||||
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Location = new System.Drawing.Point(8, 237);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(122, 16);
|
||||
this.label8.TabIndex = 48;
|
||||
this.label8.Text = "0.13333337";
|
||||
this.label8.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.label8.Click += new System.EventHandler(this.label8_Click);
|
||||
//
|
||||
// button9
|
||||
//
|
||||
this.button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button9.Location = new System.Drawing.Point(302, 43);
|
||||
this.button9.Name = "button9";
|
||||
this.button9.Size = new System.Drawing.Size(93, 21);
|
||||
this.button9.TabIndex = 37;
|
||||
this.button9.Text = "Reset Config";
|
||||
this.button9.UseVisualStyleBackColor = true;
|
||||
this.button9.Click += new System.EventHandler(this.Button9Click);
|
||||
this.checkBox5.AutoSize = true;
|
||||
this.checkBox5.Checked = true;
|
||||
this.checkBox5.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox5.Location = new System.Drawing.Point(3, 206);
|
||||
this.checkBox5.Name = "checkBox5";
|
||||
this.checkBox5.Size = new System.Drawing.Size(107, 17);
|
||||
this.checkBox5.TabIndex = 62;
|
||||
this.checkBox5.Text = "Toggle ReShade";
|
||||
this.checkBox5.UseVisualStyleBackColor = true;
|
||||
this.checkBox5.CheckedChanged += new System.EventHandler(this.checkBox5_CheckedChanged);
|
||||
//
|
||||
// checkBox3
|
||||
//
|
||||
this.checkBox3.Location = new System.Drawing.Point(147, 21);
|
||||
this.checkBox3.Location = new System.Drawing.Point(3, 19);
|
||||
this.checkBox3.Name = "checkBox3";
|
||||
this.checkBox3.Size = new System.Drawing.Size(77, 19);
|
||||
this.checkBox3.TabIndex = 22;
|
||||
|
|
@ -1346,7 +1272,7 @@ namespace NovetusLauncher
|
|||
//
|
||||
this.checkBox1.Checked = true;
|
||||
this.checkBox1.CheckState = System.Windows.Forms.CheckState.Checked;
|
||||
this.checkBox1.Location = new System.Drawing.Point(147, 46);
|
||||
this.checkBox1.Location = new System.Drawing.Point(3, 37);
|
||||
this.checkBox1.Name = "checkBox1";
|
||||
this.checkBox1.Size = new System.Drawing.Size(124, 17);
|
||||
this.checkBox1.TabIndex = 5;
|
||||
|
|
@ -1355,24 +1281,162 @@ namespace NovetusLauncher
|
|||
this.checkBox1.UseVisualStyleBackColor = true;
|
||||
this.checkBox1.CheckedChanged += new System.EventHandler(this.CheckBox1CheckedChanged);
|
||||
//
|
||||
// button9
|
||||
//
|
||||
this.button9.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button9.Location = new System.Drawing.Point(83, 79);
|
||||
this.button9.Name = "button9";
|
||||
this.button9.Size = new System.Drawing.Size(69, 20);
|
||||
this.button9.TabIndex = 37;
|
||||
this.button9.Text = "Reset Config";
|
||||
this.button9.UseVisualStyleBackColor = true;
|
||||
this.button9.Click += new System.EventHandler(this.Button9Click);
|
||||
//
|
||||
// button26
|
||||
//
|
||||
this.button26.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button26.Location = new System.Drawing.Point(3, 55);
|
||||
this.button26.Name = "button26";
|
||||
this.button26.Size = new System.Drawing.Size(94, 21);
|
||||
this.button26.TabIndex = 57;
|
||||
this.button26.Text = "Clear Asset Cache";
|
||||
this.button26.UseVisualStyleBackColor = true;
|
||||
this.button26.Click += new System.EventHandler(this.button26_Click);
|
||||
//
|
||||
// button5
|
||||
//
|
||||
this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button5.Location = new System.Drawing.Point(302, 19);
|
||||
this.button5.Font = new System.Drawing.Font("Microsoft Sans Serif", 6.75F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.button5.Location = new System.Drawing.Point(3, 79);
|
||||
this.button5.Name = "button5";
|
||||
this.button5.Size = new System.Drawing.Size(93, 22);
|
||||
this.button5.Size = new System.Drawing.Size(74, 20);
|
||||
this.button5.TabIndex = 10;
|
||||
this.button5.Text = "Save Config";
|
||||
this.button5.UseVisualStyleBackColor = true;
|
||||
this.button5.Click += new System.EventHandler(this.Button5Click);
|
||||
//
|
||||
// label6
|
||||
//
|
||||
this.label6.Location = new System.Drawing.Point(364, 7);
|
||||
this.label6.Name = "label6";
|
||||
this.label6.Size = new System.Drawing.Size(106, 15);
|
||||
this.label6.TabIndex = 46;
|
||||
this.label6.Text = "Current Path:";
|
||||
this.label6.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// label5
|
||||
//
|
||||
this.label5.Location = new System.Drawing.Point(209, 23);
|
||||
this.label5.Name = "label5";
|
||||
this.label5.Size = new System.Drawing.Size(413, 36);
|
||||
this.label5.TabIndex = 45;
|
||||
this.label5.Text = "path lol";
|
||||
this.label5.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// richTextBox3
|
||||
//
|
||||
this.richTextBox3.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.richTextBox3.BorderStyle = System.Windows.Forms.BorderStyle.None;
|
||||
this.richTextBox3.Location = new System.Drawing.Point(209, 62);
|
||||
this.richTextBox3.Name = "richTextBox3";
|
||||
this.richTextBox3.ReadOnly = true;
|
||||
this.richTextBox3.Size = new System.Drawing.Size(413, 161);
|
||||
this.richTextBox3.TabIndex = 60;
|
||||
this.richTextBox3.Text = "credits text";
|
||||
//
|
||||
// label10
|
||||
//
|
||||
this.label10.BorderStyle = System.Windows.Forms.BorderStyle.Fixed3D;
|
||||
this.label10.Location = new System.Drawing.Point(209, 85);
|
||||
this.label10.Name = "label10";
|
||||
this.label10.Size = new System.Drawing.Size(413, 2);
|
||||
this.label10.TabIndex = 53;
|
||||
//
|
||||
// label18
|
||||
//
|
||||
this.label18.Location = new System.Drawing.Point(336, 237);
|
||||
this.label18.Name = "label18";
|
||||
this.label18.Size = new System.Drawing.Size(155, 16);
|
||||
this.label18.TabIndex = 58;
|
||||
this.label18.Text = "qwertyuiopasdfghjklz";
|
||||
this.label18.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// label8
|
||||
//
|
||||
this.label8.Location = new System.Drawing.Point(209, 237);
|
||||
this.label8.Name = "label8";
|
||||
this.label8.Size = new System.Drawing.Size(122, 16);
|
||||
this.label8.TabIndex = 48;
|
||||
this.label8.Text = "0.13333337";
|
||||
this.label8.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
this.label8.Click += new System.EventHandler(this.label8_Click);
|
||||
//
|
||||
// label7
|
||||
//
|
||||
this.label7.Location = new System.Drawing.Point(491, 237);
|
||||
this.label7.Name = "label7";
|
||||
this.label7.Size = new System.Drawing.Size(128, 16);
|
||||
this.label7.TabIndex = 54;
|
||||
this.label7.Text = "PROJECT STARLIGHT";
|
||||
this.label7.TextAlign = System.Drawing.ContentAlignment.TopCenter;
|
||||
//
|
||||
// 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);
|
||||
//
|
||||
// label3
|
||||
//
|
||||
this.label3.ForeColor = System.Drawing.Color.Red;
|
||||
this.label3.Location = new System.Drawing.Point(3, 177);
|
||||
this.label3.Name = "label3";
|
||||
this.label3.Size = new System.Drawing.Size(191, 27);
|
||||
this.label3.TabIndex = 74;
|
||||
this.label3.Text = "NOTE: Some video settings may require multiple client restarts. ";
|
||||
this.label3.TextAlign = System.Drawing.ContentAlignment.MiddleLeft;
|
||||
//
|
||||
// MainForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.SystemColors.ControlLightLight;
|
||||
this.BackgroundImageLayout = System.Windows.Forms.ImageLayout.None;
|
||||
this.ClientSize = new System.Drawing.Size(739, 397);
|
||||
this.ClientSize = new System.Drawing.Size(739, 421);
|
||||
this.Controls.Add(this.label25);
|
||||
this.Controls.Add(this.label26);
|
||||
this.Controls.Add(this.panel4);
|
||||
|
|
@ -1392,9 +1456,6 @@ namespace NovetusLauncher
|
|||
((System.ComponentModel.ISupportInitialize)(this.pictureBox2)).EndInit();
|
||||
this.panel1.ResumeLayout(false);
|
||||
this.panel2.ResumeLayout(false);
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.tabControl1.ResumeLayout(false);
|
||||
this.tabPage1.ResumeLayout(false);
|
||||
this.tabPage1.PerformLayout();
|
||||
|
|
@ -1411,7 +1472,11 @@ namespace NovetusLauncher
|
|||
this.tabPage7.ResumeLayout(false);
|
||||
this.tabPage8.ResumeLayout(false);
|
||||
this.tabPage5.ResumeLayout(false);
|
||||
this.tabPage5.PerformLayout();
|
||||
this.panel5.ResumeLayout(false);
|
||||
this.panel5.PerformLayout();
|
||||
this.panel3.ResumeLayout(false);
|
||||
this.panel3.PerformLayout();
|
||||
this.panel4.ResumeLayout(false);
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
|
@ -1513,15 +1578,19 @@ namespace NovetusLauncher
|
|||
private System.Windows.Forms.Panel panel3;
|
||||
private System.Windows.Forms.Panel panel4;
|
||||
private System.Windows.Forms.RichTextBox richTextBox3;
|
||||
private System.Windows.Forms.Label label3;
|
||||
private System.Windows.Forms.Button button35;
|
||||
private System.Windows.Forms.CheckBox checkBox5;
|
||||
private System.Windows.Forms.Label label24;
|
||||
private System.Windows.Forms.Label label23;
|
||||
private System.Windows.Forms.Label label22;
|
||||
private System.Windows.Forms.Label label20;
|
||||
private System.Windows.Forms.Label label9;
|
||||
private System.Windows.Forms.CheckBox checkBox7;
|
||||
private System.Windows.Forms.CheckBox checkBox6;
|
||||
private System.Windows.Forms.Panel panel5;
|
||||
private System.Windows.Forms.ComboBox comboBox1;
|
||||
private System.Windows.Forms.Label label31;
|
||||
private System.Windows.Forms.CheckBox checkBox9;
|
||||
private System.Windows.Forms.CheckBox checkBox8;
|
||||
private System.Windows.Forms.ComboBox comboBox2;
|
||||
private System.Windows.Forms.Label label3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -316,52 +316,89 @@ namespace NovetusLauncher
|
|||
listBox4.Items.Clear();
|
||||
}
|
||||
}
|
||||
|
||||
void Button1Click(object sender, EventArgs e)
|
||||
{
|
||||
if (GlobalVars.LocalPlayMode == true)
|
||||
{
|
||||
GeneratePlayerID();
|
||||
if (GlobalVars.LocalPlayMode == true)
|
||||
{
|
||||
GeneratePlayerID();
|
||||
GenerateTripcode();
|
||||
}
|
||||
else
|
||||
{
|
||||
WriteConfigValues();
|
||||
}
|
||||
|
||||
StartClient();
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button2Click(object sender, EventArgs e)
|
||||
|
||||
StartClient();
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button2Click(object sender, EventArgs e)
|
||||
{
|
||||
WriteConfigValues();
|
||||
StartServer(false);
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button3Click(object sender, EventArgs e)
|
||||
WriteConfigValues();
|
||||
StartServer(false);
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button3Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in Novetus's map folder, then launch your place in Play Solo.","Novetus - Launch ROBLOX Studio", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
|
||||
if (result == DialogResult.Cancel)
|
||||
return;
|
||||
|
||||
WriteConfigValues();
|
||||
StartStudio(false);
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void MainFormLoad(object sender, EventArgs e)
|
||||
DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in Novetus's map folder, then launch your place in Play Solo.", "Novetus - Launch ROBLOX Studio", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
|
||||
if (result == DialogResult.Cancel)
|
||||
return;
|
||||
|
||||
WriteConfigValues();
|
||||
StartStudio(false);
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button18Click(object sender, EventArgs e)
|
||||
{
|
||||
WriteConfigValues();
|
||||
StartServer(true);
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button19Click(object sender, EventArgs e)
|
||||
{
|
||||
WriteConfigValues();
|
||||
StartSolo();
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void button35_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in Novetus's map folder, then launch your place in Play Solo.", "Novetus - Launch ROBLOX Studio", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
|
||||
if (result == DialogResult.Cancel)
|
||||
return;
|
||||
|
||||
WriteConfigValues();
|
||||
StartStudio(true);
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void MainFormLoad(object sender, EventArgs e)
|
||||
{
|
||||
string[] lines = File.ReadAllLines(GlobalVars.ConfigDir + "\\info.txt"); //File is in System.IO
|
||||
GlobalVars.IsSnapshot = Convert.ToBoolean(lines[5]);
|
||||
|
|
@ -465,8 +502,9 @@ namespace NovetusLauncher
|
|||
label11.Text = GlobalVars.Version;
|
||||
|
||||
label12.Text = SplashReader.GetSplash();
|
||||
|
||||
ReadConfigValues();
|
||||
LocalVars.prevsplash = label12.Text;
|
||||
|
||||
ReadConfigValues();
|
||||
InitUPnP();
|
||||
StartDiscord();
|
||||
StartWebServer();
|
||||
|
|
@ -512,6 +550,39 @@ namespace NovetusLauncher
|
|||
checkBox5.Checked = GlobalVars.ReShade;
|
||||
checkBox6.Checked = GlobalVars.ReShadeFPSDisplay;
|
||||
checkBox7.Checked = GlobalVars.ReShadePerformanceMode;
|
||||
if (GlobalVars.GraphicsMode == 1)
|
||||
{
|
||||
comboBox1.SelectedIndex = 0;
|
||||
}
|
||||
else if (GlobalVars.GraphicsMode == 2)
|
||||
{
|
||||
comboBox1.SelectedIndex = 1;
|
||||
}
|
||||
|
||||
checkBox8.Checked = GlobalVars.Bevels;
|
||||
checkBox9.Checked = GlobalVars.Shadows;
|
||||
|
||||
if (GlobalVars.QualityLevel == 1)
|
||||
{
|
||||
comboBox2.SelectedIndex = 0;
|
||||
}
|
||||
else if (GlobalVars.QualityLevel == 2)
|
||||
{
|
||||
comboBox2.SelectedIndex = 1;
|
||||
}
|
||||
else if (GlobalVars.QualityLevel == 3)
|
||||
{
|
||||
comboBox2.SelectedIndex = 2;
|
||||
}
|
||||
else if (GlobalVars.QualityLevel == 4)
|
||||
{
|
||||
comboBox2.SelectedIndex = 3;
|
||||
}
|
||||
else if (GlobalVars.QualityLevel == 5)
|
||||
{
|
||||
comboBox2.SelectedIndex = 4;
|
||||
}
|
||||
|
||||
ConsolePrint("Config loaded.", 3);
|
||||
ReadClientValues(GlobalVars.SelectedClient);
|
||||
}
|
||||
|
|
@ -761,27 +832,7 @@ namespace NovetusLauncher
|
|||
listBox4.Items.AddRange(lines_ports);
|
||||
}
|
||||
|
||||
void Button18Click(object sender, EventArgs e)
|
||||
{
|
||||
WriteConfigValues();
|
||||
StartServer(true);
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void Button19Click(object sender, EventArgs e)
|
||||
{
|
||||
WriteConfigValues();
|
||||
StartSolo();
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
void richTextBox1_KeyDown(object sender, KeyEventArgs e)
|
||||
{
|
||||
|
|
@ -846,66 +897,16 @@ namespace NovetusLauncher
|
|||
}
|
||||
else if (type == 6)
|
||||
{
|
||||
richTextBox1.AppendText(text, Color.Salmon);
|
||||
richTextBox1.AppendText(text, Color.LightSalmon);
|
||||
}
|
||||
|
||||
richTextBox1.AppendText(Environment.NewLine);
|
||||
}
|
||||
|
||||
string GetLuaFileName()
|
||||
{
|
||||
string luafile = "";
|
||||
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
luafile = "rbxasset://scripts\\\\" + GlobalVars.ScriptName + ".lua";
|
||||
}
|
||||
else
|
||||
{
|
||||
luafile = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\content\\scripts\\" + GlobalVars.ScriptGenName + ".lua";
|
||||
}
|
||||
|
||||
return luafile;
|
||||
}
|
||||
|
||||
string GetClientEXEDir(ScriptGenerator.ScriptType type)
|
||||
{
|
||||
string rbxexe = "";
|
||||
if (GlobalVars.LegacyMode == true)
|
||||
{
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
||||
}
|
||||
else
|
||||
{
|
||||
switch (type)
|
||||
{
|
||||
case ScriptGenerator.ScriptType.Client:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_client.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.Server:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_server.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.Studio:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_studio.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.Solo:
|
||||
case ScriptGenerator.ScriptType.EasterEgg:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp_solo.exe";
|
||||
break;
|
||||
case ScriptGenerator.ScriptType.None:
|
||||
default:
|
||||
rbxexe = GlobalVars.ClientDir + @"\\" + GlobalVars.SelectedClient + @"\\RobloxApp.exe";
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
return rbxexe;
|
||||
}
|
||||
|
||||
void StartClient()
|
||||
{
|
||||
string luafile = GetLuaFileName();
|
||||
string rbxexe = GetClientEXEDir(ScriptGenerator.ScriptType.Client);
|
||||
string luafile = LauncherFuncs.GetLuaFileName();
|
||||
string rbxexe = LauncherFuncs.GetClientEXEDir(ScriptGenerator.ScriptType.Client);
|
||||
|
||||
string quote = "\"";
|
||||
string args = "";
|
||||
|
|
@ -913,7 +914,7 @@ namespace NovetusLauncher
|
|||
{
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
args = "-script " + quote + "dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Client, GlobalVars.SelectedClient) + quote;
|
||||
args = "-script " + quote + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Client, GlobalVars.SelectedClient) + quote;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -992,8 +993,8 @@ namespace NovetusLauncher
|
|||
|
||||
void StartSolo()
|
||||
{
|
||||
string luafile = GetLuaFileName();
|
||||
string rbxexe = GetClientEXEDir(ScriptGenerator.ScriptType.Solo);
|
||||
string luafile = LauncherFuncs.GetLuaFileName();
|
||||
string rbxexe = LauncherFuncs.GetClientEXEDir(ScriptGenerator.ScriptType.Solo);
|
||||
string mapfile = GlobalVars.MapPath;
|
||||
string quote = "\"";
|
||||
string args = "";
|
||||
|
|
@ -1001,7 +1002,7 @@ namespace NovetusLauncher
|
|||
{
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Solo, GlobalVars.SelectedClient) + quote;
|
||||
args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Solo, GlobalVars.SelectedClient) + quote;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1036,8 +1037,8 @@ namespace NovetusLauncher
|
|||
|
||||
void StartServer(bool no3d)
|
||||
{
|
||||
string luafile = GetLuaFileName();
|
||||
string rbxexe = GetClientEXEDir(ScriptGenerator.ScriptType.Server);
|
||||
string luafile = LauncherFuncs.GetLuaFileName();
|
||||
string rbxexe = LauncherFuncs.GetClientEXEDir(ScriptGenerator.ScriptType.Server);
|
||||
string mapfile = GlobalVars.MapPath;
|
||||
string quote = "\"";
|
||||
string args = "";
|
||||
|
|
@ -1045,7 +1046,7 @@ namespace NovetusLauncher
|
|||
{
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Server, GlobalVars.SelectedClient) + "; " + (!string.IsNullOrWhiteSpace(GlobalVars.AddonScriptPath) ? "dofile('" + GlobalVars.AddonScriptPath + "');" : "") + quote + (no3d ? " -no3d" : "");
|
||||
args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Server, GlobalVars.SelectedClient) + "; " + (!string.IsNullOrWhiteSpace(GlobalVars.AddonScriptPath) ? LauncherFuncs.ChangeGameSettings() + " dofile('" + GlobalVars.AddonScriptPath + "');" : "") + quote + (no3d ? " -no3d" : "");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1095,8 +1096,8 @@ namespace NovetusLauncher
|
|||
|
||||
void StartStudio(bool nomap)
|
||||
{
|
||||
string luafile = GetLuaFileName();
|
||||
string rbxexe = GetClientEXEDir(ScriptGenerator.ScriptType.Studio);
|
||||
string luafile = LauncherFuncs.GetLuaFileName();
|
||||
string rbxexe = LauncherFuncs.GetClientEXEDir(ScriptGenerator.ScriptType.Studio);
|
||||
string mapfile = (nomap ? "" : GlobalVars.MapPath);
|
||||
string mapname = (nomap ? "" : GlobalVars.Map);
|
||||
string quote = "\"";
|
||||
|
|
@ -1105,7 +1106,7 @@ namespace NovetusLauncher
|
|||
{
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Studio, GlobalVars.SelectedClient) + quote;
|
||||
args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Studio, GlobalVars.SelectedClient) + quote;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1712,41 +1713,46 @@ namespace NovetusLauncher
|
|||
|
||||
if (LocalVars.Clicks == 1)
|
||||
{
|
||||
label3.Text = "Hi!";
|
||||
label12.Text = "Hi " + GlobalVars.PlayerName + "!";
|
||||
}
|
||||
else if (LocalVars.Clicks == 3)
|
||||
{
|
||||
label3.Text = "How are you doing today?";
|
||||
label12.Text = "How are you doing today?";
|
||||
}
|
||||
else if (LocalVars.Clicks == 6)
|
||||
{
|
||||
label3.Text = "I just wanted to say something.";
|
||||
label12.Text = "I just wanted to say something.";
|
||||
}
|
||||
else if (LocalVars.Clicks == 9)
|
||||
{
|
||||
label3.Text = "Just wait a little on the last click, OK?";
|
||||
label12.Text = "Just wait a little on the last click, OK?";
|
||||
}
|
||||
else if (LocalVars.Clicks == 10)
|
||||
{
|
||||
//EASTER EGG owo
|
||||
WriteConfigValues();
|
||||
StartEasterEgg();
|
||||
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void StartEasterEgg()
|
||||
{
|
||||
label3.Text = "<3";
|
||||
string luafile = GetLuaFileName();
|
||||
string rbxexe = GetClientEXEDir(ScriptGenerator.ScriptType.EasterEgg);
|
||||
string mapfile = GlobalVars.ConfigDir + "\\Appreciation.rbxl";
|
||||
label12.Text = "<3";
|
||||
string luafile = LauncherFuncs.GetLuaFileName();
|
||||
string rbxexe = LauncherFuncs.GetClientEXEDir(ScriptGenerator.ScriptType.EasterEgg);
|
||||
string mapfile = GlobalVars.ConfigDirData + "\\Appreciation.rbxl";
|
||||
string quote = "\"";
|
||||
string args = "";
|
||||
if (GlobalVars.CustomArgs.Equals("%args%"))
|
||||
{
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
args = quote + mapfile + "\" -script \"dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.EasterEgg, GlobalVars.SelectedClient) + quote;
|
||||
args = quote + mapfile + "\" -script \"" + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.EasterEgg, GlobalVars.SelectedClient) + quote;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
@ -1782,27 +1788,13 @@ namespace NovetusLauncher
|
|||
void EasterEggExited(object sender, EventArgs e)
|
||||
{
|
||||
LauncherFuncs.UpdateRichPresence(LauncherFuncs.LauncherState.InLauncher, "");
|
||||
label3.Text = "";
|
||||
label12.Text = LocalVars.prevsplash;
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = true;
|
||||
}
|
||||
}
|
||||
|
||||
private void button35_Click(object sender, EventArgs e)
|
||||
{
|
||||
DialogResult result = MessageBox.Show("If you want to test out your place, you will have to save your place in Novetus's map folder, then launch your place in Play Solo.", "Novetus - Launch ROBLOX Studio", MessageBoxButtons.OKCancel, MessageBoxIcon.Information);
|
||||
if (result == DialogResult.Cancel)
|
||||
return;
|
||||
|
||||
WriteConfigValues();
|
||||
StartStudio(true);
|
||||
if (GlobalVars.CloseOnLaunch == true)
|
||||
{
|
||||
this.Visible = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBox5_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox5.Checked == true)
|
||||
|
|
@ -1817,11 +1809,11 @@ namespace NovetusLauncher
|
|||
|
||||
private void checkBox6_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox5.Checked == true)
|
||||
if (checkBox6.Checked == true)
|
||||
{
|
||||
GlobalVars.ReShadeFPSDisplay = true;
|
||||
}
|
||||
else if (checkBox5.Checked == false)
|
||||
else if (checkBox6.Checked == false)
|
||||
{
|
||||
GlobalVars.ReShadeFPSDisplay = false;
|
||||
}
|
||||
|
|
@ -1829,14 +1821,74 @@ namespace NovetusLauncher
|
|||
|
||||
private void checkBox7_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox5.Checked == true)
|
||||
if (checkBox7.Checked == true)
|
||||
{
|
||||
GlobalVars.ReShadePerformanceMode = true;
|
||||
}
|
||||
else if (checkBox5.Checked == false)
|
||||
else if (checkBox7.Checked == false)
|
||||
{
|
||||
GlobalVars.ReShadePerformanceMode = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void comboBox1_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBox1.SelectedIndex == 0)
|
||||
{
|
||||
GlobalVars.GraphicsMode = 1;
|
||||
}
|
||||
else if (comboBox1.SelectedIndex == 1)
|
||||
{
|
||||
GlobalVars.GraphicsMode = 2;
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBox8_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox8.Checked == true)
|
||||
{
|
||||
GlobalVars.Bevels = true;
|
||||
}
|
||||
else if (checkBox8.Checked == false)
|
||||
{
|
||||
GlobalVars.Bevels = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void checkBox9_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (checkBox9.Checked == true)
|
||||
{
|
||||
GlobalVars.Shadows = true;
|
||||
}
|
||||
else if (checkBox9.Checked == false)
|
||||
{
|
||||
GlobalVars.Shadows = false;
|
||||
}
|
||||
}
|
||||
|
||||
private void comboBox2_SelectedIndexChanged(object sender, EventArgs e)
|
||||
{
|
||||
if (comboBox2.SelectedIndex == 0)
|
||||
{
|
||||
GlobalVars.QualityLevel = 1;
|
||||
}
|
||||
else if (comboBox2.SelectedIndex == 1)
|
||||
{
|
||||
GlobalVars.QualityLevel = 2;
|
||||
}
|
||||
else if (comboBox2.SelectedIndex == 2)
|
||||
{
|
||||
GlobalVars.QualityLevel = 3;
|
||||
}
|
||||
else if (comboBox2.SelectedIndex == 3)
|
||||
{
|
||||
GlobalVars.QualityLevel = 4;
|
||||
}
|
||||
else if (comboBox2.SelectedIndex == 4)
|
||||
{
|
||||
GlobalVars.QualityLevel = 5;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -359,15 +359,54 @@ namespace NovetusLauncher
|
|||
CustomArgs = textBox4.Text;
|
||||
}
|
||||
|
||||
void Button1Click(object sender, EventArgs e)
|
||||
{
|
||||
ClientScriptDocumentation csd = new ClientScriptDocumentation();
|
||||
csd.Show();
|
||||
}
|
||||
|
||||
void TextBox5TextChanged(object sender, EventArgs e)
|
||||
{
|
||||
Warning = textBox5.Text;
|
||||
}
|
||||
}
|
||||
|
||||
private void documentationToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ClientScriptDocumentation csd = new ClientScriptDocumentation();
|
||||
csd.Show();
|
||||
}
|
||||
|
||||
private void AddClientinfoText(string text)
|
||||
{
|
||||
textBox4.Paste(text);
|
||||
}
|
||||
|
||||
//tags
|
||||
private void clientToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
AddClientinfoText("<client></client>");
|
||||
}
|
||||
|
||||
private void serverToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
AddClientinfoText("<server></server>");
|
||||
}
|
||||
|
||||
private void soloToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
AddClientinfoText("<solo></solo>");
|
||||
}
|
||||
|
||||
private void studioToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
AddClientinfoText("<studio></studio>");
|
||||
}
|
||||
|
||||
private void no3dToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
AddClientinfoText("<no3d></no3d>");
|
||||
}
|
||||
|
||||
//variables
|
||||
|
||||
private void variableToolStripMenuItem_Click(object sender, EventArgs e)
|
||||
{
|
||||
ToolStripMenuItem senderitem = (ToolStripMenuItem)sender;
|
||||
AddClientinfoText(senderitem.Text);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -117,10 +117,10 @@
|
|||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing">
|
||||
<metadata name="menuStrip1.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
|
||||
<value>17, 17</value>
|
||||
</data>
|
||||
</metadata>
|
||||
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>
|
||||
AAABAAYAAAAAAAEAIADtggAAZgAAAICAAAABACAAKAgBAFODAABAQAAAAQAgAChCAAB7iwEAMDAAAAEA
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ namespace NovetusLauncher
|
|||
else if (listBox1.SelectedIndex == 6)
|
||||
{
|
||||
Process proc = new Process();
|
||||
proc.StartInfo.FileName = GlobalVars.ConfigDir + "\\RSG_1_4.exe";
|
||||
proc.StartInfo.FileName = GlobalVars.ConfigDirData + "\\RSG_1_4.exe";
|
||||
proc.StartInfo.CreateNoWindow = false;
|
||||
proc.StartInfo.UseShellExecute = false;
|
||||
proc.Start();
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ namespace NovetusLauncher
|
|||
{
|
||||
if (openFileDialog1.ShowDialog() == DialogResult.OK)
|
||||
{
|
||||
ProcessOBJ(GlobalVars.ConfigDir + "\\RBXMeshConverter.exe", openFileDialog1.FileName);
|
||||
ProcessOBJ(GlobalVars.ConfigDirData + "\\RBXMeshConverter.exe", openFileDialog1.FileName);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -36,56 +36,58 @@ namespace NovetusLauncher
|
|||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoaderForm));
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(12, 9);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(57, 50);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Location = new System.Drawing.Point(75, 33);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(291, 23);
|
||||
this.progressBar1.TabIndex = 1;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(75, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(291, 21);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "Initializing...";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// LoaderForm
|
||||
//
|
||||
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(378, 68);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "LoaderForm";
|
||||
this.Load += new System.EventHandler(this.LoaderFormLoad);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(LoaderForm));
|
||||
this.pictureBox1 = new System.Windows.Forms.PictureBox();
|
||||
this.progressBar1 = new System.Windows.Forms.ProgressBar();
|
||||
this.label1 = new System.Windows.Forms.Label();
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// pictureBox1
|
||||
//
|
||||
this.pictureBox1.BackgroundImageLayout = System.Windows.Forms.ImageLayout.Stretch;
|
||||
this.pictureBox1.Image = ((System.Drawing.Image)(resources.GetObject("pictureBox1.Image")));
|
||||
this.pictureBox1.Location = new System.Drawing.Point(12, 9);
|
||||
this.pictureBox1.Name = "pictureBox1";
|
||||
this.pictureBox1.Size = new System.Drawing.Size(57, 50);
|
||||
this.pictureBox1.SizeMode = System.Windows.Forms.PictureBoxSizeMode.StretchImage;
|
||||
this.pictureBox1.TabIndex = 0;
|
||||
this.pictureBox1.TabStop = false;
|
||||
//
|
||||
// progressBar1
|
||||
//
|
||||
this.progressBar1.Location = new System.Drawing.Point(75, 33);
|
||||
this.progressBar1.Name = "progressBar1";
|
||||
this.progressBar1.Size = new System.Drawing.Size(291, 23);
|
||||
this.progressBar1.Style = System.Windows.Forms.ProgressBarStyle.Marquee;
|
||||
this.progressBar1.TabIndex = 1;
|
||||
//
|
||||
// label1
|
||||
//
|
||||
this.label1.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Italic, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
|
||||
this.label1.Location = new System.Drawing.Point(75, 9);
|
||||
this.label1.Name = "label1";
|
||||
this.label1.Size = new System.Drawing.Size(291, 21);
|
||||
this.label1.TabIndex = 2;
|
||||
this.label1.Text = "Initializing...";
|
||||
this.label1.TextAlign = System.Drawing.ContentAlignment.MiddleCenter;
|
||||
//
|
||||
// LoaderForm
|
||||
//
|
||||
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(378, 68);
|
||||
this.Controls.Add(this.label1);
|
||||
this.Controls.Add(this.progressBar1);
|
||||
this.Controls.Add(this.pictureBox1);
|
||||
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
|
||||
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
|
||||
this.Name = "LoaderForm";
|
||||
this.Load += new System.EventHandler(this.LoaderFormLoad);
|
||||
((System.ComponentModel.ISupportInitialize)(this.pictureBox1)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
private System.Windows.Forms.Label label1;
|
||||
private System.Windows.Forms.ProgressBar progressBar1;
|
||||
|
|
|
|||
|
|
@ -144,7 +144,7 @@ namespace NovetusLauncher
|
|||
{
|
||||
if (!GlobalVars.FixScriptMapMode)
|
||||
{
|
||||
args = "-script " + quote + "dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Client, client) + quote;
|
||||
args = "-script " + quote + LauncherFuncs.ChangeGameSettings() + " dofile('" + luafile + "'); " + ScriptGenerator.GetScriptFuncForType(ScriptGenerator.ScriptType.Client, client) + quote;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,22 @@
|
|||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio 14
|
||||
VisualStudioVersion = 14.0.25420.1
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WindowsFormsApplication1", "WindowsFormsApplication1\WindowsFormsApplication1.csproj", "{C92F38CB-04C0-4491-B6FB-025153B7A4D9}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{C92F38CB-04C0-4491-B6FB-025153B7A4D9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{C92F38CB-04C0-4491-B6FB-025153B7A4D9}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{C92F38CB-04C0-4491-B6FB-025153B7A4D9}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{C92F38CB-04C0-4491-B6FB-025153B7A4D9}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
EndGlobal
|
||||
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<startup>
|
||||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1"/>
|
||||
</startup>
|
||||
</configuration>
|
||||
|
|
@ -0,0 +1,47 @@
|
|||
namespace WindowsFormsApplication1
|
||||
{
|
||||
partial class Form1
|
||||
{
|
||||
/// <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()
|
||||
{
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// Form1
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.ClientSize = new System.Drawing.Size(489, 409);
|
||||
this.Name = "Form1";
|
||||
this.Text = "Form1";
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsFormsApplication1
|
||||
{
|
||||
public partial class Form1 : Form
|
||||
{
|
||||
public Form1()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,120 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" use="required" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
<xsd:attribute ref="xml:space" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
|
|
@ -0,0 +1,22 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
namespace WindowsFormsApplication1
|
||||
{
|
||||
static class Program
|
||||
{
|
||||
/// <summary>
|
||||
/// The main entry point for the application.
|
||||
/// </summary>
|
||||
[STAThread]
|
||||
static void Main()
|
||||
{
|
||||
Application.EnableVisualStyles();
|
||||
Application.SetCompatibleTextRenderingDefault(false);
|
||||
Application.Run(new Form1());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("WindowsFormsApplication1")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("WindowsFormsApplication1")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2020")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
// Setting ComVisible to false makes the types in this assembly not visible
|
||||
// to COM components. If you need to access a type in this assembly from
|
||||
// COM, set the ComVisible attribute to true on that type.
|
||||
[assembly: ComVisible(false)]
|
||||
|
||||
// The following GUID is for the ID of the typelib if this project is exposed to COM
|
||||
[assembly: Guid("c92f38cb-04c0-4491-b6fb-025153b7a4d9")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
63
WindowsFormsApplication1/WindowsFormsApplication1/Properties/Resources.Designer.cs
generated
Normal file
63
WindowsFormsApplication1/WindowsFormsApplication1/Properties/Resources.Designer.cs
generated
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WindowsFormsApplication1.Properties {
|
||||
using System;
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// A strongly-typed resource class, for looking up localized strings, etc.
|
||||
/// </summary>
|
||||
// This class was auto-generated by the StronglyTypedResourceBuilder
|
||||
// class via a tool like ResGen or Visual Studio.
|
||||
// To add or remove a member, edit your .ResX file then rerun ResGen
|
||||
// with the /str option, or rebuild your VS project.
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
internal class Resources {
|
||||
|
||||
private static global::System.Resources.ResourceManager resourceMan;
|
||||
|
||||
private static global::System.Globalization.CultureInfo resourceCulture;
|
||||
|
||||
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
|
||||
internal Resources() {
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Returns the cached ResourceManager instance used by this class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Resources.ResourceManager ResourceManager {
|
||||
get {
|
||||
if (object.ReferenceEquals(resourceMan, null)) {
|
||||
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("WindowsFormsApplication1.Properties.Resources", typeof(Resources).Assembly);
|
||||
resourceMan = temp;
|
||||
}
|
||||
return resourceMan;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Overrides the current thread's CurrentUICulture property for all
|
||||
/// resource lookups using this strongly typed resource class.
|
||||
/// </summary>
|
||||
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
|
||||
internal static global::System.Globalization.CultureInfo Culture {
|
||||
get {
|
||||
return resourceCulture;
|
||||
}
|
||||
set {
|
||||
resourceCulture = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,117 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<root>
|
||||
<!--
|
||||
Microsoft ResX Schema
|
||||
|
||||
Version 2.0
|
||||
|
||||
The primary goals of this format is to allow a simple XML format
|
||||
that is mostly human readable. The generation and parsing of the
|
||||
various data types are done through the TypeConverter classes
|
||||
associated with the data types.
|
||||
|
||||
Example:
|
||||
|
||||
... ado.net/XML headers & schema ...
|
||||
<resheader name="resmimetype">text/microsoft-resx</resheader>
|
||||
<resheader name="version">2.0</resheader>
|
||||
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
|
||||
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
|
||||
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
|
||||
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
|
||||
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
|
||||
<value>[base64 mime encoded serialized .NET Framework object]</value>
|
||||
</data>
|
||||
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
|
||||
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
|
||||
<comment>This is a comment</comment>
|
||||
</data>
|
||||
|
||||
There are any number of "resheader" rows that contain simple
|
||||
name/value pairs.
|
||||
|
||||
Each data row contains a name, and value. The row also contains a
|
||||
type or mimetype. Type corresponds to a .NET class that support
|
||||
text/value conversion through the TypeConverter architecture.
|
||||
Classes that don't support this are serialized and stored with the
|
||||
mimetype set.
|
||||
|
||||
The mimetype is used for serialized objects, and tells the
|
||||
ResXResourceReader how to depersist the object. This is currently not
|
||||
extensible. For a given mimetype the value must be set accordingly:
|
||||
|
||||
Note - application/x-microsoft.net.object.binary.base64 is the format
|
||||
that the ResXResourceWriter will generate, however the reader can
|
||||
read any of the formats listed below.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.binary.base64
|
||||
value : The object must be serialized with
|
||||
: System.Serialization.Formatters.Binary.BinaryFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.soap.base64
|
||||
value : The object must be serialized with
|
||||
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
|
||||
: and then encoded with base64 encoding.
|
||||
|
||||
mimetype: application/x-microsoft.net.object.bytearray.base64
|
||||
value : The object must be serialized into a byte array
|
||||
: using a System.ComponentModel.TypeConverter
|
||||
: and then encoded with base64 encoding.
|
||||
-->
|
||||
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
|
||||
<xsd:element name="root" msdata:IsDataSet="true">
|
||||
<xsd:complexType>
|
||||
<xsd:choice maxOccurs="unbounded">
|
||||
<xsd:element name="metadata">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
<xsd:attribute name="type" type="xsd:string" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="assembly">
|
||||
<xsd:complexType>
|
||||
<xsd:attribute name="alias" type="xsd:string" />
|
||||
<xsd:attribute name="name" type="xsd:string" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="data">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />
|
||||
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
|
||||
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
<xsd:element name="resheader">
|
||||
<xsd:complexType>
|
||||
<xsd:sequence>
|
||||
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
|
||||
</xsd:sequence>
|
||||
<xsd:attribute name="name" type="xsd:string" use="required" />
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:choice>
|
||||
</xsd:complexType>
|
||||
</xsd:element>
|
||||
</xsd:schema>
|
||||
<resheader name="resmimetype">
|
||||
<value>text/microsoft-resx</value>
|
||||
</resheader>
|
||||
<resheader name="version">
|
||||
<value>2.0</value>
|
||||
</resheader>
|
||||
<resheader name="reader">
|
||||
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
<resheader name="writer">
|
||||
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</resheader>
|
||||
</root>
|
||||
26
WindowsFormsApplication1/WindowsFormsApplication1/Properties/Settings.Designer.cs
generated
Normal file
26
WindowsFormsApplication1/WindowsFormsApplication1/Properties/Settings.Designer.cs
generated
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
namespace WindowsFormsApplication1.Properties {
|
||||
|
||||
|
||||
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
|
||||
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "14.0.0.0")]
|
||||
internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
|
||||
|
||||
private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
|
||||
|
||||
public static Settings Default {
|
||||
get {
|
||||
return defaultInstance;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">
|
||||
<Profiles>
|
||||
<Profile Name="(Default)" />
|
||||
</Profiles>
|
||||
<Settings />
|
||||
</SettingsFile>
|
||||
|
|
@ -0,0 +1,91 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{C92F38CB-04C0-4491-B6FB-025153B7A4D9}</ProjectGuid>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>WindowsFormsApplication1</RootNamespace>
|
||||
<AssemblyName>WindowsFormsApplication1</AssemblyName>
|
||||
<TargetFrameworkVersion>v4.6.1</TargetFrameworkVersion>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
|
||||
<TargetFrameworkProfile />
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="System" />
|
||||
<Reference Include="System.Core" />
|
||||
<Reference Include="System.Xml.Linq" />
|
||||
<Reference Include="System.Data.DataSetExtensions" />
|
||||
<Reference Include="Microsoft.CSharp" />
|
||||
<Reference Include="System.Data" />
|
||||
<Reference Include="System.Deployment" />
|
||||
<Reference Include="System.Drawing" />
|
||||
<Reference Include="System.Net.Http" />
|
||||
<Reference Include="System.Windows.Forms" />
|
||||
<Reference Include="System.Xml" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Form1.cs">
|
||||
<SubType>Form</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Form1.Designer.cs">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
<EmbeddedResource Include="Form1.resx">
|
||||
<DependentUpon>Form1.cs</DependentUpon>
|
||||
</EmbeddedResource>
|
||||
<EmbeddedResource Include="Properties\Resources.resx">
|
||||
<Generator>ResXFileCodeGenerator</Generator>
|
||||
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||
<SubType>Designer</SubType>
|
||||
</EmbeddedResource>
|
||||
<Compile Include="Properties\Resources.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Resources.resx</DependentUpon>
|
||||
</Compile>
|
||||
<None Include="Properties\Settings.settings">
|
||||
<Generator>SettingsSingleFileGenerator</Generator>
|
||||
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||
</None>
|
||||
<Compile Include="Properties\Settings.Designer.cs">
|
||||
<AutoGen>True</AutoGen>
|
||||
<DependentUpon>Settings.settings</DependentUpon>
|
||||
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||
</Compile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="App.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
Loading…
Reference in New Issue