mirror of
https://github.com/Masquerade64/SuperSteamPacker.git
synced 2026-02-03 21:21:18 +01:00
Add files via upload
This commit is contained in:
283
MainForm.cs
283
MainForm.cs
@@ -696,6 +696,9 @@ namespace SuperSteamPacker
|
||||
}
|
||||
else
|
||||
{
|
||||
//BuildNoEarly = "Unknown";
|
||||
//BuildTime = "";
|
||||
//GameNameEarly= "";
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("GETINFO", "SSP"), languageini.Read("UNABLETOREACH", "SSP"));
|
||||
continue;
|
||||
}
|
||||
@@ -894,87 +897,95 @@ namespace SuperSteamPacker
|
||||
}
|
||||
}
|
||||
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("DOWNLOADING", "SSP"), languageini.Read("COMPRESSING", "SSP"));
|
||||
|
||||
Process Compress = new Process();
|
||||
if (settingsini.Read("compressor", "SSP") == "7z")
|
||||
if (settingsini.Read("skipcompression", "SSP") == "1")
|
||||
{
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\7z.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
{
|
||||
if (File.Exists("..\\Completed\\"+GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".7z") || File.Exists("..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".7z.001"))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -mx9 -sdel -pcs.rin.ru -v5g ..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".7z *";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (File.Exists("..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".7z") || File.Exists("..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".7z.001"))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".7z *";
|
||||
}
|
||||
}
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Move("Temp", "Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2]);
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\rar.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("DOWNLOADING", "SSP"), languageini.Read("COMPRESSING", "SSP"));
|
||||
|
||||
Process Compress = new Process();
|
||||
if (settingsini.Read("compressor", "SSP") == "7z")
|
||||
{
|
||||
if (File.Exists("..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".rar") || File.Exists("..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".part1.rar"))
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\7z.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
if (File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".7z") || File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".7z.001"))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -mx9 -sdel -pcs.rin.ru -mhe=on -v5g ..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".7z *";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -df -hpcs.rin.ru -htc -v5000000k -r ..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".rar *";
|
||||
if (File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".7z") || File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".7z.001"))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".7z *";
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (File.Exists("..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".rar") || File.Exists("..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".part1.rar"))
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\rar.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
if (File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".rar") || File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".part1.rar"))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -df -hpcs.rin.ru -htc -v5000000k -r ..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".rar *";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\" + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".rar *";
|
||||
if (File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".rar") || File.Exists("..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".part1.rar"))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\" + GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".rar *";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Compress.Start();
|
||||
Compress.WaitForExit();
|
||||
Compress.Start();
|
||||
Compress.WaitForExit();
|
||||
|
||||
if (Compress.ExitCode!=0)
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("FAIL", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
DirectoryInfo directoryInfo = new DirectoryInfo("Completed");
|
||||
foreach (FileInfo fileToDelete in directoryInfo.GetFiles(GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".*"))
|
||||
if (Compress.ExitCode != 0)
|
||||
{
|
||||
fileToDelete.Delete();
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("FAIL", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
DirectoryInfo directoryInfo = new DirectoryInfo("Completed");
|
||||
foreach (FileInfo fileToDelete in directoryInfo.GetFiles(GameName + ".Build." + BuildNo + "." + OS + "." + workarray[2] + ".*"))
|
||||
{
|
||||
fileToDelete.Delete();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!File.Exists("..\\Completed\\"+ GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".7z.002") && settingsini.Read("compressor", "SSP") == "7z")
|
||||
@@ -985,8 +996,11 @@ namespace SuperSteamPacker
|
||||
}
|
||||
|
||||
}
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
if (settingsini.Read("skipcompression", "SSP") == "0")
|
||||
{
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
}
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("WRITINGINFO", "SSP"));
|
||||
|
||||
using (StreamWriter RINfo = new StreamWriter("Completed\\[CS.RIN.RU Info] " + GameName+".Build."+BuildNo+"."+OS+"."+workarray[2]+".txt"))
|
||||
@@ -1887,97 +1901,104 @@ namespace SuperSteamPacker
|
||||
Directory.CreateDirectory("Completed");
|
||||
}
|
||||
|
||||
Directory.SetCurrentDirectory("Temp");
|
||||
MODQueueBox.Items[i] = MODQueueBox.Items[i].ToString().Replace(languageini.Read("DOWNLOADING", "SSP"), languageini.Read("COMPRESSING", "SSP"));
|
||||
|
||||
Process Compress = new Process();
|
||||
if (settingsini.Read("compressor", "SSP") == "7z")
|
||||
if (settingsini.Read("skipcompression", "SSP") == "1")
|
||||
{
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\7z.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
{
|
||||
if (File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z") || File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001"))
|
||||
{
|
||||
MODQueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -mx9 -sdel -pcs.rin.ru -v5g ..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z *";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
if (File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z") || File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001"))
|
||||
{
|
||||
MODQueueBox.Items[i] = MODQueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z *";
|
||||
}
|
||||
}
|
||||
Directory.Move("Temp", "Completed\\Workshop_" + AppID + "_" + WorkshopID);
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\rar.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
Directory.SetCurrentDirectory("Temp");
|
||||
MODQueueBox.Items[i] = MODQueueBox.Items[i].ToString().Replace(languageini.Read("DOWNLOADING", "SSP"), languageini.Read("COMPRESSING", "SSP"));
|
||||
|
||||
Process Compress = new Process();
|
||||
if (settingsini.Read("compressor", "SSP") == "7z")
|
||||
{
|
||||
if (File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".rar") || File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".part1.rar"))
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\7z.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
{
|
||||
MODQueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
if (File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z") || File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001"))
|
||||
{
|
||||
MODQueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -mx9 -sdel -pcs.rin.ru -mhe=on -v5g ..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z *";
|
||||
}
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -df -hpcs.rin.ru -htc -v5000000k -r ..\\Completed\\" + AppID + "_" + WorkshopID + ".rar *";
|
||||
if (File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z") || File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001"))
|
||||
{
|
||||
MODQueueBox.Items[i] = MODQueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z *";
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".rar") || File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".part1.rar"))
|
||||
Compress.StartInfo.FileName = "..\\Compressor\\rar.exe";
|
||||
if (String.IsNullOrEmpty(settingsini.Read("customcompressoption", "SSP")))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
if (File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".rar") || File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".part1.rar"))
|
||||
{
|
||||
MODQueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a -df -hpcs.rin.ru -htc -v5000000k -r ..\\Completed\\" + AppID + "_" + WorkshopID + ".rar *";
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\" + AppID + "_" + WorkshopID + ".rar *";
|
||||
if (File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".rar") || File.Exists("..\\Completed\\" + AppID + "_" + WorkshopID + ".part1.rar"))
|
||||
{
|
||||
QueueBox.Items[i] = QueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("SKIPPED", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
Compress.StartInfo.Arguments = "a " + settingsini.Read("customcompressoption", "SSP") + " ..\\Completed\\" + AppID + "_" + WorkshopID + ".rar *";
|
||||
}
|
||||
}
|
||||
}
|
||||
Compress.Start();
|
||||
Compress.WaitForExit();
|
||||
if (Compress.ExitCode != 0)
|
||||
{
|
||||
MODQueueBox.Items[i] = MODQueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("FAIL", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
DirectoryInfo directoryInfo = new DirectoryInfo("Completed");
|
||||
foreach (FileInfo fileToDelete in directoryInfo.GetFiles("Workshop_" + AppID + "_" + WorkshopID + ".*"))
|
||||
{
|
||||
fileToDelete.Delete();
|
||||
}
|
||||
continue;
|
||||
}
|
||||
if (!File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.002") && settingsini.Read("compressor", "SSP") == "7z")
|
||||
{
|
||||
if (File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001"))
|
||||
{
|
||||
File.Move("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001", "..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Compress.Start();
|
||||
Compress.WaitForExit();
|
||||
if (Compress.ExitCode != 0)
|
||||
{
|
||||
MODQueueBox.Items[i] = MODQueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("FAIL", "SSP"));
|
||||
Directory.SetCurrentDirectory("..");
|
||||
DirectoryInfo directoryInfo = new DirectoryInfo("Completed");
|
||||
foreach (FileInfo fileToDelete in directoryInfo.GetFiles("Workshop_" + AppID + "_" + WorkshopID + ".*"))
|
||||
{
|
||||
fileToDelete.Delete();
|
||||
}
|
||||
continue;
|
||||
Directory.Delete("Temp", true);
|
||||
}
|
||||
if (!File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.002") && settingsini.Read("compressor", "SSP") == "7z")
|
||||
{
|
||||
if (File.Exists("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001"))
|
||||
{
|
||||
File.Move("..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.001", "..\\Completed\\Workshop_" + AppID + "_" + WorkshopID + ".7z.");
|
||||
}
|
||||
}
|
||||
Directory.SetCurrentDirectory("..");
|
||||
Directory.Delete("Temp", true);
|
||||
MODQueueBox.Items[i] = MODQueueBox.Items[i].ToString().Replace(languageini.Read("COMPRESSING", "SSP"), languageini.Read("COMPLETE", "SSP"));
|
||||
if (File.Exists("Currentjob.JOB"))
|
||||
{
|
||||
|
||||
32
MoreSettingsForm.Designer.cs
generated
32
MoreSettingsForm.Designer.cs
generated
@@ -43,11 +43,12 @@
|
||||
this.rinruUsernameLabel = new System.Windows.Forms.Label();
|
||||
this.filehostLabel = new System.Windows.Forms.Label();
|
||||
this.filehostTextbox = new System.Windows.Forms.TextBox();
|
||||
this.SkipCompressionCheckBox = new System.Windows.Forms.CheckBox();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// DelSavedLoginBtn
|
||||
//
|
||||
this.DelSavedLoginBtn.Location = new System.Drawing.Point(12, 298);
|
||||
this.DelSavedLoginBtn.Location = new System.Drawing.Point(12, 326);
|
||||
this.DelSavedLoginBtn.Name = "DelSavedLoginBtn";
|
||||
this.DelSavedLoginBtn.Size = new System.Drawing.Size(280, 23);
|
||||
this.DelSavedLoginBtn.TabIndex = 0;
|
||||
@@ -120,7 +121,7 @@
|
||||
// UploadCrewModeCB
|
||||
//
|
||||
this.UploadCrewModeCB.AutoSize = true;
|
||||
this.UploadCrewModeCB.Location = new System.Drawing.Point(12, 159);
|
||||
this.UploadCrewModeCB.Location = new System.Drawing.Point(12, 187);
|
||||
this.UploadCrewModeCB.Name = "UploadCrewModeCB";
|
||||
this.UploadCrewModeCB.Size = new System.Drawing.Size(160, 17);
|
||||
this.UploadCrewModeCB.TabIndex = 7;
|
||||
@@ -131,7 +132,7 @@
|
||||
// DarkModeCB
|
||||
//
|
||||
this.DarkModeCB.AutoSize = true;
|
||||
this.DarkModeCB.Location = new System.Drawing.Point(12, 276);
|
||||
this.DarkModeCB.Location = new System.Drawing.Point(12, 304);
|
||||
this.DarkModeCB.Name = "DarkModeCB";
|
||||
this.DarkModeCB.Size = new System.Drawing.Size(125, 17);
|
||||
this.DarkModeCB.TabIndex = 8;
|
||||
@@ -141,7 +142,7 @@
|
||||
//
|
||||
// DepotSyncBtn
|
||||
//
|
||||
this.DepotSyncBtn.Location = new System.Drawing.Point(12, 328);
|
||||
this.DepotSyncBtn.Location = new System.Drawing.Point(12, 356);
|
||||
this.DepotSyncBtn.Name = "DepotSyncBtn";
|
||||
this.DepotSyncBtn.Size = new System.Drawing.Size(280, 23);
|
||||
this.DepotSyncBtn.TabIndex = 9;
|
||||
@@ -151,7 +152,7 @@
|
||||
//
|
||||
// rinruUsernameTextbox
|
||||
//
|
||||
this.rinruUsernameTextbox.Location = new System.Drawing.Point(12, 201);
|
||||
this.rinruUsernameTextbox.Location = new System.Drawing.Point(12, 229);
|
||||
this.rinruUsernameTextbox.Name = "rinruUsernameTextbox";
|
||||
this.rinruUsernameTextbox.Size = new System.Drawing.Size(280, 20);
|
||||
this.rinruUsernameTextbox.TabIndex = 10;
|
||||
@@ -160,7 +161,7 @@
|
||||
// rinruUsernameLabel
|
||||
//
|
||||
this.rinruUsernameLabel.AutoSize = true;
|
||||
this.rinruUsernameLabel.Location = new System.Drawing.Point(12, 183);
|
||||
this.rinruUsernameLabel.Location = new System.Drawing.Point(12, 211);
|
||||
this.rinruUsernameLabel.Name = "rinruUsernameLabel";
|
||||
this.rinruUsernameLabel.Size = new System.Drawing.Size(101, 13);
|
||||
this.rinruUsernameLabel.TabIndex = 11;
|
||||
@@ -169,7 +170,7 @@
|
||||
// filehostLabel
|
||||
//
|
||||
this.filehostLabel.AutoSize = true;
|
||||
this.filehostLabel.Location = new System.Drawing.Point(12, 228);
|
||||
this.filehostLabel.Location = new System.Drawing.Point(12, 256);
|
||||
this.filehostLabel.Name = "filehostLabel";
|
||||
this.filehostLabel.Size = new System.Drawing.Size(66, 13);
|
||||
this.filehostLabel.TabIndex = 12;
|
||||
@@ -177,18 +178,30 @@
|
||||
//
|
||||
// filehostTextbox
|
||||
//
|
||||
this.filehostTextbox.Location = new System.Drawing.Point(12, 246);
|
||||
this.filehostTextbox.Location = new System.Drawing.Point(12, 274);
|
||||
this.filehostTextbox.Name = "filehostTextbox";
|
||||
this.filehostTextbox.Size = new System.Drawing.Size(281, 20);
|
||||
this.filehostTextbox.TabIndex = 13;
|
||||
this.filehostTextbox.TextChanged += new System.EventHandler(this.filehostTextbox_TextChanged);
|
||||
//
|
||||
// SkipCompressionCheckBox
|
||||
//
|
||||
this.SkipCompressionCheckBox.AutoSize = true;
|
||||
this.SkipCompressionCheckBox.Location = new System.Drawing.Point(12, 161);
|
||||
this.SkipCompressionCheckBox.Name = "SkipCompressionCheckBox";
|
||||
this.SkipCompressionCheckBox.Size = new System.Drawing.Size(104, 17);
|
||||
this.SkipCompressionCheckBox.TabIndex = 14;
|
||||
this.SkipCompressionCheckBox.Text = "skipcompression";
|
||||
this.SkipCompressionCheckBox.UseVisualStyleBackColor = true;
|
||||
this.SkipCompressionCheckBox.CheckedChanged += new System.EventHandler(this.SkipCompressionCheckBox_CheckedChanged);
|
||||
//
|
||||
// MoreSettingsForm
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.BackColor = System.Drawing.SystemColors.Window;
|
||||
this.ClientSize = new System.Drawing.Size(303, 356);
|
||||
this.ClientSize = new System.Drawing.Size(303, 389);
|
||||
this.Controls.Add(this.SkipCompressionCheckBox);
|
||||
this.Controls.Add(this.filehostTextbox);
|
||||
this.Controls.Add(this.filehostLabel);
|
||||
this.Controls.Add(this.rinruUsernameLabel);
|
||||
@@ -229,5 +242,6 @@
|
||||
private System.Windows.Forms.Label rinruUsernameLabel;
|
||||
private System.Windows.Forms.Label filehostLabel;
|
||||
private System.Windows.Forms.TextBox filehostTextbox;
|
||||
private System.Windows.Forms.CheckBox SkipCompressionCheckBox;
|
||||
}
|
||||
}
|
||||
@@ -80,6 +80,7 @@ namespace SuperSteamPacker
|
||||
DepotSyncBtn.Text = languageini.Read("SyncDepots", "SSP");
|
||||
rinruUsernameLabel.Text = languageini.Read("rinruUsername", "SSP");
|
||||
filehostLabel.Text = languageini.Read("filehost", "SSP");
|
||||
SkipCompressionCheckBox.Text = languageini.Read("skipcompression", "SSP");
|
||||
|
||||
if (settingsini.Read("darkmode", "SSP") == "1")
|
||||
{
|
||||
@@ -104,9 +105,10 @@ namespace SuperSteamPacker
|
||||
rinruUsernameTextbox.BackColor = Color.FromArgb(60, 60, 69);
|
||||
rinruUsernameTextbox.BorderStyle = BorderStyle.FixedSingle;
|
||||
filehostLabel.ForeColor = Color.White;
|
||||
filehostTextbox.ForeColor = Color.White;
|
||||
filehostTextbox.BackColor = Color.FromArgb(60, 60, 69);
|
||||
filehostTextbox.BorderStyle = BorderStyle.FixedSingle;
|
||||
filehostTextbox.ForeColor = Color.White;
|
||||
filehostTextbox.BackColor = Color.FromArgb(60, 60, 69);
|
||||
filehostTextbox.BorderStyle = BorderStyle.FixedSingle;
|
||||
SkipCompressionCheckBox.ForeColor = Color.White;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -238,5 +240,19 @@ namespace SuperSteamPacker
|
||||
var settingsini = new Ini("Settings.ini");
|
||||
settingsini.Write("filehost", filehostTextbox.Text, "SSP");
|
||||
}
|
||||
|
||||
private void SkipCompressionCheckBox_CheckedChanged(object sender, EventArgs e)
|
||||
{
|
||||
var settingsini = new Ini("Settings.ini");
|
||||
switch (SkipCompressionCheckBox.Checked)
|
||||
{
|
||||
case true:
|
||||
settingsini.Write("skipcompression", "1", "SSP");
|
||||
break;
|
||||
case false:
|
||||
settingsini.Write("skipcompression", "0", "SSP");
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
10
Properties/Resources.Designer.cs
generated
10
Properties/Resources.Designer.cs
generated
@@ -90,6 +90,16 @@ namespace SuperSteamPacker.Properties {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Byte[].
|
||||
/// </summary>
|
||||
internal static byte[] LANGDATA_German {
|
||||
get {
|
||||
object obj = ResourceManager.GetObject("LANGDATA_German", resourceCulture);
|
||||
return ((byte[])(obj));
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized resource of type System.Byte[].
|
||||
/// </summary>
|
||||
|
||||
@@ -124,6 +124,9 @@
|
||||
<data name="LANGDATA_French" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\French.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="LANGDATA_German" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\German.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
<data name="LANGDATA_Global" type="System.Resources.ResXFileRef, System.Windows.Forms">
|
||||
<value>..\Resources\Global.bin;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
|
||||
</data>
|
||||
|
||||
BIN
Resources/7z.exe
BIN
Resources/7z.exe
Binary file not shown.
@@ -65,4 +65,5 @@ depotsyncsuccess=Successfully synced Depot names.
|
||||
MODWarning1=AppID or Workshop Item ID is invalid.
|
||||
MODManager=Workshop Content Manager
|
||||
rinruUsername=Enter your cs.rin.ru username:
|
||||
filehost=Enter where you upload files:
|
||||
filehost=Enter where you upload files:
|
||||
skipcompression=Skip Compression
|
||||
@@ -1,6 +1,6 @@
|
||||
[SSP]
|
||||
Title=Super Steam Packer
|
||||
Version=v1.3.1
|
||||
Version=v1.3.2
|
||||
Author=Masquerade
|
||||
Forum=CS.RIN.RU
|
||||
Github=Masquerade's Github
|
||||
@@ -3,5 +3,6 @@ language=English
|
||||
loginwarningaccepted=false
|
||||
userdatasaved=false
|
||||
compressor=7z
|
||||
skipcompression=0
|
||||
uploadcrewmode=0
|
||||
gamesshared=0
|
||||
Reference in New Issue
Block a user