Commit graph

680 commits

Author SHA1 Message Date
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
1b1e8e6780
Merge pull request #127 from Thealexbarney/fs-shims
Add BIS and more BCAT FS client shims
- MountBis
- SetBisRootForHost
- OpenBisPartition
- MountBcatSaveData
2020-04-04 14:29:10 -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
a5699182b0
Merge pull request #126 from Thealexbarney/nso
Rewrite Nso and Kip classes
2020-04-01 23:20:53 -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
3cd53a7de3
Merge pull request #124 from Thealexbarney/path-fixes
Fix some path parsing
2020-03-23 16:12:37 -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
30b0c748f8
Merge pull request #123 from Thealexbarney/build-10
Update build to 0.10.0
2020-03-23 10:44:50 -07:00
Alex Barney
ef72729391 Mark Nacp as deprecated 2020-03-23 10:32:22 -07:00
Alex Barney
bc769d7454 Update build dependencies 2020-03-23 09:49:18 -07:00
Alex Barney
d68ca84f07 Update versions to 0.10 2020-03-23 09:40:41 -07:00
Alex Barney
84cb7cd6b1 Check for duplicate Results when doing codegen 2020-03-23 09:37:50 -07:00
Alex Barney
1f4c904b04
Merge pull request #122 from Thealexbarney/multi-commit
Add IMultiCommitManager to FS server.
Recovering an interrupted commit is currently not implemented.
2020-03-23 09:19:10 -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
cd5d46c81b
Merge pull request #121 from Thealexbarney/open-filesystem
- Add OpenFileSystem in FileSystemProxy
- Add OpenHostFileSystem
- Add FS client shims for OpenHostFileSystem
2020-03-17 21:32: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
d393c32e5b
Merge pull request #120 from Thealexbarney/utf8-strings
Use UTF-8 strings at more public API points.

There is still unnecessary UTF-16 to UTF-8 conversion internally. This PR is first focusing on the external interfaces.
2020-03-09 23:43:36 -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
396c3ef791
Merge pull request #119 from Thealexbarney/layered-fs-fixes
- Don't return duplicate entries when doing Directory.Read or Directory.GetEntryCount on a LayeredFileSystem
- Add tests for LayeredFileSystem
- Remove DirectoryEntryType.NotFound
2020-03-03 18:29:29 -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