Changes

Jump to navigation Jump to search
76 bytes added ,  21:38, 8 January 2013
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
 
|-
 
|-
|0
+
|0x00
 
|Magic
 
|Magic
|Byte[4]
+
|char[4]
 
|{'3','D','S','1'}
 
|{'3','D','S','1'}
 
|-
 
|-
|8
+
|0x04
 +
|Version
 +
|uint32
 +
|1
 +
|-
 +
|0x08
 
|Timestamp
 
|Timestamp
|Int
+
|uint32
 +
|Number of seconds since 1/1/2010 00:00:00
 
|-
 
|-
|16
+
|0x0C
 +
|Padding
 +
|uint32
 +
|0
 +
|-
 +
|0x10
 
|Title ID Low
 
|Title ID Low
|Int
+
|uint32
 +
|like the title id low but without the last two letters
 
|-
 
|-
|24
+
|0x14
|Console identifier?
+
|Flags
|Int
+
|uint32
|?
+
|
 
|-
 
|-
|38
+
|0x18
|Unknown
+
|Console ID
|Unknown
+
|byte[4]
|Unknown
+
|unique identifier
 
|-
 
|-
|40
+
|0x1C
|3D Parallax*
+
|Padding
|NegInt?
+
|byte[12]
|?
+
|0
 +
|-
 +
|0x28
 +
|3D Parallax
 +
|float
 +
|[-60,60]
 +
|-
 +
|0x2C
 +
|Padding
 +
|uint32
 +
|0
 
|-
 
|-
|48
+
|0x30
|Category?
+
|Category
|Int?
+
|uint16
|0x02000 for a man, 0x04000 a woman, 0x10000 a mii...
+
|0x2000 for a man, 0x4000 a woman, 0x1000 a mii...
 +
|-
 +
|0x32
 +
|Filter
 +
|uint16
 +
|
 +
|-
 +
|0x34
 +
|Padding
 +
|byte[12]
 +
|0
 
|}
 
|}
  −
*The 3D Parallax value is the distance that the right image needed to move in order to get focus.
  −
  −
My formula to get that value isn't so good but here it is:
  −
  −
x = (lsb - 0xC0) << 8 + msb;
  −
  −
Parallax =  - round( 2 ^ (x/128 + 2) )
  −
  −
If someone makes sense of this, please explain or maybe correct..
 
399

edits

Navigation menu