ns-usbloader icon indicating copy to clipboard operation
ns-usbloader copied to clipboard

M1. Success connection on Switch. Sending nsp in computer. Nothing happens.

Open rmvz3 opened this issue 2 years ago • 31 comments

v6.0 used to work perfectly in my M1 but after upgrading to v7, it doesn't work at all. Everything seems to be ok but the Switch app is waiting for the mac to send it the nsp file and the mac is waiting for the Switch to receive it.

Is there something I can do? Maybe I need to install anything else? I have already installed (up to date) libusb and I've installed the jdk-19-arm64.dmg from oracle.

rmvz3 avatar Feb 21 '23 23:02 rmvz3

mm.. try to reboot mac and switch or use another cable/USB port. I don't know what could it be.

developersu avatar Feb 23 '23 12:02 developersu

facing the same issue here, everything seems to be working, but when I send it to switch, it says "connection successful, waiting for files to be send " nothing happens after that

I am using v7.0 (its my first time using it on mac, it is working fine on windows)

tauba avatar Mar 09 '23 14:03 tauba

Sorry, my bad

I did the "brew install libusb" and it solved the issue

worked fine now

tauba avatar Mar 09 '23 14:03 tauba

Same here. even reinstalling libusb I'm stil stuck in Waiting for list of files to be sent... in Awoo Installer.

moseslucas avatar Mar 23 '23 12:03 moseslucas

Was able to work but using the NET. So In my Switch Awoo, I click via Internet. Then in my NB USB LOADER on my Mac M1, at the top there's two dropdown fields. I've selected:

  • Awoo
  • NET
  • IP Address: Value that is shown in my switch Awoo

Clicking Upload worked immediettley but it's slower than usb transfer.

moseslucas avatar Mar 23 '23 13:03 moseslucas

@moseslucas Did usb method worked before? I mean in previous versions.

developersu avatar Mar 23 '23 13:03 developersu

@developersu This is my first time doing this and am already at version 7 ns-usbloader. So, No.

moseslucas avatar Mar 23 '23 14:03 moseslucas

@moseslucas Ok.. actually I don't know what is this, but here are the steps I'd do:

  1. Reboot switch.
  2. Start hbmenu via title: By pressing 'R' start any title installed.
  3. Plug usb-c/usb-c cable (make sure it's good one)
  4. Start awoo, select usb
  5. Start ns-usbloader and try again.

For instance in linux Awoo in USB mode works for me a bit strange: like it works only first time and after that I have to restart 'title-mode' and awoo.

Also try another awoo-based apps. Like the one shipped with Team-Neptune/DeepSea.

developersu avatar Mar 23 '23 14:03 developersu

Same here. Fails with the following exception:

java.lang.NullPointerException: Cannot invoke "java.io.File.isDirectory()" because "nspFile" is null
	at nsusbloader.com.usb.TinFoil.fileRangeCmd(TinFoil.java:180)
	at nsusbloader.com.usb.TinFoil.proceedCommands(TinFoil.java:135)
	at nsusbloader.com.usb.TinFoil.<init>(TinFoil.java:58)
	at nsusbloader.com.usb.UsbCommunications.run(UsbCommunications.java:67)
	at java.base/java.lang.Thread.run(Thread.java:833)

Jean-Daniel avatar Apr 01 '23 19:04 Jean-Daniel

Looks similar to #73

developersu avatar Apr 05 '23 10:04 developersu

did someone could solve this problem?

i have an imac 2021 M1, and i cant use nsusbloader, I already tried it all. Use to work with Windows and i could run ok the program.

Corcho911 avatar Apr 17 '23 19:04 Corcho911

same issue, Awoo installer said usb not detected

asyba avatar Apr 18 '23 00:04 asyba

Sorry, my bad

I did the "brew install libusb" and it solved the issue

worked fine now

u did it on a mac m1? how can u i that?

Corcho911 avatar Apr 18 '23 22:04 Corcho911

u did it on a mac m1? how can u i that?

Install brew and use it to install libusb

Jean-Daniel avatar Apr 19 '23 05:04 Jean-Daniel

u did it on a mac m1? how can u i that?

Install brew and use it to install libusb

already did that, now my switch detects the game i want to install, but it gives me an error. WhatsApp Image 2023-04-19 at 11 50 20

Corcho911 avatar Apr 19 '23 14:04 Corcho911

it stays in 0.00 MB/s untill says that the installation fails. :(

before brew install libusb my switch didnt recognize the game, now it does but i cant install it

Corcho911 avatar Apr 19 '23 14:04 Corcho911

FYI: I never could make it work ns-usbloader with mac m1, so I used DBI installer with MTP method.

asyba avatar Apr 19 '23 15:04 asyba

I was unable to make it work either. But I found an Apple Silicon compiled version elsewhere (maybe Reddit) which works perfectly

rmvz3 avatar Apr 19 '23 18:04 rmvz3

@rmvz3 if it works then attach downloaded jar here. We'll check. Thanks!

developersu avatar Apr 20 '23 16:04 developersu

Well, in fact it's not a jar but a macOS .app I don't know if you'll be able to get something useful from it but… there you have: https://www.icloud.com/iclouddrive/00eHCv5IwmMIMsmsMQyt412_g#NS-USBloader

rmvz3 avatar Apr 20 '23 19:04 rmvz3

Well, in fact it's not a jar but a macOS .app I don't know if you'll be able to get something useful from it but… there you have: https://www.icloud.com/iclouddrive/00eHCv5IwmMIMsmsMQyt412_g#NS-USBloader

thanks, i download it but it gives me an error.

The error in spanish says: La acción “Ejecutar el script Shell” detectó un error: “zsh:1: no such file or directory: /Applications/NS-USBloader.app/Contents/PlugIns/jdk-11.0.16.1.jdk/Contents/Home/bin/java”

Corcho911 avatar Apr 20 '23 19:04 Corcho911

thanks, i download it but it gives me an error.

Hmmm… I don't know why could this happen. I've checked the file in the zip and it has these files included (just select Show content in the contextual menu and you'll be able to check it). Maybe it's any kind of permission problem

UPDATE: @Corcho911, prueba con la version que he puesto mas abajo, pero asegurate de que este en la carpeta de Aplicaciones, si no, no funcionara.

rmvz3 avatar Apr 20 '23 20:04 rmvz3

It's just version 6.1 wrapped into 'app' with java runtime inside. UPD: for some reason, with JDK :)

developersu avatar Apr 20 '23 20:04 developersu

Yes, I see (never looked inside the app until now). So, if I replace the jar with the latest version… it should work, right?. Could be a good workaround for many of us having issues with the M1 version (probably due to java misconfiguration)

rmvz3 avatar Apr 20 '23 20:04 rmvz3

Mmm.. I don't know.. JDK inside is for intel's x86_64, so I guess you'll run it in 'emulation' mode, therefore the library you'll use would be the one pre-compiled for x86_64 as well. I'd say, there is a chance that it would be working for you (in case now it works with 6.1 jar) but not necessarily for others.

developersu avatar Apr 20 '23 20:04 developersu

It works! I've just edited the .workflow file (automator script) to remove the version reference in the jar file so it just looks for "ns-usbloader.jar" instead of "ns-usbloader_6.5.jar" to be easier to update. Added the new 7.0 version renamed that way and it worked. Some caveats: the m1 jar version doesn't work (some problem with javafx if I remember), it must be the "regular" one ("ns-usbloader-7.0.jar"). Also, the app MUST be in Application folder, otherwise it will fail to find the hardcoded paths, which is what happened to @Corcho911 (not very elegant code but at least it works).

EDIT: This is the updated 7.0 version in case anyone want it: https://www.icloud.com/iclouddrive/0a04OJObLcgyIo5XzCk8B-kqQ#NS-USBloader

rmvz3 avatar Apr 20 '23 21:04 rmvz3

It works! I've just edited the .workflow file (automator script) to remove the version reference in the jar file so it just looks for "ns-usbloader.jar" instead of "ns-usbloader_6.5.jar" to be easier to update. Added the new 7.0 version renamed that way and it worked. Some caveats: the m1 jar version doesn't work (some problem with javafx if I remember), it must be the "regular" one ("ns-usbloader-7.0.jar"). Also, the app MUST be in Application folder, otherwise it will fail to find the hardcoded paths, which is what happened to @Corcho911 (not very elegant code but at least it works).

EDIT: This is the updated 7.0 version in case anyone want it: https://www.icloud.com/iclouddrive/0a04OJObLcgyIo5XzCk8B-kqQ#NS-USBloader

hey thanks for all, but same error still.

Corcho911 avatar Apr 20 '23 22:04 Corcho911

I will buy a pc

Unrelated to the issue. Also, then you WILL have a lot of problems XDDD

rmvz3 avatar Apr 20 '23 22:04 rmvz3

Not anymore than any other computer would have. If you want to just use windows for a couple of things, just virtualize it

Masamune3210 avatar Apr 21 '23 14:04 Masamune3210

same issue.

zcg331793187 avatar May 06 '23 07:05 zcg331793187