Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 05-04-2013, 23:44
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
Source Code: Conversion Converter

Greetings, Forum Users.
Presenting... The Conversion Converter
_________________________________

Description
  • This program known as the conversion converter helps users whole are not specialist in creating conversions using external compression and resampling videos.
  • The program make your conversions less clumsy and for other people to understand.

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]
Name=Need For Speed Most Wanted
Type=1xDVD9 - 1xDVD5
Check=SELDIRPATH\NFS13.exe
Language=en

[TaskSettings]
CopyFolder1=SELDIRPATH\HAWAII;Destination:{src}\TMP1
CopyFolder2=SELDIRPATH\CHARACTERS;Destination:{src}\TMP2
CopyFolder3=SELDIRPATH\Core;Destination:{src}\TMP2
CopyFolder4=SELDIRPATH\EN_US;Destination:{src}\TMP2
CopyFolder5=SELDIRPATH\GAMELOGIC;Destination:{src}\TMP2
CopyFolder6=SELDIRPATH\PHYSICS;Destination:{src}\TMP2
CopyFolder7=SELDIRPATH\SOUND;Destination:{src}\TMP2
CopyFolder8=SELDIRPATH\Support;Destination:{src}\TMP2
CopyFolder9=SELDIRPATH\UI;Destination:{src}\TMP2
CopyFolder10=SELDIRPATH\VEHICLES;Destination:{src}\TMP2
FreeArcFile11=OUTDIRPATH\DVD\Data1.cab;Source:{src}\TMP1\*;Option:a -ep1 -r -ed;Method:-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273:mc1000:lc8
DeleteFolder12={src}\TMP1
FreeArcFile13=OUTDIRPATH\DVD\Data2.cab;Source:{src}\TMP2\*;Option:a -ep1 -r -ed;Method:-mprecomp+srep64+delta+lzma64:a1:mfbt4:d158m:fb273:mc1000:lc8
DeleteFolder14={src}\TMP2
FreeArcFile15=OUTDIRPATH\DVD\Data3.cab;Source:SELDIRPATH\*;Option:a -ep1 [email protected];Method:-mx;IncludeList:English.ini
CopyFile16={src}\Resources\autorun.exe;Destination:OUTDIRPATH\DVD\autorun.exe
CopyFile17={src}\Resources\setup.cab;Destination:OUTDIRPATH\DVD\setup.cab
CopyFile18={src}\Resources\setup.exe;Destination:OUTDIRPATH\DVD\setup.exe
CopyFile19={src}\Resources\setup.ini;Destination:OUTDIRPATH\DVD\setup.ini
CopyFile20={src}\Resources\autorun.inf;Destination:OUTDIRPATH\DVD\autorun.inf
CopyFile21={src}\Resources\icon.ico;Destination:OUTDIRPATH\DVD\icon.ico
CopyFolder22={src}\Support;Destination:OUTDIRPATH\DVD
CreateImage23=OUTDIRPATH\NFSMW.iso;Source:OUTDIRPATH\DVD;Label:NFS_MW

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
  • Inno Setup Enhanced Edition Unicode 5.5.1 Version 2 and Stardard Edition Unicode 5.5.3
  • Freearc 0.67 Alpha
  • Precomp 0.38, 0.40, 0.41 and 0.42
  • Srep 3.0
  • 7zip 9.25 Alpha
  • Winrar 4.20
  • ImgBurn 2.5.7.0
  • RAD Video Tools 1.99w

Enjoy doing your conversions!
Attached Files
File Type: 7z CC v7.0.5.7z (8.43 MB, 3857 views)
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 03-07-2013 at 15:44.
Reply With Quote
The Following 33 Users Say Thank You to Razor12911 For This Useful Post:
78372 (06-06-2017), Alash Als (17-03-2014), amin fear (08-04-2013), arkantos7 (17-08-2014), Black_Angel_Kjh (30-03-2017), Carldric Clement (31-03-2015), chuotchu001 (08-04-2013), danswano (06-04-2013), Demonn (08-04-2013), dudul (30-04-2014), EyeSalt (06-05-2018), EzzEldin16 (06-11-2017), jackstuff (06-04-2013), kj911 (08-05-2013), lelomon (18-04-2014), mausschieber (11-04-2013), Newbie (23-04-2013), oltjon (23-12-2013), osirix (12-02-2017), pakrat2k2 (30-06-2013), pebe (04-04-2015), sathex (19-05-2018), Simorq (23-04-2015), splitdvd9todvd5 (21-10-2015), Stor31 (21-10-2015), supernoro (25-01-2014), Syafiul11 (11-04-2013), tannictrain (12-05-2013), truerepacks (27-07-2015), Xaelin (05-03-2014), y_thelastknight (07-04-2013), zlaja1986 (07-03-2016), zougjaysean (22-06-2013)
Sponsored Links
  #2  
Old 06-04-2013, 09:40
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: cesar.zanetti.82********com
Posts: 157
Thanks: 119
Thanked 221 Times in 53 Posts
Cesar82 is on a distinguished road
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)?
Reply With Quote
  #3  
Old 06-04-2013, 10:27
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
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
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 06-04-2013 at 15:25.
Reply With Quote
  #4  
Old 06-04-2013, 15:26
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
Updated: Version 2
-Freearc Integrated in Converter (Thanks to LuisCésar82 for Idea)
-Srep and Precomp Compressors added
-Converter.ini Structure Changed, you might wanna check instruction again
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
  #5  
Old 06-04-2013, 16:08
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 289
Thanks: 193
Thanked 24 Times in 19 Posts
danswano is on a distinguished road
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?
Reply With Quote
  #6  
Old 06-04-2013, 17:12
BAMsE's Avatar
BAMsE BAMsE is offline
The World Is Yener's
 
Join Date: Mar 2011
Location: in front of the monitor
Posts: 358
Thanks: 49
Thanked 266 Times in 89 Posts
BAMsE is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
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
It makes no sense because in 2nd step freearc musts unpack data.cab to include new file. This new data.cab must be unpacked once again in 3rd step and so on. It will be better to use [email protected] and [email protected] option

BTW Conversion converter sounds like script scripter or game gamer

Last edited by BAMsE; 06-04-2013 at 17:16.
Reply With Quote
The Following User Says Thank You to BAMsE For This Useful Post:
Razor12911 (07-04-2013)
  #7  
Old 07-04-2013, 01:51
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by BAMsE View Post
It makes no sense because in 2nd step freearc musts unpack data.cab to include new file. This new data.cab must be unpacked once again in 3rd step and so on. It will be better to use [email protected] and [email protected] option

BTW Conversion converter sounds like script scripter or game gamer
I know, the [email protected] and [email protected] but where to put it is the big question, I can't use [email protected]({src}/{tmp})\blah.lst, directory is kinda hard to tell.



ok, what are your program name suggestions?
Thee Converter? I'm not good at naming things.
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 07-04-2013 at 02:28.
Reply With Quote
  #8  
Old 07-04-2013, 02:30
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
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.
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 07-04-2013 at 07:58.
Reply With Quote
  #9  
Old 07-04-2013, 08:34
danswano danswano is offline
Registered User
 
Join Date: Feb 2013
Location: Luxm
Posts: 289
Thanks: 193
Thanked 24 Times in 19 Posts
danswano is on a distinguished road
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?
Reply With Quote
  #10  
Old 07-04-2013, 08:41
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
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
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 07-04-2013 at 08:59.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
danswano (07-04-2013)
  #11  
Old 07-04-2013, 08:59
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: cesar.zanetti.82********com
Posts: 157
Thanks: 119
Thanked 221 Times in 53 Posts
Cesar82 is on a distinguished road
How do I copy the folder suport the game installation folder to the output folder of the conversion?
Reply With Quote
  #12  
Old 07-04-2013, 11:28
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
Version 3 Released

What's New
  • 7Zip Compression and Winrar Compression Added
  • Freearc FileList Feature fixed
  • ImgBurn is added, Internally, create disk image feature added.
  • Updated Instructions
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 07-04-2013 at 11:35.
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
danswano (07-04-2013), jamel2013 (22-01-2014)
  #13  
Old 07-04-2013, 11:44
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by danswano View Post
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?
using these -n or -x
make a list
__________________
Looking for something?
Visit the
Tutorial Index

Last edited by Razor12911; 07-04-2013 at 11:49.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
jamel2013 (22-01-2014)
  #14  
Old 07-04-2013, 13:02
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 6,829
Thanks: 2,657
Thanked 7,707 Times in 2,747 Posts
pakrat2k2 is on a distinguished road
thanks for the update + detailed explanation but ....might want to

add the instructions in file ( including colors ) that users can d/l
Reply With Quote
  #15  
Old 07-04-2013, 13:31
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,161
Thanks: 1,675
Thanked 7,507 Times in 1,740 Posts
Razor12911 is on a distinguished road
hmm, okay, planning on creating a chm file, any suggestions?
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
The Following 2 Users Say Thank You to Razor12911 For This Useful Post:
jamel2013 (22-01-2014), samer1 (21-08-2014)
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Announcement and final word on the CheatHappens vs. h4x0r trainer war Joe Forster/STA Game Trainers 7 12-07-2010 08:31



All times are GMT -7. The time now is 20:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Copyright 2000-2018, FileForums @ https://fileforums.com