From f42da23e0e981bcc9bf72098834d632072412bca Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Fri, 10 Sep 2021 12:26:38 +0300 Subject: [PATCH] Reword some text in ACB Editor. --- README.md | 1 - Source/AcbEditor/Program.cs | 12 ++++++------ 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 7728200..4112cb3 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,6 @@ This is the main library of the solution. Contains classes for IO and file form ## [ACB Editor](https://github.com/blueskythlikesclouds/SonicAudioTools/tree/master/Source/AcbEditor) This tool allows you to edit the audio content of an ACB file. -A more advanced version like CSB Builder is planned to be made soon. ## [ACB Finder](https://github.com/blueskythlikesclouds/SonicAudioTools/tree/master/Source/AcbFinder) This tool allows you to find AWB files and link them back to the ACB, required in extracting certain ACB files. diff --git a/Source/AcbEditor/Program.cs b/Source/AcbEditor/Program.cs index 4be3b3f..77136cc 100644 --- a/Source/AcbEditor/Program.cs +++ b/Source/AcbEditor/Program.cs @@ -130,7 +130,7 @@ namespace AcbEditor if (!found) { - throw new FileNotFoundException("Cannot find the external .AWB file for this .ACB file. Please ensure that the external .AWB file is stored in the directory where the .ACB file is."); + throw new FileNotFoundException("Unable to locate the corresponding streaming AWB file. Please ensure that it's in the same directory."); } if (extAfs2Archive.SubKey != 0) @@ -166,7 +166,7 @@ namespace AcbEditor { if (!found) { - throw new Exception("Cannot find the external .AWB file for this .ACB file. Please ensure that the external .AWB file is stored in the directory where the .ACB file is."); + throw new Exception("Unable to locate the corresponding streaming AWB file. Please ensure that it's in the same directory."); } else if (extCpkArchive == null && cpkMode) @@ -234,7 +234,7 @@ namespace AcbEditor if (!File.Exists(acbPath)) { - throw new FileNotFoundException("Cannot find the .ACB file for this directory. Please ensure that the .ACB file is stored in the directory where this directory is."); + throw new FileNotFoundException("Unable to locate the corresponding ACB file. Please ensure that it's in the same directory."); } CriTable acbFile = new CriTable(); @@ -282,7 +282,7 @@ namespace AcbEditor if (!File.Exists(inputName)) { - throw new FileNotFoundException($"Cannot find audio file with id {id} for replacement.\nPath attempt: {inputName}"); + throw new FileNotFoundException($"Unable to locate {inputName}"); } if (cpkMode) @@ -340,14 +340,14 @@ namespace AcbEditor if (afs2Archive.Count > 0 || cpkArchive.Count > 0) { - Console.WriteLine("Saving internal AWB..."); + Console.WriteLine("Saving AWB file..."); acbFile.Rows[0]["AwbFile"] = cpkMode ? cpkArchive.Save() : afs2Archive.Save(); Console.WriteLine(); } if (extAfs2Archive.Count > 0 || extCpkArchive.Count > 0) { - Console.WriteLine("Saving external AWB..."); + Console.WriteLine("Saving streaming AWB file..."); if (cpkMode) { extCpkArchive.Save(awbPath, Settings.Default.BufferSize);