Nintendo Video: Difference between revisions
DaniElectra (talk | contribs) m →SD storage: Fix typos |
DaniElectra (talk | contribs) Add information of additional header on SD storage |
||
Line 115: | Line 115: | ||
== SD storage == | == SD storage == | ||
Downloaded videos are stored in the SD card [[Extdata]], from the decrypted [[SpotPass]] content payload. Country info is presumably stored in this metadata, region-lock is handled by the BOSS module via the programID in the [[SpotPass#Payload Content Header|payload header]] | Downloaded videos are stored in the SD card [[Extdata]], from the decrypted [[SpotPass]] content payload, adding an additional header to them. Country info is presumably stored in this metadata, region-lock is handled by the BOSS module via the programID in the [[SpotPass#Payload Content Header|payload header]]. | ||
While the SpotPass payload uses little-endian, the extra header added to the Extdata is stored in big-endian. | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
Line 127: | Line 126: | ||
| 0x0 | | 0x0 | ||
| 0x4 | | 0x4 | ||
| | | Unknown, value is 0x18 | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
| 0x14 | |||
| ? | |||
|- | |||
| 0x18 | |||
| 0x8 | |||
| TitleID of Nintendo Video | |||
|- | |||
| 0x20 | |||
| 0x8 | |||
| ? | |||
|- | |||
| 0x28 | |||
| 0x4 | | 0x4 | ||
| Start address of | | File size | ||
|- | |||
| 0x2C | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x30 | |||
| 0x4 | |||
| Release date (integer, YYYYmmddhh) | |||
|- | |||
| 0x34 | |||
| | |||
| SpotPass payload | |||
|} | |||
== File format == | |||
The SpotPass content downloaded for Nintendo Video uses the [[SpotPass]] content container format, see the SpotPass page for info on the container format. At the end of the video file is a JPEG, which contains the video thumbnail, and various advertising metadata (interactive links) including the URL associated with the video. The text shown on the web browser button is also stored in the interactive links. | |||
Region info is stored in the decrypted SpotPass crypto layer, see above SD section. | |||
The following entries use little-endian. | |||
{| class="wikitable" | |||
|- | |||
! Offset | |||
! Length | |||
! Notes | |||
|- | |||
| 0x0 | |||
| 0x4 | |||
| Start address of header? (0x0) | |||
|- | |||
| 0x4 | |||
| 0x4 | |||
| End address of header | |||
|- | |- | ||
| 0x8 | | 0x8 | ||
| 0x4 | | 0x4 | ||
| | | Start address of metadata and video | ||
|- | |- | ||
| 0xC | | 0xC | ||
| 0x4 | | 0x4 | ||
| | | End address of metadata and video | ||
|- | |- | ||
| 0x10 | | 0x10 | ||
Line 155: | Line 199: | ||
| 0x2C | | 0x2C | ||
| 0x4 | | 0x4 | ||
| | | Metadata length | ||
|- | |- | ||
| 0x30 | | 0x30 | ||
| 0x20 | | 0x20 | ||
| Video ID (M<shortvidtitle>video ID) | | Video ID (M<shortvidtitle>video ID) | ||
|- | |- | ||
| 0x50 | | 0x50 | ||
| 0x8 | | 0x8 | ||
| [[#Timestamp|Release date]] | | [[#Timestamp|Release date]] | ||
|- | |- | ||
| 0x58 | | 0x58 | ||
| 0x8 | | 0x8 | ||
| [[#Timestamp|Expire date]] | | [[#Timestamp|Expire date]] | ||
|- | |- | ||
| 0x60 | | 0x60 | ||
| 0x78 | | 0x78 | ||
| UTF-16 video title | | UTF-16 video title | ||
|- | |- | ||
| 0xD8 | | 0xD8 | ||
| 0x8 | | 0x8 | ||
| ? | | ? | ||
|- | |- | ||
| 0xE0 | | 0xE0 | ||
| 0x4 | | 0x4 | ||
| Video length | | Video length | ||
|- | |- | ||
| 0xE4 | | 0xE4 | ||
| 0x190 | | 0x190 | ||
| UTF-16 video description | | UTF-16 video description | ||
|- | |- | ||
| 0x274 | | 0x274 | ||
| 0x20 * number of links | | 0x20 * number of links | ||
| Interactive link IDs (I<shortvidtitle>video ID) | | Interactive link IDs (I<shortvidtitle>video ID) | ||
Line 312: | Line 348: | ||
| Thumbnail image | | Thumbnail image | ||
|} | |} | ||
== Server spoofing == | == Server spoofing == |