Getting wifi on desmuME

GETTING WIFI TO WORK ON DESMUME

First you will need a couple of things:

A Computer(of course)
A wired internet connection (via LAN cable)
Win PCap(PROVIDED)
A wi-fi compatible DesmuME(PROVIDED)
Any wi-fi compatible game.(DO NOT ASK FOR ANY LINKS TO ROMS OF COURSE....)




STEP 1 : Download this pack DesmuME wifi pack this contains Win Pcap and the other things you will need. Also a version 0.9.7 of desmuME with wifi capabilities enabled by slytherx HERE.Whichever version of desmume you are using ( 32 or 64 bit) in its own folder... along with any other files the emu may need in that same folder along with it.



STEP 2: Unzip contents and Install Win Pcap.After installation make sure and give Win Pcap exceptions in all firewall software..When installing Winpcap..check the option for starting the driver as windows starts up.



STEP 3: Open DesmuME(IMPORTANT NOTE....ALL WINDOWS 7/WINDOWS VISTA USERS MUST OPEN DESMUME AS AN ADMINISTRATOR OR ELSE AN ERROR WOULD OCCUR WHEN CONNECTING TO WIFI" and go to Config--->Emulation settings. Now set the correct paths for the ARM 7 BIOS, ARM 9 bios and Firmware bin...of course it would be wherever you downloaded it to...Make sure the "Use external Bios image" "Use external firmware image" ,"Boot from firmware like the nds" AND "Enabled Advanced bus level timing" are all checked...I am not sure about the rest so leave them unchecked.. It would now look like this...

http://img153.imageshack.us/i/setupg.png


STEP 4: IN desmuME still go to Conifg---> wifi and click on "Infrastructure mode"



STEP 5:Now open your game and go into Nintendo Wi-fi settings and search for an access point...u should see "SOFT AP" as one...test connection to that and it should work...I think this must be done every time you open/close the emulator....(Hey can't be too perfect)

STEP 6:Enjoy....
yaynds.gif


TRYFORCE's TUTORIAL ON GETTING WIFI TO WORK ON DesmuME ON ANDROID COMPATIBLE DEVICES

TryForce said:
Android users are in luck!!! I just tested WFC in pokemon black according to the op's tutorial except my connection to the internet is via USB tether to my Andoid phone!
I have a rooted MyTouch 3G (I'll try it on my new MyTouch 4g next week).
I'm running a hacked ver. of Cyanogen 6.1 Signed. I'm simply using Cyanogen mod's built-in USB tether.

Here's what I did:
a. Follow Lune's directions for DesmuME and winPcap setup.
b. Disconnect your current active internet connection.
c. Plug your 3g/4g data capable android device into a USB (2.0) port in your PC.
d. Set your phone to tether via USB. In Cyanogen 6.1 this can be done via Settings->Wireless & networks->Tethering. Check the box next to usb tethering.
e. Verify that you have established an internet connection. Windows 7 sees my device as a network adapter called "Remote NDIS based internet sharing device". Regardless of the device ID, you should have a valid IP and be able to browse the web.
f. Restart Windows (This is necessary to let winpcap work "its magic").
g. Don't forget to run desmume as administrator in Windows 7/Windows vista!!
h. In desmume's wifi settings (config->wi-fi), you should see your android device's manufacturer in the dropdown box. Mine simply said "HTC". Select it.
i. You should be set!

Again, this was tested on a rooted mytouch 3g running Cyanogen 6.1. Results may vary. I can probably help some people who need it. For more information about rooting your android device, check out the cyanogen mod forums (make sure you understand the risks involved).

Thanks for this tut, Lune!


Video of me on gts in Pokemon White
Went on GTS

Video of a wifi battle on Pokemon white (lost of course..):
Wfi battle

NOTE:AGAIN I HEARD THIS ONLY WORKS FOR WIRED CONNECTIONS you could try on wireless i guess...


GAMES TESTED SO FAR:

Pokemon White/Black:Works good was able to do random battle and go on gts...i think union room has Anti piracy stuff in it but didnt try it..
Mario kart DS:For some reason everything goes well but race never starts
Yugioh World Championship 2011:Over the nexus : Works very good no problems..
Tetris Ds:Works great


ERROR TROUBLESHOOTING

BEFORE ANY OF THE FOLLOWING MAKE SURE THESE THINGS ARE DONE FIRST:
-Again..have a wired connection by a cable (lan cable)
-Run desmuME as an administrator
-"For anyone getting 'Unable to get IP address' or 'Unable to connect to Nintendo Wi-fi network' errors, you need to check your router firewall settings. I use DD-WRT and an enabled SPI Firewall will not allow you access, disabling that let everything work fine.(by Forumpost)
-Disabling any firewalls that you think would be blocking the process...
-WINDOWS 7/WINDOWS VISTA users must go to network and sharing center and make sure that your connection type is set to HOME network and NOT PUBLIC OR WORK(work may work but meh)
-In the Wi-fi settings in desmume make sure it is set ton infrastructure mode and also the correct bridging is enabled with your ETHERNET CONTROLLER (your network adapter)
- Try pressing tab when connecting to nintendo wi fi connection..weird but might work

Emulator doesn't save: You would have to go into PATH SETTINGS and set your own paths for screenchots,cheats,roms,saveram etc.

Error Code 52000/52001/52002:Check your modem status and change it from bridging to PPPOE or PPPOA(sometimes work).Also double check the WEP key you entered(if used).Make sure if your on windows 7 that you have run the emulator as an administrator and also check that it's connection is an exception in your firewall/antivirus software

Error Code 52100:There could be Ip address conflict going on...you will have to give your ds its own ip address rather than using dhcp to find its own..check HERE
for help on doing that(too long to type..).Also you can try chaging the dns to 4.2.2.2 4.2.2.3 4.2.2

Error with saving wifi settings: "try keeping the external bios and firmware but without booting to ds on."

CREDITS GO TO:
DJPlace:Testing Mario kart ds
Dreamboy21: For information on the firewall exceptions and testing Tetris Ds
ryuga93:Info on error 52000
slytherx: HUGE THANKS for compiling the 0.9.7 version to use wi-fi
Forumpost: For information on disabling firewall in router settings
soc4real: For information on bridging connection with Ethernet controllers.
Tryforce:Another HUGE THANKS for tutorial on getting wi-fi to work using android devices.
Chojo: with help on error 52100
Jayc & 007 shinobi: Help on getting wifi settings to save
kay2kid: on help in "speed up connect" method
 

Jayc

Active Member
Newcomer
Joined
Mar 14, 2009
Messages
38
Trophies
1
XP
211
Country
Senegal
While this is definitely awesome, the need to keep resetting Nintendo WFC settings is a real bummer. Mainly because your friend code changes everytime you do that. And your other WiFi records get deleted. I wonder if it's possible to save the WFC settings as part of DeSmuMe's config?
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
thats what im trying to find out...there must be a way..it has to do with the bios or firmware stuff..im sure the developers know a way...i shall remain testing
 

Jayc

Active Member
Newcomer
Joined
Mar 14, 2009
Messages
38
Trophies
1
XP
211
Country
Senegal
By the way, Lune, it is definitely not a 64bit issue. I mentioned in my first post here that I am using a 64bit OS.
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
Yes yes i heard you
biggrin.gif
im not too educated about what Winpcap actually is and i am trying to find alternatives to it..
 

Jooken

Member
Newcomer
Joined
Mar 14, 2011
Messages
8
Trophies
0
XP
1
Country
Canada
Jaffar0 said:
Anyone know what error 52200 mean? Nintendo page says that "The Access Point you are attempting to connect from is not connected to the internet or a firewall is blocking traffic necessary for connecting to Nintendo Wi-Fi Connection." but I don't have any firewall (and Windows one is turned off).
I have wired connection, in wifi settings emulator detects SOFT AP, but when I test connection I have "detected DNS request to conntest.nintendowifi.net" and then it disconnects with error 52200. Also I don't get this popup where I have to click OK to connect.

I have the same problem. I have tried every single fix I could find on any support/forums, and nothing works.

1) Right click run as admin (Even though I have it set for every program to run as admin)
2) Run Pokemon (Example) and go to wifi setup on the title screen.
3) Turn off Auto-obtain IP Adress
4) Put in all the info (Even tried different IPs)
5) Turned off Firewalls, Anti viruses, and added all the necessary ports and everything else
6) Click Test Connection
7) Still see the same message over and over...

[WIFI: SoftAP connected!]
[WIFI: SoftAP : detected DNS request to conntest.nintendowifi.net]
*Wait 3-8 seconds*
[WIFI: SoftAP disconnected]

8)Then on the screen it shows:

Error Code: 52200
"Unable to connect to Nintendo Wi-Fi
Connection. Confirm connection settings
and access point settings.
For help, visit support.nintendo.com."

Yeah... So... If anyone finds anything please let me know.
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
@007 shinobi.. yes i shall test a wired connection with my laptop and see if the config still saves..then we may have something going on there..

@Jooken..alot of people are getting this error and im at the point i really am nost sure what to do.... because after the dected dns request u should get a popup where it asks you to continue with the connection...if you get the popup and dont press anything then it just disconnects...thats all the advice i could give at the moment

And I am actually quite busy atm with school work and stuff and hence the tutorial not really updated with new stuff posted by people...i WILL get time to do it though..
wink.gif
laugh.gif
 

TryForce

Member
Newcomer
Joined
May 28, 2010
Messages
6
Trophies
0
XP
10
Country
United States
@Jooken Do you have any of your router's firewall features activated? I could see Stateful Packet Inspection (SPI) or Dynamic Packet Filtering causing problems here. Also, make sure your UDP and TCP endpoint filtering aren't "port and address restricted". Lastly, make sure you don't have any protocols completely disabled (some routers offer this). For instance, P2P networking.

My router tries to turn SPI on by default which is annoying. Honestly, I don't want my crappy router's hardware doing any more work than what it must to bring me screaming wireless.
 

DumbDude1994

New Member
Newbie
Joined
Mar 15, 2011
Messages
1
Trophies
0
XP
1
Country
United States
Idk if anyone else experienced it yet but I had the 52000 error so I hard wired it. It worked and I was happy. But sad that I had to be hardwired with my laptop NOT FUN. Well I was done so I disconnected and shut down desmume. But before shutting down I saw that I was still connected to WiFi
biggrin.gif
. Any ideas?

nvm
frown.gif
didn't work now I get 51009
 

mechakidz

New Member
Newbie
Joined
Mar 16, 2011
Messages
2
Trophies
0
Location
Indonesia
XP
1
Country
United States
Hello Lune , Can u help me?

I got this code [52101] - I use Windows XP and connected via LAN-Network.
Are there something I supposed to do? I'm pretty sure my connection is ok.
Thanks in advance.

Are LAN use a router too? How can i see it? any advice from all of you guys?
 

Zinx

Member
Newcomer
Joined
Mar 16, 2011
Messages
20
Trophies
1
XP
341
Country
United States
Anybody that wants to fix the error 52000 and maybe other errors should check in the desmume folder if they have the file "desmume.ini" or a notepad file "desmume".

Search BridgeAdapter and put a 1 instead of 0 after the "=" sign(or the other way around).

Lune,does yugioh wc 2011 wifi using rental deck works for you?
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
Zinx said:
Anybody that wants to fix the error 52000 and maybe other errors should check in the desmume folder if they have the file "desmume.ini" or a notepad file "desmume".

Search BridgeAdapter and put a 1 instead of 0 after the "=" sign(or the other way around).

Lune,does yugioh wc 2011 wifi using rental deck works for you?

DIdnt try it yet


EDIT 2: guys i did some testing and found a couple of things. otu..will update main tutorial..im ver sorry for delay again due to school work..
 

Jooken

Member
Newcomer
Joined
Mar 14, 2011
Messages
8
Trophies
0
XP
1
Country
Canada
TryForce said:
@Jooken Do you have any of your router's firewall features activated? I could see Stateful Packet Inspection (SPI) or Dynamic Packet Filtering causing problems here. Also, make sure your UDP and TCP endpoint filtering aren't "port and address restricted". Lastly, make sure you don't have any protocols completely disabled (some routers offer this). For instance, P2P networking.

My router tries to turn SPI on by default which is annoying. Honestly, I don't want my crappy router's hardware doing any more work than what it must to bring me screaming wireless.

I'm not very tech savy but I tried going through every single page on my router settings, turning everything related to blocking (firewalls restrictions) off if they weren't already and also turned off my anti virus and it still wont let me and i get the same 52200
frown.gif
but hopefully whenever Luna gets time, we will get some answers
biggrin.gif
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
OK..

When i connected to wifi on my moms laptop (using wired connection) it wasn't working... i tried many things to solve this problem such as disabling windows firewall and such and still no luck.HOWEVER i went into Network and sharing center (windows 7 professional) i saw the network type for my wired connection set to public...i change this to home network which took awhile...then tried the emulator and voila...worked beautifully and didnt even give the dns request popup thing

I tired the same for WLAn but still no luck but instead of error 52000 i get 52100
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
So random battle isnt working? did u close the emulator after testing? because if u did u have to set it up again
 

soc4real

New Member
Newbie
Joined
Mar 11, 2011
Messages
2
Trophies
0
XP
6
Country
Greece
Hey I had the same problems with 52000 all the time.

I did everything like the guide says. I have 64 bit (vista) but now it works I set my router to PPPOE and stuff.

But the important thing was this



I forget to change it. Now it works
smile.gif
and you can exchange pokemons over the global trade. The other stuff like private trade didnt want to work.

Hope i could help some people!
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: Depends everyone mixing their flour now days