mirror of
https://github.com/Maschell/JNUSTool.git
synced 2025-01-05 21:08:18 +01:00
Fixed small typo + removed debug prints
This commit is contained in:
parent
85f87c57bb
commit
146de37d27
BIN
jar/JNUSTool.jar
BIN
jar/JNUSTool.jar
Binary file not shown.
@ -285,6 +285,16 @@ public class FST {
|
||||
}
|
||||
return i;
|
||||
}
|
||||
|
||||
public String notInNUS() {
|
||||
StringBuilder sb = new StringBuilder();
|
||||
for(FEntry f: getFileEntries()){
|
||||
if(!f.isDir() && !f.isInNUSTitle()){
|
||||
sb.append(f.getFullPath() + " " + String.format("%8.2f MB ", f.getFileLength()/1024.0/1024.0) + "\n");
|
||||
}
|
||||
}
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public Directory getFSTDirectory() {
|
||||
return FSTDirectory;
|
||||
|
@ -137,7 +137,6 @@ public class NUSTitle {
|
||||
Decryption decryption = new Decryption(ticket.getDecryptedKey(),0);
|
||||
byte[] encryptedFST = null;
|
||||
if(Settings.useCachedFiles){
|
||||
Logger.log(getContentPath());
|
||||
String path = getContentPath() + "/" + String.format("%08x", tmd.contents[0].ID) + ".app";
|
||||
File f = new File(path);
|
||||
if(f.exists()){
|
||||
|
@ -168,7 +168,7 @@ public class UpdateChooser extends JPanel {
|
||||
progressBar.setStringPainted(true);
|
||||
|
||||
JButton btnDownloadMeta = new JButton("Download META");
|
||||
JButton btnDownloadEncrypted = new JButton("Download Enctrypted");
|
||||
JButton btnDownloadEncrypted = new JButton("Download Encrypted Files");
|
||||
JProgressBar progressBar_1 = new JProgressBar();
|
||||
panel.add(progressBar_1);
|
||||
progressBar_1.setValue(0);
|
||||
|
@ -79,7 +79,6 @@ public class Downloader {
|
||||
String version_suf = "";
|
||||
if(version > 0) version_suf = "." + version;
|
||||
String URL = URL_BASE + "/" + String.format("%016X", titleID) + "/tmd" + version_suf;
|
||||
System.out.println(URL);
|
||||
downloadFile(URL, "title.tmd",path,null);
|
||||
}
|
||||
|
||||
@ -130,7 +129,6 @@ public class Downloader {
|
||||
String version_suf = "";
|
||||
if(version > 0) version_suf = "." + version;
|
||||
String URL = URL_BASE + "/" + String.format("%016X", titleID) + "/tmd" +version_suf;
|
||||
System.out.println(URL);
|
||||
return downloadFileToByteArray(URL);
|
||||
}
|
||||
private byte[] downloadFileToByteArray(String fileURL) throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user