PES Wii series (2008-2013) on Wiimmfi

      PES Wii series (2008-2013) on Wiimmfi

      The Pro Evolution Soccer series on the Wii employ an unique so called Playmaker control scheme that works akin to RTS games, something that still hasn't been recreated in another sports game or on any other platform (yes, not even by Konami). The Playmaker control scheme allows intuitive access to freely moving around players as well as doing pinpoint passes and shots. Starting from version 2009 a so called Classic control scheme is included which makes players used to the golden age of classic PES4/5/6 feel right at home. In Mixed mode players of both styles can coop online.

      The series continued to improve the netcode along the versions. When having tested all versions 2012, 2013 and to a lesser degree 2011 and 2008 are sufficiently playable online. 2008 is the most basic and 2013 the best version. 2009 and 2010 honestly aren't worth playing online.


      Check the communities tab for PES Wii communities. Let me know if there are more!

      Current Efforts:
      • We are preparing the ability to send custom updates to all PES Wii players. This includes the ability to update squads and players (but unfortunately not clubs and leagues, so those can't be changed) even for online play. If you are interested in working on edit files let me know.
      • Setting up own update server. Done
      • Extracting existing update files. Done
      • Testing delivery of update files. Done
      • Generating new update file from edit files. Done
      • Ensuring data integrity for custom update files. Needs more reverse engineering
      • Preparing up to date roster edit for use as common update file. Underway
      Known issues:
      Bonus work (stuff that wasn't possible on Nintendo WFC):
      Thanks
      People I like to thank for all the progress (in German)


      Status of confirmations
      PES08: Free Matches confirmed to work for PAL. Other regions are not offered yet. If wanted please request in this thread.
      PES09: Free Matches confirmed to work for PAL, need feedback for NTSC-U and NTSC-J.
      PES10: Free Matches confirmed to work for PAL, need feedback for NTSC-U and NTSC-J.
      WE10JC: Free Matches confirmed to work.
      PES11: Free Matches confirmed to work for PAL, need feedback for NTSC-U and NTSC-J.
      PES12: Free Matches confirmed to work for PAL, need feedback for NTSC-U and NTSC-J.
      PES13: Free Matches confirmed to work for all regions.

      Please post in this thread if you come across issues or can confirm the working of one of the unconfirmed NTSC versions.


      General compatibility status

      Quellcode

      1. Reg & Login Matchmaking Free Matches
      2. PES2008 works works works
      3. PES2009 works works works
      4. PES2010 works works works
      5. WE10JC works works works
      6. PES2011 works works works
      7. PES2012 works works works
      8. PES2013 works works works

      Matchmaking refers to requesting and connecting for friend matches and don't include free matches.

      Intro

      The Pro Evolution Soccer series on the Wii employ an unique so called Playmaker control scheme that works akin to RTS games, something that still hasn't been recreated on any other platform (yes, not even by Konami).

      The series continued to improve the netcode along the versions. When having tested all versions (there are six: 2008-13) only 2008, 2012 and 2013 are sufficiently playable online. 2008 is basic and 2013 the best version. Thus 2013 is the version I'm looking at unless otherwise mentioned.

      Servers

      When connecting to WFC DNS name resolution is done for the following server:

      gpcm.gs.nintendowifi.net
      gpsp.gs.nintendowifi.net
      gamestats.gs.nintendowifi.net
      gamestats2.gs.nintendowifi.net
      winelev13wii.available.gs.nintendowifi.net
      winelev13wii.natneg1.gs.nintendowifi.net
      winelev13wii.natneg2.gs.nintendowifi.net
      winelev13wii.natneg3.gs.nintendowifi.net
      winelev13wii.master.gs.nintendowifi.net
      winelev13wii.gamestats.gs.nintendowifi.net
      winelev13wii.gamestats2.gs.nintendowifi.net
      winelev13wii.ms7.gs.nintendowifi.net
      naswii.nintendowifi.net
      dls1.nintendowifi.net

      Except for the last server this list matches with MKW. Prior versions differ by the game specific title and by the number used for the ms* server.

      Quellcode

      1. 2012 winelev12wii ms10
      2. 2011 winelev11wii ms13
      3. 2010 winelev10wii ms16
      4. 2009 weleplay09wii ms9
      5. 2008 evosoc08EUwii ms18


      2009 also had a possibly unused peerchat server at weleplay09wii.peerchat.gs.nintendowifi.net.

      While the oldest version explicitely mentions the region, every newer one bases on the Japanese name of the series ("Winning Eleven") so the segregation by region may be done on server side since. Anyone able to check the game specific server names in a version from regions different from EU?

      Patches

      A different area in the game allows to check for and download patches (used to update team squads). Those being up to date is a hard requirement to be able to go online and having no mismatches between different clients.

      If the client is up to date the check exactly equals step 1-5 from Login, see below.

      TODO: Check client behaviour and server responses when outdated. Get patches.

      Register

      Registering the account for online use is done right before the first time logging in and consists of 3 TCP streams:

      1. POST naswii.nintendowifi.net/ac
      Communication matches exactly the one used as step 1 in every login, see below.

      2. GPCM communication mostly as described in MKW GPCM

      Second server response includes following currently undocumented paramenters: blk, bdy, rar.

      Spoiler anzeigen
      client: \ka\\final\

      server: \lc\1\challenge\SGBPGLMKMF\id\1\final\

      client: \login\\challenge\qCOPrZ11z1WyvtVsxi6sJPI1rnPMmnsl\authtoken\NDSecsVrwJ0bpbYMvMdl386/Fte4sfACi67h7lglT3APgS0jNvvM7/c8vDX/hiyjvuz34UcZXTyNQFHCGgdwwllICKP2+NoqnWv4PLO/cYWUtCm64P2hFss2b1fMaH6PAz7\partnerid\11\response\b38130aa77df6d59f5c8cdca2e0c2b9b\firewall\1\port\0\productid\15118\gamename\winelev13wii\namespaceid\16\sdkrevision\59\quiet\0\id\1\final\

      server: \blk\0\list\\final\\bdy\0\list\\final\\rar\namespaceid\16\partnerid\11\final\\lc\2\sesskey\169358881\proof\a4f38b0377c568e5ba3ba53573a9a37b\userid\445038847\profileid\477175397\uniquenick\55ev07btgS3IP3a05qu6\lt\qhioPWnx9XebBfw4tdBOAL__\id\1\final\

      client: \getprofile\\sesskey\169358881\profileid\477175397\id\2\final\\updatepro\\sesskey\169358881\firstname\Wii:4404585880805254\aim\55ev07btg\zipcode\S3IX\partnerid\11\final\

      server: \pi\\profileid\477175397\nick\55ev07btgS3IP3a05qu6\userid\445038847\email\55ev07btgS3IP3a05qu6@nds\sig\5ba779916107dbd02ac903d023a3cd27\uniquenick\55ev07btgS3IP3a05qu6\pid\11\lon\0.000000\lat\0.000000\loc\\id\2\final\

      client: \getprofile\\sesskey\169358881\profileid\477175397\id\3\final\\updatepro\\sesskey\169358881\lastname\000000000S3IP3a05qu6\partnerid\11\final\

      server: \pi\\profileid\477175397\nick\55ev07btgS3IP3a05qu6\userid\445038847\email\55ev07btgS3IP3a05qu6@nds\sig\5ba779916107dbd02ac903d023a3cd27\uniquenick\55ev07btgS3IP3a05qu6\pid\11\firstname\Wii:4404585880805254\zipcode\S3IX\aim\55ev07btg\lon\0.000000\lat\0.000000\loc\\id\3\final\

      client: \getprofile\\sesskey\169358881\profileid\477175397\id\4\final\

      server: \pi\\profileid\477175397\nick\55ev07btgS3IP3a05qu6\userid\445038847\email\55ev07btgS3IP3a05qu6@nds\sig\5ba779916107dbd02ac903d023a3cd27\uniquenick\55ev07btgS3IP3a05qu6\pid\11\firstname\Wii:4404585880805254\lastname\000000000S3IP3a05qu6\zipcode\S3IX\aim\55ev07btg\lon\0.000000\lat\0.000000\loc\\id\4\final\

      client: \logout\\sesskey\169358881\final\


      3. GPCM communication mostly as described in MKW GPCM

      Second server response includes following currently undocumented paramenters: blk, bdy, rar.

      Spoiler anzeigen
      client: \ka\\final\

      server: \lc\1\challenge\WJCNAFHIJQ\id\1\final\

      client: \login\\challenge\EMZ6vzoWAJTTp7xUb62azPBHNLuNP3Js\authtoken\NDSecsVrwJ0bpbYMvMdl386/Fte4sfACi67h7lglT3APgS0jNvvM7/c8vDX/hiyjvuz34UcZXTyNQFHCGgdwwllICKP2+NoqnWv4PLO/cYWUtCm64P2hFss2b1fMaH6PAz7\partnerid\11\response\4c1d4bf5a686892f29339b253b82d7ba\firewall\1\port\0\productid\15118\gamename\winelev13wii\namespaceid\16\sdkrevision\59\quiet\0\id\1\final\

      server: \blk\0\list\\final\\bdy\0\list\\final\\rar\namespaceid\16\partnerid\11\final\\lc\2\sesskey\238599816\proof\3d69a8786303fd808cf280ac43d24bc7\userid\445038847\profileid\477175397\uniquenick\55ev07btgS3IP3a05qu6\lt\qkViBPvFj6mMmZ2UREFlbh__\id\1\final\

      client: \status\1\sesskey\238599816\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\\final\\updatepro\\sesskey\238599816\firstname\Wii:4404585880805254\aim\55ev07btg\zipcode\S3IX\partnerid\11\final\\logout\\sesskey\238599816\final\


      After this the client offers the ability to do the standard login process.


      Login

      Connecting to WFC consist of 6 separate TCP streams:

      1. POST naswii.nintendowifi.net/ac client request similar to MKW action=login

      Quellcode

      1. action=login
      2. gsbrcd=S3IPxxxxxxx
      3. userid=1234567890123
      4. ingamesn=ingamenick
      5. sdkver=001000
      6. gamecd=S3IX
      7. makercd=A4
      8. unitcd=1
      9. macadr=0017ab61ca61
      10. lang=02
      11. devtime=wii date/time
      12. csnum=
      13. cfc=
      14. region=02
      Alles anzeigen


      server response similar to MKW response to action=acctcreate (which is never used here)

      Quellcode

      1. challenge=KM7QUPOH
      2. locator=gamespy.com
      3. retry=0
      4. returncd=001
      5. token=
      6. datetime=server date/time


      2. GPCM communication mostly as described in MKW GPCM

      Second server response includes following currently undocumented paramenters: blk, bdy, rar.

      Spoiler anzeigen
      client: \ka\\final\

      server: \lc\1\challenge\QCSMJWJZBD\id\1\final\

      client: \login\\challenge\U3zKht9GCBNtOpWsF8KgQqNSkb4c6diH\authtoken\NDSZ93kRvFt3CMNKM4dLSFAzpS4z7dXaF2f/l4vQVwntvs9B6mIZDV5x74RTzm4jdWC+tEcggHY0aSPffXJLIRDgXrdSQe4zEIr4QM8YqDaVHRSFdc3y+xtf+B6eGnUlezV\partnerid\11\response\7e330cbf2417fc5943faac8ca83e1199\firewall\1\port\0\productid\15118\gamename\winelev13wii\namespaceid\16\sdkrevision\59\quiet\0\id\1\final\

      server: \blk\0\list\\final\\bdy\2\list\415235487,456064543\final\\rar\namespaceid\16\partnerid\11\final\\lc\2\sesskey\278687434\proof\8cca83330c001ded030bad0abc9ef973\userid\445038847\profileid\477175397\uniquenick\55ev07btgS3IP3a05qu6\lt\OD[OVoU3AMlyf2]m[JkPKs__\id\1\final\\bm\100\f\415235487\msg\|s|0|ss|Offline\final\\bm\100\f\456064543\msg\|s|0|ss|Offline\final\

      client: \status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\\final\\updatepro\\sesskey\278687434\firstname\Wii:4404585880805254\aim\55ev07btg\zipcode\S3IX\partnerid\11\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AQACAPvKRRoAAAABAAAAAAAAAAAAAAAAHHEeZQAAAAAAAAAAAAAAAHBlcy11cC5kZeKEogAAAABEIAAARAAAAAAAAACALsbAgILLXJLhwPSAT4swgHLGwICCy1wAAAAAgE.MYICLnSg-gAAAP4AAAAAAAAAAAAAAHHEeZQAXq2HKYQEAgAoAcABlAHMALQB1AHAALgBkAGUhIkUsgfveGMJhymEgBDxAuX0IQkhoDoCjPZzMAIoAiiUEAAA*\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AQECAPvKRRoAAAABAAAAAAAAAAAAAAAAHHEeZQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCRADEAWACUAAAAAAACAAADmAAAAOYAAAMHAAAAbQAAABAAAAAIAAAAAAAAAAAAAAAA\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AAABAPvKRRoAAAABAAAAAAAAAAAAAAAAHHEeZQAAAAAAAAAAAAAAAAAAAAA*\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AQACAPvKRRoAAAACAAAAAAAAAAAAAAAAHHEeZQAAAAAAAQAAAAAAAHBlcy11cC5kZeKEogAAAABEIAAARAAAAAAAAACALsbAgILLXJLhwPSAT4swgHLGwICCy1wAAAAAgE.MYICLnSg-gAAAP4AAAAAAAAAAAAAAHHEeZQAXq2HKYQEAgAoAcABlAHMALQB1AHAALgBkAGUhIkUsgfveGMJhymEgBDxAuX0IQkhoDoCjPZzMAIoAiiUEAAA*\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AQECAPvKRRoAAAACAAAAAAAAAAAAAAAAHHEeZQAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCRADEAWACUAAAAAAACAAADmAAAAOYAAAMHAAAAbQAAABAAAAAIAAAAAAAAAAAAAAAA\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AAABAPvKRRoAAAACAAAAAAAAAAAAAAAAHHEeZQAAAAAAAQAAAAAAAAAAAAA*\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AQACAPvKRRoAAAACAAAAAAAAAAAAAAAAHHEeZQAAAAAAAQAAAAAAAHBlcy11cC5kZeKEogAAAABEIAAARAAAAAAAAACALsbAgILLXJLhwPSAT4swgHLGwICCy1wAAAAAgE.MYICLnSg-gAAAP4AAAAAAAAAAAAAAHHEeZQAXq2HKYQEAgAoAcABlAHMALQB1AHAALgBkAGUhIkUsgfveGMJhymEgBDxAuX0IQkhoDoCjPZzMAIoAiiUEAAA*\final\\status\1\sesskey\278687434\statstring\/SCM/1/SCN/0/VER/90/LCK/0\locstring\AQECAPvKRRoAAAACAAAAAAAAAAAAAAAAHHEeZQAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADCRADEAWACUAAAAAAACAAADmAAAAOYAAAMHAAAAbQAAABAAAAAIAAAAAAAAAAAAAAAA\final\


      3. GPSP communication exactly as described in MKW GPSP otherlist

      4. POST naswii.nintendowifi.net/ac client request

      Quellcode

      1. action=svcloc
      2. svc=9001
      3. userid=1234567890123
      4. sdkver=001000
      5. gamecd=S3IX
      6. makercd=A4
      7. unitcd=1
      8. macadr=
      9. lang=02
      10. devtime=wii date/time
      11. csnum=
      12. cfc=
      13. region=02
      Alles anzeigen


      Quellcode

      1. retry=0
      2. returncd=007
      3. servicetoken=
      4. statusdata=Y
      5. svchost=dls1.nintendowifi.net
      6. datetime=server date/time


      5. POST dls1.nintendowifi.net/download (encrypted communication just like naswii)
      Simple communication with patch download server, first asking for the number of patches, then asking for a list of them.

      Quellcode

      1. gamecd=RVL-SAAJ
      2. rhgamecd=S3IX
      3. passwd=MLuGkvF3tgchXmj7
      4. token=same as servicetoken returned in previous stream
      5. cfc=
      6. macadr=
      7. region=02
      8. country=DE
      9. action=count
      10. attr1=t_update
      11. attr2=eu
      Alles anzeigen


      Quellcode

      1. 2


      Quellcode

      1. gamecd=RVL-SAAJ
      2. rhgamecd=S3IX
      3. passwd=MLuGkvF3tgchXmj7
      4. token=
      5. cfc=
      6. macadr=
      7. region=02
      8. country=DE
      9. action=list
      10. attr1=t_update
      11. attr2=eu
      12. offset=0
      13. num=2
      Alles anzeigen


      Quellcode

      1. update_eu_000002.bin.AEQAUAAxayeC8Q**.t_update.eu..485248
      2. update_eu_000003.bin.AEQAUAAyayeC8Q**.t_update.eu..506016


      Clients that are not up to date are always disconnected right away. A different area in the game allows to check for and download patches.

      6. POST naswii.nintendowifi.net/pr
      Might be nonsense communication. The content for words reflects the player names in the Mii team, which doesn't appear during the online stay.

      Quellcode

      1. userid=1234567890123
      2. wregion=X
      3. wtype=(empty)
      4. wenc=UTF-16BE
      5. words=IVYGHASEK STRAMBERG JACOMORAC PACCINI MACOVSHIRE VOLEIMANN COYNBOROUGH VAN BORAAD HOULEIGEU GELLAZCA ALLEJO LEISSENTHAR EL MOUGHAOUET MYRHEIM EBORCANY MINANDINHO (default Mii team)
      6. sdkver=001000
      7. gamecd=S3IX
      8. makercd=A4
      9. unitcd=1
      10. macadr=
      11. lang=02
      12. csnum=
      13. cfc=
      Alles anzeigen


      Quellcode

      1. prwords=0000000000000000
      2. returncd=000
      3. datetime=server date/time


      7. At this point the GPSP stream at step 3 is repeated and the player gains the ability to check the friends list or search for a random free match.

      Dieser Beitrag wurde bereits 40 mal editiert, zuletzt von datschge ()

      I run an endless process, that is retrieving player ids (friend codes) and the needed nicknames.
      For PES I have the following records:

      Quellcode

      1. game : fc lists : nicks
      2. ---------------------------------------
      3. RWEP : 2 0.00% : 2 0.00%
      4. R2WP : 2 0.00% : 2 0.00%
      5. SUXP : 2 0.00% : 2 0.00%
      6. SPVP : 14527 2.11% : 22353 1.34%

      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.

      datschge schrieb:


      2012 winelev12wii ms10
      2011 winelev11wii ms13
      2010 winelev10wii ms16
      2009 weleplay09wii ms9
      2008 evosoc08EUwii ms18

      I must have some infos about the data base structure and types of the games. At the moment I know only the memebr names for "evosoc08EUwii":
      * numplayers, maxplayers, dwc_pid, dwc_mtype, dwc_mresv, dwc_mver, dwc_eval, connect_latency, appraisal, profileid, tv, lang, data

      Best if to have a dump of the reported game stats, but if I try, no player is online.

      Quellcode

      1. mkw-ana query --game evosoc08EUwii
      2. #
      3. # Response for 85.22.96.136:6500 with 0 entries and 13 text parameters.
      4. #
      5. #-------------------------------------------------------------------------------------
      6. # local address:port num pid mre eva app tv data
      7. #F public address:port publicip/hex max mty mve lat pro lang
      8. #-------------------------------------------------------------------------------------
      9. #-------------------------------------------------------------------------------------

      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.
      PES2008 (that's just me. if you need more concurrent players let me know)
      Spoiler anzeigen

      Quellcode

      1. [datschge@localhost pes]$ ./mkw-ana query --game evosoc08EUwii
      2. #
      3. # Response for 188.193.214.243:6500 with 1 entries and 13 text parameters.
      4. #
      5. #-------------------------------------------------------------------------------------
      6. # local address:port num pid mre eva app tv data
      7. #F extern address:port publicip/hex max mty mve lat pro lang
      8. #-------------------------------------------------------------------------------------
      9. 7e 188.193.214.243:52785 192.168.1.222:52785 bcc1d6f3 0 0
      10. #-------------------------------------------------------------------------------------
      11. #
      Alles anzeigen


      I have attached a log of me creating a fresh account in PES2008, then proceeding to try a free match (noone found), then completed one friend match and started another one (p2p data is removed in the attached file for size, the full file with p2p between the two players is 5MB). I've done a concurrent video of that which I'll link as soon as it's done uploading.

      Edit: Here it is youtu.be/pQ23HpobTl8
      Here are some noteworthy events, their capture frame number and times in the video.

      Quellcode

      1. Frame no. Time
      2. Registering 2 0:00
      3. Login 101 1:28
      4. Random match 133 1:55
      5. FC comes on 603? 5:09
      6. Incoming req 605 5:17
      7. Accepting 607 5:25
      8. Outgoing req 683? 23:39
      9. another one 799? 25:47
      10. successful one 918? 26:58

      Hope this helps.

      Useless bonus: Other PES versions with active players atm:
      Spoiler anzeigen
      PES2011
      Spoiler anzeigen

      Quellcode

      1. [datschge@localhost pes]$ ./mkw-ana query --game winelev11wii
      2. #
      3. # Response for 188.193.214.243:6500 with 1 entries and 9 text parameters.
      4. #
      5. #-----------------------------------------------------------------------------------------
      6. # local address:port num dwc_pid mver gro suspend
      7. #F extern address:port publicip/hex maxplayers mtyp eva hoststate
      8. #-----------------------------------------------------------------------------------------
      9. 7e 101.140.11.37:64054 192.168.1.26:64054 db4b910e 0 1 410352426 0 90 1 0 0 0
      10. #-----------------------------------------------------------------------------------------
      11. #
      Alles anzeigen

      PES2012
      Spoiler anzeigen

      Quellcode

      1. [datschge@localhost pes]$ ./mkw-ana query --game winelev12wii
      2. #
      3. # Response for 188.193.214.243:6500 with 10 entries and 9 text parameters.
      4. #
      5. #-------------------------------------------------------------------------------------------------
      6. # local address:port num dwc_pid mver groupid suspend
      7. #F extern address:port publicip/hex maxplayers mtyp eval hoststate
      8. #-------------------------------------------------------------------------------------------------
      9. 7e 121.86.69.50:63331 192.168.0.10:61845 3dcd711a 1 1 415825419 0 90 1 0 1 0
      10. 7e 122.221.230.215:52826 192.168.11.2:52826 dd7006de 1 1 368603330 0 90 1 470305991 2 0
      11. 7e 126.91.29.225:61386 192.168.3.7:61386 7e5b1de1 1 1 466960847 0 90 1 0 1 0
      12. 7e 181.194.156.127:61706 10.0.0.19:61706 90e4291e 0 1 415182009 0 90 1 0 0 0
      13. 76 88.25.165.226:51240 192.168.1.41:51240 - 0 1 478347958 0 90 1 0 0 0
      14. 7e 121.108.59.149:60234 192.168.11.3:60234 7d305c72 1 1 475842150 0 90 1 578484611 2 0
      15. 7e 42.145.156.8:59011 192.168.1.31:59011 cba51281 1 1 409521634 0 90 1 516290458 2 0
      16. 7e 113.146.36.125:60471 192.168.11.2:60471 7d307f95 1 1 404245765 0 90 1 0 1 0
      17. 7e 153.189.254.159:62605 192.168.11.8:62605 761734c2 0 1 399017010 0 90 1 0 0 0
      18. 7e 92.138.163.99:2956 192.168.50.107:55101 c1fbfcff 1 1 479812698 0 90 1 0 1 0
      19. #-------------------------------------------------------------------------------------------------
      20. #
      Alles anzeigen

      PES2013
      Spoiler anzeigen

      Quellcode

      1. [datschge@localhost pes]$ ./mkw-ana query --game winelev13wii
      2. #
      3. # Response for 188.193.214.243:6500 with 54 entries and 9 text parameters.
      4. #
      5. #-------------------------------------------------------------------------------------------------
      6. # local address:port num dwc_pid mver groupid suspend
      7. #F extern address:port publicip/hex maxplayers mtyp eval hoststate
      8. #-------------------------------------------------------------------------------------------------
      9. 7e 133.218.133.133:49840 192.168.1.26:49840 cbb4c3ca 0 1 479123699 0 90 1 0 0 0
      10. 7e 111.99.41.58:58033 192.168.0.6:58033 7d304799 1 1 472141400 0 90 1 578152070 2 0
      11. 7e 81.38.17.120:49206 192.168.1.33:49206 51261178 1 1 479202063 0 90 1 584097953 2 0
      12. 7e 118.109.233.126:59972 192.168.1.6:59972 d2939285 1 1 425439706 0 90 1 533132926 2 0
      13. 7e 219.104.84.219:56944 192.168.11.4:56944 cadb093c 1 1 479214309 0 90 1 0 1 0
      14. 7e 115.162.223.17:54738 192.168.1.12:54738 df86e908 1 1 465579872 0 90 1 569146849 2 0
      15. 7e 114.176.13.141:59559 192.168.1.5:59559 76173ce2 1 1 451294465 0 90 1 0 1 0
      16. 7e 111.103.121.232:53744 192.168.0.5:53744 7d304ddd 1 1 414618735 1 90 1 516339156 2 0
      17. 7e 121.3.65.203:51608 192.168.1.12:51608 cadf7626 1 1 414726270 1 90 1 0 1 0
      18. 7e 118.2.58.126:44531 192.168.2.102:59655 76023a7e 1 1 459324436 0 90 1 0 1 0
      19. 7e 79.151.42.152:14169 192.168.1.38:61732 4f972a98 1 1 418842860 0 90 1 519655197 2 0
      20. 7e 220.39.179.118:64387 192.168.3.4:64387 dc27b376 1 1 466681948 0 90 1 0 1 0
      21. 7e 61.197.133.141:64173 192.168.1.16:64173 3dc5858d 1 1 414612348 0 90 1 518116266 2 0
      22. 7e 180.19.84.44:57158 192.168.1.4:57158 76173ab6 0 1 479214257 0 90 1 0 0 0
      23. 7e 84.226.79.212:50404 192.168.178.26:50404 54e24fd4 1 1 479501584 0 90 1 589475773 2 0
      24. 7e 2.125.11.136:50062 192.168.0.4:50062 027d0b88 1 1 420873205 0 90 1 527277754 2 0
      25. 7e 121.2.13.180:49230 192.168.11.7:49230 d284d99a 1 1 458069732 0 90 1 561311774 2 0
      26. 7e 121.86.38.79:62361 192.168.11.2:62361 3dcd711e 1 1 476645057 0 90 1 0 1 0
      27. 7e 88.189.130.63:63226 192.168.0.43:63226 58bd823f 1 1 478855574 0 90 1 586282446 2 0
      28. 7e 58.89.68.201:54340 192.168.1.2:54340 de965db6 1 1 479593281 0 90 1 588749773 2 0
      29. 7e 86.207.166.145:63379 192.168.1.27:63379 0445908a 1 1 479523224 0 90 1 0 1 0
      30. 7e 201.191.106.140:27804 192.168.0.106:55760 43119f8e 1 1 476020026 0 90 1 579480055 2 0
      31. 7e 110.67.247.217:16860 192.168.24.51:63203 6e43f7d9 1 1 414621736 0 90 1 0 1 0
      32. 7e 219.66.134.191:51146 192.168.0.20:51146 d37f7b95 1 1 457538322 0 90 1 0 1 0
      33. 7e 59.134.73.5:62259 192.168.0.4:62259 dee3050a 1 1 430378432 0 90 1 0 1 0
      34. 7e 88.82.223.221:63280 192.168.2.5:63280 5852dfdd 0 1 478187450 0 90 1 0 0 0
      35. 7e 118.154.154.39:50296 192.168.0.5:50296 d2eae96a 1 1 474203377 0 90 1 0 1 0
      36. 7e 74.101.6.106:57802 192.168.1.4:57802 4a65066a 1 1 462440995 0 90 1 0 1 0
      37. 7e 223.223.100.105:59553 192.168.11.5:59553 db76f219 1 1 470852225 0 90 1 0 1 0
      38. 7e 222.230.20.61:63972 192.168.1.7:63972 a38b3b05 1 1 414614281 1 90 1 524219154 2 0
      39. 7e 81.37.186.74:59615 192.168.1.41:59615 5125ba4a 1 1 440508248 0 90 1 0 1 0
      40. 7e 210.20.107.48:63370 192.168.11.2:63370 cba512e1 1 1 469001088 0 90 1 577505208 2 0
      41. 7e 223.134.31.145:49395 192.168.1.7:49395 6e42fa06 1 1 443212512 0 90 1 553040860 2 0
      42. 7e 119.25.34.130:54764 192.168.11.6:54764 d37c0ab6 1 1 437743716 1 90 1 0 1 0
      43. 7e 84.79.85.27:61845 192.168.1.102:61845 544f551b 1 1 447906013 0 90 1 549427663 2 0
      44. 7e 124.44.17.238:61102 192.168.11.8:61102 3d731182 1 1 440345374 0 90 1 545892453 2 0
      45. 7e 126.80.187.191:57615 192.168.1.5:57615 dd6ed284 1 1 465476846 0 90 1 0 1 0
      46. 7e 190.213.104.129:56120 192.168.0.4:56120 c8016f3e 0 1 455244800 0 90 1 0 0 0
      47. 7e 62.169.127.207:63679 192.168.1.121:50726 3ea94289 1 1 479858946 0 90 1 0 1 0
      48. 7e 110.1.225.236:61683 192.168.11.2:61683 7a9802aa 1 1 414610960 0 90 1 0 1 0
      49. 7e 86.207.233.10:61012 192.168.1.14:61012 c1fbfcff 1 1 454191816 0 90 1 0 1 0
      50. 7e 61.22.167.148:53947 192.168.11.7:53947 3d16a794 1 1 414588484 1 90 1 0 1 0
      51. 7e 219.208.77.151:49677 192.168.10.167:49677 dbd04d97 1 1 448244975 0 90 1 0 1 0
      52. 7e 151.28.190.107:58493 192.168.1.7:58493 9706eb96 0 1 416352406 0 90 1 0 0 0
      53. 7e 126.94.89.161:54899 192.168.57.5:54899 dd6fb2ea 1 1 414576463 1 90 1 514763086 2 0
      54. 7e 119.106.62.6:59892 192.168.0.7:59892 6f57d9f2 1 1 468307661 0 90 1 577236549 2 0
      55. 7e 202.232.91.131:52138 192.168.11.5:52138 cae85b83 1 1 416017094 0 90 1 0 1 0
      56. 7e 126.36.40.107:64465 192.168.11.3:64465 dd6efe94 1 1 418259415 0 90 1 518433419 2 0
      57. 7e 85.137.97.32:61255 192.168.1.48:61255 55896120 1 1 452036105 0 90 1 0 1 0
      58. 7e 123.222.211.111:60249 192.168.1.8:60249 7a1caa65 1 1 418903761 0 90 1 520664371 2 0
      59. 7e 61.86.31.56:51271 192.168.2.101:51271 3d561048 1 1 479366912 0 90 1 585521467 2 0
      60. 76 86.153.194.190:54379 192.168.1.73:54379 - 0 1 476126084 0 90 1 0 0 0
      61. 7e 157.192.6.137:52558 192.168.1.4:52558 d29dca7e 1 1 455906278 0 90 1 564853305 2 0
      62. 7e 95.20.31.208:65173 192.168.1.134:65173 d46ad93a 1 1 456079252 0 90 1 0 1 0
      63. #-------------------------------------------------------------------------------------------------
      64. #
      Alles anzeigen
      Dateien

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

      Wiimm schrieb:

      I must have some infos about the data base structure and types of the games.


      Values I saw so far in 2008:

      Quellcode

      1. numplayers 0
      2. maxplayers 0, 1
      3. dwc_pid own fc (int9?)
      4. dwc_mtype 0, 1
      5. dwc_mresv 0, fc of host (int9?)
      6. dwc_mver 3
      7. dwc_eval 1
      8. connect_latency 0
      9. appraisal 0
      10. profileid friend code (int9?)
      11. tv 1
      12. lang 78
      13. data 2
      Alles anzeigen


      It seems later PES versions use different keys and values. Will check them now and edit this post accordingly.

      Edit: Seems 2008 is the odd one, for 2009, 10, 11, 12 and 13 following applies:

      Quellcode

      1. numplayers 0, 1
      2. maxplayers 0, 1
      3. dwc_pid own fc (int9?)
      4. dwc_mtype 0, 1
      5. dwc_mver 90
      6. dwc_eval 1
      7. dwc_groupid 0, fc of host (if hoststate == 2, int9?)
      8. dwc_hoststate 0, 1 (host), 2 (guest)
      9. dwc_suspend 0, 1 (during the process of joining?)
      10. MatchSvrType 78150954
      11. MatchTopologyType 0
      Alles anzeigen

      Keys that were removed are likely transferred directly through p2p (they look like settings that were only exposed starting in 2009...). This is sufficient as all online matches are always 1vs1.

      I'll check we10jc next. So far I tend to want to suggest to skip 2008 for now as all the other versions appear to be more similar between each other. On the other hand 2008 doesn't have the patch server that all the later versions require. For those later ones I'm going to capture the requests and the transfer of patches this weekend.

      Edit 2: This actually might be the difference between friend and random matches... Just checked we10jc (internal gamename is winel10jpnwii) and tried a random match search, following is being sent to the master:

      Quellcode

      1. numplayers 0
      2. maxplayers 1
      3. dwc_pid 268077223
      4. dwc_mtype 0
      5. dwc_mver 90
      6. dwc_eval 1
      7. dwc_groupid 0
      8. dwc_hoststate 0
      9. dwc_suspend 0
      10. ar 88
      11. rtng 539831539
      12. ltncy 88
      13. al 88
      14. prid 802660744
      15. op0 540705358
      16. op1 -364107473
      17. tv 88
      18. cntry 539830625
      19. cnt TFFFS
      20. fltr UFUFS
      21. vr 539830573
      22. mc4 usr
      23. MatchSvrType 78150954
      24. MatchTopologyType 0
      Alles anzeigen

      That's a lot of new keys there. 8|

      I personally wouldn't worry to much about random matches though. Having the ability to do friend matches and a public "who is online" page (like mkw-ana's query output) with way to contact them would be sufficient imo.

      I'll check out the other versions' random match searches when I capture the patch download check in the coming days.

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

      PES2008 on wiimmfi appears to do one conversation (same with both registering and login), then get into a loop of empty requests and answers, eventually showing 61070 ("Fehler Datenübertragung/error data transmission") on the Wii (after 3 such empty conversations).

      I'll now look at the captures and compare it with captures of the original server and edit my finding in.

      Edit: The error message on the Wii is essentially a time out after 60 seconds of no communication.

      Failed wiimmfi communication (DNS queries omitted):
      Spoiler anzeigen

      Quellcode

      1. 13:48:13.798 A>0 192.168.1.222:58102 -> 176.9.146.163:27900 (MASTER) , client -1
      2. 19 (0x13) data bytes in 1 record, [CSUM:ok,5cf7,5cf7]
      3. -1.----.0x09, 13 ( 19/dec) bytes, offset 0x00
      4. 0: 0900 0000 0065 766f 736f 6330 3845 5577 :.....evosoc08EUw:
      5. 10: 6969 00 :ii.:
      6. 13:48:13.832 A<0 176.9.146.163:27900 (MASTER) -> 192.168.1.222:58102, client -1
      7. 7 (0x7) data bytes in 1 record, [CSUM:ok,a2ab,a2ab]
      8. -1.----.MA09, 7 ( 7/dec) bytes, offset 0x00
      9. 0: fefd 0900 0000 00 :þý.....:
      10. 13:48:14.054 B>1 192.168.1.222:57246 -> 176.9.146.163:80, client -1
      11. 0 (0x0) data bytes in 1 record [TCP=SYN]
      12. -1.----.TSYN, 0 ( 0/dec) bytes, offset 0x00
      13. 13:48:14.076 B<1 176.9.146.163:80 -> 192.168.1.222:57246, client -1
      14. 0 (0x0) data bytes in 1 record [TCP=ACK,SYN]
      15. -1.----.TSYN, 0 ( 0/dec) bytes, offset 0x00
      16. 13:48:14.093 B>1 192.168.1.222:57246 -> 176.9.146.163:80, client -1
      17. 256 (0x100) data bytes in 1 record [TCP=ACK,PSH]
      18. -1.----.HRQ1, 100 (256/dec) bytes, offset 0x00
      19. POST /ac HTTP/1.1
      20. Host: nas.wiimmfi.de
      21. User-Agent: RVL SDK/1.0
      22. Host: nas.wiimmfi.de
      23. HTTP_X_GAMECD: RWEP
      24. Content-Type: application/x-www-form-urlencoded
      25. Content-Length: 307
      26. action = bG9naW4* [B64:'login']
      27. gsbrcd = [16] UldFUDIwYzgzNWI* [B64:'RWEP20c835b']
      28. userid = [20] NTY4NTQyOTY0NTIzMg** [B64:'5685429645232'=0x52b.be03.afb0]
      29. 13:48:14.115 B<1 176.9.146.163:80 -> 192.168.1.222:57246, client -1
      30. 6 (0x6) data bytes in 1 record [TCP=ACK]
      31. -1.----.TACK, 6 ( 6/dec) bytes, offset 0x00
      32. 0: 0000 0000 0000 :......:
      33. 13:48:14.118 B>1 192.168.1.222:57246 -> 176.9.146.163:80, client -1
      34. 232 (0xe8) data bytes in 1 record [TCP=ACK,PSH]
      35. -1.----.HRQ3, e8 (232/dec) bytes, offset 0x00
      36. userid = [20] NTY4NTQyOTY0NTIzMg** [B64:'5685429645232'=0x52b.be03.afb0]
      37. ingamesn = [24] AHAAZQBzAC0AdQBwAC4AZABl [B64:"pes-up.de"]
      38. sdkver = MDAxMDAw [B64:'001000']
      39. gamecd = UldFUA** [B64:'RWEP']
      40. makercd = QTQ* [B64:'A4']
      41. unitcd = MQ** [B64:'1']
      42. macadr = [16] MDAxN2FiNjFjYTYx [B64:'0017ab61ca61']
      43. lang = MDI* [B64:'02']
      44. devtime = [16] MTQwNTExMTQwMDQ5 [B64:'140511140049'=0x20.b71d.d8d1]
      45. csnum = [16] TEVIMTA3OTMxOTAw [B64:'LEH107931900']
      46. cfc = [24] NDQwNDU4NTg4MDgwNTI1NA** [B64:'4404585880805254'=4404-5858-8080-5254]
      47. region = MDI* [B64:'02']
      48. 13:48:14.141 B<1 176.9.146.163:80 -> 192.168.1.222:57246, client -1
      49. 6 (0x6) data bytes in 1 record [TCP=ACK]
      50. -1.----.TACK, 6 ( 6/dec) bytes, offset 0x00
      51. 0: 0000 0000 0000 :......:
      52. 13:48:14.320 B<1 176.9.146.163:80 -> 192.168.1.222:57246, client -1
      53. 350 (0x15e) data bytes in 1 record [TCP=ACK,PSH]
      54. -1.----.HRS1, 15e (350/dec) bytes, offset 0x00
      55. HTTP/1.1 200 OK
      56. Date: Sun, 11 May 2014 11:48:14 GMT
      57. Server: Apache/2.2.22 (Linux/SUSE)
      58. X-Powered-By: PHP/5.3.15
      59. NODE: wifiappw3
      60. Duration: D=204926 usec
      61. Content-Length: 143
      62. Content-Type: text/plain
      63. challenge = U1JHVlBPUlU* [B64:'SRGVPORU']
      64. locator = [16] Z2FtZXNweS5jb20* [B64:'gamespy.com']
      65. retry = MA** [B64:'0']
      66. returncd = MDAx [B64:'001']
      67. token = [32] TkRTLzUwMDAwMDAzOS9TUkdWUE9SVQ** [B64:'NDS/500000039/SRGVPORU']
      68. datetime = [20] MjAxNDA1MTExMzQ4MTQ* [B64:'20140511134814']
      69. 13:48:14.322 B>1 192.168.1.222:57246 -> 176.9.146.163:80, client -1
      70. 6 (0x6) data bytes in 1 record [TCP=ACK]
      71. -1.----.TACK, 6 ( 6/dec) bytes, offset 0x00
      72. 0: 0000 0000 0000 :......:
      73. 13:48:14.616 B>1 192.168.1.222:57246 -> 176.9.146.163:80, client -1
      74. 6 (0x6) data bytes in 1 record [TCP=ACK,FIN]
      75. -1.----.TFIN, 6 ( 6/dec) bytes, offset 0x00
      76. 0: 0000 0000 0000 :......:
      77. 13:48:14.640 B<1 176.9.146.163:80 -> 192.168.1.222:57246, client -1
      78. 6 (0x6) data bytes in 1 record [TCP=ACK,FIN]
      79. -1.----.TFIN, 6 ( 6/dec) bytes, offset 0x00
      80. 0: 0000 0000 0000 :......:
      81. 13:48:14.641 B>1 192.168.1.222:57246 -> 176.9.146.163:80, client -1
      82. 6 (0x6) data bytes in 1 record [TCP=ACK]
      83. -1.----.TACK, 6 ( 6/dec) bytes, offset 0x00
      84. 0: 0000 0000 0000 :......:
      85. 13:48:14.675 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      86. 0 (0x0) data bytes in 1 record [TCP=SYN]
      87. -1.----.TSYN, 0 ( 0/dec) bytes, offset 0x00
      88. 13:48:14.702 C<2 176.9.146.163:29900 (GPCM) -> 192.168.1.222:57247, client -1
      89. 0 (0x0) data bytes in 1 record [TCP=ACK,SYN]
      90. -1.----.TSYN, 0 ( 0/dec) bytes, offset 0x00
      91. 13:48:14.903 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      92. 6 (0x6) data bytes in 1 record [TCP=ACK]
      93. -1.----.TACK, 6 ( 6/dec) bytes, offset 0x00
      94. 0: 0000 0000 0000 :......:
      95. 13:49:14.874 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      96. 6 (0x6) data bytes in 1 record [TCP=ACK,FIN]
      97. -1.----.TFIN, 6 ( 6/dec) bytes, offset 0x00
      98. 0: 0000 0000 0000 :......:
      99. 13:49:14.875 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      100. 6 (0x6) data bytes in 1 record [TCP=RST]
      101. -1.----.TRES, 6 ( 6/dec) bytes, offset 0x00
      102. 0: 0000 0000 0000 :......:
      Alles anzeigen


      (I couldn't add the full successful communication as it's too long, will add analysed snippets later. The full capture equals frame number 1-90 in my previously attached file pes2008-fresh-account-nossl-nop2p.pcapng.pcap.zip)

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

      Ok, the game appears to be waiting for the GPCM server to ask for further data.

      Where the current wiimmfi only does the handshake:
      Spoiler anzeigen

      Quellcode

      1. 13:48:14.675 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      2. 0 (0x0) data bytes in 1 record [TCP=SYN]
      3. -1.----.TSYN, 0 ( 0/dec) bytes, offset 0x00
      4. 13:48:14.702 C<2 176.9.146.163:29900 (GPCM) -> 192.168.1.222:57247, client -1
      5. 0 (0x0) data bytes in 1 record [TCP=ACK,SYN]
      6. -1.----.TSYN, 0 ( 0/dec) bytes, offset 0x00
      7. 13:48:14.903 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      8. 6 (0x6) data bytes in 1 record [TCP=ACK]
      9. -1.----.TACK, 6 ( 6/dec) bytes, offset 0x00
      10. 0: 0000 0000 0000 :......:
      11. 13:49:14.874 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      12. 6 (0x6) data bytes in 1 record [TCP=ACK,FIN]
      13. -1.----.TFIN, 6 ( 6/dec) bytes, offset 0x00
      14. 0: 0000 0000 0000 :......:
      15. 13:49:14.875 C>2 192.168.1.222:57247 -> 176.9.146.163:29900 (GPCM) , client -1
      16. 6 (0x6) data bytes in 1 record [TCP=RST]
      17. -1.----.TRES, 6 ( 6/dec) bytes, offset 0x00
      18. 0: 0000 0000 0000 :......:
      Alles anzeigen



      The original server answers the ACK by the client with an ACK,PSH and the first "lc" key:
      Spoiler anzeigen

      Quellcode

      1. 22:09:29.997 C>2 192.168.1.222:63645 -> 69.10.30.242:29900 (GPCM) , client -1
      2. 6 (0x6) data bytes in 1 record [TCP=ACK]
      3. -1.----.TACK, 6 ( 6/dec) bytes, offset 0x00
      4. 0: 0000 0000 0000 :......:
      5. 22:09:30.174 C<2 69.10.30.242:29900 (GPCM) -> 192.168.1.222:63645, client -1
      6. 38 (0x26) data bytes in 1 record [TCP=ACK,PSH]
      7. -1.----.TPAR, 26 ( 38/dec) bytes, offset 0x00
      8. lc = 1
      9. challenge = SAFMCEXKVL [B64: 48014c08 45 ca 54]
      10. id = 1
      11. final /
      Alles anzeigen

      ...which the client answers with a "login":
      Spoiler anzeigen

      Quellcode

      1. 22:09:30.215 C>2 192.168.1.222:63645 -> 69.10.30.242:29900 (GPCM) , client -1
      2. 345 (0x159) data bytes in 1 record [TCP=ACK,PSH]
      3. -1.----.TPAR, 159 (345/dec) bytes, offset 0x00
      4. login =
      5. challenge = [32] xA4sU8TEZoky6n0WrkNc5vQT0tfSJ0KF [B64: c40e2c53 c4c46689 32ea7d16 ae435ce6 f413d2d7 d2274285]
      6. authtoken = [131] NDSDBuaySRdNDU1m7MWCXAlredfCo4EkNvs7/MPJ7xpRBmbuQ0PHqYVpq92xPUANg9qngiDPjF2djyqQbreWMZks/Xfj2xbKVzDsGqpMcA7Sz57NYOWyRy2dRH+QbHONjNi
      7. [B64: 0c1b9ac9 245d3435 359bb316 097025ad e75f0a8e 0490dbec eff30f27 bc694419 9bb90d0f 1ea615a6 af76c4f5 00360f6a 9e08833e 3176763c aa41bade 58c664b3 f5df8f6c 5b295cc3 b06aa931 c03b4b3e 7b358396 c91cb675 11fe41b1 ce363362]
      8. partnerid = 11
      9. response = [32] 3eca512c329c0fab85192b12f07e7cf0 [MD5]
      10. firewall = 1
      11. port = 0
      12. productid = 11296 [0x2c20]
      13. gamename = evosoc08EUwii
      14. namespaceid = 16
      15. sdkrevision = 3
      16. id = 1
      17. final /
      Alles anzeigen

      ...to which the original server responds with the second "lc" key:
      Spoiler anzeigen

      Quellcode

      1. 22:09:30.399 C<2 69.10.30.242:29900 (GPCM) -> 192.168.1.222:63645, client -1
      2. 169 (0xa9) data bytes in 1 record [TCP=ACK,PSH]
      3. -1.----.TPAR, a9 (169/dec) bytes, offset 0x00
      4. lc = 2
      5. sesskey = 9904216
      6. proof = [32] ae071f8d9b78b6c585e34116ead8c0eb [MD5]
      7. userid = 447551673 [0x1aad18b9]
      8. profileid = 479744701 [0x1c9852bd,4299-7647-4301]
      9. uniquenick = [20] 55ev07btgRWEP1flmmsq [0x52bbe03afb0 RWEP 0x5f5b5b9a]
      10. lt = [24] KT5IwgUxnylQoSrIKtQzRh__
      11. id = 1
      12. final /
      Alles anzeigen

      After that the client sends a "getprofile" and GPCM answers with a "pi". (These are frame number 39-50 in the above attached capture pes2008-fresh-account-nossl-nop2p.pcapng.pcap.zip.)

      Hope this helps.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von datschge ()

      Your GPCM dump looks like MKW. Maybe it was a problem at login talking to NASWII. Now I have made NASWII more tolerant. Next time you true, tell me the exact time. So I take a look into the large dumps.

      However, in the next week I have much less time because business is waiting.

      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.
      I'll try again now.

      Edit: Nothing changed. I've attached a short capture of it. The timestamps shown by mkw-ana are accurate. First contact was at 22:34:24.539, first to GPCM at 22:34:25.449.

      Edit2: The communication order and content is the same before GPCM comes into play. There are two differences though:
      - The userid the client sends had a size of 6 chars to the official server and 20 chars to wiimmfi (same name used for both, the first 6 chars are the same even).
      - More importantly the token returned by the official naswii has a size of 176 chars, while the one sent by wiimmfi is only 32 chars.
      The rest has exactly the same structure.
      Dateien

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

      The problem was a misinterpretation of the protocol. So the server answered only correct for some games. Hope that it works now.

      EDIT:
      And yes, that were the reason for no answer of the GPCM. MKW starts always with a KA message and the server waited for 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.

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

      Thanks, will try right now and edit this with my findings.

      Edit1: Profile creation/registering is successful now! Login is odd, it seems to hang but cancelling makes it show the logged in state. Can't check if it works from there are I haven't a partner online atm.

      Edit2: Got one to test it with me. Login worked (even if from a cancelled loop, seems to be timing based as some few times it logged in instantly)! Friends can be seen! Match requests work both ways! Just establishing an actual match is causing an endless loop which is I think to be expected, this is already much more than I was expecting before. Now going to analyse the capture of that.

      Edit3: Regarding the login loop, the GPCM server appears to fail to send the bm=2 response to the status=1 message by the client. See the two attached captures in pes2008-login.pcapng.zip, (using mkw-ana) timestamp 23:16:58.015 in loop and 23:31:26.970 in success.

      Edit4: For the incoming request the communication seems fine, though it never reaches the point that the MS server and the NAT servers are put into action. See (using mkw-ana) timestamp 22:14:43.329 in pes2008-fresh-account-nossl-nop2p.pcapng.pcap.zip compared with 23:31:36.183 in the newly attached pes2008-first-tries.pcapng.zip. (Though the guest/host roles seem to be reversed in the captures. Need to do more captures to get a better fitting one.)

      Edit5: For the outgoing request I see this actually might not be a compatibility issue but the game not yet being allowed on wiimmfi. See request to MASTER at timestamp 23:36:07.319 to which the MASTER answers "ERROR: Game not supported!", doesn't get clearer than that. :P
      Dateien

      Dieser Beitrag wurde bereits 5 mal editiert, zuletzt von datschge ()

      datschge schrieb:

      Edit3: Regarding the login loop, the GPCM server appears to fail to send the bm=2 response to the status=1 message by the client. See the two attached captures in pes2008-login.pcapng.zip, (using mkw-ana) timestamp 23:16:58.015 in loop and 23:31:26.970 in success.

      Without looking into your dumps (not possible before the evening), 'bm=2' is only send as answer for an 'addbuddy'.

      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.
      Hm, I overlooked two 'final's in the string, so good that you got me to look twice. ;) The last one sent by the client is actually 'updatepro' and most times the server omitted a 'bm=2' response. For the 'addbuddy' question on the other hand the server appears to answer 'bm=4'.

      But comparing to the communication with the original server that omission doesn't seem to be uncommon actually. Need to check more captures...

      Edit: Looking through a bunch of further captures I can't find anything odd with the way wimmfi communicates there. The communication with MASTER directly preceding that is seems as well (as does everything else). I guess the problem is somewhere else...

      Edit2: Now paying attention to the timestamps GPCM's answer comes pretty fast, after ~60ms. The answers of the official server, even just an ACK, take between ~200 and ~300ms (~1/5 - ~1/3s). Maybe ~60ms is indeed too fast for the client to handle?

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

      datschge schrieb:

      Toad King graciously opened his SSL tunnel again for me to capture everything related to the DLS1 server. All captures (including transfers of downloads make fresh saves up-to-date) are in the attached file. I'll update this post again when I look at those some more times.
      I also used the Toad KIng SSL Tunnel to grab the Professor Layton files. You should keep them preciously, I wasn't able to download those files directly from the Nintendo servers. I suppose the mesh servers are reverse proxy, that's why we aren't able to grab them directly.

      However, I'm currently working on a custom dls1 server. The only thing that will be needed is to rebuild the downloaded files, then add them to the game directory and it will answer as the dls1 and the mesh servers do.

      datschge schrieb:

      Sepalani schrieb:

      However, I'm currently working on a custom dls1 server.


      That's great! Do you already have all the possible communication with the dls1 server figured out, or would be some analysis of the captures I did of use for you?
      Actually my server recognizes the following actions : count, list, content
      Then it searches the corresponding game directory. If it does exist:
      - count: return the number of files
      - list: return the list with each file and its length.
      - content: send the corresponding file.

      I'm cleaning the code and I'll post it tomorrow/tonight. If you know other action, some further analysis of your captures can be great. The only games I tested so far are the Professor Layton ones, so maybe actions are still missing.
      Sorry, but I was very very lazy today. Since weeks, it was the first day without reading network protocols.

      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, Leseratte: Is PES2008 still "not supported" on MASTER? (See Edit5 in post 12.) I'd like to test the match requesting/matchmaking again.

      @Sepalani: That's great you're this far! I think those three are all actions I saw in the captures as well, but I'll recheck to be sure. Maybe we should start an own thread specifically for DLS1 though?

      @Ciapa: PES after 2008 checks for new updates on encrypted DLS1 on login and instantly logs out if the client is outdated. Downloading is done in a different part of the game. If DLS1 doesn't answer at all (since down, blocked, not implemented etc.) the whole login fails. Possibly SSBB behaves the similarly?

      datschge schrieb:

      Edit5: For the outgoing request I see this actually might not be a compatibility issue but the game not yet being allowed on wiimmfi. See request to MASTER at timestamp 23:36:07.319 to which the MASTER answers "ERROR: Game not supported!", doesn't get clearer than that. :P
      Curious.
      mkw-ana query --game evosoc08euwii --server wiimmfi.de works for me.

      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.
      It broke up with error code : 84020
      nintendo.com/consumer/wfc/en_n…0&system=Wii&locale=en_US
      "Currently our Nintendo Wi-Fi Connection match making service is undergoing temporary maintenance. This maintenance can prevent certain games from matching up opponents. Please try your connection again later.
      If you have waited several hours but are still receiving this error when connecting, please see the information below: Cause: This error is typically caused by a firewall interfering with a successful connection to the Nintendo WFC."

      trying to re-enter PES2008 WFC after that resulted in error 94020
      nintendo.com/consumer/wfc/en_n…0&system=Wii&locale=en_US
      "Error Code: 94020: Our experience shows that error messages within this range are typically caused by an unstable network connection. The issue could be with your connection environment, your friend's connection environment, or a temporary issue with the Nintendo Wi-Fi Connection.
      Our servers may be trying to handle an unusually high amount of traffic (especially if you are trying to play online with a recently-released or popular game, or if there is a new Wii system update). Please retry your connection later."