Alex Barney
df77de365c
Use generic math in Util.Alignment
2022-12-13 19:10:10 -07:00
Alex Barney
7fce26e899
Use generic math in Util.BitUtil
2022-12-13 18:09:00 -07:00
Alex Barney
b7625af148
Use generic math in Util.IntUtil
2022-12-10 11:12:43 -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
506a4691bb
Fix transforming data with .NET's AES crypto functions
...
Input data with sizes larger than 512 bytes that weren't powers of two would fail when copying to the output buffer because rented arrays come in powers of two. This limits the copy size to the number of bytes that were actually encrypted or decrypted.
2022-11-23 14:49:59 -07:00
Alex Barney
ffc9a76fc6
Get the project to compile after updating to .NET 7
2022-11-23 14:49:59 -07:00
Alex Barney
b954c129cf
Update test packages
2022-11-11 19:31:04 -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
6c9e6e5203
Add HierarchicalIntegrityVerificationStorage
2022-04-18 18:01:38 -07:00
Alex Barney
b54f5d17fa
Add IntegrityVerificationStorage
2022-04-17 21:25:26 -07:00
Alex Barney
398a142b27
Update some Nca classes for 14.0.0
2022-04-16 20:55:46 -07:00
Alex Barney
3a05e779f9
Add ReadOnlyBlockCacheStorage
2022-03-14 13:34:52 -07:00
Alex Barney
00819731ae
Add AesCtrCounterExtendedStorage
2022-03-04 21:01:35 -07:00
Alex Barney
b9e2e0863b
Add NcaReader and some related NCA classes
2022-03-02 11:13:37 -07:00
Alex Barney
fe6f4422dd
Support reading the initial data/key area of xci files
2022-04-05 18:23:46 -07:00
Alex Barney
b80ec8d5a6
Update build dependencies
2022-04-01 19:57:16 -07:00
Alex Barney
0a96e8d623
Fix EnsureApplicationSaveData failing if the temp save already exists
2022-04-01 17:32:38 -07:00
Alex Barney
a2c64797a9
Add U8Span properties for all nacp string fields
2022-02-20 22:58:01 -07:00
Alex Barney
e140419323
Handle more possible dir save extra data states
2022-02-05 16:12:29 -07:00
Alex Barney
1597f05b27
Actually assign _entryCount field in BucketTree
2022-02-03 18:38:27 -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
0b9af17dfd
Ensure shim classes are updated to 13.1.0
...
- Fs.Impl.DirectoryServiceObjectAdapter
- Fs.Impl.FileServiceObjectAdapter
- Fs.Impl.FileSystemServiceObjectAdapter
- Fs.Impl.StorageServiceObjectAdapter
- Fs.Shim.Application
- Fs.Shim.BcatSaveData
- Fs.Shim.Bis
- Fs.Shim.Code
- Fs.Shim.Content
- Fs.Shim.ContentStorage
- Fs.Shim.CustomStorage
- Fs.Shim.LoaderApi
2022-01-16 18:43:12 -07:00
Alex Barney
814ae34642
Fixup ProgramIndexMapInfoManager
2022-01-12 16:29:42 -07:00
Alex Barney
9803634284
Fixup AccessControl and update for 13.1.0
2022-01-12 15:42:42 -07:00
Alex Barney
61b29e57a3
Update PathFormatter and PathNormalizer for 13.1.0
2022-01-04 22:17:35 -07:00
Alex Barney
e1fd31c1ff
Update layout of Loader and Kvdb structs
2022-01-02 22:58:11 -07:00
Alex Barney
b0e679d000
Update struct layout of Ns structs
2022-01-02 16:52:57 -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
5013e7d2ec
Use fixed array structs instead of Data* structs
2021-12-29 10:06:02 -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