Thanks superfranci.
I have finished the programs. Here they are with a little tutorial:
What you need
* A computer with Windows (it works with VirtualBox too).
* Wired (Ethernet) Internet connection (in VirtualBox it isn't needed).
* SSL Autopatcher v1.4:
http://www.mediafire.com/download/s5ucc79m6xzrtis/SslPatcher_v1.4.zip
* Desmume PCAP v1.2:
http://www.mediafire.com/download/x5odqqph39oaurs/DeSmuME_PCAP_v1.2.zip
* NDS BIOS and Firmware for DeSmuME. It's on Internet.
Steps:
1.- Select a game. Here there is a list of affected games from Nintendo:
http://www.nintendo.com/consumer/gameslist/en/games-wifi.jsp
2.- Drag & drop the game over
SslPatcher.exe. The program will patch it (if needed) to use only HTTP instead of HTTPS. In that case, it will create a new ROM file in the same folder as the original ROM and appending to the file name "[NOSSL]".
3.- Copy BIOS and Firmware files inside
Firmware folder of DeSmuME.
4.- Open DeSmuME PCAP.
4.A.- Go to
Config->Wifi Settings. Select
Infrastructure and in the menu select your Ethernet network card.
4.B.- Go to
Config->Emulation Settings. Check "Use external BIOS images" and select the BIOS files. Check "Use external firmware image" and select the Firmware file.
5.- Play
Once the setup is done, you just need to patch a game and play it.
If you
can not have an Ethernet connection there are two alternatives as far as I know:
1.- By using two computer and an Ethernet cable, connect them with the cable and in the computer you have the 3G / Wi-Fi connection, configure the network adapter to share the connection with the Ethernet adapter. By doing that the second computer will have Internet using Ethernet and DeSmuME will work there. I can give instruction for both Windows and Linux if anyone need them.
2.- The easier way would be installing Windows inside Virtualbox. In this case just follow the steps, there isn't any extra config.
NOTE 1: You do
not need to configure the Wireless connection inside the game. That should be taken from
firmware.dfc file (included). The configuration uses the SSL tunnel of Toad King. If you need / want to configure manually just put as DNS server the following address: 199.195.254.155
NOTE 2: Each time you connect to the WFC, DeSmuME will create one (or more than one) ".pcap" file. In that file all the packets sent or received are stored. You can open it with Wireshark. This is the file to share.
NOTE 3: Pay attention if you move DeSmuME of folder, you will need to make all the setup again since the paths in the
desmume.ini file are absolute and will point to the old location. This can cause a 20104 error.