LibHac
LibHac copied to clipboard
Unable to extract Patch NCA romfs using 0.16.1
Attempting to extract the romfs of a Update/Patch NCA (specifically FE3H's patch NCA) using the --romfsdir
option outputs this error, similar to #212 and #249 :
C:\Users\lpleo\Desktop\hactoolnet-0.16.1-win>hactoolnet -k prod.keys --titlekeys title.keys --disablekeywarns --romfsdir romfs_out 137484960c8e8acef9f31d9e3565e052.nca
ERROR: Offset must be a multiple of 16
Additional information:
at LibHac.Tools.FsSystem.SectorStorage.ValidateSize(Int64, Int64) + 0xea
at LibHac.Tools.FsSystem.Aes128CtrStorage.Read(Int64, Span`1) + 0x3c
at LibHac.Tools.FsSystem.Aes128CtrExStorage.Read(Int64, Span`1) + 0x307
at LibHac.Tools.FsSystem.ConcatenationStorage.Read(Int64, Span`1) + 0xde
at LibHac.Fs.SubStorage.Read(Int64, Span`1) + 0x6c
at LibHac.FsSystem.StorageFile.DoRead(Int64&, Int64, Span`1, ReadOption&) + 0xa3
at LibHac.Fs.Fsa.IFile.Read(Int64&, Int64, Span`1, ReadOption&) + 0x98
at LibHac.Tools.FsSystem.FileReader.ReadInt64() + 0x75
at LibHac.Tools.FsSystem.RomFs.RomfsHeader..ctor(IFile) + 0x168
at LibHac.Tools.FsSystem.RomFs.RomFsFileSystem..ctor(IStorage) + 0x5a
at LibHac.Tools.FsSystem.NcaUtils.Nca.OpenFileSystem(IStorage, NcaFsHeader) + 0xc6
at LibHac.Tools.FsSystem.NcaUtils.Nca.OpenFileSystem(Int32, IntegrityCheckLevel) + 0x53
at hactoolnet.ProcessNca.Process(Context) + 0xfd3
at hactoolnet.Program.Run(String[]) + 0x2ad
at hactoolnet.Program.Main(String[]) + 0x27