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
 

RandeepSingh

Member
Newcomer
Joined
Jan 28, 2012
Messages
5
Trophies
0
XP
1
if i change my ssid i get error 51099 ??? if i dont i get error 52100... im literally begging u guys!!! plz help.. i created an account here just so i could post on this forum!!
 

ZidaneTribal

New Member
Newbie
Joined
Feb 2, 2012
Messages
1
Trophies
0
XP
1
I get error code 20100 and 24101 when trying to connect to pokemon white gts
but when i try testing my connection it says it is successful.

ive also tried connecting with a friend using pokemon wifi club and it works fine when connecting with it,
but when joining a battle or trade it always ends up with an error..

can somebody help me please? x_x
im on windows xp using desmume.
 

kungfumidget

New Member
Newbie
Joined
Feb 3, 2012
Messages
2
Trophies
0
XP
24
Country
Can someboy help me everytime i try to trade with someone or go to someones town in animal crossing... I get error 86420 ... I know my internet is working cos i can send pokemon to dream world
 

slytherx

Member
Newcomer
Joined
Mar 18, 2011
Messages
7
Trophies
0
XP
95
Country
United States
Hi all I've had some requests for a more recent svn build so here's a completely untested version compiled from the most recent code. If there are any problems please report them.
Link: https://rapidshare.com/files/7598221/desmume_wifi_r4175.zip
 

danz5557

New Member
Newbie
Joined
Feb 10, 2012
Messages
4
Trophies
0
XP
1
Country
Malaysia
Error Code 20104 and 52000 Fix :

First the only version that worked for me is this
DeSmuME 0.9.7 svn3947 with WinPcap : http://www.mediafire.com/download.php?r80vhao950i8tgy

Now open your DeSmuME as administrator for Windows 7/Vista
​As usual you will see this

Capture-1.jpg


What you gotta do is download these firmware.dfc
1. Firmware.dfc : http://www.mediafire.com/?cg6oyb6btcnfhyb
(Credit to John246l)​
2.​
Put your firmware.dfc to your DeSmuME folder.

2.jpg


Now just pressing CTRL+R to reset the emulator and it might fix the problem.

3.jpg


Now go test your connection and you will notice it says connection succesful.

4.jpg


Hope this help everyone...^^
 

Muuv Stehpah

New Member
Newbie
Joined
Feb 19, 2012
Messages
3
Trophies
0
XP
1
Country
United States
Error Code 20104 and 52000 Fix :

First the only version that worked for me is this
DeSmuME 0.9.7 svn3947 with WinPcap : http://www.mediafire...r80vhao950i8tgy

Now open your DeSmuME as administrator for Windows 7/Vista
​As usual you will see this



What you gotta do is download these firmware.dfc
1. Firmware.dfc : http://www.mediafire...cg6oyb6btcnfhyb
(Credit to John246l)​


2.​

Put your firmware.dfc to your DeSmuME folder.




Now just pressing CTRL+R to reset the emulator and it might fix the problem.



Now go test your connection and you will notice it says connection succesful.



Hope this help everyone...^^

I have error 52000 and I have followed the tutorial and your instructions, and these are my current conditions:

I am connected directly to a wired modem that has no configuration options.
I am running Windows 7 Home Premium 64-bit, factory image.
My firewall is completely off.
I am running r4178 fix x86.
None of the other revisions have worked.
I am already an administrator so I do not need to do so for the executable specifically, unless it is required.
I have added WinPCap to my DEP exceptions list. I cannot add 64-bit executables.
I am following all directions to the dot.

How would I solve my problem? Do I need to call my ISP and ask them if I can access my router in-depth?
 

danz5557

New Member
Newbie
Joined
Feb 10, 2012
Messages
4
Trophies
0
XP
1
Country
Malaysia
I have error 52000 and I have followed the tutorial and your instructions, and these are my current conditions:

I am connected directly to a wired modem that has no configuration options.
I am running Windows 7 Home Premium 64-bit, factory image.
My firewall is completely off.
I am running r4178 fix x86.
None of the other revisions have worked.
I am already an administrator so I do not need to do so for the executable specifically, unless it is required.
I have added WinPCap to my DEP exceptions list. I cannot add 64-bit executables.
I am following all directions to the dot.

How would I solve my problem? Do I need to call my ISP and ask them if I can access my router in-depth?


You are using r4178
I said it only worked on Desmume Svn3947!
You better change your version to Svn3947.
 

Muuv Stehpah

New Member
Newbie
Joined
Feb 19, 2012
Messages
3
Trophies
0
XP
1
Country
United States
I have error 52000 and I have followed the tutorial and your instructions, and these are my current conditions:

I am connected directly to a wired modem that has no configuration options.
I am running Windows 7 Home Premium 64-bit, factory image.
My firewall is completely off.
I am running r4178 fix x86.
None of the other revisions have worked.
I am already an administrator so I do not need to do so for the executable specifically, unless it is required.
I have added WinPCap to my DEP exceptions list. I cannot add 64-bit executables.
I am following all directions to the dot.

How would I solve my problem? Do I need to call my ISP and ask them if I can access my router in-depth?


You are using r4178
I said it only worked on Desmume Svn3947!
You better change your version to Svn3947.

I mentioned that none of the revisions I've used have worked. I have used several revisions across several forums that were reported to have been successful.

To be honest, I actually tried r3947 first, but it was unsuccessful. In fact, it keeps telling me that it's going to have to nuke packets.

Every revision I've tried gives me error 52000, so I have no idea what to do.
 

danz5557

New Member
Newbie
Joined
Feb 10, 2012
Messages
4
Trophies
0
XP
1
Country
Malaysia
I mentioned that none of the revisions I've used have worked. I have used several revisions across several forums that were reported to have been successful.

To be honest, I actually tried r3947 first, but it was unsuccessful. In fact, it keeps telling me that it's going to have to nuke packets.

Every revision I've tried gives me error 52000, so I have no idea what to do.


Do you have wired connection?

If you have wired connection and still get Errorcode 52000 then you need to Disable Extra Networks and Firewall.
 

Muuv Stehpah

New Member
Newbie
Joined
Feb 19, 2012
Messages
3
Trophies
0
XP
1
Country
United States
I mentioned that none of the revisions I've used have worked. I have used several revisions across several forums that were reported to have been successful.

To be honest, I actually tried r3947 first, but it was unsuccessful. In fact, it keeps telling me that it's going to have to nuke packets.

Every revision I've tried gives me error 52000, so I have no idea what to do.


Do you have wired connection?

If you have wired connection and still get Errorcode 52000 then you need to Disable Extra Networks and Firewall.

I mentioned that I have a wired connection.
I have disabled extra networks and I mentioned that I turned Windows Firewall off completely.

My first post explains everything that I've already done, so I'm at a huge loss.
 

PavPev

New Member
Newbie
Joined
Feb 23, 2012
Messages
1
Trophies
0
XP
1
Country
Hey I am having a nightmare trying to get this to work for me! I was wondering if anyone could help me troubleshoot anything I haven't thought of or done already!

I used both the guide here and the one on Romulation to get WIFI working but it all ends up with error code: 52101
So I followed the help and changed my IP and DNS settings to manual as suggested and now its error code: 52100
So I had a look at the router, it's a Netgear Virgin Media crap one so not many settings, but I tried channel 11 instead of 1 and I also noticed that when I'm testing my connection, I can see a 'Nintendo DS' on the client list, so at least it's getting that far!

I also had a look in the cmd window whilst its testing connection and I can a line saying
WIFI: SoftAP dosconnected
That pops up just before either error.

So I've also tried all the above on another computer, it was on a Windows 7 laptop, now on a Windows 7 desktop, both with UAC and all firewalls turned off and an Admin account and still run as admin too, just in case!
Same errors.
So I went back to r4003, I was using r4153, same errors
So I went WAY back to svn3947, also because it uses WinPcap v4.1.1 instead of v4.1.2, just in case it was that...no change
I've also tried a few different firmwares, so many different combinations of settings in Config>Wifi and emulator but I still get these same error codes!
I really don't know what else to try! I hate posting noobish stuff like this because I always like to troubleshoot it for myself, as I have done, but I am pretty stuck now...

Thanks in advance!

Pav

p.s. the game I am trying to get online with is Pokemon Diamond...because I'm sad like that...
 

V1no12

New Member
Newbie
Joined
Feb 24, 2012
Messages
1
Trophies
0
XP
1
Country
United States
So I have done all the steps required and the only thing I can't do is change to Infrastructure mode i don't have a fake IP or hamachi I have a wired internet connection but nothing comes down in the wi-fi drop down box also I can't install WinPcap it says a older version in already installed then aborts the install although I have never installed it but some people say you don't need need it help please. :/
 

yoyoma724

New Member
Newbie
Joined
Mar 12, 2012
Messages
1
Trophies
0
XP
1
Country
United States
-have a wired connection with wireless turned off
-have winpcap installed
-norton and windows firewalls disabled
-run desmume as administrator
-using external arm9 and arm7 bios images and firmware
-boot from firmware and enable bus-level timing both checked off
-infrastructure marked off in wifi settings

When I try testing the connection I'll have green bars for a while then they turn red and I get either 52000 or 24101 error message.

I tried putting in my router's WEP key but then the bars stay red the whole time and I get a message saying to check that the WEP is correct. When I try putting in my IP address it won't even test the connection, saying the settings are invalid.

EDIT: I tried svn3947, but same issues. I don't know if these settings matter, but it seems whenever I enter the WEP key the bars stay red. I filled in all the settings below that though (IP address, gateway, DNS, etc.) and it took longer to test but still gave me an error.

Do I appear to be missing any steps?

Thanks a lot to the guy who posted the tutorial and to everyone who's trying to help out.
 

slytherx

Member
Newcomer
Joined
Mar 18, 2011
Messages
7
Trophies
0
XP
95
Country
United States
I've had a bit more time to look at the wifi code and managed to get the newest revision of desmume working on wifi using the old wifi code. Download/test here http://www.mediafire.com/?d1t27t64c2rzr3u
 
  • Like
Reactions: 1 person

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • TwoSpikedHands @ TwoSpikedHands:
    @Sicklyboy I am wanting to fully change the game and bend it to my will lol. I would like to eventually have the ability to add more characters, enemies, even have a completely different story if i wanted. I already have the ability to change the tilemaps in the US version, so I can basically make my own map and warp to it in game - so I'm pretty far into it!
  • TwoSpikedHands @ TwoSpikedHands:
    I really would like to make a hack that I would enjoy playing, and maybe other people would too. swapping to the EU version would also mean my US friends could not legally play it
  • TwoSpikedHands @ TwoSpikedHands:
    I am definitely considering porting over some of the EU features without using the actual ROM itself, tbh that would probably be the best way to go about it... but i'm sad that the voice acting is so.... not good on the US version. May not be a way around that though
  • TwoSpikedHands @ TwoSpikedHands:
    I appreciate the insight!
  • The Real Jdbye @ The Real Jdbye:
    @TwoSpikedHands just switch, all the knowledge you learned still applies and most of the code and assets should be the same anyway
  • The Real Jdbye @ The Real Jdbye:
    and realistically they wouldn't

    be able to play it legally anyway since they need a ROM and they probably don't have the means to dump it themselves
  • The Real Jdbye @ The Real Jdbye:
    why the shit does the shitbox randomly insert newlines in my messages
  • Veho @ Veho:
    It does that when I edit a post.
  • Veho @ Veho:
    It inserts a newline in a random spot.
  • The Real Jdbye @ The Real Jdbye:
    never had that i don't think
  • Karma177 @ Karma177:
    do y'all think having an sd card that has a write speed of 700kb/s is a bad idea?
    trying to restore emunand rn but it's taking ages... (also when I finished the first time hekate decided to delete all my fucking files :wacko:)
  • The Real Jdbye @ The Real Jdbye:
    @Karma177 that sd card is 100% faulty so yes, its a bad idea
  • The Real Jdbye @ The Real Jdbye:
    even the slowest non-sdhc sd cards are a few MB/s
  • Karma177 @ Karma177:
    @The Real Jdbye it hasn't given me any error trying to write things on it so I don't really think it's faulty (pasted 40/50gb+ folders and no write errors)
  • DinohScene @ DinohScene:
    run h2testw on it
    +1
  • DinohScene @ DinohScene:
    when SD cards/microSD write speeds drop below a meg a sec, they're usually on the verge of dying
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    Samsung SD format can sometimes fix them too
  • Purple_Heart @ Purple_Heart:
    yes looks like an faulty sd
  • Purple_Heart @ Purple_Heart:
    @Psionic Roshambo i may try that with my dead sd cards
    +1
  • Psionic Roshambo @ Psionic Roshambo:
    It's always worth a shot
  • TwoSpikedHands @ TwoSpikedHands:
    @The Real Jdbye, I considered that, but i'll have to wait until i can get the eu version in the mail lol
  • I @ I-need-help-with-wup-wiiu:
    i need help with nusspli failed downloads, can someone respond to my thread? pretty please:wub:
  • Sheeba- @ Sheeba-:
    I can't wait to hack my 11.00 PS4 pro
    Sheeba- @ Sheeba-: I can't wait to hack my 11.00 PS4 pro