v0.5.2 Readme updates. Minor refactoring and one typo fix. Publishing v0.5.2 =)
This commit is contained in:
parent
750fa9bd4b
commit
a429aef30b
2 changed files with 11 additions and 9 deletions
|
@ -4,6 +4,8 @@
|
||||||
|
|
||||||
NS-USBloader is a PC-side **[Adubbz/TinFoil](https://github.com/Adubbz/Tinfoil/)** (version 0.2.1; USB and Network) and **GoldLeaf** (USB) NSP installer. Replacement for default **usb_install_pc.py**, **remote_install_pc.py** *(never ever use this. even if you brave. no idea why it works.)* and **GoldTree**.
|
NS-USBloader is a PC-side **[Adubbz/TinFoil](https://github.com/Adubbz/Tinfoil/)** (version 0.2.1; USB and Network) and **GoldLeaf** (USB) NSP installer. Replacement for default **usb_install_pc.py**, **remote_install_pc.py** *(never ever use this. even if you brave. no idea why it works.)* and **GoldTree**.
|
||||||
|
|
||||||
|
[Click here for Android version ;)](https://github.com/developersu/ns-usbloader-mobile)
|
||||||
|
|
||||||
With GUI and cookies. Works on Windows, macOS and Linux.
|
With GUI and cookies. Works on Windows, macOS and Linux.
|
||||||
|
|
||||||
Sometimes I add new posts about this project [on my home page](https://developersu.blogspot.com/search/label/NS-USBloader).
|
Sometimes I add new posts about this project [on my home page](https://developersu.blogspot.com/search/label/NS-USBloader).
|
||||||
|
@ -115,7 +117,7 @@ Upload somewhere (pastebin? google drive? whatever else). [Create new issue](htt
|
||||||
NOTE: actually it's not gonna work in real, because we should stay in touch and I'll need you when add something that should be translated =(
|
NOTE: actually it's not gonna work in real, because we should stay in touch and I'll need you when add something that should be translated =(
|
||||||
|
|
||||||
#### TODO (maybe):
|
#### TODO (maybe):
|
||||||
- [ ] Android support (WIP)
|
- [x] [Android support](https://github.com/developersu/ns-usbloader-mobile)
|
||||||
- [ ] File order sort (non-critical)
|
- [ ] File order sort (non-critical)
|
||||||
- [ ] More deep file analyze before uploading.
|
- [ ] More deep file analyze before uploading.
|
||||||
- [ ] XCI support
|
- [ ] XCI support
|
||||||
|
@ -133,7 +135,7 @@ PayPal: To-be-done.
|
||||||
*Legal information:
|
*Legal information:
|
||||||
|
|
||||||
* [EN] Please note! This is non-commercial application. Any received money considered as a gift.
|
* [EN] Please note! This is non-commercial application. Any received money considered as a gift.
|
||||||
* [RU] Пожалуйста обратите внимание! Это некоммерческое приложение. Перечисляя деньги вы совершаете акт дарения.
|
* [RU] Пожалуйста обратите внимание! Это некоммерческое приложение. Перечисляя деньги вы совершаете дарение.
|
||||||
|
|
||||||
##### Thanks
|
##### Thanks
|
||||||
Appreciate assistance and support of both Vitaliy and Konstantin. Without you all this magic would not have happened.
|
Appreciate assistance and support of both Vitaliy and Konstantin. Without you all this magic would not have happened.
|
||||||
|
|
|
@ -486,18 +486,18 @@ public class UsbCommunications extends Task<Void> {
|
||||||
byte[] readByte;
|
byte[] readByte;
|
||||||
|
|
||||||
// Go connect to GoldLeaf
|
// Go connect to GoldLeaf
|
||||||
if (writeToUsb(CMD_GLUC))
|
|
||||||
logPrinter.print("GL Initiating GoldLeaf connection: 1/2", EMsgType.PASS);
|
if (!writeToUsb(CMD_GLUC)) {
|
||||||
else {
|
|
||||||
logPrinter.print("GL Initiating GoldLeaf connection: 1/2", EMsgType.FAIL);
|
logPrinter.print("GL Initiating GoldLeaf connection: 1/2", EMsgType.FAIL);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (writeToUsb(CMD_ConnectionRequest))
|
logPrinter.print("GL Initiating GoldLeaf connection: 1/2", EMsgType.PASS);
|
||||||
logPrinter.print("GL Initiating GoldLeaf connection: 2/2", EMsgType.PASS);
|
if (!writeToUsb(CMD_ConnectionRequest)){
|
||||||
else {
|
|
||||||
logPrinter.print("GL Initiating GoldLeaf connection: 2/2", EMsgType.FAIL);
|
logPrinter.print("GL Initiating GoldLeaf connection: 2/2", EMsgType.FAIL);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
logPrinter.print("GL Initiating GoldLeaf connection: 2/2", EMsgType.PASS);
|
||||||
|
|
||||||
while (true) {
|
while (true) {
|
||||||
readByte = readFromUsb();
|
readByte = readFromUsb();
|
||||||
if (readByte == null)
|
if (readByte == null)
|
||||||
|
@ -606,7 +606,7 @@ public class UsbCommunications extends Task<Void> {
|
||||||
}
|
}
|
||||||
logPrinter.print(" [2/4] File #"+i, EMsgType.PASS);
|
logPrinter.print(" [2/4] File #"+i, EMsgType.PASS);
|
||||||
if (!writeToUsb(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(pfsElement.getBodySize()+pfsElement.getNca(i).getNcaOffset()).array())) { // offset. real.
|
if (!writeToUsb(ByteBuffer.allocate(8).order(ByteOrder.LITTLE_ENDIAN).putLong(pfsElement.getBodySize()+pfsElement.getNca(i).getNcaOffset()).array())) { // offset. real.
|
||||||
logPrinter.print(" [2/4] File #"+i, EMsgType.FAIL);
|
logPrinter.print(" [3/4] File #"+i, EMsgType.FAIL);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
logPrinter.print(" [3/4] File #"+i, EMsgType.PASS);
|
logPrinter.print(" [3/4] File #"+i, EMsgType.PASS);
|
||||||
|
|
Loading…
Reference in a new issue