Examples settings:
=========

Parameters required for configure plugin:

Utilites part:

<exename> utility filename

<path>

path to utility

<url>

Url to utility. Showing as internet label. May be two or more.

<description lng="ru">

Utility description. now "lng" not use.

<ShowConsole>

key, define start type of utility. TRUE or FALSE (default is FALSE - not show window, if TRUE or some text - show window of executing utility. This part has priority. if not found, find in profile part.
<LogDebug> key, writing executing command line TRUE, FALSE or path to log file(default is FALSE - not logging, if TRUE log in %out_arch_file_path_name_ext%.log file or in to file in LogDebug key . This part has priority. if not found, find in profile part.

Profile settings:

<outfilename>

name of the out file that show in archive content and creating after convercion. you can use %in_arch_file_name% variable. Example:

sourse file=c:\path\to\file\my best sound.mp3

text place to %in_arch_file_name%=my best sound

string writen in outfilename key=%in_arch_file_name% - 11000hz.mp3

result file name is=my best sound - 11000hz.mp3

<program> Utility name. Must get from Utilites part
<command>

Command of convertation. Insert after <path> and <exename> keys. Use there variable:

%in_arch_file_name% name source file without extension.
%in_arch_file_path_name_ext% name source file with full path and extension
%out_arch_file_path_name_ext% result file with full path and extension
%out_arch_file_path% full path to result file

example. I need convert c:\music\song.mp3 to c:\mobile\sound\song.amr

%in_arch_file_name% song
%in_arch_file_path_name_ext% c:\music\song.mp3
%out_arch_file_path_name_ext% c:\mobile\sound\song.amr
%out_arch_file_path% c:\mobile\sound\

<description lng="ru"> profile description
<author> name of profile author
<authorcontact> url or e-mail of author. Can more one.
<ShowConsole> use if not exist in Utilites part
<LogDebug> use if not exist in Utilites part

Adjustment is kept in XML file. While they are done by hand(later I change it:). good to do is
necessary only once, when adjusting:)
These tags do not change and do not touch:
<xml>
    <CTConv>
Hereinafter goes adjustment used utilites:
        <utilites>
think up a name unique in this config and call a group:
            <AMRconverter>
here prescribe exe file name, way and URL. Is it Hereinafter planned to add an understanding several ways.
                <exename>Converter.exe</exename>
                <path>%commander_path%\Plugins\WCX\CTConv\programm\amr\</path>
                <url>http://www.totonox.com</url>


            </AMRconverter>
            <BeSweet>
                <exename>BeSweet.exe</exename>
                <path>%commander_path%\Plugins\WCX\CTConv\programm\BeSweet\</path>
                <url>http://dspguru.doom9.org/</url>
            </BeSweet>
            <Lame>
                <exename>lame.exe</exename>
                <path>%commander_path%\Plugins\WCX\CTConv\programm\Lame\</path>
                <url>http://lame.sourceforge.net/</url>
            </Lame>
        </utilites>
        <FileGroup>
here write extension, which want convert
            <ac3>
think up unique name for profile of converting
                <MP344100>
and unique filename, which will be got after converting. Unique within expansion
                    <outfilename>%in_arch_file_name%_44100.mp3</outfilename>
used utility name from group <utilites>
                    <program>BeSweet</program>
and line with keys for starting converter programm.
used substitution:

%in_arch_file_name% source file name without the extension.
%in_arch_file_path_name_ext% name with way and extension of source file
%out_arch_file_path_name_ext% name with way and extension of result file
%out_arch_file_path% path to result file

                    <command> -core( -input "%in_arch_file_path_name_ext%" -output "%out_arch_file_path_name_ext%" ) -azid( -s surround2 ) -lame( -m s ) </command>
                </MP344100>
Accordingly possible adjust much expansions, in them much profiles and on one command of converting there
 
            </ac3>
            <wav>
                <MP344100>
                    <outfilename>%in_arch_file_name%.mp3</outfilename>
                    <program>Lame</program>
                    <command>-h "%in_arch_file_path_name_ext%" "%out_arch_file_path_name_ext%" </command>
                </MP344100>
            </wav>
            <amr>
                <wav>
                    <outfilename>%in_arch_file_name%.wav</outfilename>
                    <program>AMRconverter</program>
                    <command>amr2wav "%in_arch_file_path_name_ext%" "%out_arch_file_path_name_ext%" </command>
                </wav>
            </amr>
            <vob>
                <MP344100>
                    <outfilename>%in_arch_file_name%_44100.mp3</outfilename>
                    <program>BeSweet</program>
                    <command>-core( -input "%in_arch_file_path_name_ext%" -output "%out_arch_file_path_name_ext%" ) -azid( -s surround2 ) -lame( -m s ) </command>
                </MP344100>
            </vob>
        </FileGroup>
    </CTConv>
</xml>

Используются технологии uCoz