Changes

Jump to navigation Jump to search
687 bytes added ,  16:52, 22 July 2011
no edit summary
Line 6: Line 6:  
== Internet connection ==
 
== Internet connection ==
   −
To identify your 3DS's region and country, different URLs are requested by 3DS's from different countries. A URL contains a subdomain that's specific for your region (EU/USA/JP) and a country code that's specific to your country. Here's a table containing country codes and subdomains known so far:
+
To identify your 3DS's region and country, different URLs are requested by 3DS's from different countries. A URL contains a subdomain that's specific for your region (EU/USA/JP), a country code that's specific to your country and a language code. Here's a table containing country codes and subdomains known so far and corresponding file names:
    
{| class="wikitable"
 
{| class="wikitable"
Line 12: Line 12:  
! Country
 
! Country
 
! Region subdomain
 
! Region subdomain
 +
! File name
 
|-
 
|-
 
| EUR
 
| EUR
 
| pubeu-p
 
| pubeu-p
 +
| ESP_MD
 
|-
 
|-
 
| USA
 
| USA
 
| pubus-p
 
| pubus-p
 +
| ESE_MD
 
|-
 
|-
 
| Japan
 
| Japan
 
| pubjp-p
 
| pubjp-p
 +
| ?
 
|}
 
|}
    
See http://www.wiibrew.org/wiki/Country_Codes for the country codes.
 
See http://www.wiibrew.org/wiki/Country_Codes for the country codes.
   −
In all requests below, ''COUNTRYCODE'' should be replaced with your country's code and ''COUNTRYSUBDOMAIN'' should be replaced with your region's subdomain.
+
Language codes known so far (from european console):
 +
{| class="wikitable"
 +
|-
 +
! Language
 +
! Code
 +
|-
 +
| English
 +
| 1
 +
|-
 +
| French
 +
| 2
 +
|-
 +
| German
 +
| 3
 +
|-
 +
| Italian
 +
| 4
 +
|-
 +
| Spanish
 +
| 5
 +
|-
 +
| Netherlands
 +
| 8
 +
|-
 +
| Portuguese
 +
| 9
 +
|-
 +
| Russian
 +
| 10
 +
|}
 +
 
 +
In all requests below, ''COUNTRYCODE'' should be replaced with your country's code, ''COUNTRYSUBDOMAIN'' should be replaced with your region's subdomain. ''FILENAME'' are also depends on the region and should be replaced correspondingly. ''LANGUAGECODE'' should be replaced by a desired language (by now most of the content are the same for all available languages, so one can use "1" as a most common).
    
Surprisingly, Nintendo Video uses plain unencrypted HTTP connection to transfer videos. When "Connectivity check" button is pressed, Nintendo Video sends a following HTTP request to ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net:
 
Surprisingly, Nintendo Video uses plain unencrypted HTTP connection to transfer videos. When "Connectivity check" button is pressed, Nintendo Video sends a following HTTP request to ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net:
   −
<tt>GET /1/''COUNTRYCODE''/1/CHECK HTTP/1.1
+
<tt>GET /1/''COUNTRYCODE''/''LANGUAGECODE''/CHECK HTTP/1.1
    
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
 
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
   −
As you can see, no console-specific data is being sent. The server respons with either a 403 or 404 error code, where 403 means that user's region (determined by IP, I guess) doesn't match the region specified by ''COUNTRYCODE'' and 'COUNTRYSUBDOMAIN' and 404 means that everything's OK.
+
As you can see, no console-specific data is being sent. The server respons with either a 403 or 404 error code, where 403 means that user's region (determined by IP, I guess) doesn't match the region specified by ''COUNTRYCODE'' and ''COUNTRYSUBDOMAIN'' and 404 means that everything's OK.
    
If everything is OK with the region check, the 3DS proceeds to download videos. It seems that support for only four videos is hardcoded into Nintendo Video app, because it makes following requests (to the same server as the CHECK query):
 
If everything is OK with the region check, the 3DS proceeds to download videos. It seems that support for only four videos is hardcoded into Nintendo Video app, because it makes following requests (to the same server as the CHECK query):
      −
<tt>GET /1/''COUNTRYCODE''/1/ESP_MD1 HTTP/1.1
+
<tt>GET /1/''COUNTRYCODE''/''LANGUAGECODE''/''FILENAME''1 HTTP/1.1
    
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
 
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
      −
<tt>GET /1/''COUNTRYCODE''/1/ESP_MD2 HTTP/1.1
+
<tt>GET /1/''COUNTRYCODE''/''LANGUAGECODE''/''FILENAME''2 HTTP/1.1
    
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
 
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
      −
<tt>GET /1/''COUNTRYCODE''/1/ESP_MD3 HTTP/1.1
+
<tt>GET /1/''COUNTRYCODE''/''LANGUAGECODE''/''FILENAME''3 HTTP/1.1
    
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
 
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
      −
<tt>GET /1/''COUNTRYCODE''/1/ESP_MD4 HTTP/1.1
+
<tt>GET /1/''COUNTRYCODE''/''LANGUAGECODE''/''FILENAME''4 HTTP/1.1
    
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
 
Host: ''COUNTRYSUBDOMAIN''.est.c.app.nintendowifi.net</tt>
Line 59: Line 94:  
ESP_MD''i'' seems to return 403 if user's region doesn't match, 404 if ''i''th video doesn't exist and the video itself otherwise. As of 18th of July 2011, only 1st and 2nd videos are available from UK IP addresses.
 
ESP_MD''i'' seems to return 403 if user's region doesn't match, 404 if ''i''th video doesn't exist and the video itself otherwise. As of 18th of July 2011, only 1st and 2nd videos are available from UK IP addresses.
   −
These videos can easily be downloaded from any computer with IP address that matches country specified by ''COUNTRYCODE'' and ''COUNTRYSUBDOMAIN'' using wget without any special settings.
+
These videos can easily be downloaded from any computer with IP address that matches country specified by ''COUNTRYCODE'', ''COUNTRYSUBDOMAIN'' and ''LANGUAGECODE'' using wget without any special settings.
    
== SD storage ==
 
== SD storage ==
78

edits

Navigation menu