The preset files are located in [Application's folder]\Presets\[Preset name]
The root Presets folder contains a file called Presets.lst. It lists the names of the directories in which the presets are located.
The following files must be present in a preset folder:
- back.png - the back arrow
- next.png - the next arrow
- Current.png - the current
chapter/subtitle/episode
- Frame.png - the frame of the chapter
- Mask.png - the mask the image is
cropped with. The mask must be a PNG file whose masked areas mark the parts that will be cropped.
- Select.png - the image of the selected chapter.
Data.ini is the file that describes the chapter images. All coordinates are in pixels.
[main]
Width=273
Height=151
// the width and height to which the original image is resized
bmpTop=36
bmpLeft=24
bmpWidth=218
bmpHeight=125
// the coordinates of the chapter image placeholder (the area the chapter image is placed in, optional).
Default: 0, 0, Width, Height
Mask=Mask.png
// the file containing the cropping mask
Frame=Frame.png
// the file containing the frame
Select=Select.png
// the file containing the selection frame/marker
SelectTop=0
SelectLeft=0
// the offset of the selection relative to the frame coordinates; negative values are allowed
Current=Current.png
// the file containing the current chapter marker
CurrentTop=95
CurrentLeft=220
// the offset of the current chapter marker relative to the frame coordinates; negative values are allowed
Next=next.png
// the file of the next button
Prev=back.png
// the file of the previous button
NextPrev=h
// the arrangement of the page navigation buttons (next and prev): v - vertical, h - horizontal
LinesRemove=0
// the default value for removing the top/bottom black bars
Rows=1
// the default number of rows
ChapsInRow=5
// the default number of chapters per row
ReturnKey=1
// the default return key: 0=None, 1=Down, 2=Up, 3=Left, 4=Right
[number]
HasNumber=true
// place the number of the chapter on the generated chapter image: true/false
Left=35
Top=36
// the offset of the number relative to the frame coordinates; negative values are allowed
Color=$FFFFFF
// the color of the number in ARGB format
Font="Arial"
// the font name of the number
Size=22
// the font size of the number
Bold=true
// bold font: true/false
Italic=false
// italic font: true/false
ShadowColor=$80000000
// the shadow color of the number in ARGB format
ShadowRadius=3
// the shadow radius of the number in pixels