![]() | ||
Views: 5,993,678 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 11-29-23 08:51 AM |
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: 55 ![]() Posts: 75/870 EXP: 1266863 Next: 47326 Since: 03-28-17 From: France Last post: 8 days ago Last view: 7 days 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: 6922 Next: 999 Since: 03-30-17 Last post: 2250 days ago Last view: 2192 days ago |
Quick question, is it / will it be possible for MelonDS and a real DS to connect? |
Nadia |
| ||
Pile of fazils Level: 22 Posts: 7/102 EXP: 50838 Next: 7512 Since: 03-29-17 From: Denmark Last post: 17 days ago Last view: 6 hours ago |
Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 55 ![]() Posts: 76/870 EXP: 1266863 Next: 47326 Since: 03-28-17 From: France Last post: 8 days ago Last view: 7 days 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 Normal user Level: 6 Posts: 4/7 EXP: 902 Next: 5 Since: 05-28-17 Last post: 2336 days ago Last view: 1918 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: 55 ![]() Posts: 80/870 EXP: 1266863 Next: 47326 Since: 03-28-17 From: France Last post: 8 days ago Last view: 7 days 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 Normal user Level: 6 Posts: 3/5 EXP: 542 Next: 365 Since: 06-14-17 Last post: 2350 days ago Last view: 1989 days ago |
Well, mkds wifi needs a lot of work. ____________________ Hoping to play wiimmfi in the future version of melonDS! |
telon22 |
| ||
Newcomer Normal user Level: 6 Posts: 1/5 EXP: 541 Next: 366 Since: 06-24-17 Last post: 2326 days ago Last view: 2324 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: 913 Next: 535 Since: 04-02-17 From: USA Last post: 839 days ago Last view: 304 days ago |
Seems to be just you (As of now). I can play MvL (Haven't tried Pokemon) |
telon22 |
| ||
Newcomer Normal user Level: 6 Posts: 2/5 EXP: 541 Next: 366 Since: 06-24-17 Last post: 2326 days ago Last view: 2324 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: 55 ![]() Posts: 82/870 EXP: 1266863 Next: 47326 Since: 03-28-17 From: France Last post: 8 days ago Last view: 7 days 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 Normal user Level: 6 Posts: 3/5 EXP: 541 Next: 366 Since: 06-24-17 Last post: 2326 days ago Last view: 2324 days ago |
Posted by StapleButter Thanks for clearing this up ![]() |
telon22 |
| ||
Newcomer Normal user Level: 6 Posts: 5/5 EXP: 541 Next: 366 Since: 06-24-17 Last post: 2326 days ago Last view: 2324 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: 13 ![]() Posts: 1/32 EXP: 8729 Next: 1538 Since: 07-17-17 From: Greece Last post: 5 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 Normal user Level: 4 Posts: 1/2 EXP: 135 Next: 144 Since: 08-10-17 Last post: 2301 days ago Last view: 2300 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 Normal user Level: 3 Posts: 1/1 EXP: 47 Next: 81 Since: 08-10-17 Last post: 2301 days ago Last view: 2167 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 Normal user Level: 4 ![]() Posts: 1/2 EXP: 134 Next: 145 Since: 09-06-17 From: US Last post: 2267 days ago Last view: 1117 days ago |
Posted by MeaningOfLifeIs42 I'd also really like to know this. |
Arisotura |
| ||
![]() Big fire melon magical melon girl Level: 55 ![]() Posts: 108/870 EXP: 1266863 Next: 47326 Since: 03-28-17 From: France Last post: 8 days ago Last view: 7 days 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 Normal user Level: 4 ![]() Posts: 2/2 EXP: 134 Next: 145 Since: 09-06-17 From: US Last post: 2267 days ago Last view: 1117 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 Normal user Level: 3 Posts: 1/1 EXP: 47 Next: 81 Since: 09-16-17 Last post: 2265 days ago Last view: 2265 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.053 seconds. (2048KB of memory used) MySQL - queries: 27, rows: 114/114, time: 0.015 seconds. ![]() © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |