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
 

007shinobi

Active Member
Newcomer
Joined
Mar 12, 2011
Messages
25
Trophies
0
XP
34
Country
United States
Interesting.. maybe the disconnections are due to needing port forwarding? And, bigwolf, did you try to deleting the config.ini and enabling external bios and firmware w/o boot to ds option? (be sure to select the path for the files too)

btw: can someone try FC battling and trading on emulator to emulator?
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
@ fatal ruin and shinobi 007 thanks alot guys for carrying out testing, discussion and helping people...doing great
biggrin.gif
as ive said b4 busy with mock exams for CAPE ( somewhat equivelent to SAT's) so not getting much time
 

latios001

New Member
Newbie
Joined
Mar 26, 2011
Messages
2
Trophies
0
XP
1
Country
United States
hey, I have 1 question. how to play desmume wi-fi with modem wireless CDMA? I've tried your steps above. but I failed and get error 52000.
and should I enter WEP key, IP address, subnet mask, gateway primary DNS, and Secondary DNS on the wifi connection setting?
I really want to play Desmume with wi-fi and trading.
Oh, I am win 7 user. Is it possible to play Desmume wifi on it?
 

007shinobi

Active Member
Newcomer
Joined
Mar 12, 2011
Messages
25
Trophies
0
XP
34
Country
United States
It is very possible and it should not matter if it is cdma or gsm. Have you tried to run as administrator? And, you should not need to enter anything for the wifi configuration. (WEP key, etc.) Also, are you using cyanogenmod?
 

Arthuria99

New Member
Newbie
Joined
Mar 27, 2011
Messages
1
Trophies
0
XP
1
Country
Indonesia
Everytime I'm trying to make a WFC-trade it always ended up as a failure, it said "communication error please reset the game" but I can do GTS trade perfectly, what's happening?
 

BigWolf

New Member
Newbie
Joined
Mar 26, 2011
Messages
4
Trophies
0
XP
1
Country
007shinobi said:
And, bigwolf, did you try to deleting the config.ini and enabling external bios and firmware w/o boot to ds option? (be sure to select the path for the files too)

Had done this already, and it's still not remembering the Wi-Fi connection no longer, and also causing the FC to change upon connecting
 

007shinobi

Active Member
Newcomer
Joined
Mar 12, 2011
Messages
25
Trophies
0
XP
34
Country
United States
Sorry for asking simple questions but are you using desmume 0.9.7? And are you using "run as administrator"?

And, when you load up say any pokemon game, in the debug command prompt, do you get "save config- failed?"
 

FatalRuin

Member
Newcomer
Joined
Mar 9, 2011
Messages
19
Trophies
0
XP
6
Country
United States
So I was trying out the emulator to emulator trading but when I tried to connect to WFC on my 2nd emulator it doesn't work... Anyone else tried doing this yet?
 

Unknowndevil

Member
Newcomer
Joined
Sep 13, 2009
Messages
12
Trophies
0
XP
33
Country
United States
So guys
this is what I have conclude
I think one computer can only have one desmume open with connection
if you open the second emulator it doesn't work as it will disconnect
but (I think) if you got a DS and want trade yourself (the computer)
you may do that
I also tried GTS, but apperently it needs the pokemon you have seen on the pokedex, so that's why I asked for dratini in black but I haven't complete national dex so I couldn't find one.
Do not know if it is same for IR/WFC trade
p.s. DIDn't try if it can trade with other computer, as I can seem connect on other computer for some reason
 

TheSiitch

Member
Newcomer
Joined
Mar 24, 2011
Messages
10
Trophies
0
XP
1
Country
Canada
TheSiitch said:
Can anyone help me, when I search for wi fi it connects and everything the i Cant find IP, I tried everything but I dont know how to change my router firewall settings, Im using a 2Wire router, I went to the settings and it said im using a PPPoE connection type which I think is okay, but I dont know how to turn off the firewall or whatever, Im really new to working with my router my brother used to always handle that kind of stuff, Can anyone help it would be greatly appreciated.
Also in that black screen that comes up with DeSmuME it says on the side
Firmware: save config - failed
Firmware: save config - failed
does this mean anything
Still need some help please
 

FatalRuin

Member
Newcomer
Joined
Mar 9, 2011
Messages
19
Trophies
0
XP
6
Country
United States
Actually I still don't know how people managed to trade with themselves... is there some specific way to do that because the Wi-Fi club direct trade still disconnects at the very end for me and I can't find myself on the GTS using pokemon that are in both my game's pokedex...
 

Xio

New Member
Newbie
Joined
Mar 28, 2011
Messages
1
Trophies
0
XP
1
Country
United States
Been following from the sidelines. I can get a wired connection but I'm not going through the hassle every time I would want to connect since it involves grabbing a laptop(that isn't even mine) and getting an ethernet cable out and transferring save states to the laptop.

Anyways, with wireless, I've gotten to Error 52100. I can get as far as SoftAP Connected with DNS Requests to conntest.nintendowifi.net and then after about 6-7 requests like this it shuts down. From what I read, this is the farthest anyone has gotten with wLAN. I just made a static IP for my emulator on my router and forwarded all the ports (Using DMZ) for that specific IP. So, anyways, I know a good bit about wLAN. As far as I can tell, the connection can get into my router only because of DMZ. It isn't registering at all with the DHCP and isn't recorded in my DHCP Table when I check. This is why it won't work. I don't know enough about WinPCap to really get what's going on but maybe the info can help. Either way, like Triforce showed us, I'm absolutely positive if you used an external wifi signal(one that your computer isn't using to connect to the router) you should, in theory, be able to connect.(Assuming your router is configured properly) So, if you had, per se, a virtual machine running in the background and it had some way to interact with the original machine's device, you could work magic.

Tl;dr version: A separate device(and, in some cases, operating system) would be required for the DHCP to be able to recognize it as a separate entity from your connection.

Note that the above also supports what's going on with you guys who are trying to run two emulators from the same device.(Though I think an easy fix to that would simply be a virtual machine with WinPCap that also shares your wired connection)

Later Edit: Tried the same settings on a laptop and hooked it all up.(Via an ethernet cord, of course) Worked for entralink, trading, battles, mystery gifts, etc. Meaning neither my router nor my computer/firewall are the problems here.
 

verycoolguy

New Member
Newbie
Joined
Mar 28, 2011
Messages
1
Trophies
0
XP
1
Country
United States
After trying many times to fix error code 52000, the emulator was finally able to say Connection Success.

Now when I go to the Pokemon Center in White to at least obtain my FC on Wifi, I get "No compatible access point in range. Check your connection settings and try again." And I get error code 51300. Anyone know a solution?
 

latios001

New Member
Newbie
Joined
Mar 26, 2011
Messages
2
Trophies
0
XP
1
Country
United States
007shinobi said:
It is very possible and it should not matter if it is cdma or gsm. Have you tried to run as administrator? And, you should not need to enter anything for the wifi configuration. (WEP key, etc.) Also, are you using cyanogenmod?

no, I'm not using cyanogenmod. why? should I use it?
mellow.gif

oh yeea I have 1 problem, when I connected with wi-fi Connection, I got 1 source, SoftAP. then ,when I tried to connect again, an error 52000 appeared. I had folllowed the instructions and I was confused. I had disabled windows firewall (both home/work (private) network and public network) and firewall from my Internet Security (BitDefender). please help me. I have 2 option on wifi setting on Desmume, the first is Marvell Yukon Ethernet Card, the second is Microsoft. which one that I should choose?
mellow.gif
 

TFP

New Member
Newbie
Joined
Mar 28, 2011
Messages
3
Trophies
0
XP
5
Country
United States
I need help. I did all of the steps.
IT says SoftAp connected and about 30 seconds later it disconnects.
Wired Connection. I am not sure if I turned my firewall off correctly or if i turned my router firewall.
Please Help.
Something like this:
11qtzro.png

and i do run as administrate.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Sonic Angel Knight @ Sonic Angel Knight: :P