From 967f137ea4eaedbd1a9319b78f183db08e99d2ec Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 14 Apr 2019 14:52:30 +0200 Subject: [PATCH] Added support for titles without FST --- pom.xml | 2 +- .../jnus/fuse_wiiu/implementation/LocalNUSTitleContainer.java | 2 ++ .../jnus/fuse_wiiu/implementation/WUDMountedFuseContainer.java | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index a6fdde9..e25f0de 100644 --- a/pom.xml +++ b/pom.xml @@ -92,7 +92,7 @@ com.github.Maschell JNUSLib - 7d8bb58 + 151ad6e org.projectlombok diff --git a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/LocalNUSTitleContainer.java b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/LocalNUSTitleContainer.java index 4a5e7c4..d11c6f5 100644 --- a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/LocalNUSTitleContainer.java +++ b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/LocalNUSTitleContainer.java @@ -53,6 +53,8 @@ public class LocalNUSTitleContainer extends GroupFuseContainer { try { t = NUSTitleLoaderLocal.loadNUSTitle(folder.getAbsolutePath(), ticket); } catch (Exception e1) { + e.printStackTrace(); + e1.printStackTrace(); } } diff --git a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/WUDMountedFuseContainer.java b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/WUDMountedFuseContainer.java index 94ff277..e535d78 100644 --- a/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/WUDMountedFuseContainer.java +++ b/src/main/java/de/mas/wiiu/jnus/fuse_wiiu/implementation/WUDMountedFuseContainer.java @@ -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) {