-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFILEFORMATS
More file actions
46 lines (31 loc) · 795 Bytes
/
FILEFORMATS
File metadata and controls
46 lines (31 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
project-file:
*************
bytes
4 header, currently "PPMR".
x x-1 bytes of tile-file name, 0 terminated.
y y-1 bytes of map-file name, 0 terminated.
z z-1 bytes of metatile library-file name, 0 terminated.
tile-file:
**********
bytes
4 header, currently "PPM0".
8*4*3 eight palettes of four colors, each consisting of R, G and B.
32*32 tile palette data.
256*256 tile data in chunky pixel format.
map-file:
*********
bytes
4 header, currently "MEL0".
4 map x.
4 map y.
x*y*2 tile id.
x*y tile property bytes.
metatile-file:
**************
bytes
4 header, currently "PPMM".
4 amount of metatiles.
...
4 t1, t2, t3 and t4.
4 p1, p2, p3 and p4.
...