Commit Graph

147 Commits

Author SHA1 Message Date
Maschell
b6c6ae7320 Improved logging 2018-12-06 17:40:11 +01:00
Maschell
ed488d3904 Organize import, formatting. 2018-12-06 17:37:32 +01:00
Maschell
8fffcb1343 Try to parallize decryption if possible 2018-12-06 17:23:09 +01:00
Maschell
a46011c6ea Added options to disable parellelisation 2018-12-06 17:10:15 +01:00
Maschell
8ef84f48dd Extract contents in parallel if supported. 2018-12-06 16:48:36 +01:00
Maschell
31becf6c8b Synchronize access to streams. 2018-12-06 16:45:01 +01:00
Maschell
b0b678c851 Remove speical case from HashUtil 2018-12-06 16:41:02 +01:00
Maschell
7cd2109099 Use h3 extension from Settings. 2018-12-06 16:40:34 +01:00
Maschell
a16c1943c0 Add a synchronized block to the WUD disc reading. 2018-12-06 16:06:57 +01:00
Maschell
78b51226aa Reextract content file until it's has the expected length. Maximum tries: 3 2018-12-06 16:06:27 +01:00
Maschell
7425e6e904 Check the hash of the exiting .h3 instead of just checking the length. Check BEFORE getting the new file. 2018-12-06 16:04:35 +01:00
Maschell
e8236e86d2 Fixed file offset calculation. 2018-12-06 15:59:34 +01:00
Maschell
82a3d5253c Added Comparable interface to Content entitiy 2018-12-06 15:58:15 +01:00
Maschell
4424be0722 Added unused code 2018-12-06 15:57:58 +01:00
Maschell
abd218fa10 Added option to load NUSTitlesRemote without decrypting anything (or parsing the FST) ( => for downloading) 2018-12-06 15:57:36 +01:00
Maschell
7e07765fa1 The NUSTitleLoaderWUD can now handle multiple GM partition and can mount contents of a GI partition. Added support for handling Kiosk discs where the SI parition is NOT encrypted with a title key. 2018-12-06 15:55:31 +01:00
Maschell
bfbbafc269 Fixed block_size and condition in wud decrypted reading. 2018-12-06 15:49:46 +01:00
Maschell
bb1c6b30d4 Add serveral functions to the Utils class 2018-12-06 15:44:10 +01:00
Maschell
51140fb7c7 Write new files from a Stream at first to a .tmp file. This avoids fragmentation. 2018-12-06 15:40:05 +01:00
Maschell
2479572917 Fixed the missing offset in reading WUD files 2018-12-06 15:35:45 +01:00
Maschell
9d255e0291 Fixing the TMD class (adding missing imports), minor formatting. 2018-12-06 15:35:11 +01:00
Maschell
70db0b7fd9 Added the option to print the infos about a TMD to any PrintStream 2018-12-06 15:34:40 +01:00
Maschell
4c121ed959 Added a really basic toString function to the TMD class 2018-12-06 15:34:12 +01:00
Maschell
b016295e9f Return a RunTimeException if the input for the TMD was not valid. 2018-12-06 15:33:48 +01:00
Maschell
7b27478160 Fixed minor formatting. 2018-12-06 15:32:40 +01:00
Maschell
e7e7ffe1f1 Merge branch 'master' of https://github.com/Maschell/JNUSLib 2018-12-06 15:32:18 +01:00
Maschell
b15dc3b427 Use "-1" instead of "0" as a custom value to indicate we want the latest TMD version 2018-12-06 15:31:48 +01:00
Maschell
ebb6e758d3 Only calculate the offsets of a WUX file if it's a valid file. 2018-12-06 15:31:10 +01:00
Maschell
659b408a59 Fix the hash calculation for some files in "non hashed" .app files 2018-12-06 15:29:57 +01:00
Maschell
e046031dd2 Fix downloading certain files to a byte array. 2018-12-06 15:29:13 +01:00
Maschell
5603bfb94e Use a proper user agent for downloading 2018-12-06 15:28:25 +01:00
Maschell
050ab840ed Merge branch 'master' of https://github.com/Maschell/JNUSLib 2018-12-06 15:07:22 +01:00
Maschell
eaef0fefd1 Added license information, some code formatting 2018-03-10 12:22:10 +01:00
Maschell
22f764faef Added decompression 2017-12-17 17:03:33 +01:00
Maschell
f5faa1780f
Update README.md 2017-11-14 16:42:57 +01:00
Maschell
0dc62ef4c0 Added cert downloading for remote titles 2017-07-28 16:53:52 +02:00
Maschell
2f30ab6e0c Changed artifactId, added sources to jar 2017-05-17 19:52:55 +02:00
Maschell
f743055c1a Merge branch 'master' of https://github.com/Maschell/JNUSLib 2017-05-17 19:21:17 +02:00
Maschell
14c987456d Code clean up, changed to a maven project 2017-05-17 19:20:42 +02:00
Maschell
0566c82f0b Update README.md 2017-04-20 19:01:56 +02:00
Maschell
b332dc1bcd Fixed splitted files from a relativ path. Fixed output of current extraction 2016-12-22 21:32:14 +01:00
Maschell
6b8efcaf53 Removed one file created that was just used for debugging. 2016-12-13 20:21:55 +01:00
Maschell
513a31fcee Added some more checks and changed the output. 2016-12-13 20:18:51 +01:00
Maschell
b7ec1a4d31 Ups. 2016-12-12 21:08:40 +01:00
Maschell
a75fe2e6bd first commit, have fun 2016-12-12 21:01:12 +01:00
Maschell
26d41a1611 Update README.md 2016-12-12 20:53:14 +01:00
Maschell
3bd68a9f50 Initial commit 2016-12-12 20:46:32 +01:00