Skip to content

Commit

Permalink
- git version upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
cozy1 committed Oct 21, 2019
1 parent b161bb6 commit 278f62b
Show file tree
Hide file tree
Showing 28 changed files with 111 additions and 90 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -123,3 +123,4 @@ __pycache__/
/.vs/RocksmithCustomSongCreator/v15/Server/sqlite3 /.vs/RocksmithCustomSongCreator/v15/Server/sqlite3
/.vs/RocksmithCustomSongCreator/v15/sqlite3 /.vs/RocksmithCustomSongCreator/v15/sqlite3


*.vshost.exe
9 changes: 5 additions & 4 deletions PatchAssemblyVersion.ps1
Expand Up @@ -16,12 +16,13 @@ $env:GIT_HASH = $env:APPVEYOR_REPO_COMMIT.Substring(0, 8)
$Assembly_Informational_Version = "$env:GIT_HASH" $Assembly_Informational_Version = "$env:GIT_HASH"


# NOTE TO DEVS # NOTE TO DEVS
# Manually edit the '$AssemblyVersion' and '$AssemblyConfiguration' values # Manually edit the '$AssemblyVersion' and '$AssemblyConfiguration' values here
# before committing a major revisions/releases to github # before committing a major revisions/releases to github
# these will be automatically applied to all AssemblyInfo.cs files by AppVeyor ... # these will be automatically applied to all AssemblyInfo.cs files by AppVeyor ...
# $AssemblyConfiguration "BUILD", "BETA", "RELEASE", or (blank) "" $Assembly_Version = "2.9.2.1"
$Assembly_Version = "2.9.2.0" # $AssemblyConfiguration = "BUILD", "BETA", "RELEASE", or (any other string)
$Assembly_Configuration = "" # $AssemblyConfiguration = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP
$Assembly_Configuration = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP


Write-Host "- Patching: $Assembly_File" Write-Host "- Patching: $Assembly_File"
Write-Host "- AssemblyVersion: $Assembly_Version" Write-Host "- AssemblyVersion: $Assembly_Version"
Expand Down
Binary file modified RocksmithPreBuild.exe
Binary file not shown.
55 changes: 33 additions & 22 deletions RocksmithPreBuild/Program.cs
Expand Up @@ -14,7 +14,7 @@ private static void Main(string[] args)
// common variables are here // common variables are here
var assemblyVersion = "0.0.0.0"; var assemblyVersion = "0.0.0.0";
var assemblyInformationVersion = "00000000"; // aka gitSubVersion var assemblyInformationVersion = "00000000"; // aka gitSubVersion
var assemblyConfiguration = ""; // BUILD, BETA, RELEASE, or blank var assemblyConfiguration = ""; // BUILD, BETA, RELEASE, empty string, or DateTime string
var appExe = Assembly.GetExecutingAssembly().Location; var appExe = Assembly.GetExecutingAssembly().Location;
var appPath = Path.GetDirectoryName(appExe); var appPath = Path.GetDirectoryName(appExe);
var parentPath = Path.GetDirectoryName(appPath); var parentPath = Path.GetDirectoryName(appPath);
Expand All @@ -31,17 +31,18 @@ private static void Main(string[] args)
// Console.SetWindowSize(90, 35); // Console.SetWindowSize(90, 35);


// feed the CLI some data when working in debug mode // feed the CLI some data when working in debug mode
//#if (DEBUG)
if (DebugMode) if (DebugMode)
{ {
//args = new[] { "PREBUILDER", "1.2.3.4", "RELEASE" }; //args = new[] { "PREBUILDER", "1.2.3.4", "RELEASE" };
//args = new[] { "PREBUILDER", "1.2.3.4", "BETA" }; //args = new[] { "PREBUILDER", "1.2.3.4", "BETA" };
//args = new[] { "PREBUILDER", "1.2.3.4", "BUILD" }; //args = new[] { "PREBUILDER", "1.2.3.4", "BUILD" };
// args = new[] { "PREBUILDER", "1.2.3.4", "NONE" }; // args = new[] { "PREBUILDER", "1.2.3.4", "NONE" };
// args = new[] { "PREBUILDER", "READ", "READ" }; // use existing version/type args = new[] { "PREBUILDER", "READ", "READ" }; // default use existing version/type and set date
args = new[] { "PREBUILDER", "READ", "READ", "00000000" }; // use manually set git subversion // args = new[] { "PREBUILDER", "READ", "READ", "00000000" }; // resets git subversion and AssemblyConfiguration
//args = new[] { "" }; // shows help //args = new[] { "" }; // shows help
} }

//#endif
if (!args.Any() || args[0].ToUpper().Contains("HELP") || args[0].Contains("?")) if (!args.Any() || args[0].ToUpper().Contains("HELP") || args[0].Contains("?"))
{ {
Console.WriteLine(""); Console.WriteLine("");
Expand All @@ -60,8 +61,9 @@ private static void Main(string[] args)
Console.WriteLine(" arg2 = 'READ' [AssemblyConfiguration Read Mode]"); Console.WriteLine(" arg2 = 'READ' [AssemblyConfiguration Read Mode]");
Console.WriteLine(""); Console.WriteLine("");
Console.WriteLine(" arg1 = '2.8.3.0' [AssemblyVersion Write Mode]"); Console.WriteLine(" arg1 = '2.8.3.0' [AssemblyVersion Write Mode]");
Console.WriteLine(" arg2 = 'BUILD', 'BETA', 'RELEASE', or 'NONE' [AssemblyConfiguration Write Mode]"); Console.WriteLine(" arg2 = 'BUILD', 'BETA', 'RELEASE' sets [AssemblyConfiguration] to corresponding string");
Console.WriteLine(" 'NONE' is converted to an empty/null string for use in the app"); Console.WriteLine(" 'DATE' sets [AssemblyConfiguration] to $env:APPVEYOR_REPO_COMMIT_TIMESTAMP");
Console.WriteLine(" 'NONE' sets [AssemblyConfiguration] to empty string");
Console.WriteLine(""); Console.WriteLine("");
Console.WriteLine(" - Optional: (write git subversion)"); Console.WriteLine(" - Optional: (write git subversion)");
Console.WriteLine(" arg3 = '00000000' [AssemblyInformationVersion Write Mode] aka gitsubversion"); Console.WriteLine(" arg3 = '00000000' [AssemblyInformationVersion Write Mode] aka gitsubversion");
Expand Down Expand Up @@ -133,7 +135,7 @@ private static void Main(string[] args)
assemblyInformationVersion = lines[0].Substring(0, 8); assemblyInformationVersion = lines[0].Substring(0, 8);


Console.ForegroundColor = ConsoleColor.Cyan; Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine(" - gitSubVersion (AssemblyInformationVersion): " + assemblyInformationVersion); Console.WriteLine(" - gitSubVersion [AssemblyInformationVersion]: " + assemblyInformationVersion);
Console.ForegroundColor = ConsoleColor.Green; Console.ForegroundColor = ConsoleColor.Green;
Console.WriteLine(""); Console.WriteLine("");


Expand Down Expand Up @@ -162,16 +164,15 @@ private static void Main(string[] args)
File.WriteAllLines(patchAssemblyVersionPath, lines.ToArray()); File.WriteAllLines(patchAssemblyVersionPath, lines.ToArray());
Console.WriteLine(" - Updated $Assembly_Version: " + assemblyVersion); Console.WriteLine(" - Updated $Assembly_Version: " + assemblyVersion);
} }

Console.ForegroundColor = ConsoleColor.Green;
} }
else else
{ {
Console.ForegroundColor = ConsoleColor.Yellow; Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine(" - <ERROR> Could not find '$Assembly_Version' ..."); Console.WriteLine(" - <ERROR> Could not find '$Assembly_Version' ...");
Console.WriteLine(patchAssemblyVersionPath); Console.WriteLine(patchAssemblyVersionPath);
Console.ForegroundColor = ConsoleColor.Green;
} }

Console.ForegroundColor = ConsoleColor.Green;
} }


// $Assembly_Configuration = "BETA" // $Assembly_Configuration = "BETA"
Expand All @@ -184,31 +185,41 @@ private static void Main(string[] args)
Console.ForegroundColor = ConsoleColor.Cyan; Console.ForegroundColor = ConsoleColor.Cyan;
if (args[2].ToUpper() == "READ") if (args[2].ToUpper() == "READ")
{ {
assemblyConfiguration = GetStringInBetween("\"", "\"", line); // default AssemblyConfiguration
if (String.IsNullOrEmpty(assemblyConfiguration))
assemblyConfiguration = DateTime.UtcNow.ToString();
else
assemblyConfiguration = GetStringInBetween("\"", "\"", line);

Console.WriteLine(" - Read $Assembly_Configuration: " + assemblyConfiguration); Console.WriteLine(" - Read $Assembly_Configuration: " + assemblyConfiguration);
} }
else else
{ {
// convert configuration term 'RELEASE' to empty (blank) // convert configuration term 'RELEASE' to empty (blank)
if (args[2].ToUpper() == "NONE") if (args[2].ToUpper() == "DATE")
assemblyConfiguration = "$env:APPVEYOR_REPO_COMMIT_TIMESTAMP";
else if (args[2].ToUpper() == "NONE")
assemblyConfiguration = ""; assemblyConfiguration = "";
else else
assemblyConfiguration = (args[2]); assemblyConfiguration = (args[2]);


lines[idx] = "$Assembly_Configuration = \"" + assemblyConfiguration + "\""; if (args[2].ToUpper() == "DATE")
lines[idx] = "$Assembly_Configuration = $env:APPVEYOR_REPO_COMMIT_TIMESTAMP";
else
lines[idx] = "$Assembly_Configuration = \"" + assemblyConfiguration + "\"";

File.WriteAllLines(patchAssemblyVersionPath, lines.ToArray()); File.WriteAllLines(patchAssemblyVersionPath, lines.ToArray());
Console.WriteLine(" - Updated $Assembly_Configuration: " + assemblyConfiguration); Console.WriteLine(" - Updated $Assembly_Configuration: " + assemblyConfiguration);
} }

Console.ForegroundColor = ConsoleColor.Green;
} }
else else
{ {
Console.ForegroundColor = ConsoleColor.Yellow; Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine(" - <ERROR> Could not find '$Assembly_Configuration' ..."); Console.WriteLine(" - <ERROR> Could not find '$Assembly_Configuration' ...");
Console.WriteLine(patchAssemblyVersionPath); Console.WriteLine(patchAssemblyVersionPath);
Console.ForegroundColor = ConsoleColor.Green;
} }

Console.ForegroundColor = ConsoleColor.Green;
} }


Console.WriteLine(""); Console.WriteLine("");
Expand Down Expand Up @@ -247,15 +258,15 @@ private static void Main(string[] args)
File.WriteAllLines(assemblyInfoPath, lines.ToArray()); File.WriteAllLines(assemblyInfoPath, lines.ToArray());
Console.ForegroundColor = ConsoleColor.Cyan; Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine(" - Updated AssemblyVersion: " + assemblyVersion); Console.WriteLine(" - Updated AssemblyVersion: " + assemblyVersion);
Console.ForegroundColor = ConsoleColor.Green;
} }
else else
{ {
Console.ForegroundColor = ConsoleColor.Yellow; Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine(" - <ERROR> Could not find 'AssemblyVersion' ..."); Console.WriteLine(" - <ERROR> Could not find 'AssemblyVersion' ...");
Console.WriteLine(assemblyInfoPath); Console.WriteLine(assemblyInfoPath);
Console.ForegroundColor = ConsoleColor.Green;
} }

Console.ForegroundColor = ConsoleColor.Green;
} }


// [assembly: AssemblyInformationalVersion("00000000")] // [assembly: AssemblyInformationalVersion("00000000")]
Expand All @@ -269,15 +280,15 @@ private static void Main(string[] args)
File.WriteAllLines(assemblyInfoPath, lines.ToArray()); File.WriteAllLines(assemblyInfoPath, lines.ToArray());
Console.ForegroundColor = ConsoleColor.Cyan; Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine(" - Updated AssemblyInformationalVersion: " + assemblyInformationVersion); Console.WriteLine(" - Updated AssemblyInformationalVersion: " + assemblyInformationVersion);
Console.ForegroundColor = ConsoleColor.Green;
} }
else else
{ {
Console.ForegroundColor = ConsoleColor.Yellow; Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine(" - <ERROR> Could not find 'AssemblyInformationalVersion' ..."); Console.WriteLine(" - <ERROR> Could not find 'AssemblyInformationalVersion' ...");
Console.WriteLine(assemblyInfoPath); Console.WriteLine(assemblyInfoPath);
Console.ForegroundColor = ConsoleColor.Green;
} }

Console.ForegroundColor = ConsoleColor.Green;
} }


// [assembly: AssemblyConfiguration("BETA")] // [assembly: AssemblyConfiguration("BETA")]
Expand All @@ -291,15 +302,15 @@ private static void Main(string[] args)
File.WriteAllLines(assemblyInfoPath, lines.ToArray()); File.WriteAllLines(assemblyInfoPath, lines.ToArray());
Console.ForegroundColor = ConsoleColor.Cyan; Console.ForegroundColor = ConsoleColor.Cyan;
Console.WriteLine(" - Updated AssemblyConfiguration: " + assemblyConfiguration); Console.WriteLine(" - Updated AssemblyConfiguration: " + assemblyConfiguration);
Console.ForegroundColor = ConsoleColor.Green;
} }
else else
{ {
Console.ForegroundColor = ConsoleColor.Yellow; Console.ForegroundColor = ConsoleColor.Yellow;
Console.WriteLine(" - <ERROR> Could not find 'AssemblyConfiguration' ..."); Console.WriteLine(" - <ERROR> Could not find 'AssemblyConfiguration' ...");
Console.WriteLine(assemblyInfoPath); Console.WriteLine(assemblyInfoPath);
Console.ForegroundColor = ConsoleColor.Green;
} }

Console.ForegroundColor = ConsoleColor.Green;
} }
} }


Expand Down
4 changes: 2 additions & 2 deletions RocksmithPreBuild/Properties/AssemblyInfo.cs
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.3.0")] [assembly: AssemblyVersion("1.0.4.0")]
[assembly: AssemblyFileVersion("1.0.3.0")] [assembly: AssemblyFileVersion("1.0.4.0")]
8 changes: 4 additions & 4 deletions RocksmithTookitGUI/Properties/AssemblyInfo.cs
Expand Up @@ -11,7 +11,7 @@
[assembly: AssemblyDescription("The purpose of this utility package is to generate custom songs compatible with Ubisoft® Rocksmith™ software. It is maintained by an open source community of enthusiasts and is not affiliated with Ubisoft® and/or the Rocksmith™ team. For more information, please visit: http://www.rscustom.net.")] [assembly: AssemblyDescription("The purpose of this utility package is to generate custom songs compatible with Ubisoft® Rocksmith™ software. It is maintained by an open source community of enthusiasts and is not affiliated with Ubisoft® and/or the Rocksmith™ team. For more information, please visit: http://www.rscustom.net.")]
[assembly: AssemblyCompany("Rocksmith Custom Song Project")] [assembly: AssemblyCompany("Rocksmith Custom Song Project")]
[assembly: AssemblyProduct("Song Creator Toolkit for Rocksmith")] [assembly: AssemblyProduct("Song Creator Toolkit for Rocksmith")]
[assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
Expand All @@ -28,6 +28,6 @@
// Revision // Revision
// //
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT // THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.2.0")] [assembly: AssemblyVersion("2.9.2.1")]
[assembly: AssemblyInformationalVersion("013e9e81")] [assembly: AssemblyInformationalVersion("b161bb65")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("10/21/2019 9:24:00 PM")]
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")] [assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")]
[assembly: AssemblyProduct("artistfolders")] [assembly: AssemblyProduct("artistfolders")]
[assembly: AssemblyCopyright("Copyright © 2015 CST Developer Team")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
Expand Down
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Project")] [assembly: AssemblyCompany("Rocksmith Custom Song Project")]
[assembly: AssemblyProduct("dlcconverter")] [assembly: AssemblyProduct("dlcconverter")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitCLI/convert2012/Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")] [assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")]
[assembly: AssemblyProduct("convert2012")] [assembly: AssemblyProduct("convert2012")]
[assembly: AssemblyCopyright("Copyright © 2015 CST Developer Team")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
Expand Down
Expand Up @@ -9,7 +9,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")] [assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")]
[assembly: AssemblyProduct("packagecreator")] [assembly: AssemblyProduct("packagecreator")]
[assembly: AssemblyCopyright("Copyright © 2015 CST Developer Team")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitCLI/packer/Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Project")] [assembly: AssemblyCompany("Rocksmith Custom Song Project")]
[assembly: AssemblyProduct("packer")] [assembly: AssemblyProduct("packer")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitCLI/pcdecrypt/Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Project")] [assembly: AssemblyCompany("Rocksmith Custom Song Project")]
[assembly: AssemblyProduct("pcdecrypt")] [assembly: AssemblyProduct("pcdecrypt")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitCLI/sng2014/Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("sng 2014 utility")] [assembly: AssemblyProduct("sng 2014 utility")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitCLI/sngtotab/Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Song Creator Toolkit for Rocksmith")] [assembly: AssemblyCompany("Song Creator Toolkit for Rocksmith")]
[assembly: AssemblyProduct("sngtotab")] [assembly: AssemblyProduct("sngtotab")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")] [assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")]
[assembly: AssemblyProduct("toneliberator")] [assembly: AssemblyProduct("toneliberator")]
[assembly: AssemblyCopyright("Copyright © 2017 CST Developer Team, Cozy")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
Expand Down
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")] [assembly: AssemblyCompany("Rocksmith Custom Song Tookit CLI")]
[assembly: AssemblyProduct("transferprofile")] [assembly: AssemblyProduct("transferprofile")]
[assembly: AssemblyCopyright("Copyright © 2017 CST Developer Team, Cozy")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitCLI/xml2sng/Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("xml2sng")] [assembly: AssemblyProduct("xml2sng")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitGUI.Tests/Properties/AssemblyInfo.cs
Expand Up @@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] [assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("RocksmithToolkitGUI.Test")] [assembly: AssemblyProduct("RocksmithToolkitGUI.Test")]
[assembly: AssemblyCopyright("Copyright © 2018")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitLib.Tests/Properties/AssemblyInfo.cs
Expand Up @@ -11,7 +11,7 @@
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Project")] [assembly: AssemblyCompany("Rocksmith Custom Song Project")]
[assembly: AssemblyProduct("RocksmithToolkitTest")] [assembly: AssemblyProduct("RocksmithToolkitTest")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]


Expand Down
5 changes: 2 additions & 3 deletions RocksmithToolkitLib/DLCPackage/DLCPackageData.cs
Expand Up @@ -571,19 +571,18 @@ public static DLCPackageData LoadFromFolder(string unpackedDir, Platform targetP
// throw exception for corrupt/missing XML file names // throw exception for corrupt/missing XML file names
if (!File.Exists(xmlFile)) if (!File.Exists(xmlFile))
{ {
GlobalExtension.HideProgress();
var artifactsDir = unpackedDir; var artifactsDir = unpackedDir;
StackTrace stackTrace = new StackTrace(); StackTrace stackTrace = new StackTrace();
var callerName = stackTrace.GetFrame(1).GetMethod().Name; var callerName = stackTrace.GetFrame(1).GetMethod().Name;


if (callerName.Equals("PackageImport") && ConfigRepository.Instance().GetBoolean("creator_structured")) if (callerName.Equals("PackageImport") && ConfigRepository.Instance().GetBoolean("creator_structured"))
artifactsDir = Path.Combine(unpackedDir, "EOF"); artifactsDir = Path.Combine(unpackedDir, "EOF");

throw new DataException("Corrupt CDLC artifact file naming." + Environment.NewLine + Environment.NewLine + throw new DataException("Corrupt CDLC artifact file naming." + Environment.NewLine + Environment.NewLine +
"1) Open the artifacts folder: " + artifactsDir + " " + Environment.NewLine + "1) Open the artifacts folder: " + artifactsDir + " " + Environment.NewLine +
"2) Look for and rename any artifact file names that contain special characters, e.g. '~' tilde" + Environment.NewLine + "2) Look for and rename any artifact file names that contain special characters, e.g. '~' tilde" + Environment.NewLine +
"3) Reauthor the CDLC using: >CDLC Creator>Add>Edit>Generate" + Environment.NewLine); "3) Reauthor the CDLC using: >CDLC Creator>Add>Edit>Generate" + Environment.NewLine);

GlobalExtension.HideProgress();
} }


if (attr.Phrases != null) if (attr.Phrases != null)
Expand Down
2 changes: 1 addition & 1 deletion RocksmithToolkitLib/Extensions/TreeViewBrowser.cs
Expand Up @@ -236,7 +236,7 @@ private void InitDefaultFolders()
private void TreeViewBrowser_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e) private void TreeViewBrowser_NodeMouseDoubleClick(object sender, TreeNodeMouseClickEventArgs e)
{ {
// double click produces the undesired effect of opening folder in a new window // double click produces the undesired effect of opening folder in a new window
return; // so do nothing instead return; // do nothing instead for now


// opens the double clicked directory or file in windows explorer // opens the double clicked directory or file in windows explorer
if (File.Exists(e.Node.Tag.ToString()) || Directory.Exists(e.Node.Tag.ToString())) if (File.Exists(e.Node.Tag.ToString()) || Directory.Exists(e.Node.Tag.ToString()))
Expand Down
6 changes: 3 additions & 3 deletions RocksmithToolkitLib/Properties/AssemblyInfo.cs
Expand Up @@ -11,7 +11,7 @@
[assembly: AssemblyDescription("")] [assembly: AssemblyDescription("")]
[assembly: AssemblyCompany("Rocksmith Custom Song Project")] [assembly: AssemblyCompany("Rocksmith Custom Song Project")]
[assembly: AssemblyProduct("RocksmithToolkitLib")] [assembly: AssemblyProduct("RocksmithToolkitLib")]
[assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyCopyright("Copyright © 2019")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible // Setting ComVisible to false makes the types in this assembly not visible
Expand All @@ -28,6 +28,6 @@
// Revision // Revision
// //
// THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT // THESE VALUES ARE PROGRAMMATICALLY GENERATED - DO NOT EDIT
[assembly: AssemblyVersion("2.9.2.0")] [assembly: AssemblyVersion("2.9.2.1")]
[assembly: AssemblyInformationalVersion("013e9e81")] [assembly: AssemblyInformationalVersion("")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]

0 comments on commit 278f62b

Please sign in to comment.