Commit Graph

18 Commits

Author SHA1 Message Date
Maschell
ddee4b9f5d Refactor and fix FST parsing.
- Fix a bug when parsing certain FST of system titles.
- Remove the Content reference on the FSTEntry. The Content can get be get via the TMD using getContentByIndex. To get the FSTInfo for the content use FSTUtils.getFSTInfoForContent.
- Children are added manually to a FSTEntry (getting ride of side effects).
- The NUSTitleLoader sets the FST to the dataprovider. The WUDDataProvider needs the FST to get access to the FSTContentInfo (=> calculating the offsets of the content files).
- Remove some unused functions from the FSTEntry class
- To get the FSTEntries for the certain content use getFSTEntriesByContentIndex
2019-04-26 10:08:09 +02:00
Maschell
c47c9913ac Change the content and parent attribute of a FSTEntry to an Optional 2019-04-19 10:42:33 +02:00
Maschell
2f820bbe17 Add a new DecryptionService using a FSTDataProvider. 2019-04-11 13:29:08 +02:00
Maschell
53993dc8c4 Remove DecryptionService for now 2019-04-10 20:13:52 +02:00
Maschell
b6a5946f9e Move some classes and interfaces 2019-04-10 18:55:40 +02:00
Maschell
48f8629744 Implement random access for non-hashed files 2019-04-07 00:10:36 +02:00
Maschell
a0ce93dc38 Fix the return type of the "getDecryptedOutputAsInputStream" function 2019-04-06 16:56:38 +02:00
Maschell
502acbbf68 Add "getChunkFromFIle" function to the DecryptionService to get portions of a file 2019-04-06 16:55:57 +02:00
Maschell
9acd11bd11 Optimize getFSTEntryByFullPath 2019-03-01 15:56:15 +01:00
Maschell
cd58f8b580 [DecryptionService] Stop caching 2019-02-28 21:00:40 +01:00
Maschell
73b6787c42 Fix deadlock when trying to get a input stream for file thats not in the current title 2019-02-24 09:33:02 +01:00
Maschell
f0306b8cce Add warnings when files couldn't be found. 2018-12-16 15:03:46 +01:00
Maschell
fb670b5217 Rename "decryptFSTEntryToSync" function to "decryptFSTEntryTo" 2018-12-06 17:41:17 +01:00
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
eaef0fefd1 Added license information, some code formatting 2018-03-10 12:22:10 +01:00
Maschell
14c987456d Code clean up, changed to a maven project 2017-05-17 19:20:42 +02:00