In memory of Ben “bushing” Byer, who passed away on Monday, February 8th, 2016.

Difference between revisions of "NUS"

From WiiBrew
Jump to navigation Jump to search
m (Linked to system update)
(→‎Protocol: condensed the downloading part)
Line 7: Line 7:
 
To query a list of titles, a SOAP request is sent to /nus/services/NetUpdateSOAP, with action urn:nus.wsapi.broadon.com/. The result is an XML structure containing all titles.
 
To query a list of titles, a SOAP request is sent to /nus/services/NetUpdateSOAP, with action urn:nus.wsapi.broadon.com/. The result is an XML structure containing all titles.
  
=== Download a TMD ===
+
=== Download a TMD, ticket, or content===
A TMD for a given title can be downloaded from /ccs/download/<titleid>/tmd[version], where titleid is the title ID in hex, and omitting the version uses the latest version.
+
These can be downloaded from /ccs/download/<titleid>/<name>, where titleid is the title ID in hex, and name is one of three things:
 
+
* tmd[version] - downloads the TMD for the version provided, or the latest version if no version is provided
=== Download a ticket ===
+
* cetk - downloads the ticket
A title's ticket can be downloaded from /ccs/download/<titleid>/cetk, where titleid is the title ID in hex.
+
* <contentid> - downloads a specific content
 
 
=== Download contents ===
 
Any content can be downloaded with a request to /ccs/download/<titleid>/<contentid>, where titleid is the title ID in hex, and contentid is the content ID in hex.
 
  
 
[[Category:Online services]]
 
[[Category:Online services]]

Revision as of 21:44, 10 July 2021

NUS (short for Nintendo Update Server) is a set of HTTP servers used to serve updates for Nintendo's consoles. For the Wii and Wii U, this server is located at http://nus.cdn.shop.wii.com.

Protocol

The Wii uses user agent wii libnup/1.0 for all requests.

Query a list of titles

To query a list of titles, a SOAP request is sent to /nus/services/NetUpdateSOAP, with action urn:nus.wsapi.broadon.com/. The result is an XML structure containing all titles.

Download a TMD, ticket, or content

These can be downloaded from /ccs/download/<titleid>/<name>, where titleid is the title ID in hex, and name is one of three things:

  • tmd[version] - downloads the TMD for the version provided, or the latest version if no version is provided
  • cetk - downloads the ticket
  • <contentid> - downloads a specific content