diff --git a/DATabase/DATabase.cs b/DATabase/DATabase.cs index 2a5e0b1d..ef40dc74 100644 --- a/DATabase/DATabase.cs +++ b/DATabase/DATabase.cs @@ -811,7 +811,7 @@ Make a selection: Make a selection: 1) File or folder to process" + (input != "" ? ":\n\t" + input : "") + @" - 2) Root folder for reference" + (root != "" ? ":\n\t" + root : "") + @" + 2) Set the root directory for trimming calculation" + (root != "" ? ":\n\t" + root : "") + @" 3) " + (forceunpack ? "Remove 'forcepacking=\"unzip\"' from output" : "Add 'forcepacking=\"unzip\"' to output") + @" 4) " + (rename ? "Keep all game names" : "Rename all games to '!'") + @" 5) Process the file or folder diff --git a/DATabase/TrimMerge.cs b/DATabase/TrimMerge.cs index 910755fa..1c858974 100644 --- a/DATabase/TrimMerge.cs +++ b/DATabase/TrimMerge.cs @@ -45,8 +45,6 @@ namespace SabreTools return false; } - _path = (_path == "" ? Environment.CurrentDirectory : _path); - // We want the full path of the file, just in case _filename = Path.GetFullPath(_filename); diff --git a/SabreHelper/Build.cs b/SabreHelper/Build.cs index b45ce13f..be83b360 100644 --- a/SabreHelper/Build.cs +++ b/SabreHelper/Build.cs @@ -132,7 +132,7 @@ Options: system= System ID source= Source ID -tm, --trim-merge Consolidate DAT into a single game and trim entries - -rd=, --root-dir= Set the directory name for path size + -rd=, --root-dir= Set the root directory for trimming calculation -nr, --no-rename Keep game names instead of using '!' -df, --disable-force Disable forceunzipping