developersu / ns-usbloader

Awoo Installer and GoldLeaf uploader of the NSPs (and other files), RCM payload injector, application for split/merge files.
GNU General Public License v3.0
1.82k stars 123 forks source link

Dumping via USB with nxdumptool puts a lot of empty files in dump directory #89

Open Whovian9369 opened 3 years ago

Whovian9369 commented 3 years ago

Describe the bug (mandatory) When dumping with nxdumptool's Rewrite (Specifically a build based on Rewrite commit 232fe05) and a self built copy of ns-usbloader puts a lot of empty, 0 byte, files next to the NSP.

Information about environment (mandatory):

Steps to reproduce Steps to reproduce the behavior:

  1. Build ns-usbloader, editing only what's required to enable NXDumpTool's tab Specifically in /src/main/resources/NSLMain.fxml, all that I am changing is disable="true" to disable="false" on L74, and visible="false" to visible="true" at the end of L79

  2. Open ns-usbloader and set dump directory output, open nsp_dumper_usb/nxdumptool-rewrite.nro on console connected to host PC via USB, and start dump

  3. When dump is complete, check output directory on PC, and you will see a lot of extraneous, 0 byte, files in output directory.

Expected behavior Only NSP is dumped and not extraneous files.

Screenshots and/or information from application log

Screenshot of directory after dump: image

Did you see this issue in previous versions? Yes

Additional context Said extraneous files seem to be named the same as those that were packed into the resulting NSP. I have talked to DarkMatterCore about this before, and if memory serves - He does not believe it to be an issue with NXDumpTool.