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
 

Jooken

Member
Newcomer
Joined
Mar 14, 2011
Messages
8
Trophies
0
XP
1
Country
Canada
Lune said:
So random battle isnt working? did u close the emulator after testing? because if u did u have to set it up again

well the thing is that, after the test, i press back so i can load the game and it disconnects in the cmd window.
+also to add another thing. this version of DesmuME doesn't allow you to save normally or even save state, so i changed the path settings for it and i can only load my saved game directly from the last save state now.
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
My version allows me to save and load games just fine and also use save states i think.. and yes u supposed to press back and it will disconnect the wifi of course..but u should be able to connect anytime after that ingame and also on mystery gift... on the cmd
'
EDIT: just tested and got the liberty pass..
 

Jooken

Member
Newcomer
Joined
Mar 14, 2011
Messages
8
Trophies
0
XP
1
Country
Canada
Lune said:
My version allows me to save and load games just fine and also use save states i think.. and yes u supposed to press back and it will disconnect the wifi of course..but u should be able to connect anytime after that ingame and also on mystery gift... on the cmd
'
EDIT: just tested and got the liberty pass..

This time it let me get the liberty pass but I still have the "Normal Saving problem"
I have to open my game through the Save State and by doing that it means I can't load the title screen, where i'm supposed to get the liberty pass.
ohnoes.png


(Haven't tried battles or friend codes yet)

EDIT: Erm... *cough* I fixed it >_>

*stares at the path settings an sees a the wrong file chosen*

Anyways~ Thank you very much for the tutorial.
 

007shinobi

Active Member
Newcomer
Joined
Mar 12, 2011
Messages
25
Trophies
0
XP
34
Country
United States
@Jooken: Set the correct paths for the Path settings on Desmume. At least, thats what I think fixed my save issues.

Oops sorry didn't notice you changed your path settings and I guess everyone has issues with FC trading.
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
@jooken yip your welcome

@007 shinobi... well i stll didnt WLAN wifi on the laptop to work but there is always a saved connection in the wifi settings (ingame) where the SSID is default and everything else is auto obatain.. not sure why this happens though
 

Nanis

Member
Newcomer
Joined
Jun 3, 2006
Messages
8
Trophies
0
XP
138
Country
Iceland
It's weird...
In Pokemon Black,the GTS works perfectly
But when I try the wi-fi Club,it does not work
Both my game and my brother's get into an empty room..
 

lidonido

New Member
Newbie
Joined
Mar 17, 2011
Messages
1
Trophies
0
XP
1
Country
France
Hi!
So i tried to access the WFC too using u're tutorial but when i test the access point i get :

WIFI: SoftAP connected!
WIFI: SoftAP : detected DNS request to conntest.nintendowifi.net
WIFI: SoftAP : detected DNS request to conntest.nintendowifi.net
WIFI: SoftAP : detected DNS request to conntest.nintendowifi.net
WIFI: SoftAP disconnected

Andi i get 52100 error .
I'm using a modem connection and i have antivirus and firewall disabled so if anybody can help me pls !
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
What games is this?? is it ingame or in wifi setup...and also that is what supposed to happen..di u get a popup which u phad to click something?
 

slytherx

Member
Newcomer
Joined
Mar 18, 2011
Messages
7
Trophies
0
XP
95
Country
United States
Hi all,
I managed to compile the latest SVN revision (3947) of desmume with wifi enabled by modifying some of the code in wifi.cpp (support for WFC was removed in revision 3654 but enabling it again is trivial). He are my builds http://www.megaupload.com/?d=SMMWUSN7 if you want to know more PM me! Hopefully it works for you as well as it did for me! Follow the same instructions here to get it working
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
OMG...are u the same guys who said u managed to do it ..the same person from emu forums??? thank u soo much..


EDIT : OK GUYS UPDATING TUTORIAL NOW AT THE MOMENT....
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
ok thanks a milllion...the only things that still confuse me are:

1. why wifi settings do not save...
2. why it doesnt on work on WLAN connections..


EDIT: ALright tutorial edited..anything u guys dont like or would like to add feel free to post ur ideas and i would change..

EDIT 2:guys doing testing with the emulator and finding out some intresting stuff..again all possible thanks to slytherx

EDIT: this is sorta weird but when i used the emulator for the first time it already had the Soft ap connection... so when i tested it it worked and all..and also in the cmd it was saying firmware: save config : done..but now when i close the emulator and re open it it says firmware: save conig failed and all the wifi settings get erased...would be nice if other people tested the emulator also on 0.9.6 and 0.9.7 using the arm 9 and arm 7 is not necessary to go on wifi and emulator ran pokemon white MUCH smoother and faster for me
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
Well when for the first time i open up the emulator..the soft ap connection is there...but then the config doesnt save when exited
 

Jayc

Active Member
Newcomer
Joined
Mar 14, 2009
Messages
38
Trophies
1
XP
211
Country
Senegal
Lune said:
EDIT: this is sorta weird but when i used the emulator for the first time it already had the Soft ap connection... so when i tested it it worked and all..and also in the cmd it was saying firmware: save config : done..but now when i close the emulator and re open it it says firmware: save conig failed and all the wifi settings get erased...would be nice if other people tested the emulator also on 0.9.6 and 0.9.7 using the arm 9 and arm 7 is not necessary to go on wifi and emulator ran pokemon white MUCH smoother and faster for me

Lune, say that slowly. I don't understand the last sentence at all, do you mean:

this -Pokemon White is much faster on 0.9.7
or this -using arm 9 and arm 7 is not necessary to go on wifi
or this -using arm 7 is not necessary to go on wifi
or this -it is not necessary to go on wifi

???
 

Lune

Well-Known Member
OP
Newcomer
Joined
Aug 28, 2009
Messages
94
Trophies
0
XP
115
Country
Chad
Just saying that i don't need to use arm 9 nor arm 7 to go on wifi and also it only sped up because the "advance bus timing" thing is disabled
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Xdqwerty @ Xdqwerty: Hello