Multiplayer/Wifi

Discuss anything about DraStic here.
Shoxuja XV
Posts: 2
Joined: Tue Feb 17, 2015 5:59 pm

Re: Multiplayer/Wifi

Postby Shoxuja XV » Tue Feb 17, 2015 6:08 pm

He probably knows, he just said that emulation wasn't perfected, which I think is probably pretty accurate (I'd say it's still nowhere close).

Nintendo DS's wifi hardware has two use cases and a bunch of different modes to support both. One we'll call "infrastructure", where it's used to connect to some Nintendo server. This is supported by something like a few dozen games. DeSmuME supported this way back when although it was pretty buggy, but I hear it plays a lot better with the custom servers (makes sense since they can willingly optimize both sides for it)

The other mode is where multiple DS's talk to each other in close range, which I've called "NiFi." This mode requires an extremely low latency connection, and uses a lot of hardware features that aren't completely understood. And I don't think DeSmuME's support for this works yet. It was our focus to try to get it to work somehow because of the Nintendo servers closing (but this was before the custom servers), but we haven't been able to get it to do much in emulation, and we couldn't even get a tunnel working with DSes in the same room going over a wired ethernet and shielded DS compatible wifi dongles. I think even if we could get that working we wouldn't be able to emulate it well with a direct connection because the latency requirements are so ridiculously high.

What I think is the best potential path for NiFi emulation is the same that I think is the best method for Gameboy and GBA link emulation: emulate two instances of the DS on one machine and synchronize button presses across the network instead of the NiFi connection (with the NiFi connection emulated locally). This would allow it to be used over the internet to some extent, especially if the use is things like trading Pokemon. But there'd be a large performance overhead emulating two DSes, even where you could get away without emulating video and such on the other one. And it'd require a big rewrite to support this. That, and we still don't really understand the hardware enough to get emulation working.

Getting infrastructure to work so it matches up with DeSmuME's support and can work decently with custom servers is probably a better thing to focus on. That does however mean that patched ROMs need to be used, because they're normally hardcoded to only work with the WFC server (they need the right SSL keys that can't be faked) I think we would need an autopatcher at the very least, and one that requires as little user setup as possible, or we'd be inundated with people asking us how to use it..

But at least the custom servers have some support for Pokemon (presumably for trading?), which is mostly what anyone wants wifi for. At least according to the list here: https://github.com/polaris-/dwc_network ... patibility So that's promising.


The Nifi, can be as Bluetooth use like in "My boy" and "My Old Boy." If Wifi can be made speedily. I could trade and battle through wifi server and client.
Shoxuja XV
Posts: 2
Joined: Tue Feb 17, 2015 5:59 pm

Re: Multiplayer/Wifi

Postby Shoxuja XV » Sat Feb 28, 2015 8:09 pm

I found a site that may help with the wifi for DraStic.

http://www.akkit.org/info/dswifi.htm
User avatar
ericbazinga
Posts: 1101
Joined: Mon Apr 13, 2015 6:46 pm
Location: Somewhere in Texas
Contact:

Re: Multiplayer/Wifi

Postby ericbazinga » Tue Apr 21, 2015 2:23 pm

Perhaps we could study a ds connecting to the internet and then reverse-engineer what it did (for example, monitor how a ds connects to a homebrew server using a computer, and then get DraStic to do the same thing).
Image

Find me elsewhere at:

Discord: Ericbazinga#5561
Retrode Forum: http://tinyurl.com/hdsuvzk
Bulbapedia: http://tinyurl.com/zgyalrx
Hajaky
Posts: 1
Joined: Mon Jul 09, 2018 11:37 pm

Re: Multiplayer/Wifi

Postby Hajaky » Mon Jul 09, 2018 11:43 pm

kaikun97 wrote:
Howdareme wrote:You don't realise how difficult WiFi emulation is, do you.. And the devs have more inportant things to fix/do.


The devs have not even been able to it with a real nintendo ds wifi chipset (emulating it), its very hard


Then how come Dolphin Emulator has wiimmfi working on android and also multiplayer
Jay Haru
Posts: 1768
Joined: Sat Aug 10, 2013 1:10 pm
Location: Pasig, Philippines

Re: Multiplayer/Wifi

Postby Jay Haru » Tue Jul 10, 2018 1:21 am

Hajaky wrote:
kaikun97 wrote:
Howdareme wrote:You don't realise how difficult WiFi emulation is, do you.. And the devs have more inportant things to fix/do.


The devs have not even been able to it with a real nintendo ds wifi chipset (emulating it), its very hard


Then how come Dolphin Emulator has wiimmfi working on android and also multiplayer

coz it is not a ds? its a home console with regular wifi instruction set. the DS does not have a regular wifi instruction set making it difficult to emulate.
Behold my mighty
Image
User avatar
ericbazinga
Posts: 1101
Joined: Mon Apr 13, 2015 6:46 pm
Location: Somewhere in Texas
Contact:

Re: Multiplayer/Wifi

Postby ericbazinga » Wed Jul 11, 2018 8:02 pm

Jay Haru wrote:
Hajaky wrote:
kaikun97 wrote:
The devs have not even been able to it with a real nintendo ds wifi chipset (emulating it), its very hard


Then how come Dolphin Emulator has wiimmfi working on android and also multiplayer

coz it is not a ds? its a home console with regular wifi instruction set. the DS does not have a regular wifi instruction set making it difficult to emulate.

Ugh, this again?
Not only this is a zombie thread (btw Hajaky, don't post replies to years-old threads), but it's yet another "other emulators with multiplayer" post. (Not you, Jay. Hajaky.)
I understand that the general populace doesn't understand how any of this stuff works, but you think they'd at least understand that every system is different. "Well, this other thing is also Nintendo and it has multiplayer, so just copy what they did!" Jeez...
Image

Find me elsewhere at:

Discord: Ericbazinga#5561
Retrode Forum: http://tinyurl.com/hdsuvzk
Bulbapedia: http://tinyurl.com/zgyalrx

Return to “General”

Who is online

Users browsing this forum: No registered users and 2 guests