Phtcache.bin: Difference between revisions
No edit summary |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 15: | Line 15: | ||
|- | |- | ||
| 0xC | | 0xC | ||
| | | 0x2 | ||
| | | Total number of photo entries(including unused entries) stored here, this is normally value 3000 (500 on NAND). | ||
|- | |||
| 0xE | |||
| 0x2 | |||
| This u16 must be < 2, this is normally value 1 (0 for NAND). | |||
|- | |||
| 0x10 | |||
| 0x2 | |||
| Unknown, normally value zero. | |||
|- | |- | ||
| 0x12 | | 0x12 | ||
| 0x2 | | 0x2 | ||
| Total number of photos, excluding 2D dups. | | Total number of photos(used entries), excluding 2D dups. | ||
|- | |- | ||
| 0x14 | | 0x14 | ||
Line 28: | Line 36: | ||
| 0x16 | | 0x16 | ||
| 0x2 | | 0x2 | ||
| | | Size of this header, must be >=0x18(this is always value 0x18). | ||
|- | |- | ||
| 0x18 | | 0x18 | ||
| | | 0x98 * Number of Pictures | ||
| Pictures Property, index refereed by 3DS Camera | | Pictures Property, index refereed by 3DS Camera | ||
|} | |} | ||
The phtcache.bin actual filesize must be at least the following size: hdrsizefield + totalstoredentries*0x98. | |||
== Pictures Property == | == Pictures Property == | ||
Line 93: | Line 103: | ||
| 0x4 | | 0x4 | ||
| File size | | File size | ||
|- | |||
| 0x50 | |||
| 0x18*4 | |||
| 4 blocks, where each block is 0x18-bytes. | |||
|} | |} |