Rev 378 | Rev 466 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
378 | daniel-mar | 1 | FFX (Filters Unlimited) file format |
2 | =================================== |
||
3 | |||
4 | FFXFile_V10 = { |
||
5 | String fileVersion // "FFX1.0" |
||
6 | String title |
||
7 | String category |
||
8 | String author |
||
9 | String copyright |
||
10 | String[5] channels // I (Intro), R, G, B, A |
||
11 | SliderInfo[8] sliders |
||
12 | int32_t gradientIndex |
||
13 | } |
||
14 | |||
15 | FFXFile_V11 = { |
||
16 | String fileVersion // "FFX1.1" |
||
17 | String title |
||
18 | String category |
||
19 | String author |
||
20 | String copyright |
||
21 | String[5] channels // I (Intro), R, G, B, A |
||
22 | SliderInfo[8] sliders |
||
23 | int32_t gradientIndex |
||
24 | int32_t numPresets // new in FFX 1.1 |
||
25 | Preset[] presets // new in FFX 1.1 |
||
26 | } |
||
27 | |||
28 | FFXFile_V12 = { |
||
29 | String fileVersion // "FFX1.2" |
||
30 | String title |
||
31 | String category |
||
32 | String author |
||
33 | String copyright |
||
34 | String[5] channels // I (Intro), R, G, B, A |
||
35 | SliderInfo[8] sliders // Slider names prefix: {C} = Checkbox, {S} or none = Slider |
||
36 | int32_t gradientIndex |
||
390 | daniel-mar | 37 | int32_t bitmapInfoSize // new in FFX 1.2 |
38 | BitmapInfo bitmapInfo // new in FFX 1.2 |
||
378 | daniel-mar | 39 | int32_t numPresets // new in FFX 1.1 |
40 | Preset[] presets // new in FFX 1.1 |
||
41 | } |
||
42 | |||
390 | daniel-mar | 43 | BitmapInfo = { |
44 | char[] szFilesize // human readable file size (numeric string) with NUL terminator |
||
45 | char[] szUnknown // Always 1 NUL character? |
||
46 | char[] jpgData |
||
47 | } |
||
48 | |||
378 | daniel-mar | 49 | String = { |
50 | int32_t length |
||
51 | char[] value |
||
52 | } |
||
53 | |||
54 | SliderInfo = { |
||
55 | int32_t nameLength |
||
56 | char[] name |
||
57 | byte enabled |
||
58 | int32_t initialValue |
||
59 | } |
||
60 | |||
61 | Preset = { |
||
62 | String name |
||
63 | int32_t[8] sliderPosition |
||
64 | int32_t gradientIndex |
||
65 | int32_t unknown1 // TODO: ??? Is usually 0x0000006e (110) for FFX 1.1 and 0x0000006b (107) for FFX 1.2 |
||
66 | int32_t unknown2 // TODO: ??? Is usually 0x00000053 (94) |
||
67 | int32_t jpegThumbnailLength |
||
68 | byte[] jpegThumbnailData |
||
69 | } |