Added -nofilelist
This commit is contained in:
parent
cc14235219
commit
3040917d5a
|
|
@ -2920,6 +2920,9 @@ public class GlobalFuncs
|
|||
|
||||
public static void CreateInitialFileListIfNeededMulti()
|
||||
{
|
||||
if (GlobalVars.NoFileList)
|
||||
return;
|
||||
|
||||
string filePath = GlobalPaths.ConfigDir + "\\InitialFileList.txt";
|
||||
|
||||
if (!File.Exists(filePath))
|
||||
|
|
|
|||
|
|
@ -95,6 +95,7 @@ public static class GlobalVars
|
|||
public static bool AdminMode = false;
|
||||
public static bool ColorsLoaded = false;
|
||||
public static int ValidatedExtraFiles = 0;
|
||||
public static bool NoFileList = false;
|
||||
#endregion
|
||||
}
|
||||
#endregion
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ public partial class ModCreator : Form
|
|||
}
|
||||
else
|
||||
{
|
||||
MessageBox.Show("The initial file list has not been generated. Please launch the Novetus Launcher to initalize it.\n\nNote: Use a fresh Novetus install for this process. Do NOT use a client with mods (Addon scripts, items, maps, etc.) already created, as they won't show up in the file listing. After initalizing a fresh copy of Novetus, you are free to build Mod Packages for it.",
|
||||
MessageBox.Show("The initial file list has not been generated. Please launch the Novetus Launcher to initalize it or remove -nofilelist from the command line parameters.\n\nNote: Use a fresh Novetus install for this process. Do NOT use a client with mods (Addon scripts, items, maps, etc.) already created, as they won't show up in the file listing. After initalizing a fresh copy of Novetus, you are free to build Mod Packages for it.",
|
||||
"Mod Creator - Initial file list not found", MessageBoxButtons.OK, MessageBoxIcon.Error);
|
||||
this.Close();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -43,6 +43,11 @@ namespace NovetusLauncher
|
|||
{
|
||||
System.Windows.Forms.Application.Run(new NovetusSDK());
|
||||
}
|
||||
|
||||
if (CommandLine["nofilelist"] != null)
|
||||
{
|
||||
GlobalVars.NoFileList = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue