Nintendo Video: Difference between revisions
DaniElectra (talk | contribs) m →SD storage: Add video length |
DaniElectra (talk | contribs) →SD storage: Add timestamp |
||
Line 154: | Line 154: | ||
|- | |- | ||
| 0x2C | | 0x2C | ||
| 0x4 or | | 0x4 | ||
| Unknown ( | | Header length (from this value until video description, both included) | ||
|- | |||
| 0x30 | |||
| 0x0 or 0x28? | |||
| Unknown? (keeping this as it was allocated on the wiki before) | |||
|- | |- | ||
| 0x30 or 0x58 | | 0x30 or 0x58 | ||
Line 162: | Line 166: | ||
|- | |- | ||
| 0x50 or 0x68 | | 0x50 or 0x68 | ||
| 0x10 | | 0x8 | ||
| ? | | [[#Timestamp|Release date]] | ||
|- | |||
| 0x50 or 0x68 | |||
| 0x8 | |||
| [[#Timestamp|Expire date]] | |||
|- | |||
| 0x60 or 0x88 | |||
| 0x0 or 0x10? | |||
| Unknown? (keeping this as it was allocated on the wiki before) | |||
|- | |- | ||
| 0x60 or 0x88 | | 0x60 or 0x88 | ||
Line 196: | Line 208: | ||
| Interactive links data size | | Interactive links data size | ||
| [[#Interactive links data|Interactive links data]] | | [[#Interactive links data|Interactive links data]] | ||
|} | |||
=== Timestamp === | |||
The release and expire date are stored using a custom timestamp, where each value (year, month, day...) is stored as unique bytes. | |||
{| class="wikitable" | |||
|- | |||
! Offset | |||
! Length | |||
! Notes | |||
|- | |||
| 0x0 | |||
| 0x2 | |||
| Year | |||
|- | |||
| 0x2 | |||
| 0x1 | |||
| Month | |||
|- | |||
| 0x3 | |||
| 0x1 | |||
| Day | |||
|- | |||
| 0x4 | |||
| 0x1 | |||
| Hours | |||
|- | |||
| 0x5 | |||
| 0x1 | |||
| Minutes | |||
|- | |||
| 0x6 | |||
| 0x1 | |||
| Seconds | |||
|- | |||
| 0x7 | |||
| 0x1 | |||
| Padding? | |||
|} | |} | ||