Commit graph

92 commits

Author SHA1 Message Date
Alex Barney
934f81da67 Add FileSystemAttribute functionality 2023-10-05 07:28:55 -07:00
Alex Barney
a45c541aca Replace the old EmulatedSdCard class 2023-09-17 20:14:14 -07:00
Alex Barney
43d63086bf Begin implementing StorageDeviceManagerFactory and GameCardManager 2023-09-17 20:14:13 -07:00
Alex Barney
dfd37d314f Fix an off-by-one error when parsing mount names 2023-09-17 20:14:13 -07:00
Alex Barney
903942b2f4 Fix a bug when ensuring bcat saves exist 2023-01-26 21:23:08 -07:00
Alex Barney
d47e0ebedc Change the Ref() extension methods for UniqueRef/SharedRef to properties 2022-12-03 12:53:30 -07:00
Alex Barney
f8766b3cc5 Add implicit ROS<byte> to U8Span cast and use more UTF-8 literals 2022-11-30 23:28:02 -07:00
Alex Barney
100598cada Do code formatting in hactoolnet and test projects 2022-11-11 18:21:07 -07:00
Alex Barney
ef71eedc05 Rename Result rc variables to Result res 2022-11-09 21:33:27 -07:00
Alex Barney
934e9af9a4 Implement most of the remaining game card FS shim 2022-05-05 00:33:18 -07:00
Alex Barney
81051907a4 Make GameCardHandle an alias for uint 2022-05-04 14:58:10 -07:00
Alex Barney
e70e23492f Add DeviceSaveData mounting functions 2022-04-30 23:58:19 -07:00
Alex Barney
0875f5950c Update SaveDataFileSystemServiceImpl for 14.0.0 2022-04-28 19:16:24 -07:00
Alex Barney
7b44441ff2 Update SaveDataFileSystemService for 14.0.0
- Creating save data file systems now uses a new SaveDataCreationInfo2 struct.
- Ensure all implemented functions in the class are accurate to 14.0.0
2022-04-28 15:13:46 -07:00
Alex Barney
3725c21928 Add SaveDataCreationInfo2 2022-04-24 22:33:31 -07:00
Alex Barney
7dfcebfc28 Update DirectorySaveDataFileSystem to implement ISaveDataFileSystem 2022-04-23 12:38:10 -07:00
Alex Barney
bc7fea5714 Add an AlignOf<T> function for use in struct layout tests 2022-04-23 12:17:46 -07:00
Alex Barney
28a4deb93c Add FatFileSystemCreator 2022-04-18 19:34:51 -07:00
Alex Barney
398a142b27 Update some Nca classes for 14.0.0 2022-04-16 20:55:46 -07:00
Alex Barney
b9e2e0863b Add NcaReader and some related NCA classes 2022-03-02 11:13:37 -07:00
Alex Barney
0a96e8d623 Fix EnsureApplicationSaveData failing if the temp save already exists 2022-04-01 17:32:38 -07:00
Alex Barney
e140419323 Handle more possible dir save extra data states 2022-02-05 16:12:29 -07:00
Alex Barney
49759d3d10 Add GameCardService 2022-02-01 00:11:02 -07:00
Alex Barney
0ba0a9ad9c Fixup ApplicationSaveDataManagement and update to 13.1.0 2022-01-24 15:02:32 -07:00
Alex Barney
dea3b3a8b0 Add some save data transfer client classes
- Fs.ISaveDataChunkIterator
- Fs.ISaveDataChunkExporter
- Fs.ISaveDataChunkImporter
- Fs.ISaveDataDivisionExporter
- Fs.ISaveDataDivisionImporter
- Fs.SaveDataTransferManagerVersion2
- Fs.SaveDataTransferProhibiterForCloudBackUp
- Fs.Impl.SaveDataChunkIterator
- Fs.Impl.SaveDataChunkExporter
- Fs.Impl.SaveDataChunkImporter
- Fs.Impl.SaveDataExporterVersion2
- Fs.Impl.SaveDataImporterVersion2
- Fs.Shim.SaveDataTransferVersion2Shim
2022-01-24 13:39:39 -07:00
Alex Barney
ed6a34d857 Add DebugConfigurationService 2022-01-19 13:17:10 -07:00
Alex Barney
74ed435dee Ensure all of Shim.SaveDataManagement is updated for 13.1.0 2022-01-18 20:45:48 -07:00
Alex Barney
61b29e57a3 Update PathFormatter and PathNormalizer for 13.1.0 2022-01-04 22:17:35 -07:00
Alex Barney
b7e8ea8249 Update struct layout of most remaining Fs structs 2022-01-02 14:14:37 -07:00
Alex Barney
ec38f80066 Update layout of Boot and some Fs structs
Boot:
- EncryptedKeyBlob
- KeyBlob
- Package1MarikoOemHeader
- Package1MetaData
- Package1Stage1Footer
- Package1Pk11Header
- Package2Header
- Package2Meta

Fs:
- ApplicationInfo
- CodeVerificationData
- DirectoryEntry
- EncryptionSeed
- FileSystemProxyErrorInfo
- StorageErrorInfo
- FileTimeStamp
- FileTimeStampRaw
- ProgramIndexMapInfo
- QueryRangeInfo
- RightsId
2021-12-30 17:12:29 -07:00
Alex Barney
57750b896d Update layout of Arp, Bcat, and some Fs structs
Stop using LayoutKind.Explicit and the Size parameter of StructLayout
2021-12-29 15:47:20 -07:00
Alex Barney
5380902376 Rename some save enum/struct fields 2021-12-29 10:13:42 -07:00
Alex Barney
3940ca9d76 Ensure UserFileSystemForDebug/Private are updated to 13.1.0 2021-12-25 01:26:52 -07:00
Alex Barney
52d502a793 Update UserFile functions for 13.1.0 2021-12-24 13:29:35 -07:00
Alex Barney
feef0ff63f Fixup ConcatenationFileSystem
- Experiment with using Catch/Handle/Rethrow for logging Results
- Try adding a new Ret function for logging results
- Misc tweaks
2021-12-21 17:45:27 -07:00
Alex Barney
14fcdc9d67 Move Npdm, LayeredFileSystem 2022-01-07 00:33:47 -07:00
Alex Barney
a289059ecf Move InMemoryFileSystem, PathParser, PathTools 2022-01-07 00:33:47 -07:00
Alex Barney
0846b86249 Move AesXtsFileSystem 2022-01-07 00:33:47 -07:00
Alex Barney
34dda02c38 Use file-scoped namespaces 2021-11-14 18:36:53 -07:00
Alex Barney
f9f31056ef Use "in" instead of "ref" where appropriate in SharedRef<T> 2021-11-03 23:08:50 -07:00
Alex Barney
a23d01e934 Move code to use SharedRef instead of ReferenceCountedDisposable 2021-11-03 23:08:50 -07:00
Alex Barney
01ca9e0412 Introduce UniqueRef<T> and use it in IFileSystem 2021-11-03 23:08:50 -07:00
Alex Barney
5f85c0b8e2 Use using statements to dispose Fs.Path variables 2021-11-03 23:08:50 -07:00
Alex Barney
689549fed7 Remove old path code 2021-08-05 12:59:57 -07:00
Alex Barney
aad87ec845 Update the FsSystem namespace to use Fs.Path 2021-08-05 11:59:05 -07:00
Alex Barney
b86b57a4d3 Update SubdirectoryFileSystem and InMemoryFileSystem 2021-07-26 10:19:59 -07:00
Alex Barney
77aef9166f Update tests to use the updated fsa interfaces 2021-07-26 10:19:59 -07:00
Alex Barney
8a5ecb18f8 Move new path code to the proper namespace 2021-07-13 19:44:14 -07:00
Alex Barney
79a4c62b2e Add version 12 implementations of path utility classes 2021-07-13 19:44:14 -07:00
Alex Barney
20dcbf8664 Fix a permissions bug when creating system save data 2021-06-29 19:27:49 -07:00