mirror of
https://github.com/blueskythlikesclouds/SonicAudioTools.git
synced 2024-11-23 22:50:58 +01:00
Reword some text in ACB Editor.
This commit is contained in:
parent
d8c911c62b
commit
f42da23e0e
@ -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)
|
## [ACB Editor](https://github.com/blueskythlikesclouds/SonicAudioTools/tree/master/Source/AcbEditor)
|
||||||
This tool allows you to edit the audio content of an ACB file.
|
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)
|
## [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.
|
This tool allows you to find AWB files and link them back to the ACB, required in extracting certain ACB files.
|
||||||
|
@ -130,7 +130,7 @@ namespace AcbEditor
|
|||||||
|
|
||||||
if (!found)
|
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)
|
if (extAfs2Archive.SubKey != 0)
|
||||||
@ -166,7 +166,7 @@ namespace AcbEditor
|
|||||||
{
|
{
|
||||||
if (!found)
|
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)
|
else if (extCpkArchive == null && cpkMode)
|
||||||
@ -234,7 +234,7 @@ namespace AcbEditor
|
|||||||
|
|
||||||
if (!File.Exists(acbPath))
|
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();
|
CriTable acbFile = new CriTable();
|
||||||
@ -282,7 +282,7 @@ namespace AcbEditor
|
|||||||
|
|
||||||
if (!File.Exists(inputName))
|
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)
|
if (cpkMode)
|
||||||
@ -340,14 +340,14 @@ namespace AcbEditor
|
|||||||
|
|
||||||
if (afs2Archive.Count > 0 || cpkArchive.Count > 0)
|
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();
|
acbFile.Rows[0]["AwbFile"] = cpkMode ? cpkArchive.Save() : afs2Archive.Save();
|
||||||
Console.WriteLine();
|
Console.WriteLine();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (extAfs2Archive.Count > 0 || extCpkArchive.Count > 0)
|
if (extAfs2Archive.Count > 0 || extCpkArchive.Count > 0)
|
||||||
{
|
{
|
||||||
Console.WriteLine("Saving external AWB...");
|
Console.WriteLine("Saving streaming AWB file...");
|
||||||
if (cpkMode)
|
if (cpkMode)
|
||||||
{
|
{
|
||||||
extCpkArchive.Save(awbPath, Settings.Default.BufferSize);
|
extCpkArchive.Save(awbPath, Settings.Default.BufferSize);
|
||||||
|
Loading…
Reference in New Issue
Block a user