Emuforums.com

Go Back   Emuforums.com > Handheld Emulation > Nintendo Handhelds > DeSmuME Discussion
Home Register Downloads FAQ Members List Calendar Arcade Mark Forums Read

WON'T YOU JOIN US?
You are not a registered member and
are viewing this site as a guest.
Registration is simple and FREE.
Join this CrowdGather community today.
Registration offers the following perks:

» Less advertising throughout
» Post and participate in discussions
» Network with other forum members
» Free private messaging

join

Reply
 
Thread Tools Display Modes
Old April 18th, 2010, 12:31   #1
Luigi__
Formerly NHervé
 
Luigi__'s Avatar
 
Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
The Impossible Just Happened: WFC on DeSmuME

Update.

I did post this thread as some kind of bragging about DeSmuME's wifi capabilities (mostly worked on by me ).

But it appears that we got noticed at Nintendo's side and they took a first measure to block us. Of course, this is bad.

Because of this, WFC will now stay blocked until we get "perfect" enough to not get noticed again at Nintendo's side.

DO NOT ask why WFC doesn't work. Now you know.

Edit- if you wish to test DeSmuME's wifi capabilities without using WFC, you can still give the DS browser a try, and there's also a lot of dswifi homebrews that should work.
__________________
Luigi__'s website - now open! -- If you're wondering where Mario__ is, he is currently saving Peach__ once again.

Last edited by Luigi__; June 18th, 2010 at 12:54.. Reason: WFC is blocked ;_;
Luigi__ is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old April 18th, 2010, 12:41   #2
Squall-Leonhart
Banned
 
Squall-Leonhart's Avatar
 
Join Date: Feb 2006
Location: Sydney, Australia
Posts: 23,270
someones been busy.
Squall-Leonhart is offline   Reply With Quote
Old April 18th, 2010, 18:34   #3
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
When I started the emu after recompiling it, and Windows Firewall popped up, I felt great.

Testing out the few games I have. Hope it will work, but... GREAT JOB desmume's coders!

EDIT: aww, during the test connection via the Pokemon HG rom, it says that there's no signal at all. Maybe I've done something wrong... I used the internal DeSmuMe firmware.
__________________
Intel Core 2 Quad Q8400 @ 2.66 GHz
4 GB Ram
Nvidia GTS 250 1GB memory
Ubuntu 10.04 LTS x64 /// Windows 7 Ultimate x32

Last edited by Shadow-5471; April 18th, 2010 at 18:59..
Shadow-5471 is offline   Reply With Quote
Old April 18th, 2010, 19:05   #4
Luigi__
Formerly NHervé
 
Luigi__'s Avatar
 
Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
Um, the Windows firewall warning shows up when using Adhoc. Did you set everything right in the wifi settings dialog?
__________________
Luigi__'s website - now open! -- If you're wondering where Mario__ is, he is currently saving Peach__ once again.
Luigi__ is offline   Reply With Quote
Old April 18th, 2010, 19:15   #5
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
Forgot to change it. Now the AP can be viewed, but connection test fails saying "Unable to obtain an IP address"; during game, when I tried to connect to GTS, the strenght signal was good, but after a while, it went red and the connection failed.

However, desmume's coders are making progress, surely the wifi support will grow!
__________________
Intel Core 2 Quad Q8400 @ 2.66 GHz
4 GB Ram
Nvidia GTS 250 1GB memory
Ubuntu 10.04 LTS x64 /// Windows 7 Ultimate x32
Shadow-5471 is offline   Reply With Quote
Old April 18th, 2010, 19:54   #6
D1M1TR1
Lurker, pretty much...
 
D1M1TR1's Avatar
 
Join Date: Aug 2008
Location: France
Posts: 296
Quote:
Originally Posted by Shadow-5471 View Post
connection test fails saying "Unable to obtain an IP address"
I got that error too. I manually entered IP and DNS settings as I had to do for my real DS, and I got another error code (52100: "impossible de se connecter à la CWN", or "unable to connect to the WFC"). I even got 20103 as well (maybe because I didn't allow DeSmuME both inbound and outbound... but now I'm getting 52100).

I'm guessing it could be the router/NAT blocking the connection, but I don't have time to check that now... Blame that to the end of my holidays...
__________________
My computer specs:
OS: Windows 7 Ultimate x86
CPU: Intel Core 2 Duo E6750 @2.66Ghz - 2GB of DDR2 RAM
GPU: NVIDIA GeForce 8800 GTS 512

My recommended settings for iDeaS: *possibly outdated!*
DirectSound 1.0.1.4 beta: 22050 Hz - Stereo - Synchronize (or No Synchronize if speed is really slow) - buffer of 7 seconds
OpenGL 3D: unless stated otherwise, enable Software Lights and disable Shaders and Fog.
D1M1TR1 is offline   Reply With Quote
Old April 18th, 2010, 20:13   #7
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
The emulator connects over your bridge adapter that should already be set on the router, so I think that is not a router problem.

Luigi, how do you connect to the Internet? Modem, router connected via ethernet or wifi?
__________________
Intel Core 2 Quad Q8400 @ 2.66 GHz
4 GB Ram
Nvidia GTS 250 1GB memory
Ubuntu 10.04 LTS x64 /// Windows 7 Ultimate x32
Shadow-5471 is offline   Reply With Quote
Old April 18th, 2010, 20:26   #8
Dax
ライチュウ|タオ
 
Dax's Avatar
 
Join Date: Nov 2006
Location: USA
Posts: 3,956
I couldn't get the WFC Infrastructure mode to work either(no IP address). Has anyone tried Adhoc though? Maybe we can finally trade pokemon and stuff with one PC.
Dax is offline   Reply With Quote
Old April 18th, 2010, 20:44   #9
zeromus_
desmume coder
 
Join Date: Aug 2008
Location: the moon, duh
Posts: 487
if youre using r3538 or newer youll have to go in wifi.cpp and comment out the call to validatePacket(). I have blocked access to nintendo's servers by default until we can get some kind of consensus on how to proceed.
__________________
Windows XP 32bit | Keyboard with three wide by two tall cursor control block | Microsoft Wheel Mouse Optical | Matrox M9120 | vinyl floor mat | RIP FD trinitrons 1997-2009
zeromus_ is offline   Reply With Quote
Old April 18th, 2010, 20:53   #10
Dax
ライチュウ|タオ
 
Dax's Avatar
 
Join Date: Nov 2006
Location: USA
Posts: 3,956
Oh, ok. Thanks.

Edit: Zeromus, does local wifi/adhoc work, as well? Just curious. Thanks.
Edit2: Commenting out if(!validatePacket(packet,len)) return; didn't seem to help..darn.

Last edited by Dax; April 18th, 2010 at 21:02..
Dax is offline   Reply With Quote
Old April 18th, 2010, 21:06   #11
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
Quote:
Originally Posted by zeromus_ View Post
if youre using r3538 or newer youll have to go in wifi.cpp and comment out the call to validatePacket(). I have blocked access to nintendo's servers by default until we can get some kind of consensus on how to proceed.
Do you think is illegal to connect to the servers with the emulator?

EDIT: nevermind, found it.
__________________
Intel Core 2 Quad Q8400 @ 2.66 GHz
4 GB Ram
Nvidia GTS 250 1GB memory
Ubuntu 10.04 LTS x64 /// Windows 7 Ultimate x32

Last edited by Shadow-5471; April 18th, 2010 at 22:05..
Shadow-5471 is offline   Reply With Quote
Old April 18th, 2010, 21:22   #12
PsyMan
Bannҽd
 
PsyMan's Avatar
 
Join Date: May 2004
Location: Where banned people go
Posts: 2,158
Most wireless adapters are not compatible with WinPCap due to driver limitations. It would be a good idea to add a notification dialog on the emulator to notify the user when this happens (if that's not done already).
__________________
I'm not insane. YOU are insane... You are all insane!

Click Here to Visit my Blog Page
PsyMan is offline   Reply With Quote
Old April 18th, 2010, 21:52   #13
Dax
ライチュウ|タオ
 
Dax's Avatar
 
Join Date: Nov 2006
Location: USA
Posts: 3,956
Oh, we need a wifi NIC to use it? Dang.
Dax is offline   Reply With Quote
Old April 18th, 2010, 22:31   #14
zeromus_
desmume coder
 
Join Date: Aug 2008
Location: the moon, duh
Posts: 487
most wireless adaptors are not compatible. virtually all wired adaptors are. wired adaptors should work with desmume wifi. softAP doesnt care whether or not youre using wifi. there should be no difference.

I don't think it is illegal, but I am not particularly eager to open up a new front in a very old war. Playing single player games from the privacy of your PC doesn't cost anyone anything, but once you start touching/glitching/cheating/griefing nintendo's servers in previously impossible ways, the costs start mounting. With the DS, they can't roll out software patches with tweaks to their security like PC and big consoles can.
__________________
Windows XP 32bit | Keyboard with three wide by two tall cursor control block | Microsoft Wheel Mouse Optical | Matrox M9120 | vinyl floor mat | RIP FD trinitrons 1997-2009
zeromus_ is offline   Reply With Quote
Old April 18th, 2010, 22:40   #15
Dax
ライチュウ|タオ
 
Dax's Avatar
 
Join Date: Nov 2006
Location: USA
Posts: 3,956
I wonder if it could be my router settings then..
Dax is offline   Reply With Quote
Old April 18th, 2010, 22:40   #16
Shadow-5471
Registered User
 
Join Date: Oct 2007
Location: Italy
Posts: 76
Understood.

Anyway, I tried to comment out that validatePacket line, but I'm still getting the Unable to obtain IP error. Maybe it's because I connect to the router with a wireless adaptor that is not compatible with Winpcap?
__________________
Intel Core 2 Quad Q8400 @ 2.66 GHz
4 GB Ram
Nvidia GTS 250 1GB memory
Ubuntu 10.04 LTS x64 /// Windows 7 Ultimate x32
Shadow-5471 is offline   Reply With Quote
Old April 18th, 2010, 22:59   #17
zeromus_
desmume coder
 
Join Date: Aug 2008
Location: the moon, duh
Posts: 487
edit WIFI_LOGGING_LEVEL in wifi.cpp to get more diagnostics.
__________________
Windows XP 32bit | Keyboard with three wide by two tall cursor control block | Microsoft Wheel Mouse Optical | Matrox M9120 | vinyl floor mat | RIP FD trinitrons 1997-2009
zeromus_ is offline   Reply With Quote
Old April 18th, 2010, 23:39   #18
Luigi__
Formerly NHervé
 
Luigi__'s Avatar
 
Join Date: Jul 2007
Location: Peach__'s castle
Posts: 818
r3538 is now blocking WFC connections. We are studying and discussing the potential risks of WFC connections (didn't we already do this?). We are probably going to put in a warning and ask the user for confirmation, rather than just blocking anything (not to mention, if we do that, DeSmuME being open source, anyone can release hacked builds with WFC unlocked...).

****ing goddamn token I have to copypaste my post and go back and reload the thread again why does that forum use tokens that expire >_<
__________________
Luigi__'s website - now open! -- If you're wondering where Mario__ is, he is currently saving Peach__ once again.
Luigi__ is offline   Reply With Quote
Old April 18th, 2010, 23:56   #19
FauxBestaan
.:: Secret Squirrel ::.
 
FauxBestaan's Avatar
 
Join Date: Nov 2009
Location: England
Posts: 35
I was ecstatic when I updated my local svn copy earlier today and saw changes had been made to wifi.cpp Just tested out the "Wi-Fi Plaza" on Pokemon Heart Gold and it works perfectly. Nice job, guys (especially Luigi).
FauxBestaan is offline   Reply With Quote
Old April 19th, 2010, 01:27   #20
Dax
ライチュウ|タオ
 
Dax's Avatar
 
Join Date: Nov 2006
Location: USA
Posts: 3,956
I finally got it to work, and Mario Kart just times out at the race start, as expected. Pokemon battles take forever to communicate. I'm still impressed though. Nice work Zeromus, et al..
Dax is offline   Reply With Quote
Reply

Tags
awesome, desmume, wfc, wifi

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT +1. The time now is 13:04.

© 2006 - 2012 Emu Forums | About Emu Forums | Advertisers | Investors | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.