Changes

Jump to navigation Jump to search
130 bytes removed ,  06:28, 9 February 2012
no edit summary
Line 115: Line 115:     
== SD storage ==
 
== SD storage ==
After downloading videos, Nintendo Video stores them on the SD card. Videos with the decrypted SpotPass payload are stored in [[Extdata]]. [https://gist.github.com/bef27e4a60cdb472c359 Metadata] is stored in cleartext in the decrypted extdata - the actual video might be encrypted(unknown), there's no magic number/fourcc in the decrypted extdata for the video. Region/country info is presumably stored in this metadata.
+
After downloading videos, Nintendo Video stores them on the SD card. Videos with the decrypted SpotPass payload are stored in [[Extdata]]. Region/country info is presumably stored in this metadata.
   −
Structure of the above metadata:(size is 0x1000-bytes)
+
All of these fields are big-endian?
 +
Structure of the metadata:
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
Line 134: Line 135:  
| 0x18
 
| 0x18
 
| 8
 
| 8
| Big-endian titleID of Nintendo Video
+
| TitleID of Nintendo Video
 
|-
 
|-
 
| 0x20
 
| 0x20
| 0x38
+
| 0x8
 +
| ?
 +
|-
 +
| 0x28
 +
| 0x4
 +
| Total filesize?
 +
|-
 +
| 0x2c
 +
| 0x2c
 
| Unknown, some countries' videos has two extra words added here?
 
| Unknown, some countries' videos has two extra words added here?
 
|-
 
|-
Line 150: Line 159:  
| 0x88
 
| 0x88
 
| 0x78
 
| 0x78
| UCS-2 video title
+
| UTF-16 video title
 
|-
 
|-
 
| 0x100
 
| 0x100
Line 158: Line 167:  
| 0x10c
 
| 0x10c
 
| 0x190
 
| 0x190
| UCS-2 video description
+
| UTF-16 video description
 
|-
 
|-
 
| 0x29c
 
| 0x29c
Line 167: Line 176:  
| 0xd44
 
| 0xd44
 
| ?
 
| ?
 +
|-
 +
| 0x1000
 +
| ?
 +
| Icon data might be stored here?
 
|}
 
|}
   Line 202: Line 215:  
| 0x8
 
| 0x8
 
| Always 00 01 00 00 00 02 00 02
 
| Always 00 01 00 00 00 02 00 02
 +
|-
 +
| 0x1c
 +
| 0x27a?
 +
| Unknown, going by the size of this a RSA-4096 signature might be stored here among other things?
 
|}
 
|}
    
It appears that this file format is big-endian, unlike [[CXI]].
 
It appears that this file format is big-endian, unlike [[CXI]].
   −
Data following the header is encrypted, the CTR used is likely based on metadata in the header.(like the timestamp) Since [http://wiibrew.org/wiki/WiiConnect24/WC24_Content WC24] content was signed, it's likely SpotPass content is signed as well. The video codec used is unknown. Region info is stored the decrypted SpotPass crypto layer, see above SD section.
+
Data following the header is encrypted, the CTR used is likely based on metadata in the header.(like the timestamp) The video codec used is unknown. Region info is stored in the decrypted SpotPass crypto layer, see above SD section.
    
== Server spoofing ==  
 
== Server spoofing ==  

Navigation menu