mirror of
https://github.com/jakcron/nstool
synced 2024-12-25 14:11:14 +00:00
Standardise formatting of RomFs and PartitionFs names.
This commit is contained in:
parent
d1d8850818
commit
1e2902202b
5 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -17,7 +17,7 @@ nstool::PfsProcess::PfsProcess() :
|
|||
mFileSystem(),
|
||||
mFsProcess()
|
||||
{
|
||||
mFsProcess.setFsFormatName("PartitionFS");
|
||||
mFsProcess.setFsFormatName("PartitionFs");
|
||||
}
|
||||
|
||||
void nstool::PfsProcess::process()
|
||||
|
|
|
@ -15,7 +15,7 @@ nstool::RomfsProcess::RomfsProcess() :
|
|||
mFileSystem(),
|
||||
mFsProcess()
|
||||
{
|
||||
mFsProcess.setFsFormatName("RomFS");
|
||||
mFsProcess.setFsFormatName("RomFs");
|
||||
}
|
||||
|
||||
void nstool::RomfsProcess::process()
|
||||
|
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue