![]() |
Source Code: Conversion Converter
1 Attachment(s)
Greetings, Forum Users.
Presenting... The Conversion Converter _________________________________ Description
Tutorials/Instructions Constants OUTDIRPATH\ the selected output directory or the output for the converted files. SELDIRPATH\ the selected application directory or the source of files to be converted. Inno Setup Constants The Conversion Converter Files Converter.exe - The Converter Executable File Converter.ini - The Converter Configuration File How to Configure The Converter? Open Converter.ini using Notepad. [Conversion] - This section defines the information of the conversion you want create Name= - Defines the Program/Game you want to create a conversion for. Type= - Defines the Conversion type, for example: it can 2xDVD9 - 3xDVD5. Size= - Defines the space needed by the conversion in megabytes Check= - Defines a file which will be used for recognition by the converter. *NOTE*: Check2 can be introduced if you are doing a multi-conversion, the total number of checks you can use is 10. Language= - Defines the language(s) supported by the program/game for the conversion. (See language list below). [TaskSettings] - This section triggers the converter to do a task. *Note*: This section has a tasking integer which starts from 1 up until infinity therefore for instruction, the x variable will be used to clarify where the integer should be used. *Info*: the integer count will go accordingly which betters conversion capabilities and errors. The available compressing sub-sections are: FreearcFilex= - commands the converter to compress a file using freearc compression. 7zFilex= - commands the converter to compress a file using 7zip compression. RarFilex= - commands the converter to compress a file using winrar compression. The switches for compressing sub-sections are: *Note*: Remember to put a semicolon after each switch and you may need these: Freearc Documentation, 7Zip Documentation and Winrar Documentation After the "=" of the sub section is the output of the archive. Source: - the input or the source of the file you want to compress. Option: - the switches used for the sub-section program. Method: - the method switch used for the sub-section program. IncludeList: - the filelist for the files/folders to be included in archive, if any. IncludeList: - the filelist for the files/folders to be excluded in archive, if any. Language: - the language in which the sub-section command can be used, if any. The available file-operation sub-sections are: CreateFolderx= - commands the converter to create a new folder. CopyFilex= - commands the converter to copy a file. MoveFilex= - commands the converter to move a file. DeleteFolderx= - commands the converter to delete folder. DeleteFilex= - commands the converter to delete a file. MoveFolderx= - commands the converter to move a folder. CopyFolderx= - commands the converter to copy a folder. RemoveFolderx= - commands the converter to remove a folder(similar to DeleteFolder). RenameFilex= - commands the converter to rename a file. RenameFolderx= - commands the converter to rename a folder. CopyFilesx= - commands the converter to copy a file(similar to CopyFile). MoveFilesx= - commands the converter to move a file(similar to MoveFile). DeleteFilesx= - commands the converter to delete a file(similar to DeleteFile). The switches for file-operation sub-sections are: After the "=" of the sub section is the source of the file/folder. Destination: - the output file/folder. Language: - the language in which the sub-section command can be used, if any. The available ISO Image Creation sub-sections are: *Note*: ISO Disk image is in UDF Format. CreateImagex= - commands the converter to create an iso disk image. The switches for file-operation sub-sections are: After the "=" of the sub section is the output of the ISO Image. Source: - the source of the folder you want to put in an ISO Image. Label: - the ISO Image diskname. Language: - the language in which the sub-section command can be used, if any. The available media resampling sub-sections are: BinkVideox= - commands the converter to resample a bik video. The switches for file-operation sub-sections are: After the "=" of the sub section is the source of the bink video. VideoQuality: - the video quality resample rate in a range from 0 to 100.(Low rate equals low video quality and high rate equals high video quality). Color: - specifies whether video color must be maintained(Color) or removed(Black and White). (0 value specifies that color must be removed and 1 value means color must be maintained. ResolutionX: - specifies the video horizontal resolution. ResolutionY: - specifies the video vertical resolution. Language: - the language in which the sub-section command can be used, if any. SoundQuality: - the sound quality resample rate in a range from 0 to 100.(Low rate equals low sound quality and high rate equals high sound quality). Language: - the language in which the sub-section command can be used, if any. Converter.ini Examples Example 1 Code:
[Conversion]Freearc Method Clarification and Examples External Compressors are: precomp srep srep64 lzma64 Example: -mprecomp+srep64+lzma64:a1:mfbt4:d158m:fb273:mc1000 :lc8 Language List cz = Czech de = German en = English es = Spanish fr = French it = Italian pl = Polish pr = Portuguese ru = Russian tr = Turkish ua = Ukrainian Credits Inno Setup, Precomp, Srep, Freearc, Winrar, 7z, ImgBurn and RAD Video Tools Creators Programs Used
Enjoy doing your conversions! |
Some questions:
What commands Method1:? and Method2:? supported? Works with SREP? How to add files specific to a particular CAB file (Say has 10 files in a folder, I need to add files 3,5,3,6,9 to Data2.cab)? |
method1 is the command and options e.g. a -ep1 -r -ed -xaudio
method2 is the compression method you want to use e.g. -mlzma:a1:mfbt4:d158m:fb273:mc1000:lc8 srep works but if you tweak your arc.ini, will fix this problem though. here is the freearc documentation you can add them by using this method if you want to take the whole folder a -ep -r -ed Folder has 10 files no problem, here is an example FreeArcFile1={src}\Output\Data.cab;Source:Folder\3.File;Option:a -ep1;Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 FreeArcFile2={src}\Output\Data.cab;Source:Folder\5.File;Option:a -ep1;Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 FreeArcFile3={src}\Output\Data.cab;Source:Folder\6.File;Option:a -ep1;Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 FreeArcFile4={src}\Output\Data.cab;Source:Folder\6.File;Option:a -ep1;Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 FreeArcFile5={src}\Output\Data.cab;Source:Folder\9.File;Option:a -ep1;Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 maintain same archive |
Updated: Version 2
-Freearc Integrated in Converter (Thanks to LuisCésar82 for Idea) :D -Srep and Precomp Compressors added -Converter.ini Structure Changed, you might wanna check instruction again |
Thanks razor, let's say i have 3 folders and they contain lots of files/folders inside
001, 002 and 003 how to add them in the ini? |
Quote:
BTW Conversion converter sounds like script scripter or game gamer :) |
Quote:
http://img40.imageshack.us/img40/426...0407112646.jpg ok, what are your program name suggestions? Thee Converter? I'm not good at naming things. |
Great News:
you can use -n and -x in next version, problem solved. winrar and 7zip compression added also internal can anyone give me the fileforums logo in png. |
Thanks razor, let's say i have 3 folders and they contain lots of files/folders inside and i want to create a cab for each folder.
001, 002 and 003 how to add them in the ini? |
the current converter doesn't support that feature, will publish v3 in 15 min.
[CompressingSettings] NewFeature 7ZFile1={src}\Data.cab;Source:*;Option:a -r;Method:x=9 FreeArcFile1={src}\Output\Data.cab;Source:*;Option :a -ep1 -r -ed -p1234;Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8 RarFile1={src}\Output\Data.cab;Source:data2.bin;Op tion:a -ep1;Method:-m4 adding imgburn internally and adding function |
How do I copy the folder suport the game installation folder to the output folder of the conversion?
|
Version 3 Released
What's New
|
Quote:
make a list |
thanks for the update + detailed explanation but ....might want to
add the instructions in file ( including colors ) that users can d/l |
hmm, okay, planning on creating a chm file, any suggestions?
|
Do not understand
Do not understand the example file list.
I do not understand in color red Code:
FreeArcFile1={src}\Output\Data.cab;Source:Cars\*;O ption:a -ep1 -r -ed [email protected];Method:-msrep+lzma:a1:mf...img" />ata.lst;Language:en[email protected]= Exclude Files? how to create a list to add 5 files: FileA FileB FileC FileD and exclude (No ADD) Files: File1 File2 File3 Being all in the same directory and with 1 GB each Please cite an example. _________________________________ Razor12911 sugestion if creat chm file: Putt many examples. |
this how you should do it.
it is either you include or\and exclude exclude FreeArcFile1={src}\Output\Data.cab;Source:Cars\*;O ption:a -ep1 -r -ed [email protected];Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8;FileLis t1:Data.lst list should be File1 File2 File3 include FreeArcFile1={src}\Output\Data.cab;Source:Cars\FileA;Option:a -ep1 [email protected];Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8;FileLis t1:Data.lst list should be FileB FileC FileD take a look at options, it changed. |
Thanks
FileList is an external file? You can use any name for filelist1? It is not possible to include the list of files in Converter.ini? Example Converter.ini: FileList1 = FileA.dat, FileB.bik, FileC.tiger, ... |
nope, filelist is an external file.
it's not possible to include the list of files, only when you are rar for compression. |
Version 3.1 Released
What's New
|
Need Help
Anyone have a alternative solution?
I created Data1.lst Code:
DS2DAT1.datCode:
DS2DAT0.datCode:
DS2DAT1.datCode:
FreeArcFile1={src}\Conversion\DS2_1\Data1.cab;Source:*;Option:a -ep1 [email protected];Method:-msrep+lzma:a1:mfbt4:d158m:fb273:mc1000:lc8; FileList1:Data1.lst I realized that the converter supports Data1.lst and data2.lst, not suportaData3.lst Anyone have an alternative to I convert this way |
lol source code^^
where is it? |
Quote:
not necessary for now...:D |
Quote:
|
Next Update
Coming Soon
|
The Bink feature is awesome.
|
Yeah, Adding it. Internally so you don't need rad videos installed on your system.
though it's kinda difficult. any suggestions on how the bat command should look like? |
2 Attachment(s)
After conversion complete, i have file data.cab => how to install or run it. :confused: sorry i'm newbie
|
then comes your installer, use any inno setup installer which has isdone(e.g. yener90 installer) to extract that file.
|
Quote:
|
what file are you talking about?
|
Quote:
Code:
cd D:\Bionic Commando\data\moviesI hope this help you. |
hmm, this will be difficult for people who don't know how to resample videos.
will only make options the source, destination and method you'll have to figure it out yourself. :D |
Quote:
So I guess the best way to do the bat will be: select source file resample source file delete source file rename resampled file to source file name. I will try to do it and if work I send you the code and you see how to integrate to your script. |
hmm, I guess, I will add
Input:Video.bik Output:Video.Bink Quality:50 ResolutionX:1280 ResolutionY:720 Color:1 or 0 |
My personal opnion:
The more tools, the better. Not only fail to take into account that most conversions posted in forun are of sizes small (Less than 25 MB). The current compressor 3.1 compressd .7zip is 6,79 MB of size. The final conversion will be very great if you add too many files internally in compressor. For me upload 27 mb took 3 hours (slow connection) |
lol man. the Next Converter will be Approximately 10MB
configuration for video resample will be like this [VideoSettings] BinkVideo=Videos\logo_amd_hd.bik;VideoQuality:50;R esolutionX:1024;ResolutionY:576;Color:1 anyone, sound doesn't play after resampling video? |
Version 4 Released
What's New
Up Next
|
Quote:
|
Converted bik always contains only track 0 from source. The rest must be added manually
|
| All times are GMT -7. The time now is 23:12. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com