txt2sup command line support

Discussion about Txt2Sup.
Requests and bugfixing.

Moderators: george, Excalibur!, roger_rabbit

txt2sup command line support

Postby trustfm » Sat Feb 16, 2008 9:55 pm

If someone wants manually to make bat files (NOT RECCOMENDED) for txt2sup he should do :
txt2sup.exe haveifo filenameifo filenamesub pal colorantialias coloroutline colortext colorbg fontname fontcharset fontstyle fontsize align offset offsetor outline
ATTENTION :
1)all these values are needed.
2)There is no control of the loaded srt so if you give size=50 and you will not convert the subtitle because the sub is too long to fit on the screen

That's why you should always :
[font=Arial Black]
a) load the ifo file, if you have any, else select the "i do not have an ifo" checkbox
b) load the subtitle (correctly)
c) put the extra options you need (color, offsets etc...)
d) press the batch button in order to generate an 100% correct command line file
[/font]


Explanation of the commands :

-haveifo : -1 if false, 0 if true
-filenameifo : the file name of ifo
-filenamesub : the file name of subtitle
-pal : -1 if false(ntsc), 0 if true
-colorantialias : integer,ItemIndex of ColorAntialias Combobox
-coloroutline : integer,ItemIndex of ColorOutline Combobox
-colortext : integer,ItemIndex of ColorText Combobox
-colorbg : integer,ItemIndex of ColorBackground Combobox
-fontname : integer,ItemIndex of FontName combobox, 0->Arial ...
-fontcharset : integer,ItemIndex of FontCharset combobox, 0->ANSI, 1->ARABIC ...
-fontstyle : integer,ItemIndex of FontStyle combobox, 0->Normal, 1->Bold ...
-fontsize : integer,ItemIndex of FontSize combobox, 0->size 6, 1->size 7 ...
-align : integer,ItemIndex of Align combobox, 0->size center, 1->left, 2->right
-offset : integer, offset example 100
-offsetor : integer, offset horizontal example -4
-outline : integer,ItemIndex of Outline combobox, 0->2, 1->3, 2->4
trustfm
Site Admin
 
Posts: 1649
Joined: Sun Feb 27, 2005 4:40 pm

Return to Txt2Sup

Who is online

Users browsing this forum: No registered users and 1 guest

cron