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
 

FatalRuin

Member
Newcomer
Joined
Mar 9, 2011
Messages
19
Trophies
0
XP
6
Country
United States
Ok... I still keep getting errors after, running as admin, disabling antivirus and firewall, manually entering an ip adress etc, and it still doesn't connect...
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
well i think its possible to trade with friends codes on white and black(desmuME)...the problem is that they reset everythime you log on..and people i forgot to mention please stae what games ur actually using...rember some games may not work...im assuming everyone is using Pokemon black and white
@team fail./..really not sure what going on seeing ur using a wired connection and all and still getting 52000

And guys read here..some problems could be with winpcap... http://www.winpcap.org/misc/faq.htm#Q-18
 

Forumpost

New Member
Newbie
Joined
Mar 12, 2011
Messages
1
Trophies
0
XP
1
Country
United States
Great post, and it works.

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.

Another problem I am noticing is that save states are not working on this version? Maybe there's an option I missed, but my old save states won't load, and attempting to save anything new results in "Error saving 1 slot" in red text on the screen.

Edit2: Save states were my own fault, the default directory was pointing to a folder that did not exist, I changed it to load from the actual extracted folder and it loads fine now. Thanks for the great release!
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
thanks Forumpost...ill add that to the tutorial and credit u...im not too sure about the states though..
 

Unknowndevil

Member
Newcomer
Joined
Sep 13, 2009
Messages
12
Trophies
0
XP
33
Country
United States
Hey guys
so now I follow step by step and still not working
I still got error 52000 after connect to softAP
can you guys tell me where I did wrong?

here I go for the step
1. using window xp 64bit, the computer is directly connec to wireless router, which directly connect to cable modem
wireless router used it netgear(so i assume this is directly wired). I usually used WPA2PSK for wireless, but for this game I changed to WEP and generate a random passphase key
2. Followed every single direction to step 5, (imusing pokemon white), then Nintendo WFC setting->Nintendo wifi connection setting ->connection 1 (unready) ->search for access point->then get softAP one, I pressed test connection, then for the few seconds it seems there is connection, but then it just appear WIfi: softAP disconnect, and contenct show error 52000.

Can anyone help me?
I tried to disable the firewall on my computer but not working
also I do not know how to change it from bridging to PPoe or pppoa

Thank you
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
You should get ur default gateway from ipconfig/all and then type tat number into your web browser to go to the netgear router..there if you see it on bridging..u should change it...also i think this error 52000 seems to be a problem with WInpcap...

EVERYONE GETTING ERROR 52000..try this..

Go here... http://www.winpcap.org/install/default.htm download the latest version ...After installation... look for the actual prorgram in program files and run it as an administrator(if using windows 7) then try to do ur stuff..
 

Unknowndevil

Member
Newcomer
Joined
Sep 13, 2009
Messages
12
Trophies
0
XP
33
Country
United States
Lune said:
You should get ur default gateway from ipconfig/all and then type tat number into your web browser to go to the netgear router..there if you see it on bridging..u should change it...also i think this error 52000 seems to be a problem with WInpcap...

EVERYONE GETTING ERROR 52000..try this..

Go here... http://www.winpcap.org/install/default.htm download the latest version ...After installation... look for the actual prorgram in program files and run it as an administrator(if using windows 7) then try to do ur stuff..

Still not working, still getting error 52000
1. I wonder if its the problem because I am using 64bit while desmume is for 86 (32bit)
2. also what I said before, I connect my computer to a wireless router, than it connect to modem, is it consider a direct connect?
3. Do we need change the router to WEP? because it seems we do not need enter any info in desmume, just softAP and blank password, did I do that correct?

Thanks for helping
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
It could be a whole 64 bit user problem...but if u have wep enabled enter that password in the SOftap connection on the emulator....and if that doesnt work take of ur wep for the while and try it
 

Unknowndevil

Member
Newcomer
Joined
Sep 13, 2009
Messages
12
Trophies
0
XP
33
Country
United States
Lune said:
It could be a whole 64 bit user problem...but if u have wep enabled enter that password in the SOftap connection on the emulator....and if that doesnt work take of ur wep for the while and try it

I tried to input password on SoftAP connection but it says password is incorrect
but if i leave it blank it will eventually get to eroor 52000

And I don't really understand what you mean take of ur wep
 

Kingkiron

Member
Newcomer
Joined
Jan 30, 2008
Messages
14
Trophies
0
XP
94
Country
United States
I use win 7 64 bit and Ive been testing it for a bit. I can random battle and friend code battle and use union room, mystery gift, and maybe even dream world when its added. One thing I can't do though is battle someone else who uses an emulator or FC trade with anyone. GTS trades works but not FC trades. Overall very satisfied because random battles is all I want really.
 

Viren

New Member
Newbie
Joined
Mar 13, 2011
Messages
1
Trophies
0
XP
1
Country
United States
I'm trying to open Pokemon Black but it doesn't recognize the .dsv save file. In the terminal it says Unable to load Pokemon Black.dsv file..
any fixes?
 

Jaffar0

Member
Newcomer
Joined
Mar 16, 2008
Messages
5
Trophies
0
Age
33
Location
Warsaw
XP
162
Country
Poland
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.
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
@unkown devil....well disable the password..then u wouldnn't need to enter in anything right..also check routers firewall settings

@King kiron... i never tested FC trading or battling but what i know is that i have to setup my connection everytime i go on and also all the save wifi information gets reset...im not sure if thats the same for you...but the thing is when i was testing on a laptop..it save the connection..

@Viren open a topic elswhere for that..this is for discussing wifi not Pokemon Black/White specifically

@Jafar0...read through some posts and you might find something that will help you...and also the popup is the exact same thing u said.."the request by dns thing.." it brings up a window and you have to click continue or something like that..and it should work
 

TryForce

Member
Newcomer
Joined
May 28, 2010
Messages
6
Trophies
0
XP
10
Country
United States
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!!
h. In desmume's wifi settings (config->wifi), 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!
 

Unknowndevil

Member
Newcomer
Joined
Sep 13, 2009
Messages
12
Trophies
0
XP
33
Country
United States
Lune said:
@unkown devil....well disable the password..then u wouldnn't need to enter in anything right..also check routers firewall settings

@King kiron... i never tested FC trading or battling but what i know is that i have to setup my connection everytime i go on and also all the save wifi information gets reset...im not sure if thats the same for you...but the thing is when i was testing on a laptop..it save the connection..

@Viren open a topic elswhere for that..this is for discussing wifi not Pokemon Black/White specifically

@Jafar0...read through some posts and you might find something that will help you...and also the popup is the exact same thing u said.."the request by dns thing.." it brings up a window and you have to click continue or something like that..and it should work

Yes, I finally got it to work
I think you have to try many times before it actually work
thanks in advance
just want ask, can I trade to myself?
kinda want use a lot dragon pokemon in the beginnin
thanks
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
Yeah i think it should be possible..try FC trading for yourself or use the GTS

@Tryforce VERY good discovery....I would love to add this to the tutorial and give you huge amounts of credit if you don;t mind..
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Skelletonike @ Skelletonike: Welp, already have 40h in Stellar Blade and dying to home and put some more.