Commit graph

385 commits

Author SHA1 Message Date
Alex Barney
8d5e24d061 Ensure csv column counts are consistent 2020-05-12 19:02:48 -07:00
Alex Barney
cb8b088487
Misc additions and warning fixes (#134)
* Run codegen and fix DeliveryCacheFileMetaEntry layout

* Use KipReader instead of Kip

* Ensure feature parity between U8String structs

* Don't use the obsolete Nacp class

* Add some null checks

* Address ReSharper warnings

* The Result structs should be readonly
2020-05-12 17:06:55 -07:00
Alex Barney
44e4c7a311
Add some fssystem utility functions and use them in DirectorySaveDataFileSystem (#133)
* Accurately implement DirectorySaveDataFileSystem

* DirectorySaveDataFileSystem updates from FS 10.0
2020-05-12 13:17:06 -07:00
Alex Barney
0188c4579c Update version to 0.11.1 2020-04-30 14:21:34 -07:00
Alex Barney
32405fee5f Add EnumerateDeliveryCacheDirectory 2020-04-30 14:08:31 -07:00
Alex Barney
1974adb33e Don't use in-place decompression for NSOs
Move back to using in-place decompression in the future when the decompress function has been fixed
2020-04-28 23:03:33 -07:00
Alex Barney
fdf11b2621
Merge pull request #129 from Thealexbarney/bcat-storage
Implement BCAT delivery cache access

- Add BCAT delivery cache reading services
- Add methods to `U8StringBuilder` for writing formatted values
- Add a `HorizonClient` class which mimics nnsdk from Horizon
- Add a simple service manager that tracks registered objects
2020-04-28 22:54:58 -07:00
Alex Barney
be29ad714f Add the option to initialize Horizon with a FileSystemServer 2020-04-24 11:35:04 -07:00
Alex Barney
e80be498e5 Add a simple service manager and HorizonClient class
Modifies bdat to use the HorizonClient and adds an ArpClient. The arp server still needs to be provided.
2020-04-23 17:49:15 -07:00
Alex Barney
9b1ced7d3b Small tweaks to U8StringBuilder 2020-04-22 13:47:01 -07:00
Alex Barney
f3452bb314 BCAT fixes. Tweak how U8StringBuilder is used 2020-04-11 22:18:43 -07:00
Alex Barney
6e4372ce58 Implement DeliveryCacheDirectoryService 2020-04-10 11:31:46 -07:00
Alex Barney
ef36568a8d Implement DeliveryCacheFileService and supporting code 2020-04-10 10:54:37 -07:00
Alex Barney
939c495db6 Add U8StringBuilder format options 2020-04-10 10:49:44 -07:00
makigumo
6473a0cc0d NsoHeader.cs: fix _reserved6C field offset 2020-04-09 21:52:44 -07:00
Alex Barney
da78e7e8ce Add BCAT storage skeleton 2020-04-07 00:22:12 -07:00
Alex Barney
5018bbad6a hactoolnet: Use FileSystemClient instead of Horizon 2020-04-06 22:17:04 -07:00
Alex Barney
12775895eb Add non-system BCAT mount shim 2020-04-04 14:19:36 -07:00
Alex Barney
7bcb09b714 Add BIS shim functions with tests 2020-04-04 14:16:17 -07:00
Alex Barney
405bbeff9e Add some FspPathPrintf functionality and change a constant name 2020-04-02 21:54:26 -07:00
Alex Barney
e5c851e7a3 Add KipReader class and add kip decompression to hactoolnet 2020-03-29 22:12:00 -07:00
Alex Barney
f59c7c6a84 Add NsoReader 2020-03-26 22:52:49 -07:00
Alex Barney
9cc60e22ec Add loader and libhac results 2020-03-26 22:45:59 -07:00
Alex Barney
b8b2c26457 Tweak duplicate result detection 2020-03-23 16:04:49 -07:00
Alex Barney
0bb3446a8b Make path parser check for a null terminator 2020-03-23 15:54:11 -07:00
Alex Barney
ef72729391 Mark Nacp as deprecated 2020-03-23 10:32:22 -07:00
Alex Barney
d68ca84f07 Update versions to 0.10 2020-03-23 09:40:41 -07:00
Alex Barney
f44b09ec1f Add some Results 2020-03-23 09:10:55 -07:00
Alex Barney
95ef1c9529 Don't write to a read-only file 2020-03-22 17:52:27 -07:00
Alex Barney
8ead72ed84 Add OpenMultiCommitManager to IFileSystemProxy 2020-03-22 00:12:25 -07:00
Alex Barney
0ab96f67bf Add new functions to existing classes deriving from IFileSystem 2020-03-21 23:37:32 -07:00
Alex Barney
ce54ae111c Add MultiCommitManager
- Recovering from an interrupted commit isn't implemented yet
2020-03-21 22:44:38 -07:00
Alex Barney
d1110392b4 Add a function to specify that a returned Result is unused 2020-03-21 22:39:07 -07:00
Alex Barney
0e26c31a2f Enable OpenHostFileSystem in FileSystemProxy and add XML docs 2020-03-16 15:07:09 -07:00
Alex Barney
f7957b4cc8 Remove some old code 2020-03-14 23:27:49 -07:00
Alex Barney
0c6447daac Use U8StringBuilder instead of PathBuilder 2020-03-14 23:22:34 -07:00
Alex Barney
7b4df4671c Add fs_Host shims 2020-03-14 00:18:42 -07:00
Alex Barney
a006816a2e Allow opening directories with OpenFileSystem 2020-03-13 00:09:44 -07:00
Alex Barney
036e048208 Finish OpenFileSystemWithId enough to work with most content 2020-03-10 15:07:06 -07:00
Alex Barney
281fc8aac3 Add TryOpenNsp 2020-03-09 23:44:28 -07:00
Alex Barney
c79053eac3 Add more to OpenFileSystem 2020-03-09 23:44:28 -07:00
Alex Barney
a1eca88378 Add some of OpenFileSystemWithId 2020-03-09 23:44:28 -07:00
Alex Barney
328968c630 Use U8Span more in FilleSystemClient 2020-03-09 00:06:39 -07:00
Alex Barney
c141b72912 Use U8Span in IFileSystem instead of string 2020-03-08 01:00:02 -07:00
Alex Barney
d6fede0893 Don't return duplicate entries in LayeredFS. Add tests 2020-03-03 18:19:11 -07:00
Alex Barney
1f6046ba63 Remove DirectoryEntryType.NotFound 2020-03-03 18:16:29 -07:00
Alex Barney
7ce9ea09e6 Misc build updates 2020-02-29 01:36:23 -07:00
Alex Barney
4d8ace968f Bump version to 0.9.0 2020-02-28 23:58:29 -07:00
Alex Barney
24f293c27a Add names to Results missing them 2020-02-27 23:31:38 -07:00
Alex Barney
14dd2190a5 Add a default, reflection-less Result name resolver 2020-02-27 11:33:39 -07:00