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
 

trigao

Ninten
Member
Joined
Nov 21, 2008
Messages
913
Trophies
1
Age
33
XP
1,934
Country
Brazil
with this, i can play wireless between my ds and my computer.... NO WIFI... just wireless... to trade via union room, black city and white forest stuff, entralink????

here, wifi works normally, but i want wireless... cuz entralink stuff only works with wireless.... someone knows?
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
@triago..u checked the first par of error troubleshooting?? make sure everythings good there..

@xio.. I think it was something to do with winpCAP also and probably there are other programs like it out there..not to sure tho
 

burekovic

New Member
Newbie
Joined
Mar 29, 2011
Messages
1
Trophies
0
XP
1
Country
United States
Dear gbatemp users i can play pokemon white online now but one problem persists and that is that game is pretty much slow is there ANY way to speed up the game ANY way ? & i have and idea is it possible to play pokemon offline on no$gba and then when i want to play online i go to desmume and use that save file from no$gba?
 

Fynezilla

Member
Newcomer
Joined
Mar 20, 2011
Messages
9
Trophies
0
XP
18
Country
im on win 7 64 bit and ive got Dsemu working online with pokemon black/ white Great tutorial ty my only issue is that when i start the game it creates a firmware.dfc file and i can setup the wifi and go online and everything is fine.
The next Time i open up desemu it comes up with "before you begin you must adjust system settings please touch the touch screen or press any button to continue"

Anyway i go ahead and fill in all the data and it says "in order for these new settings to take effect you must shutdown your system Shutdown now and the only option is Cancel or Ok,

i hit ok and it closes the rom i restart it and it goes straight back to the same screen

In the desmume.ini file it has a whole lot of paths and i have fixed all of those up, the one for firmware says

"C:\Users\john\Desktop\DSemu with wifi\" (i also tryed specifying the exact file name)

for the path and in the output window when i enter values and hit ok it says Firmware - Save Config - Done

So it looks like its saving the values and after the last option is entered and it restarts the firmware.dfc file is created.

But for some reason none of the settings are saved and when i reopen the rom again it asks me to enter it all again,

my current solution is just to delete the firmware.dfc file before i play and then i can go online and play etc, but i cant understand why its not saving that firmware information
Any help would be appreciated
 

trigao

Ninten
Member
Joined
Nov 21, 2008
Messages
913
Trophies
1
Age
33
XP
1,934
Country
Brazil
Lune said:
@triago..u checked the first par of error troubleshooting?? make sure everythings good there..

@xio.. I think it was something to do with winpCAP also and probably there are other programs like it out there..not to sure tho


isnt errors.... i just want use the entralink feature to interact with white forest and black city, which only works with 2 ds in wireless mode
 

BigWolf

New Member
Newbie
Joined
Mar 26, 2011
Messages
4
Trophies
0
XP
1
Country
007shinobi said:
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?"

I had replied to this, but it's disappeared

Anyway
Running the wi-fi desmume from this thread under admin privileges
And yes, it I get "save config - failed"
 

007shinobi

Active Member
Newcomer
Joined
Mar 12, 2011
Messages
25
Trophies
0
XP
34
Country
United States
@Fynezilla: disable boot-to-ds

@BigWolf: weird.. enabling external bios and selecting the bios files is what fixed the issue for me. Is there a firmware.dfc present in your desmume folder?
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
@trigao ... This is a tutorial for WI-FI...you want to use the entral link which is WIRELESS CONNECTION...i do not know any emulator that supprts WIRELESS..
 

Fynezilla

Member
Newcomer
Joined
Mar 20, 2011
Messages
9
Trophies
0
XP
18
Country
007shinobi said:
@Fynezilla: disable boot-to-ds

@BigWolf: weird.. enabling external bios and selecting the bios files is what fixed the issue for me. Is there a firmware.dfc present in your desmume folder?

Thanks for the quick reply shinobi where is boot to ds?

ive gone to Config in Dsemu >Emulation settings and unticked Boot From Firmware? that seems to have stopped it from asking for the firmware settings each time not sure if thats what you meant

Ok so ive got the GTS working on 2 different pcs both using emulators, however they never see each other on the GTS i have no idea why, im using a wired connection, when i go on the Wifi Club they both go into the waiting room and i go up to the pc and hit trade or battle and i get a Error Code: 91010 , http://www.nintendo.com/consumer/wfc/en_na...mp;locale=en_US

Which ninteno says is an issue with the friend roster, both of the emulators have the right friend code in the pal pad so not sure.

Has anyone else got Emulator > Emulator Trading working, the gts works but i cant make both emulators find each other in the gts, and in the wifi club or union room they just dont see each other properly, All of my pcs are connected through the same adsl modem router and like i said it works with the gts but not locally.Firewall is disabled and ive added avg antivirus acceptions
 

Jooken

Member
Newcomer
Joined
Mar 14, 2011
Messages
8
Trophies
0
XP
1
Country
Canada
Hey guys, I'm back hahah.
I was able to get the Liberty ticket and all, which is cool: however, I came back and read through all of these new posts and I haven't seen anyone having my problem here.
I can connect online to the point where I see my friend in the Wifi club. but when I try and trade or battle with them I get an 86420 Error. Now I tried to check it out on the nintendo site and stuff, But I have no Anti-virus, Firewall, Router Firewall. nothing that can be blocking this. Any suggestions? Should i delete everything and restart the step by step instructions with the new edited stuff in it?
 

007shinobi

Active Member
Newcomer
Joined
Mar 12, 2011
Messages
25
Trophies
0
XP
34
Country
United States
My bad Fynezilla I meant to say boot from firmware and thats weird because one time I've ran two ds emulators on my comp and they see each other sometimes but I never got to the point where I could trade and get stuck in trying to communicate (eventually disconnecting).

@Jooken: yeah you should try again from scratch but to be honest I have not been able to test much so I cannot say much on that error. Perhaps if your router supports it, allow upnp? Or try port forwarding? And if all fails, try dmz? Just some suggestions, wish I could help more
frown.gif
 

Jooken

Member
Newcomer
Joined
Mar 14, 2011
Messages
8
Trophies
0
XP
1
Country
Canada
007shinobi said:
My bad Fynezilla I meant to say boot from firmware and thats weird because one time I've ran two ds emulators on my comp and they see each other sometimes but I never got to the point where I could trade and get stuck in trying to communicate (eventually disconnecting).

@Jooken: yeah you should try again from scratch but to be honest I have not been able to test much so I cannot say much on that error. Perhaps if your router supports it, allow upnp? Or try port forwarding? And if all fails, try dmz? Just some suggestions, wish I could help more
frown.gif


@007shinobi: Ya it's weird. I am able to connect to a few people but some friends that I REALLY want to connect to, it either gives me that error or it says "connecting" then stops after 20 secs. I guess I might as well redo all the steps, and make a new folder.

Edit 1: All of them are DS friends. I tried to trade myself but I can only connect 1 emu to the internet on one computer. (none of my friends have the DS emu for me to try)
Edit 2: And those 2 that I can't connect to are able to connect with all of their other friends. So I don't think they have problems or I have problems. It's almost making no sense.
 

BigWolf

New Member
Newbie
Joined
Mar 26, 2011
Messages
4
Trophies
0
XP
1
Country
007shinobi said:
@BigWolf: weird.. enabling external bios and selecting the bios files is what fixed the issue for me. Is there a firmware.dfc present in your desmume folder?

I have

However, I've now noticed that firmwares wi-fi settings are only read from the file when I do a reset (Ctrl-R)
Thus far, I've been able to keep my FC the same, providing I remember to reset as soon as I launch
 

CaptainZef

Well-Known Member
Member
Joined
Sep 14, 2009
Messages
111
Trophies
1
XP
277
Country
Canada
I have a wired connection set up now, but it still gives me the Error 52000.
It connects for a little bit, then the connection drops dead and doesn't work...
 

Shockem

New Member
Newbie
Joined
Mar 31, 2011
Messages
1
Trophies
0
XP
5
Country
United States
Hey guys, I have setup a USB Android (Droid /w Gingerbread) Tether using this tutorial. So far I have not been successful in getting the connection to work. I always get WIFI: SoftAP connected!..... few secs later disconnected.

"Unable to obtain IP address" - error I receive.

Disabled firewalls and installed your WinPcap even knowing I had a newer version I installed over it. Rebooted and no success.

Also BTW I fixed my problem with Firmware not saving by using the appropriate x64 or x84 version. Also putting JUST that version in its OWN folder... running it without anything else there, then putting the other appropriate files in the SAME folder.

Can anyone explain how this actually works? What is bridging? Is there bridging involved? Do you need only LAN? Can you trade and battle with close by DS?

Thanks guys and keep up the good work!

P/S Droid X Rooted Wifi doesn't work either. (Tethering because college network is BS)
 

007shinobi

Active Member
Newcomer
Joined
Mar 12, 2011
Messages
25
Trophies
0
XP
34
Country
United States
In Desmume click config (below the title) click the emulation settings under where you see BIOS click the checkbox next to "Use external BIOS images". Choose the path for ARM9 and ARM7 (most likely if you downloaded the old wifi pack it should be in the same folder with desmume)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: I better over react and get all fussy for the lols