Trying to connect Mario Kart DS to Wiimmfi, ¡Successful!

    Trying to connect Mario Kart DS to Wiimmfi, ¡Successful!

    Hello everyone.

    First I want to say that my English is not very good, so sorry.
    I patched the ROM of Mario Kart DS with this patcher. (dragging the ROM to the executable Wfcpatcher.exe).

    Then, in Windows, I opened the MSDOS, and I typed ''ping wiimmfi.de'' and this has given me the IP address of Wiimmfi. Then, I put the patched ROM on my flashcard (R4) and i launched the Mario Kart DS.

    In the Nintendo WFC settings, in options, I erased the configuration of the WFC. Then I looked for an access point, I logged in it. In Auto-obtain DNS i set it in NO, and i put the ip address of Wiimmfi in the Primary and Secondary DNS.

    Finally, in the game I tried to connect to Wiimmfi, but it gave me an error code: 23933.
    From wiimmfi.de/error This error code means ''Missing required parameter login''. But what does that mean exactly?

    My english is bad... Sorry for that :wacko:
    The login packet (2 ore more Ethernet packets) is incomplete and therefore important params are missed.
    It is either
    * a wrong dolphin setup
    * network problems (mostly local WLAN)

    WIT: Wiimms ISO Tools
    Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen

    SZS: Wiimms SZS Tools
    Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.



    PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.
    Maybe, it is true for DS games. I have never seen a DS dump so I don't know it.

    WIT: Wiimms ISO Tools
    Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen

    SZS: Wiimms SZS Tools
    Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.



    PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.
    A short look into the log for failed logins I detected some differences between Wii games and MkDS.
    I have no time before Friday for deeper analysis.

    But it is nice if you ...
    * connect with different profiles
    * make a dump (if possible)
    * write down your IP, exact time (incl timezone) and the friend codes
    * send me all together as PM
    If I have a handful logs and dumps of different profiles, it is easier to find differences and the meanings of the parameters.

    WIT: Wiimms ISO Tools
    Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen

    SZS: Wiimms SZS Tools
    Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.



    PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.

    Wiimm schrieb:

    A short look into the log for failed logins I detected some differences between Wii games and MkDS.
    I have no time before Friday for deeper analysis.

    But it is nice if you ...
    * connect with different profiles
    * make a dump (if possible)
    * write down your IP, exact time (incl timezone) and the friend codes
    * send me all together as PM
    If I have a handful logs and dumps of different profiles, it is easier to find differences and the meanings of the parameters.
    The profile (WFC ID) is generated on the first connection (or on the connection test if it success).

    Traffic dump of the connection attempt (Error 23933) : mega.co.nz/#!9d9WkT7Q!3I27Atsw…L1FsOt7_92nsxW1B7hsWHYejM

    Look after a connection attempt (The connection generated no WFC ID as you can see) :
    There's always ALTWFC to support DS games
    Using Riivolution and want access to Wiimmfi?

    Download the NEW Wiimmfi Riivoluton LATE 2017 Update!

    FYI I use mkw-ana anytime I go on Mario Kart Wii. If you need a dump about a specific ban to analyze it please pm me the date since that's how I name my files (yyyy-mm-dd.eth)
    Do any DS games work at all on this server? I never really heard of anyone doing packet captures of DS games but mostly Wii games
    Using Riivolution and want access to Wiimmfi?

    Download the NEW Wiimmfi Riivoluton LATE 2017 Update!

    FYI I use mkw-ana anytime I go on Mario Kart Wii. If you need a dump about a specific ban to analyze it please pm me the date since that's how I name my files (yyyy-mm-dd.eth)
    @Wiimm:

    The DS is not sending a cfc parameter because it has no "console friend code" like the wii.
    So the Line " CheckParam(array('cfc'),'ACCTCREATE: ');" in ac.php throws an error.

    Disable the need for a cfc and it should work. The DS transmits the following on acctcreate:

    action="acctcreate"
    sdkver="001000"
    userid=the user id (same as wii "userid")
    passwd=XXX (any three-digit password to authenticate for a specific account. Needs to be saved in the DB and checked at login)
    gamecd="AMCP"
    makercd="01"
    unitcd="0"
    macadr=MAC of the DS
    lang=language code
    birth=two bytes indicating the birth date, can be ignored
    devtime=same as devtime on wii
    bssid=mac from Wlan-AP
    apinfo=Which connection is being used (first, second, third, USB-Connector)
    devname=Nickname of the user

    DevkitPro Archiv (alte Versionen / old versions): wii.leseratte10.de/devkitPro/
    Want to donate for Wiimmfi and Wii-Homebrew.com? Patreon / PayPal

    Dieser Beitrag wurde bereits 0 mal editiert, zuletzt von Leseratte ()

    Can anyone try to connect with MKDS with an already assigned friend code (assigned by Nintendo/Gamespy). The I need the FC and time of connection.

    WIT: Wiimms ISO Tools
    Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen

    SZS: Wiimms SZS Tools
    Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.



    PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.
    AltWfc is down at the moment, so i seted up my own instance of ALtWfc locally and connect on it. After that i connected the DS on Wiimfi, and the connection test succeed !

    Logs of my local server that generate the ID :
    Spoiler anzeigen

    login as: root
    [email protected]'s password:
    Access denied
    [email protected]'s password:
    Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 2.6.32-37-pve x86_64)


    * Documentation: help.ubuntu.com/
    Last login: Wed Apr 29 11:53:23 2015 from 158.70.21.109.rev.sfr.net
    root@vps-5519:~# cd dwc_network_server_emulator
    root@vps-5519:~/dwc_network_server_emulator# sudo python master_server.py
    [2015-04-30 13:45:25 | GamespyDatabase] [qCAd9ISI] STARTING: SELECT COUNT(*) FROM sqlite_master WHERE name = 'users' AND type = 'table'
    [2015-04-30 13:45:25 | GamespyDatabase] [qCAd9ISI] DONE: Took 0.000706911087036 real time / 0.000568 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [LK1rddtt] STARTING: CREATE UNIQUE INDEX IF NOT EXISTS users_profileid_idx ON users (profileid)
    [2015-04-30 13:45:25 | GamespyDatabase] [LK1rddtt] DONE: Took 9.3936920166e-05 real time / 5.2e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [tJveXBqW] STARTING: CREATE INDEX IF NOT EXISTS users_userid_idx ON users (userid)
    [2015-04-30 13:45:25 | GamespyDatabase] [tJveXBqW] DONE: Took 4.10079956055e-05 real time / 3.8e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [Mp65S6t5] STARTING: CREATE INDEX IF NOT EXISTS pending_messages_targetid_idx ON pending_messages (targetid)
    [2015-04-30 13:45:25 | GamespyDatabase] [Mp65S6t5] DONE: Took 0.000142097473145 real time / 3.7e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [vmFbO9kV] STARTING: CREATE UNIQUE INDEX IF NOT EXISTS sessions_session_idx ON sessions (session)
    [2015-04-30 13:45:25 | GamespyDatabase] [vmFbO9kV] DONE: Took 4.41074371338e-05 real time / 4.1e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [2fDHZtGG] STARTING: CREATE INDEX IF NOT EXISTS sessions_loginticket_idx ON sessions (loginticket)
    [2015-04-30 13:45:25 | GamespyDatabase] [2fDHZtGG] DONE: Took 4.19616699219e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [bceu7EtF] STARTING: CREATE INDEX IF NOT EXISTS sessions_profileid_idx ON sessions (profileid)
    [2015-04-30 13:45:25 | GamespyDatabase] [bceu7EtF] DONE: Took 4.19616699219e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [bbdqdxVj] STARTING: CREATE UNIQUE INDEX IF NOT EXISTS nas_logins_authtoken_idx ON nas_logins (authtoken)
    [2015-04-30 13:45:25 | GamespyDatabase] [bbdqdxVj] DONE: Took 4.10079956055e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [py188fJI] STARTING: CREATE INDEX IF NOT EXISTS nas_logins_userid_idx ON nas_logins (userid)
    [2015-04-30 13:45:25 | GamespyDatabase] [py188fJI] DONE: Took 4.79221343994e-05 real time / 4.4e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [td4GmKgz] STARTING: CREATE INDEX IF NOT EXISTS buddies_userProfileId_idx ON buddies (userProfileId)
    [2015-04-30 13:45:25 | GamespyDatabase] [td4GmKgz] DONE: Took 4.10079956055e-05 real time / 3.8e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [r3PgKMga] STARTING: CREATE INDEX IF NOT EXISTS buddies_buddyProfileId_idx ON buddies (buddyProfileId)
    [2015-04-30 13:45:25 | GamespyDatabase] [r3PgKMga] DONE: Took 4.10079956055e-05 real time / 4e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [QZgZqh8G] STARTING: CREATE INDEX IF NOT EXISTS gamestat_profile_profileid_idx ON gamestat_profile (profileid)
    [2015-04-30 13:45:25 | GamespyDatabase] [QZgZqh8G] DONE: Took 4.10079956055e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyBackendServer] Started server on 127.0.0.1:27500...
    [2015-04-30 13:45:25 | GameSpyProfileServer] Now listening for connections on 0.0.0.0:29900...
    [2015-04-30 13:45:25 | GameSpyPlayerSearchServer] Now listening for player search connections on 0.0.0.0:29901...
    [2015-04-30 13:45:25 | GameSpyGamestatsServer] Now listening for connections on 0.0.0.0:29920...
    [2015-04-30 13:45:25 | GameSpyQRServer] Server is now listening on 0.0.0.0:27900...
    [2015-04-30 13:45:25 | GameSpyServerBrowserServer] Now listening for connections on 0.0.0.0:28910...
    [2015-04-30 13:45:25 | GameSpyNatNegServer] Server is now listening on 0.0.0.0:27901...
    [2015-04-30 13:45:25 | NasServer] Now listening for connections on 127.0.0.1:9000...
    [2015-04-30 13:45:25 | StorageServer] Checking for and creating database tables...
    [2015-04-30 13:45:25 | StorageServer] Now listening for connections on 127.0.0.1:8000...
    [2015-04-30 13:45:25 | GameStatsServerHttp] Now listening for connections on 127.0.0.1:9002...
    127.0.0.1 - - [30/Apr/2015 13:45:52] "GET / HTTP/1.1" 200 -
    [2015-04-30 13:45:53 | NasServer] Request to /ac from ('127.0.0.1', 47586)
    [2015-04-30 13:45:53 | NasServer] {'lang': '02', 'gamecd': 'AMCP', 'makercd': '01', 'unitcd': '0', 'bssid': '000a78af0285', 'passwd': '707', 'devname': 'S\x00t\x00a\x00r\x00l\x00i\x00g\x00h\x00t\x00\x00\x00', 'userid': '8232619802644', 'macadr': 'ccfb65eae38f', 'apinfo': '00:0000000-0', 'devtime': '150430154526', 'birth': '021a', 'action': 'acctcreate', 'sdkver': '001000'}
    127.0.0.1 - - [30/Apr/2015 13:45:53] "POST /ac HTTP/1.1" 200 -
    [2015-04-30 13:45:53 | GamespyDatabase] [65GK7R0P] STARTING: SELECT max(userid) AS maxuser FROM users
    [2015-04-30 13:45:53 | GamespyDatabase] [65GK7R0P] DONE: Took 0.0081570148468 real time / 0.000635 processor time
    [2015-04-30 13:45:53 | NasServer] acctcreate response to ('127.0.0.1', 47586)
    [2015-04-30 13:45:53 | NasServer] {'retry': '0', 'userid': '8198260064277', 'returncd': '002', 'datetime': '20150430134553'}
    login as: root
    [email protected]'s password:
    Access denied
    [email protected]'s password:
    Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 2.6.32-37-pve x86_64)


    * Documentation: help.ubuntu.com/
    Last login: Wed Apr 29 11:53:23 2015 from 158.70.21.109.rev.sfr.net
    root@vps-5519:~# cd dwc_network_server_emulator
    root@vps-5519:~/dwc_network_server_emulator# sudo python master_server.py
    [2015-04-30 13:45:25 | GamespyDatabase] [qCAd9ISI] STARTING: SELECT COUNT(*) FROM sqlite_master WHERE name = 'users' AND type = 'table'
    [2015-04-30 13:45:25 | GamespyDatabase] [qCAd9ISI] DONE: Took 0.000706911087036 real time / 0.000568 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [LK1rddtt] STARTING: CREATE UNIQUE INDEX IF NOT EXISTS users_profileid_idx ON users (profileid)
    [2015-04-30 13:45:25 | GamespyDatabase] [LK1rddtt] DONE: Took 9.3936920166e-05 real time / 5.2e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [tJveXBqW] STARTING: CREATE INDEX IF NOT EXISTS users_userid_idx ON users (userid)
    [2015-04-30 13:45:25 | GamespyDatabase] [tJveXBqW] DONE: Took 4.10079956055e-05 real time / 3.8e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [Mp65S6t5] STARTING: CREATE INDEX IF NOT EXISTS pending_messages_targetid_idx ON pending_messages (targetid)
    [2015-04-30 13:45:25 | GamespyDatabase] [Mp65S6t5] DONE: Took 0.000142097473145 real time / 3.7e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [vmFbO9kV] STARTING: CREATE UNIQUE INDEX IF NOT EXISTS sessions_session_idx ON sessions (session)
    [2015-04-30 13:45:25 | GamespyDatabase] [vmFbO9kV] DONE: Took 4.41074371338e-05 real time / 4.1e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [2fDHZtGG] STARTING: CREATE INDEX IF NOT EXISTS sessions_loginticket_idx ON sessions (loginticket)
    [2015-04-30 13:45:25 | GamespyDatabase] [2fDHZtGG] DONE: Took 4.19616699219e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [bceu7EtF] STARTING: CREATE INDEX IF NOT EXISTS sessions_profileid_idx ON sessions (profileid)
    [2015-04-30 13:45:25 | GamespyDatabase] [bceu7EtF] DONE: Took 4.19616699219e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [bbdqdxVj] STARTING: CREATE UNIQUE INDEX IF NOT EXISTS nas_logins_authtoken_idx ON nas_logins (authtoken)
    [2015-04-30 13:45:25 | GamespyDatabase] [bbdqdxVj] DONE: Took 4.10079956055e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [py188fJI] STARTING: CREATE INDEX IF NOT EXISTS nas_logins_userid_idx ON nas_logins (userid)
    [2015-04-30 13:45:25 | GamespyDatabase] [py188fJI] DONE: Took 4.79221343994e-05 real time / 4.4e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [td4GmKgz] STARTING: CREATE INDEX IF NOT EXISTS buddies_userProfileId_idx ON buddies (userProfileId)
    [2015-04-30 13:45:25 | GamespyDatabase] [td4GmKgz] DONE: Took 4.10079956055e-05 real time / 3.8e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [r3PgKMga] STARTING: CREATE INDEX IF NOT EXISTS buddies_buddyProfileId_idx ON buddies (buddyProfileId)
    [2015-04-30 13:45:25 | GamespyDatabase] [r3PgKMga] DONE: Took 4.10079956055e-05 real time / 4e-05 processor time
    [2015-04-30 13:45:25 | GamespyDatabase] [QZgZqh8G] STARTING: CREATE INDEX IF NOT EXISTS gamestat_profile_profileid_idx ON gamestat_profile (profileid)
    [2015-04-30 13:45:25 | GamespyDatabase] [QZgZqh8G] DONE: Took 4.10079956055e-05 real time / 3.9e-05 processor time
    [2015-04-30 13:45:25 | GamespyBackendServer] Started server on 127.0.0.1:27500...
    [2015-04-30 13:45:25 | GameSpyProfileServer] Now listening for connections on 0.0.0.0:29900...
    [2015-04-30 13:45:25 | GameSpyPlayerSearchServer] Now listening for player search connections on 0.0.0.0:29901...
    [2015-04-30 13:45:25 | GameSpyGamestatsServer] Now listening for connections on 0.0.0.0:29920...
    [2015-04-30 13:45:25 | GameSpyQRServer] Server is now listening on 0.0.0.0:27900...
    [2015-04-30 13:45:25 | GameSpyServerBrowserServer] Now listening for connections on 0.0.0.0:28910...
    [2015-04-30 13:45:25 | GameSpyNatNegServer] Server is now listening on 0.0.0.0:27901.


    Hour of the connection : 15h46 GMT +1
    WFC ID : 8232-6198-0264-4000

    After that i tried to connect on Mario Kart DS, and got the error 23933 :

    Hour of the connection : 15h49 GMT +1 (just now)
    WFC ID : 8232-6198-0264-4000
    Mario Kart DS FC : 399431958529

    Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von Snek ()

    I asked, because of different reasons. First, save-nintendo-wifi.com tells me "The page you are looking for cannot be found." for all orig dumps I have tried. So I cant find a real answer for "acctcreate". But I have implemented now a new "acctcreate" function based on an old (and maybe wrong) reminder.

    The second reason is, that I planned to update also the login function. But this must now wait.

    So please try to login again.

    EDIT:
    It is only a fast and dirty implementation. I had no time for a real analysis of the dumps until tomorrow. So my changes are based on the log files.

    WIT: Wiimms ISO Tools
    Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen

    SZS: Wiimms SZS Tools
    Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.



    PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.
    @Wiimm: The server is complaining about a missing "gameid" ...

    Quellcode

    1. 30-20:21:07 ----- CONNECT 200.82.191.11:6561 => nas.nintendowifi.net
    2. action = acctcreate
    3. sdkver = 001000
    4. userid = 6513289905168 = 5thv59h0g
    5. passwd = 671
    6. gamecd = AMCP
    7. makercd = 01
    8. unitcd = 0
    9. macadr = 34af2ccbd8e8
    10. lang = 01
    11. birth = 0310
    12. devtime = 150430135421
    13. bssid = 74ea3afaa6ec
    14. apinfo = 00:0000000-0
    15. devname = E�l�o� �I�m� �B�A�Z�
    16. 30-20:21:07 #STAT 0 ACCTCR b=---------- h=------------- 200.82.191.11 200.82.191.11
    17. 30-20:21:07 #STAT 0 ABORT b=---------- h=------------- 200.82.191.11 200.82.191.11
    18. 30-20:21:10 #ABORT: HTTP/1.0 934 Invalid login parameter : gameid 210 : 200.82.191.11
    Alles anzeigen

    DevkitPro Archiv (alte Versionen / old versions): wii.leseratte10.de/devkitPro/
    Want to donate for Wiimmfi and Wii-Homebrew.com? Patreon / PayPal

    Dieser Beitrag wurde bereits 0 mal editiert, zuletzt von Leseratte ()

    Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von Leseratte ()

    @Leseratte:
    gameid is only an typo of the error message. I checked the length of gamecd, and it is not the expected 4.

    WIT: Wiimms ISO Tools
    Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen

    SZS: Wiimms SZS Tools
    Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.



    PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.
    Now tell me again that this string does not have a length of 4 :P :

    Quellcode

    1. gamecd = AMCP

    The Wiimmfi-Server is checking for "gsbrcd" (even if the error says gameid), and gsbrcd is not used by the DS.

    DevkitPro Archiv (alte Versionen / old versions): wii.leseratte10.de/devkitPro/
    Want to donate for Wiimmfi and Wii-Homebrew.com? Patreon / PayPal

    Dieser Beitrag wurde bereits 0 mal editiert, zuletzt von Leseratte ()

    This is the code:

    Quellcode

    1. $g_id = $_POST['gamecd'];
    2. if ( strlen($g_id) != 4 )
    It may be UTF16 (2 bytes per char), because the length is 8.

    WIT: Wiimms ISO Tools
    Verwaltet Plain ISO, WDF, WIA, CISO, WBFS, FST: kann Extrahieren, Erstellen, Patchen, Mischen und Überprüfen

    SZS: Wiimms SZS Tools
    Verwaltet SZS-, BRRES-, U8-, BMG-, BREFT-Dateien uvm.



    PN ohne persönlichen Charakter werden ignoriert. Support-Anfragen gehören ins Forum.