Private/ds/app/484E94*/pit.bin: Difference between revisions
mNo edit summary |
|||
| (8 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
'''If you have photos or frames in the */100NIN01 folder, can you send me your pit.bin file please at <ludolacost_gm@il_com> ?''' | |||
== File Header == | == File Header == | ||
{| class="wikitable" border="1" | {| class="wikitable" border="1" | ||
|- | |- | ||
! OFFSET | ! OFFSET (bytes) | ||
! SIZE | ! SIZE (bytes) | ||
! DESCRIPTION (common value) | ! DESCRIPTION (common value) | ||
|- | |- | ||
| Line 16: | Line 19: | ||
| 0x08 | | 0x08 | ||
| 2 | | 2 | ||
| | | # slots in the file (3000) | ||
|- | |- | ||
| 0x0A | | 0x0A | ||
| 2 | | 2 | ||
| | | Folder counter; hundreds' digit (?) | ||
|- | |- | ||
| 0x0C | | 0x0C | ||
| 2 | | 2 | ||
| | | Folder counter; tens' digits (i.e. : next folder's number will be ++foldercounter) | ||
|- | |- | ||
| 0x0E | | 0x0E | ||
| 2 | | 2 | ||
| | | Photo counter (i.e. : next photo's number will be ++photocounter) | ||
|- | |- | ||
| 0x10 | | 0x10 | ||
| Line 36: | Line 39: | ||
| 0x12 | | 0x12 | ||
| 2 | | 2 | ||
| | | Frame counter (i.e. : next frame's number will be ++framecounter) | ||
|- | |- | ||
| 0x14 | | 0x14 | ||
| Line 49: | Line 52: | ||
== Each entry (16 bytes) == | == Each entry (16 bytes) == | ||
{| class="wikitable" border="1" | |||
|- | |||
! OFFSET (bytes) | |||
! SIZE (bytes) | |||
1 | ! DESCRIPTION (common value) | ||
|- | |||
| 0x00 | |||
| 4 | |||
| Date (# seconds since Jan/1/2000) | |||
|- | |||
| 0x04 | |||
| 8 | |||
| UNKNOWN (0x00 8 times) | |||
|- | |||
| 0x0C | |||
| 4 | |||
| flags (see below) | |||
|} | |||
=== flags field === | |||
{| class="wikitable" border="1" | |||
|- | |||
! OFFSET (bits) | |||
! SIZE (bits) | |||
! DESCRIPTION (common value) | |||
|- | |||
| 0 | |||
| 1 | |||
| # folder where the photo is; hundreds' digit (?) | |||
|- | |||
| 1 | |||
| 7 | |||
| # folder where the photo is; tens' digits | |||
|- | |||
| 8 | |||
| 3 | |||
| UNKNOWN (000b) | |||
|- | |||
| 11 | |||
| 7 | |||
| Photo's number minus 1 | |||
|- | |||
| 18 | |||
| 2 | |||
| Sticker (0: None, 1: Star, 2: Clover, 3: Heart) | |||
|- | |||
| 20 | |||
| 1 | |||
| Type of the entry (0: Photo, 1: Frame) | |||
|- | |||
| 21 | |||
| 11 | |||
| UNKNOWN (0b 11 times) | |||
|} | |||
== Misc information == | == Misc information == | ||
| Line 63: | Line 114: | ||
* SD:\private\ds\app\484E494A\DCIM\100NIN01 | * SD:\private\ds\app\484E494A\DCIM\100NIN01 | ||
* SD:\private\ds\app\484E494A\DCIM\100NIN02 | * SD:\private\ds\app\484E494A\DCIM\100NIN02 | ||
== See also == | |||
* [[User:Ludo6431/pit-read.c | pit.bin file reader]] | |||
* [[User:Remark/Pit-fixcrc.c | pit.bin crc fixer]] | |||