Flipnote Files: Difference between revisions

From DSiBrew
Jump to navigation Jump to search
Steven (talk | contribs)
No edit summary
LoganA (talk | contribs)
mNo edit summary
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== *.ppm FILES ==
Flipnote Studio uses 3 different file extensions:
{| class="wikitable"
*[[/PPM|.PPM]] - these are the animation files themselves
|- style="background-color: #ddd;"
*[[/LST|.LST]] - This is a list of the files in the current directory
! Start
*[[/PLS|.PLS]] - These are the sticker files, and the recently edited file.
! Length
! Description
|-
| 0x0000
| 4
| Magic (should be PARA)
|-
| 0x0004
| 4
| File size without the header or the preview image
|-
| 0x0008
| 4
| Zeroes
|-
| 0x000C
| 2
| # of frames
|-
| 0x000E
| 4
| Unknown - Flags? normal files are 24 00 00 00, locked files have 24 00 01 00 in this area
|-
| 0x0012
| 2
| Preview frame number ??
|-
| 0x0014
| 22
| Original author name (UCS-2)
|-
| 0x002A
| 22
| Author name (UCS-2)
|-
| 0x0040
| 22
| User name (UCS-2)
|-
| 0x0056
| 8
| Original author ID
|-
| 0x005E
| 8
| Author ID
|-
| 0x0066
| 18
| Original File-name - see notes on format
|-
| 0x0078
| 18
| File-name - see notes on format
|-
| 0x008A
| 8
| Mirrored author ID ??
|-
| 0x0092
| 8
| File name? - see notes on format
|-
| 0x009A
| 6
| Unknown - possibly date information
|-
| 0x00A0
| 1536
| Preview Bitmap (4 bits/pixel)
|}
 
The file name seems to be stored in the file header 3 times:
*Original file name 0x0066
*Current file name 0x0078
*Partial file name 0x0092
 
The file name is stored in 3 parts:
*3 hex bytes, the first byte's high nibble is not the same as the first byte of the file name
*13 bytes for the central part of the file name
*2 bytes for the last part of the file name.
 
For the file name : G35B20_0909841CDBEB1_002
*First location: D3 5B 20 30 39 30 39 38 34 31 43 44 42 45 42 31 00 00
*Second location: D3 5B 20 30 39 30 39 38 34 31 43 44 42 45 42 31 02 00
*Last location: D3 5B 20 09 09 84 1C DB
 
=== Palette: ===
{| class="wikitable"
|- style="background-color: #ddd;"
! Hex
! Color
|-
| 0x0
| ??
|-
| 0x1
| Dark grey
|-
| 0x2
| White
|-
| 0x3
| Light grey
|-
| 0x4
| Light red
|-
| 0x5
| Dark red
|-
| 0x6
| Pink
|-
| 0x7
| Pure green
|-
| 0x8
| Pure blue
|-
| 0x9
| Purple
|-
| 0xA
| Light blue
|-
| 0xB
| Pure green
|-
| 0xC
| Magenta
|-
| 0xD
| Pure green
|-
| 0xE
| Pure green
|-
| 0xF
| Pure green
|}

Latest revision as of 20:00, 22 August 2009

Flipnote Studio uses 3 different file extensions:

  • .PPM - these are the animation files themselves
  • .LST - This is a list of the files in the current directory
  • .PLS - These are the sticker files, and the recently edited file.