MPO: Difference between revisions
m fixed broken link |
|||
(4 intermediate revisions by 2 users not shown) | |||
Line 5: | Line 5: | ||
Document describing the file format used in mpo files: | Document describing the file format used in mpo files: | ||
http://www.cipa.jp/ | http://www.cipa.jp/std/documents/e/DC-007_E.pdf | ||
Nintendo uses a common format for its 3D pictures. | Nintendo uses a common format for its 3D pictures. | ||
Line 188: | Line 188: | ||
'''Nintendo's 64Byte Note''' | '''Nintendo's 64Byte Note''' | ||
Different from the wrapping structure this structure is Little-Endian. | |||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
Line 196: | Line 198: | ||
! Default Value | ! Default Value | ||
|- | |- | ||
| | |0x00 | ||
|Magic | |Magic | ||
| | |char[4] | ||
|{'3','D','S','1'} | |{'3','D','S','1'} | ||
|- | |- | ||
| | |0x04 | ||
|? | |? | ||
|uint32 | |||
|1 / 2 / 4 / 5 | |||
|- | |||
|0x08 | |||
|Timestamp | |||
|uint32 | |||
|Number of seconds since 1/1/2000 00:00:00 | |||
|- | |||
|0x0C | |||
|Padding | |||
|uint32 | |||
|0 | |||
|- | |||
|0x10 | |||
|Title ID Low | |||
|uint32 | |||
|like the title id low but without the last two letters | |||
|- | |||
|0x14 | |||
|Flags | |||
|uint32 | |||
| | |||
|- | |||
|0x18 | |||
|Console ID | |||
|byte[4] | |||
|unique identifier | |||
|- | |||
|0x1C | |||
|Padding | |||
|byte[12] | |||
|0 | |||
|- | |||
|0x28 | |||
|3D Parallax | |||
|float | |||
|[-52,54] | |||
|- | |- | ||
| | |0x2C | ||
| | |Padding | ||
| | |uint32 | ||
| | |0 | ||
|- | |- | ||
| | |0x30 | ||
| | |Category | ||
| | |uint16 | ||
| | |0x2000 for a man, 0x4000 a woman, 0x1000 a mii... | ||
|- | |||
|0x32 | |||
|Filter | |||
|uint16 | |||
| | |||
|- | |- | ||
| | |0x34 | ||
| | |Padding | ||
| | |byte[12] | ||
| | |0 | ||
|} | |} | ||