DS-Homebrew / nds-bootstrap

Boot an nds file
https://wiki.ds-homebrew.com/nds-bootstrap/
GNU General Public License v3.0
1.19k stars 76 forks source link

Pokemon DPPt & HGSS stops finding Wii after connecting to Pokemon Battle Revolution & My Pokemon Ranch (Wii) #415

Open JaredTamana opened 6 years ago

JaredTamana commented 6 years ago

Upon attempting to connect to a Wii host server in a supported title (notably: Pokémon Battle Revolution, My Pokémon Ranch), nds-bootstrap will crash to a black screen.

TWiLightMenu++ cannot be reentered with its key combo, indicating a full lockup. No stack trace is dumped. DSi Mode can be exited as usual with HOME.

RocketRobz commented 6 years ago

This is normal, as this issue also occurs on flashcards.

JaredTamana commented 6 years ago

It is possible to get it working -- CycloDS was known to work with PBR back in the day. Not sure what they did to fix it. http://cyclods.wikidot.com/firmware:1-2

Edit: Apparently, several flashcarts have big-endian support, and Wood adds support others. Problem is, nothing is open-source anymore since flashcart makers were simply stealing the kernels to profit off their own clone carts. https://wiki.gbatemp.net/wiki/Flashcart_Comparison_Chart

piratesephiroth commented 6 years ago

https://github.com/ahezard/wood3ds/search?q=IsWiiLinkage&unscoped_q=IsWiiLinkage

edo9300 commented 6 years ago

I remember I successfully connected with Pokémon platinum, but I'm not sure if it was because I had another copy of it inserted

JaredTamana commented 6 years ago

@piratesephiroth I was looking at that repo earlier and couldn't find the appropriate code! Good eye.

scj643 commented 6 years ago

This issue also applies to My Pokemon Ranch as well

G-BOT12 commented 5 years ago

Did anyone try to put a ROM of CycloDS Evolution on the 3DS before? that could be a possibility. https://wowroms.com/en/roms/nintendo-ds/cyclods-evolution/15889.html (Hope that doesn't sound stupid.) :l

Diego788 commented 5 years ago

yeah, it sucks the gen 4 games can't connect to the Wii right now with the nds-bootstrap

I tried with 3 flashcarts I have, and the only one working with the Wii was an original R4, it successfully connects to My Pokémon Ranch (DP) and Pokémon Battle Revolution (all Gen4 titles)

maybe they can implement part of the code the original R4 has to connect to the Wii :0

NightScript370 commented 5 years ago

We don't have the original R4 code, so we can't implement it into our software. Besides, we could either use the acekard code (we have that), or we could make our own implementation

Stack3r commented 4 years ago

This could be fixed now with soft reset

RocketRobz commented 4 years ago

According to Elaugaufein on Discord, it still white screens after resetting. This could be a bug unrelated to soft-reset.

G-BOT12 commented 4 years ago

So Then what is The Problem? I'm Kinda Curious.

JaredTamana commented 4 years ago

Didn't realize there were so many issue duplicates on this guy... At least this issue has a bit more meat on the comments.

122

331

UnbelievablySimpish commented 4 years ago

I’ve been hearing from people that Platinum, specifically an Italian Platinum ROM, works in regards to connecting to the Wii. Is this true, even so has the root of this bug been discovered yet?

G-BOT12 commented 4 years ago

I do think it is a good idea to at least try to use acekard code in some form to solve this problem. It could be worth atempting.

UnbelievablySimpish commented 4 years ago

So the acekard code can be used to fix this issue potentially?

G-BOT12 commented 4 years ago

Someone mentioned it, but I'm not sure.

Kalanyr commented 4 years ago

Attached is the log for Platinum when attempting to communicate with PBR. Settings are for max compatability (so everything DS and Fat cache off).

The behaviour at the moment is that PBR is detected and the menu option changes to connect to Wii, selecting it causes a soft reset, but rather than hanging on a white screen it currently goes into the intro.

I've verified that PBR can copy from the game if launched normally using the actual game card on the same system.

NDSBTSRP.LOG

G-BOT12 commented 4 years ago

So does that mean PBR connecting to Platinum on nds bootstrap isn't a possibility?

Kalanyr commented 4 years ago

Doesn't mean it can never happen, just means its not working now.

Kalanyr commented 4 years ago

Diamond and Soul Silver behave the same way as Platinum,

(I haven't tested Pearl / HG but it seems likely they'd be the same(

AlexHalley commented 4 years ago

Has anyone tested this latest update (v13.1.0) if there is compatibility with the Wii (HG, SS, Platinum, Pearl or Diamond) PBR?

danieljromero15 commented 4 years ago

Testing on nds-bootstrap 0.32.1, TwilightMenu++ 13.1.0, and Pokemon SoulSilver

Still resetting and going back to the intro.

RocketRobz commented 4 years ago

Duplicate of #122

G-BOT12 commented 4 years ago

But #415 has important comments about related information. Why not close the other one?

AlexHalley commented 4 years ago

It seems to me that in v.14.0.0 there is also no compatibility with the Wii :( If someone did it, let them know!

Arlisbloxer05 commented 4 years ago

any update on this?

G-BOT12 commented 4 years ago

I don't think so, but I know that eventually something will come up.

SleepyLark commented 4 years ago

any update on this?

Nothing so far

artico-bowmane commented 4 years ago

please

JaredTamana commented 4 years ago

It's on the project boards, please be patient.

JaredTamana commented 4 years ago

Again, it's on the project boards. Please stop commenting on the issue unless it's to provide some sort of technical insight. This is an issue board, not XDA.

sergioad commented 4 years ago

This issue is also present for Castlevania order of ecclesia and Judgement, I wish I could unlock Shanoa

piratesephiroth commented 4 years ago

This issue is also present for Castlevania order of ecclesia and Judgement, I wish I could unlock Shanoa

Beat Story Mode with Trevor and then Clear True Story Mode with Shanoa

Blood-PawWerewolf commented 4 years ago

why is this issue marked as "closed" on the project boards if it's still being worked on?

JaredTamana commented 4 years ago

Issue title updated to reflect that this is an issue with all Wii titles, not just Pokémon.

Diamond-SaVa commented 3 years ago

So, I know it's been to long since the last this thread was probably even seen, but to those who asked for the Castlevania games to connect between Judgment and Order of Ecclesia (both loaded respectively from CFG USB Loader (the most recent version) and nds-bootstrap (v0.38.0) /twilight menu++ (v19.1.1) front-end; I have not upgraded to v20.0.0 yet), I recently tried to connect the two of them, expecting the nds-bootstrap to reset/crash since I also tried to connect Pokémon Battle Revolution and Pokémon Platinum (both were also loaded from CFG USB Loader and Twilight Menu++/nds-bootstrap).

The result from connecting Judgment with Ecclesia? An unexpected success! It was a bit of a hassle to navigate through Ecclesia's menus (they were broken and blurry), but I managed, and now both games have their features unlocked thanks to the Connect to DS function.

I'm not sure if this was an expected feature by the developers of nds-bootstrap, but it now works with these two games. Pokémon still crashes, though. I thought I would let you all know about this finding, now I wish I had recorded something as proof, maybe tomorrow I'll do it if the developers are still interested.

Kalanyr commented 3 years ago

The Pokemon issue seems to be losing data on soft reset iirc, do the Castlevania games make the DS soft reset as part of the communication ?

Diamond-SaVa commented 3 years ago

Nope, throughout all the process OoE doesn't soft-reset or anything that may seem abnormal for any game to do.

Kalanyr commented 3 years ago

Ahh, it's normal for Pokemon to soft-reset during that communication (it does it on a physical cart) so this change is definitely unrelated to the Pokemon issue. It'd be nice to know which commit actually fixed it though.

Thanks for confirming.

On Fri, 30 Apr 2021, 01:04 Hikaru-Diamond, @.***> wrote:

Nope, throughout all the process OoE doesn't soft-reset or anything that may seem abnormal for any game to do.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DS-Homebrew/nds-bootstrap/issues/415#issuecomment-829314252, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKZ33ZM7HZTAQYU4SZZKXLTLFYPPANCNFSM4FTIQDTQ .

Diamond-SaVa commented 3 years ago

You're welcome!

Anything to help out.

Kalanyr commented 3 years ago

Okay, did a little more testing on Gen 4 Pokemon.

When you select Copy Pokemon on BR it goes into wait mode (and broadcasts some kind of availability signal). Gen 4 Carts pick this up and add a Connect to Wii option to their start menu. This all works.

On an actual cart selecting Connect to Wii: White Screens into a Wireless communication screen that searches for the Wii first and then communicates with it and goes into the PBR transfer mode.

On Nds-bootstrap selecting Connect to Wii: Black Screens for a bit then Soft Resets. The Wii never appears to receive any communication at all from the DS.

Blood-PawWerewolf commented 3 years ago

i wonder if it's a line of code (or even something in memory) that needs to be added to NDS-bootstrap. since both NDS-bootstrap and MelonDS don't work with the Connect to Wii feature. since the signal is unique in this situation.

and i hope it's not encrypted/undocumented code similar to how the Wii U's gamepad uses a special kind of AD-HOC that only the official Wii U gamepad uses to communicate with the Wii U system, possibly Nintendo did that to make bootleg/unlicensed gamepads unusable - AKA a DRM - since without the Wii U gamepad, the system is unusable

it could be something like an anti-piracy/anti-flashcart/anti-bootleg measure since Nintendo DS flash carts (at the time) couldn't function with the Connect to Wii feature.

knowing how far Nintendo has gone to make unlicensed addons/systems harder to use with their consoles, i wont be surprised if this is the case

and to add, does the IR sensor have any use when connecting to Wii systems?

danieljromero15 commented 3 years ago

The IR bar on the Wii is used exclusively by the Wiimote, meaning no data is transmitted between the Wii and the IR bar itself. So no, the IR sensor does not affect DS connectivity (or even Wiimote connectivity, as you can use an external bar or even a candle) in any way.

Blood-PawWerewolf commented 3 years ago

The IR bar on the Wii is used exclusively by the Wiimote, meaning no data is transmitted between the Wii and the IR bar itself. So no, the IR sensor does not affect DS connectivity (or even Wiimote connectivity, as you can use an external bar or even a candle) in any way.

ok then. it has to be either memory related since the game resets natively from a cartridge to something different, why would a DS game need to reset to connect to the Wii, well it has to be something to do with the memory, sorta how Morrowind on the OG Xbox resets while loading. i wonder if the Gen 4/5 pokemon games do something similar to make it work with the Wii?

i know it has to do something with Big Endian code, maybe it’s reseting the game to switch to a different code structure to work with the Wii?

(btw is there a good place to brainstorm this issue on github so it doesn’t flood this issue psge?)

danieljromero15 commented 3 years ago

Oddly enough, the option to connect to Wii no longer shows up at all on my n2dsxl as of the latest update (0.40.0). It still shows up and soft resets as it used to on my dsixl.

RocketRobz commented 3 years ago

Commit 73513453 should hopefully fix this. Can you please test it?

EDIT: 11ee1089 & 924ae2bf should fix the bug further.

Kalanyr commented 3 years ago

This makes significant progress but not quiet all the way unfortunately.

The DS / Wii now connect but the DS White screens during the communication/transfer phase and the Wii eventually timesout with a connection error.

On Thu, 8 Jul 2021, 05:51 RocketRobz, @.***> wrote:

Commit 7351345 https://github.com/DS-Homebrew/nds-bootstrap/commit/735134531f18aa1f00e2e089bf252c58e61477a7 should hopefully fix this. Can you please test it?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DS-Homebrew/nds-bootstrap/issues/415#issuecomment-875886052, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABKZ333MIW3DZRYUEPCM353TWSV2VANCNFSM4FTIQDTQ .

Blood-PawWerewolf commented 3 years ago

yup. can confirm that i'm getting a "connection error" on the Wii (tested on a Pokemon Diamond rom on my 3DS and Pokemon Battle Revolution (custom made Wii VC package via TeconMoon's WiiVC Injector) on my Wii U..

NDS-Bootstrap then locks up on a white screen on my 3DS.

but getting it to find my 3DS is definitely progress since before it would just lock up and restart.

TylerFurrison commented 3 years ago

I'm having completely different results when trying to use Wii-DS connectivity (for both PBR and MPR). I select "Connect to Wii" and it will immediately kick me out to the 3DS home menu, no white screen lock up as described previously.