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>
<groupId>com.github.Maschell</groupId>
<artifactId>JNUSLib</artifactId>
<version> 7d8bb58</version>
<version>151ad6e</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>

View File

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

View File

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