Commit graph

201 commits

Author SHA1 Message Date
Alex Barney
6599c5977b Fixup ref readonly params to use in instead of ref 2024-05-07 22:23:32 -07:00
Alex Barney
dc6acacf45 Update NcaFileSystemServiceImpl 2024-04-27 14:07:24 -07:00
Alex Barney
4699825564 Add AlignmentMatchingFileSystem and update some of the NCA service 2024-04-21 14:58:32 -07:00
Alex Barney
c3cc7a69fb Add alignment options to StorageTester 2024-04-20 13:34:22 -07:00
Alex Barney
27cc721b31 Update FileSystemProxyImpl 2024-03-31 23:27:06 -07:00
Alex Barney
7f7c8b6578 Remove the old NcaReader 2024-03-31 20:03:53 -07:00
Alex Barney
037c5ace9e Update SaveDataFileSystemService for FS 17 2024-02-03 23:43:24 -07:00
Alex Barney
49edb744c5 Skeleton a bunch of code related to save data 2024-01-02 00:28:27 -07:00
Alex Barney
32dff54cce Use ref readonly 2023-12-09 23:30:19 -07:00
Alex Barney
03bf56f26c Use collection expressions 2023-12-09 18:48:56 -07:00
Alex Barney
f19b219e84 Use inline arrays 2023-12-08 23:54:46 -07:00
Alex Barney
48e7651291 Target .NET 8 2023-12-08 23:30:46 -07:00
Alex Barney
279f86d910 Fix a bug in ConvertToFsCommonPath 2023-10-14 14:07:08 -07:00
Alex Barney
e7b642380c Update build and test dependencies 2023-10-11 09:27:26 -07:00
Alex Barney
934f81da67 Add FileSystemAttribute functionality 2023-10-05 07:28:55 -07:00
Alex Barney
213515f06f Diff some more storage related classes with FS 16 2023-09-17 20:14:15 -07:00
Alex Barney
fab5efc4de Add a simple emulated GC API implementation 2023-09-17 20:14:14 -07:00
Alex Barney
a55b1d7c58 Implement PartitionFileSystem classes 2023-09-17 20:14:14 -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
f3cc973df3 Update build dependencies and the .NET CLI version 2023-02-05 21:39:00 -07:00
Alex Barney
754df0dcd9 Tweak how the eticket rsa key pair is handled 2023-02-02 23:16:26 -07:00
Alex Barney
903942b2f4 Fix a bug when ensuring bcat saves exist 2023-01-26 21:23:08 -07:00
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