melonDS | ||
Views: 352,967 | Homepage | Main | Rules/FAQ | Memberlist | Active users | Last posts | Calendar | Stats | Online users | Search | 02-22-19 10:59 AM |
Guest: |
0 users reading Non-local wifi | 1 bot |
Main - General - Non-local wifi | New reply |
Arisotura |
| ||
![]() Big ice melon teh overlord Level: 28 ![]() Posts: 157/280 EXP: 123656 Next: 7682 Since: 03-27-17 From: France Last post: 2 days ago Last view: 1 day ago |
so yeah
Nothing too new though, it had already been done before with DeSmuME. Anyway, a couple things about this. * It's the same old "emulated AP + libpcap" setup. You know what they say, why fix it if it ain't broke? * No need to choose between separate "adhoc/infrastructure" modes like in DeSmuME. The emulated AP runs alongside the rest. * So far melonDS's wifi stack seems to be robust. I was able to stay connected to the IRC server for one hour, and it didn't disconnect or anything. * I was also able to connect to an altWFC server, but there was nobody online. * You don't need to seek an obscure, unofficial wifi-enabled build. * You need a network adapter that supports promsicuous mode and raw packet injection, and doesn't get in the way. Some adapters will overwrite the 'source MAC' field of outgoing packets, which will interfere with melonDS's thing. ____________________ Kuribo64 |
PSISP |
| ||
Newcomer Normal user Level: 3 Posts: 1/3 EXP: 120 Next: 8 Since: 09-02-17 Last post: 372 days ago Last view: 4 days ago |
Hey that's me |
Gippy2 |
| ||
Newcomer Normal user Level: 2 Posts: 1/1 EXP: 20 Next: 26 Since: 12-20-17 Last post: 429 days ago Last view: 304 days ago |
Sweet Jesus, this is good! (This is Gippy, forgot password lol)
The biggest issue with the old implementation was that wireless connections to a router were unsupported without a huge workaround, such as using the Microsoft Loopback Driver. Will this be corrected in MelonDS? |
Arisotura |
| ||
![]() Big ice melon teh overlord Level: 28 ![]() Posts: 159/280 EXP: 123656 Next: 7682 Since: 03-27-17 From: France Last post: 2 days ago Last view: 1 day ago |
I'd have to test it. I expect WinPCap to provide packets with Ethernet headers in all cases, but maybe in the case of wifi adapters it's providing 802.11 headers instead. I'd need a way to detect that and also to figure out how to make the 802.11 headers (it needs the access point's MAC address). ____________________ Kuribo64 |
Sorer |
| ||
Member Normal user Level: 8 Posts: 1/17 EXP: 1450 Next: 736 Since: 12-21-17 Last post: 4 days ago Last view: 1 hour ago |
HI.
Can i have a compiled version for win 10 x64. I tried to compile with Codeblocks with no success |
eeeey7 |
| ||
Newcomer Normal user Level: 2 Posts: 1/1 EXP: 20 Next: 26 Since: 12-27-17 Last post: 421 days ago Last view: 421 days ago |
Hello, could you tell me exactly how and what one needs to do to be able to connect like that? |
Red_Soul |
| ||
Newcomer Normal user Level: 3 Posts: 2/3 EXP: 104 Next: 24 Since: 01-13-18 Last post: 404 days ago Last view: 94 days ago |
Will non-local wifi eventually work without relying on external software and become a transparent process, completely integrated into the code? |
StarTrekVoyager |
| ||
![]() Melon seeds Melon & Blarg cocktail. Level: 6 ![]() Posts: 9/9 EXP: 711 Next: 196 Since: 03-30-17 From: near Paris Last post: 402 days ago Last view: 325 days ago |
Holy shit ____________________ Thing. |
Arisotura |
| ||
![]() Big ice melon teh overlord Level: 28 ![]() Posts: 167/280 EXP: 123656 Next: 7682 Since: 03-27-17 From: France Last post: 2 days ago Last view: 1 day ago |
anyway, I think I found out why non-local wifi doesn't work on certain setups, mostly when a wifi connection is used.
promiscuous mode doesn't work. which may require coding some bridge thing. dunno. ____________________ Kuribo64 |
T3st3r |
| ||
Member Normal user Level: 7 ![]() Posts: 6/13 EXP: 1155 Next: 293 Since: 06-24-17 Last post: 66 days ago Last view: 53 days ago |
Hey.Come on.You make a great job.Do what you want and all thinks be good.I hope you have allso motivation to bring melonds forward.The thing with the internet is sh... I read about the usa for example what happen today. In europe the same sh... About the wifi connection. I dont need it, the person from mgba know what happen, maybe. Two brians are better than one. Have a great time. Greetings |
adamboy7 |
| ||
Newcomer Normal user Level: 3 Posts: 2/2 EXP: 53 Next: 75 Since: 03-02-18 From: New Jersey Last post: 356 days ago Last view: 197 days ago |
Can't wait for the release, I may just just have to give compiling the source a try again. Thank you for your continued hard work and effort. |
neb1516 |
| ||
Newcomer Normal user Level: 2 Posts: 1/1 EXP: 17 Next: 29 Since: 04-29-18 Last post: 299 days ago Last view: 296 days ago |
What network adapter should I use? How do you get it to work? Like how do you add ethernet in WiFi settings? |
SIGMA |
| ||
Member Irregular Level: 6 ![]() Posts: 7/10 EXP: 634 Next: 273 Since: 01-15-18 From: Internet Last post: 95 days ago Last view: 17 hours ago |
You have to be on a laptop and use its Ethernet port on it since it's usually considered the second adapter and as mentioned in this github post:
https://github.com/StapleButter/melonDS/issues/257#issuecomment-432381369 melonDS is currently hard-coded to use the second internet adapter for online, I'd like to know which lines in the code need to be changed to make it use the first internet adapter and as to whether that's possible without breaking the whole thing. A feature to choose which adapter is used to connect to the internet with melonDS would be nice, but again, non-local Wi-Fi is something which will be worked down further down the line since it's incomplete so far. TL;DR: You need a laptop with an Ethernet connection to try out melonDS's non-local Wi-Fi, otherwise you'll get a crash or error message 52000 when trying to connect to online on melonDS using a desktop PC. |
PeeJay Bonobo |
| ||
Newcomer I Have Nothing That Cannot Be Portrayed as Inappropriate. Level: 5 ![]() Posts: 3/7 EXP: 419 Next: 110 Since: 09-28-17 From: Jamaica, NY Last post: 117 days ago Last view: 2 days ago |
I don't know, man. I'm using a desktop PC with Evolve and Hamachi installed, and I'm runnning Ethernet, and I'm currently searching for games on Sonic & SEGA All-Stars Racing right now, through MelonDS. |
Arisotura |
| ||
![]() Big ice melon teh overlord Level: 28 ![]() Posts: 225/280 EXP: 123656 Next: 7682 Since: 03-27-17 From: France Last post: 2 days ago Last view: 1 day ago |
https://github.com/StapleButter/melonDS/blob/master/src/libui_sdl/Platform.cpp#L358
alldevs is a linked list. ____________________ Kuribo64 |
Wifall |
| ||
Member Normal user Level: 6 Posts: 8/16 EXP: 702 Next: 205 Since: 10-25-18 Last post: 112 days ago Last view: 112 days ago |
But playing the way the emulator is right isn't giving any lag? I remember that when I used to play desmume wi-fi, it used to lag on me.(sometimes just a little bit, sometimes alot). |
PeeJay Bonobo |
| ||
Newcomer I Have Nothing That Cannot Be Portrayed as Inappropriate. Level: 5 ![]() Posts: 4/7 EXP: 419 Next: 110 Since: 09-28-17 From: Jamaica, NY Last post: 117 days ago Last view: 2 days ago |
So far, I haven't found anyone on AltWFC, but I can say ClIRC is working without issue. |
Wifall |
| ||
Member Normal user Level: 6 Posts: 9/16 EXP: 702 Next: 205 Since: 10-25-18 Last post: 112 days ago Last view: 112 days ago |
It's hard to find someone on altwfc since it got all those complicated steps that are hard to understand for non-advanced users. Back in the day, when I first tested it, I didn't found any player aswell(except for pokemon trades, these are pretty common even now). |
PeeJay Bonobo |
| ||
Newcomer I Have Nothing That Cannot Be Portrayed as Inappropriate. Level: 5 ![]() Posts: 5/7 EXP: 419 Next: 110 Since: 09-28-17 From: Jamaica, NY Last post: 117 days ago Last view: 2 days ago |
I do have a couple of games we can playtest (MKDS, S&SASR), if you want. |
Wifall |
| ||
Member Normal user Level: 6 Posts: 10/16 EXP: 702 Next: 205 Since: 10-25-18 Last post: 112 days ago Last view: 112 days ago |
Fine by me, just gonna check if I still have any of these roms(lost many of them on my old hard drive). But i'm not confident since i'm not being able to reach 60fps in any game for some reason. My cpu is AMD Phenom II X2 555 3,2GHz.
Gotta a question tho, is there any discord server for this emulator? |
Main - General - Non-local wifi | New reply |
Page rendered in 0.019 seconds. (2048KB of memory used) MySQL - queries: 29, rows: 114/114, time: 0.011 seconds. ![]() © 2005-2008 Acmlm, Xkeeper, blackhole89 et al. |