Changes

262 bytes added ,  06:37, 15 November 2014
no edit summary
Line 77: Line 77:  
| 0x18
 
| 0x18
 
| 0x4
 
| 0x4
| Top Screen Texture offset, see below.
+
| Top screen texture offset, see below.
 
|-
 
|-
 
| 0x1C
 
| 0x1C
 
| 0x4
 
| 0x4
| ?
+
| Additional top-screen texture offset, used with draw-type val2. This is optional when using draw-type val2.
 
|-
 
|-
 
| 0x20
 
| 0x20
Line 178: Line 178:  
The filesize is aligned to 0x10-bytes. The filesize must be at least 0xC4-bytes. The size of the above header is 0xD0-bytes(0xC4-bytes aligned to 0x10-bytes?).
 
The filesize is aligned to 0x10-bytes. The filesize must be at least 0xC4-bytes. The size of the above header is 0xD0-bytes(0xC4-bytes aligned to 0x10-bytes?).
   −
With the solid-color data, there's 5-bytes located at the solid-color data offset. With draw-type val2, there's 7-bytes located here. With draw-type val2, texture5 is also used(this likely isn't used for the entire top-screen). The first 4-bytes located here is RGBA8888 pixel data, the rest is unknown.
+
With the solid-color data, there's 5-bytes located at the solid-color data offset. With draw-type val2, there's 7-bytes located here. The first 4-bytes located here is RGBA8888 pixel data, the rest is unknown.
 +
 
 +
With draw-type val2, texture5 is also used(this likely isn't used for the entire top-screen). With draw-type val2, an extra texture with the same format/dimensions as texture5 can be used, when the additional texture offset field is set.
    
==Textures==
 
==Textures==
Line 219: Line 221:  
| This is the texture used for the bottom-screen background, when the frame-type is set for this one.
 
| This is the texture used for the bottom-screen background, when the frame-type is set for this one.
 
|-
 
|-
| 4
+
| 5
 
| RGBA8888
 
| RGBA8888
 
| 64x64
 
| 64x64
 
| 64x64
 
| 64x64
| This is used with the top-screen when top-screen draw-type is val2.
+
| This is used with the top-screen when top-screen draw-type is val2, see above.
 
|}
 
|}