ITotalJustice / Gamecard-Installer-NX

A way to install your gamecards directly to the switch!
GNU General Public License v3.0
144 stars 14 forks source link

Error Code: 0x2001 #4

Open bakaschwarz opened 4 years ago

bakaschwarz commented 4 years ago

Happens right when i open the program. It happens in both Applet and Application mode. My system version is 9.1.0 and i am using Atmosphere version 0.10.2. Don't know if it matters, but i start my games and applications through ulaunch.

The game in question is Pokémon Sword.

bakaschwarz commented 4 years ago

Okay, maybe the problem was on my end? I rebooted the console and tried it again. Now it works. I couldn't even start the gamecard from the home screen before i rebooted. So i guess this can be closed? Anyways, i leave that up to you :) Thanks for your tool btw!

ITotalJustice commented 4 years ago

Thank you for reporting this issue. The error code means that the getting the gamecard handle failed (when trying to mount). The gamecard handle is like a file pointer, it's like an arror pointing to the gamecard itself.

It's very strange to have this issue as I only try to mount the gamecard once HOS reports that a gamecard is inserted. I did just try Ulaunch just with pokemon sword and it seems to work fine, I am on fw 8.1.0 however.

And you say rebooting fixed it? That's even more strange then 😄 (and more annoying to fix as it's not reproducable).

I'll leave this open for a day or so, I'll try and reproduce it. If you do have this error again (or others) please report back.

RY0M43CH1Z3N commented 4 years ago

I have the same error with AMS 0.10.2 with AtlasNX bundle in 9.0.1, with all patches.

ITotalJustice commented 4 years ago

I have the same error with AMS 0.10.2 with AtlasNX bundle in 9.0.1, with all patches.

Are you by chance using Ulaunch as well?

RY0M43CH1Z3N commented 4 years ago

@ITotalJustice No.

KingAether commented 4 years ago

I have the same issue at the same time anytime I insert a gamecard I get the error that it could not be read by the switch I am on 9.10

ITotalJustice commented 4 years ago

@KingAether Sorry for the late reply.

Are you able to play games normally with your gamecard? And if so, could you test another homebrew app to see if it loads the gamecard fine. The app is called nxdumptool.

ITotalJustice commented 4 years ago

@RY0M43CH1Z3N Just to check, are you able to load and play gamecard games normally?

RY0M43CH1Z3N commented 4 years ago

@ITotalJustice Yes, i can play any cardgame (in atmosphère when i changed the parameter in BTC.ini).

ITotalJustice commented 4 years ago

@RY0M43CH1Z3N Thanks. And with nogc disabled (i assume thats what you changed in the BTC), you still get the 0x2001 error?

RY0M43CH1Z3N commented 4 years ago

@ITotalJustice Yes, with nogc disabled i still have the error. While in SX OS works without any problem.

ITotalJustice commented 4 years ago

I really am at a loss for what is causing this then, especially that you said my app works in sxos but not in ams for you, I did not expect that 😕

I'll try and think of what could be causing this. Though this error happens to early on, it's just trying to get the handle for the gamecard and this function only executes when a gamecard is detected and inserted. Very confusing.

(But thanks for reporting back!)

RY0M43CH1Z3N commented 4 years ago

@ITotalJustice Idk, if i can help you to close this error in atmosphére, please let me know about it.

Maybe some files of atmosphere/kosmos/hbg are interfering with your software?

You are welcome!

oatmealdoc commented 4 years ago

Mates we have a Solution @ITotalJustice : Tested on 2 switches with CFW version 9.0.1 and 9.1 with AtlasNX bundle

With the 9.0.1 update the gamecard slot cannot read carts UNLESS autoNoGC is turned to OFF (greyed out). This can be changed under Options in hekate after you send over the hekate payload.

ITotalJustice commented 4 years ago

Mates we have a Solution @ITotalJustice : Tested on 2 switches with CFW version 9.0.1 and 9.1 with AtlasNX bundle

With the 9.0.1 update the gamecard slot cannot read carts UNLESS autoNoGC is turned to OFF (greyed out). This can be changed under Options in hekate after you send over the hekate payload.

Glad that’s solved the issue for you. I was going to report this as the cause for this error before, however a few people in this issue have commented that their particular cause for it is not caused by nogc. I’m still at a loss as to what could be causing it (other than nogc).

Just as a warning, disabling nogc will burn a fuse for the gamecard reader. This means that if you’re on fw 9.1.0 for example, you will not be able to use your gamecard reader on a lower fw version, should you ever want to downgrade. This is why nogc was in place. Although for most users, downgrading serves no benefit whatsoever.

demistigon commented 4 years ago

hi, i am having a same problem with my switch cfw ams 0.10.4. I have tried disabling autoNoGC but i am still getting error as soon as i insert my gamecard.

ITotalJustice commented 4 years ago

hi, i am having a same problem with my switch cfw ams 0.10.4. I have tried disabling autoNoGC but i am still getting error as soon as i insert my gamecard.

Hi there. Are you able to play your gamecard normally? Or does it not mount / error when trying to launch?

Thanks!

demistigon commented 4 years ago

Hi, thanks for replying. I am noob to switch jailbreak. As for the problem, i can play game normally if i don't use cfw. but when i load into cfw ams, i get this error. (https://imgur.com/a/8kyx3qf). and in gamcard installer i get this error. (https://imgur.com/a/k6cZJtF). my cfw ams is version 0.10.4 as you can see here.(https://imgur.com/a/2HfqoMq). btw i tried the these game card.

  1. mariokart 8 2.super mario odyssey and
  2. zelda bofw
ITotalJustice commented 4 years ago

That means the gamecard reader is being blocked, that's why the switch in cfw fails to open in (and my app fails also).

I understand that you're using ams, but are you using hekate or fusee_primary as your payload?

demistigon commented 4 years ago

i am using fusee-primary as my payload.

ITotalJustice commented 4 years ago

i am using fusee-primary as my payload.

Set nogc = 0 in the BCT.ini file. An example of this is described here https://github.com/Atmosphere-NX/Atmosphere/blob/master/config_templates/BCT.ini.

Make sure that file is in atmosphere/config. You will also need to reboot in order for the change to take effect.

demistigon commented 4 years ago

Thanks a lot mate. It worked as you said tho i did get an error 0x5008 but i followed your comment on another ticket addressing this error. fixed it. All done. Cheers.