Phtcache.bin: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
== File Header == | == File Header == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! | ! Offset | ||
! Size | ! Size | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0x0 | ||
| | | 0x8 | ||
| | | Always "1UJQ00_1" | ||
|- | |- | ||
| | | 0x8 | ||
| | | 0x4 | ||
| | | Number of Pictures + 1 | ||
|- | |- | ||
| | | 0xC | ||
| | | 0x6 | ||
| Always B8-0B-01-00-00-00 | | Always B8-0B-01-00-00-00 | ||
|- | |- | ||
| Total number of photos | | 0x12 | ||
| | | 0x2 | ||
| | | Total number of photos, excluding 2D dups. | ||
|- | |||
| 0x14 | |||
| 0x2 | |||
| CRC16 over the entire file with this CRC field set to zero when calculating the CRC, with initialval=0 and polynomial=0xA001. | |||
|- | |- | ||
| | | 0x16 | ||
| | | 0x2 | ||
| | | Unknown, usually value 0x18? | ||
|- | |- | ||
| | | 0x18 | ||
| 0x152 * Number of Pictures | | 0x152 * Number of Pictures | ||
| | | Pictures Property, index refereed by 3DS Camera | ||
|} | |} | ||
Line 68: | Line 42: | ||
! Description | ! Description | ||
|- | |- | ||
| | | 0x0 | ||
| 0x04 | | 0x04 | ||
| | | Null-terminated file extension: MPO, JPG, or AVI. | ||
|- | |||
| 0x4 | |||
| 0x8 | |||
| Image file name, without the extension. | |||
|- | |||
| 0xC | |||
| 0x8 | |||
| Directory name under the DCIM directory. | |||
|- | |||
| 0x14 | |||
| 0x4 | |||
| Time taken based on "DS epoch" (start of 1/1/2000) (UNIX+946684800) | |||
|- | |||
| 0x1C | |||
| 0x4 | |||
| Time last viewed? | |||
|- | |||
| 0x24 | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x28 | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x2C | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x30 | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x34 | |||
| 0x4 | |||
| ? | |||
|- | |- | ||
| 0x38 | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x3C | |||
| 0x4 | |||
| ? | |||
|- | |||
| 0x40 | |||
| 0x4 | |||
| File size | |||
|} | |} | ||