Difference between revisions of "Private/ds/app/484E94*/pit.bin"

From DSiBrew
< Private‎ | ds‎ | app‎ | 484E94*
Jump to navigation Jump to search
Line 9: Line 9:
 
  2 : CRC16 of whole file
 
  2 : CRC16 of whole file
 
  2 : Offset to entries
 
  2 : Offset to entries
It is known that if the offset to entries is pushed passed the end of the file, the system freezes, it is not known wether this is exploitable or not.
+
It is known that if the offset to entries is pushed passed the end of the file, the system freezes, it is not known wether this is exploitable or not. Infact any change which makes it read passed the end of the file makes it crash.
  
 
'''Please modify''' - the #folders and #photos refers to the last photo in the last folder, so you can have for instance only one photo and modify this values  
 
'''Please modify''' - the #folders and #photos refers to the last photo in the last folder, so you can have for instance only one photo and modify this values  

Revision as of 12:33, 18 January 2011

File Header

8 : Magic
2 : Block-Size
2 : UNKNOWN : 1
2 : # folders (subtracted by 100, as the first is 100NIN0*) 
2 : # of Photos 
2 : UNKNOWN : Always zeroes
2 : # of Frames
2 : CRC16 of whole file
2 : Offset to entries

It is known that if the offset to entries is pushed passed the end of the file, the system freezes, it is not known wether this is exploitable or not. Infact any change which makes it read passed the end of the file makes it crash.

Please modify - the #folders and #photos refers to the last photo in the last folder, so you can have for instance only one photo and modify this values

Each entry (16 bytes)

4 : Date 
8 : Zeroes
1 : Type (1: Frame, 3: Photo)
1 : UNKNOWN : 8 * n <-- n is may entry number (first = 0 seconds = 1 ...) only the last Byte of the result is used
1 : Sticker (0: None, 4: Star,  8: Clover, 12: Heart, 16: Frame)
1 : UNKNOWN : Always zero

Misc information

Photos are stored in:

  • SD:\DCIM\100NIN01
  • SD:\DCIM\100NIN02

Frames are stored in:

  • SD:\private\ds\app\484E494A\DCIM\100NIN01
  • SD:\private\ds\app\484E494A\DCIM\100NIN02