Standardise formatting of RomFs and PartitionFs names.

This commit is contained in:
jakcron 2021-11-14 07:14:58 +08:00
parent d1d8850818
commit 1e2902202b
5 changed files with 6 additions and 6 deletions

View file

@ -133,7 +133,7 @@ void nstool::AssetProcess::displayHeader()
fmt::print(" NACP:\n");
fmt::print(" Offset: 0x{:x}\n", mHdr.getNacpInfo().offset);
fmt::print(" Size: 0x{:x}\n", mHdr.getNacpInfo().size);
fmt::print(" RomFS:\n");
fmt::print(" RomFs:\n");
fmt::print(" Offset: 0x{:x}\n", mHdr.getRomfsInfo().offset);
fmt::print(" Size: 0x{:x}\n", mHdr.getRomfsInfo().size);
}

View file

@ -271,7 +271,7 @@ void nstool::GameCardProcess::processRootPfs()
FsProcess fs_proc;
fs_proc.setInputFileSystem(gc_vfs);
fs_proc.setFsFormatName("PartitionFS");
fs_proc.setFsFormatName("PartitionFs");
fs_proc.setFsProperties({
fmt::format("Type: Nested HFS0"),
fmt::format("DirNum: {:d}", gc_vfs_meta.dir_entries.empty() ? 0 : gc_vfs_meta.dir_entries.size() - 1), // -1 to not include root directory

View file

@ -17,7 +17,7 @@ nstool::PfsProcess::PfsProcess() :
mFileSystem(),
mFsProcess()
{
mFsProcess.setFsFormatName("PartitionFS");
mFsProcess.setFsFormatName("PartitionFs");
}
void nstool::PfsProcess::process()

View file

@ -15,7 +15,7 @@ nstool::RomfsProcess::RomfsProcess() :
mFileSystem(),
mFsProcess()
{
mFsProcess.setFsFormatName("RomFS");
mFsProcess.setFsFormatName("RomFs");
}
void nstool::RomfsProcess::process()

View file

@ -750,8 +750,8 @@ void nstool::SettingsInitializer::usage_text() const
fmt::print(" --kipdir Extract embedded Initial Programs to directory.\n");
fmt::print("\n ASET (Homebrew Asset Blob)\n");
fmt::print(" {:s} [--fstree] [-x [<virtual path>] <out path>] [--icon <file> --nacp <file>] <file>\n", BIN_NAME);
fmt::print(" --fstree Print RomFS filesystem tree.\n");
fmt::print(" -x, --extract Extract a file or directory from RomFS to local filesystem.\n");
fmt::print(" --fstree Print RomFs filesystem tree.\n");
fmt::print(" -x, --extract Extract a file or directory from RomFs to local filesystem.\n");
fmt::print(" --icon Extract icon partition to file.\n");
fmt::print(" --nacp Extract NACP partition to file.\n");
}