Views: 23,259,279 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 12-04-24 10:42 PM |
Guest: |
0 users reading The wifi thread | 1 bot |
Main - General - The wifi thread | Hide post layouts | New reply |
Arisotura |
| ||
Big fire melon magical melon girl Level: 58 Posts: 75/945 EXP: 1539610 Next: 37936 Since: 03-28-17 From: France Last post: 34 days ago Last view: 20 min. ago |
So this is it.
On the technical side, wifi is mostly done. There are still bits of the hardware that aren't emulated, but they don't seem to be crucial. Some (better error handling, power management, etc) would be nice to have. Some (RF/BB chips) aren't necessary. But on the user interface side, this is far from finished. What testing has revealed for now: * Binding the socket to INADDR_LOOPBACK works best under Windows, but doesn't work under Linux. * Binding the socket to INADDR_ANY works under both, but not as well (Pictochat runs into issues where one or more players can't send). INADDR_ANY also theoretically allows playing on separate computers over LAN, but I can't test it. Better have a strong network, it sends a lot of packets. Considerations: * option to choose between INADDR_LOOPBACK and INADDR_ANY (hopefully make both work under Linux) * add blocking RX check for multiplay acks, may help * option to set the maximum duration for blocking RX checks -- more time means more possible slowdown, less time means more chance of missing MP reply packets or receiving them too late * option to choose the interval for regular (non-blocking) RX checks -- currently fixed to 512 microseconds. Checking more often may reduce ingame lag but put more strain on the host system. Also, a user might want to run melonDS instances using different config files and firmwares, so we need to think of a good way to cover that. Opinions are welcome and wanted. ____________________ Kuribo64 |
MeaningOfLifeIs42 |
| ||
Member Normal user Level: 12 Posts: 13/27 EXP: 7432 Next: 489 Since: 03-30-17 Last post: 2622 days ago Last view: 2564 days ago |
Quick question, is it / will it be possible for MelonDS and a real DS to connect? |
Nadia |
| ||
Pile of fazils Level: 24 Posts: 7/127 EXP: 75827 Next: 2298 Since: 03-29-17 From: Denmark Last post: 34 days ago Last view: 1 day ago |
Pokémon works.
|
Arisotura |
| ||
Big fire melon magical melon girl Level: 58 Posts: 76/945 EXP: 1539610 Next: 37936 Since: 03-28-17 From: France Last post: 34 days ago Last view: 20 min. ago |
footage of NSMB MvsL, courtesy RicBent note that it needs some adjustments to work under Linux Posted by MeaningOfLifeIs42 perhaps, time will tell, but it'll require damn good sync maybe lag inherent to OS abstraction and drivers/firmwares will make it impossible ____________________ Kuribo64 |
Lurkon01 |
| ||
Newcomer Inactive Level: 7 Posts: 4/7 EXP: 970 Next: 478 Since: 05-28-17 Last post: 2708 days ago Last view: 2289 days ago |
I'm hoping there will be an article on the development of this, would definitely be an interesting read. Also with the option to change the interval for RX checks you could have presets to choose from like 128, 256, 512 milliseconds or whatever steps make sense for the user to choose from, plus an option for custom so it can be set manually.
Anyway great work! Also will be testing mario kart in the morning if it hasn't already been done. Tested out mario kart and it will disconnect the client from the host after a little bit of lag after connection. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 58 Posts: 80/945 EXP: 1539610 Next: 37936 Since: 03-28-17 From: France Last post: 34 days ago Last view: 20 min. ago |
MKDS seems to be one of the worst offenders. I tried, managed to select characters but it disconnected afterwards. It also lagged like crazy. ____________________ Kuribo64 |
Andree |
| ||
Newcomer Inactive Level: 6 Posts: 3/5 EXP: 584 Next: 323 Since: 06-14-17 Last post: 2722 days ago Last view: 2361 days ago |
Well, mkds wifi needs a lot of work. ____________________ Hoping to play wiimmfi in the future version of melonDS! |
telon22 |
| ||
Newcomer Inactive Level: 6 Posts: 1/5 EXP: 583 Next: 324 Since: 06-24-17 Last post: 2697 days ago Last view: 2696 days ago |
Posted by Nadia I tried it on windows and they can recognize each other but then can't connect. After multiple tries the emulator crashes. Same case with SMB game like shown in video, they see each other but cant connect. Do you think this is my user(my) issue or this is emulator issue? |
Ndymario |
| ||
Newcomer Stupidly Random Level: 7 Posts: 4/7 EXP: 980 Next: 468 Since: 04-02-17 From: USA Last post: 1211 days ago Last view: 29 days ago |
Seems to be just you (As of now). I can play MvL (Haven't tried Pokemon) |
telon22 |
| ||
Newcomer Inactive Level: 6 Posts: 2/5 EXP: 583 Next: 324 Since: 06-24-17 Last post: 2697 days ago Last view: 2696 days ago |
Posted by Ndymario Are you positive? This is on windows because when I asked @StapleButter this was his reply on gbatemp " Probably won't work with 0.3 -- the latest wifi advance is for 0.4. " |
Arisotura |
| ||
Big fire melon magical melon girl Level: 58 Posts: 82/945 EXP: 1539610 Next: 37936 Since: 03-28-17 From: France Last post: 34 days ago Last view: 20 min. ago |
Well yeah. Seems some sites made posts that imply 0.3 has the wifi, when it's infact not the case. 0.3 is able to send/receive some things but you aren't exchanging pokemons or playing MvsL with it. ____________________ Kuribo64 |
telon22 |
| ||
Newcomer Inactive Level: 6 Posts: 3/5 EXP: 583 Next: 324 Since: 06-24-17 Last post: 2697 days ago Last view: 2696 days ago |
Posted by StapleButter Thanks for clearing this up |
telon22 |
| ||
Newcomer Inactive Level: 6 Posts: 5/5 EXP: 583 Next: 324 Since: 06-24-17 Last post: 2697 days ago Last view: 2696 days ago |
Ok testing the 0.4 build I have tried only few games and those like SMB works almost flawlessly.
I have been able to use trading and other things in Pokemon 5th gen ie BW but on 4th gen aka HGSS and DP whenever I try to trade/ battle the screen would go to the trade screen for eample but then suddenly I get this error https://imgur.com/a/VluvF . I have tried many times with that wifi bind setting too but this happens in 4th gen games only. I would like to know if this happens to me only or also others? |
Saizo7 |
| ||
Member Normal user Level: 14 Posts: 1/38 EXP: 12165 Next: 906 Since: 07-17-17 From: Greece Last post: 2 days ago Last view: 3 hours ago |
Posted by telon22 Yeah, it happens to me too. I can't complete a trade on gen 4, I get the same error. Also, in BW & B2W2, some trades are completed successfully, but sometimes it gets stuck to this screen forever. |
Ririshi |
| ||
Newcomer Inactive Level: 4 Posts: 1/2 EXP: 146 Next: 133 Since: 08-10-17 Last post: 2673 days ago Last view: 2672 days ago |
Hi y'all! I'm trying to get WiFi to work with Pokémon Black, on my laptop. Testing the connection in NWC gives me error code 50099: no access point in range. What settings am I supposed to use? If this information is provided somewhere else, I'm sorry as I seem to have missed it. |
fede89 |
| ||
Newcomer Inactive Level: 3 Posts: 1/1 EXP: 51 Next: 77 Since: 08-10-17 Last post: 2673 days ago Last view: 2538 days ago |
Hi, I've tested trading Pokemon in many ways:
-Between Pokemon Black and Pokemon Black 2 (the same savefile on the same PC): one of the games crashes, then I get a "connectivity error". Failed. -Between Pokemon Black and Pokemon Black (the same savefile on the same PC): one of the games crashes, then I get a "connectivity error". Failed. -Between Pokemon Black and Pokemon Black (one on my PC, the other one on my laptop): they don't see each other at Union Room. I did all my tests on Windows 7 - 64 bits, using melonDS v0.4. Having read that some people traded succesfully, I want to know if I'm doing something wrong or if it's a compatibility issue. (Anyway, thanks for this emulator!). |
blubberislife |
| ||
Newcomer Inactive Level: 4 Posts: 1/2 EXP: 145 Next: 134 Since: 09-06-17 From: US Last post: 2639 days ago Last view: 1489 days ago |
Posted by MeaningOfLifeIs42 I'd also really like to know this. |
Arisotura |
| ||
Big fire melon magical melon girl Level: 58 Posts: 108/945 EXP: 1539610 Next: 37936 Since: 03-28-17 From: France Last post: 34 days ago Last view: 20 min. ago |
Honestly, I can't tell. It's not possible for now, but it'd have to be tried out in the future. ____________________ Kuribo64 |
blubberislife |
| ||
Newcomer Inactive Level: 4 Posts: 2/2 EXP: 145 Next: 134 Since: 09-06-17 From: US Last post: 2639 days ago Last view: 1489 days ago |
Posted by StapleButter Good to know. I was looking online for an emulator that could do that, as I wanted to use Pokemon event distribution ROMs with real cartridges. I couldn't though, because I didn't have a flashcart. I really appreciate the work that you're doing, by the way. |
watermelonds |
| ||
Newcomer Inactive Level: 3 Posts: 1/1 EXP: 51 Next: 77 Since: 09-16-17 Last post: 2636 days ago Last view: 2636 days ago |
Wifi does not work at all for me. I am using linux ubuntu. Here is the consol output if anyone inerested. Posted by fede89 Hey me too. It does not work for me at all. Did you find a workaround? If yes then please tell me. |
Main - General - The wifi thread | Hide post layouts | New reply |
Page rendered in 0.057 seconds. (2048KB of memory used) MySQL - queries: 28, rows: 115/115, time: 0.030 seconds. Acmlmboard 2.064 (2018-07-20) © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |