Added support for titles without FST

This commit is contained in:
Maschell 2019-04-14 14:52:30 +02:00
parent 84cde7c536
commit 967f137ea4
3 changed files with 4 additions and 2 deletions

View File

@ -92,7 +92,7 @@
<dependency> <dependency>
<groupId>com.github.Maschell</groupId> <groupId>com.github.Maschell</groupId>
<artifactId>JNUSLib</artifactId> <artifactId>JNUSLib</artifactId>
<version> 7d8bb58</version> <version>151ad6e</version>
</dependency> </dependency>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>

View File

@ -53,6 +53,8 @@ public class LocalNUSTitleContainer extends GroupFuseContainer {
try { try {
t = NUSTitleLoaderLocal.loadNUSTitle(folder.getAbsolutePath(), ticket); t = NUSTitleLoaderLocal.loadNUSTitle(folder.getAbsolutePath(), ticket);
} catch (Exception e1) { } catch (Exception e1) {
e.printStackTrace();
e1.printStackTrace();
} }
} }

View File

@ -46,7 +46,7 @@ public class WUDMountedFuseContainer extends WUDFuseContainer {
try { try {
fdp = new FSTDataProviderNUSTitle(NUSTitleLoaderFST.loadNUSTitle(dp, parent, Settings.retailCommonKey)); fdp = new FSTDataProviderNUSTitle(NUSTitleLoaderFST.loadNUSTitle(dp, parent, Settings.retailCommonKey));
} catch (ParseException e) { } catch (IOException | ParseException e) {
try { try {
fdp = new FSTDataProviderNUSTitle(NUSTitleLoaderFST.loadNUSTitle(dp, parent, Settings.devCommonKey)); fdp = new FSTDataProviderNUSTitle(NUSTitleLoaderFST.loadNUSTitle(dp, parent, Settings.devCommonKey));
} catch (Exception e1) { } catch (Exception e1) {