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

Closed Thread
 
Thread Tools Display Modes
  #1  
Old 16-03-2012, 02:22
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Tutorial using CI 8.0.0

Here is a big tutorial for my CI (C Custom I Installer) 8:
Required files for the installation
Code:
Setup.cab => is origin a zip file, contains installer images and sounds -> you can edit it using WinRAR or 7zip
Setup.dll => its an executable for the setup
Setup.exe => the real executable
Setup.ini => configuration file for Setup (GameName etc)  -> you can edit it using notepad
For basic setup you need only to edit Setup.cab and Setup.ini
Setup.cab:
Code:
Autorun folder:
Required files:
Autorun.jpg => Autorun background image
Optional files:
Button.png => Button background image (not selected)
ButtonSelected.png => Button background image (selected)
ButtonClicked.png => Button background image (clicked)
ButtonDisabled.png => Button background image (disabled)

Button.wav => sound if you clicked the button
for getting the next work you need button.png:
ButtonOnMouse.wav => sound if you move the mouse to a button

Background folder: (optional)
1 - unlimited.jpg => background image for installer
example 4 background images Background folder:
1.jpg, 2.jpg, 3.jpg, 4.jpg
OR
you can also use Flash files as background image
flash.swf => flash file for background

Setup folder:
Required files:
Installer.jpg => Installer background image
Optional files:
Button.png => Button background image for the big buttons (not selected)
ButtonSelected.png => Button background image for the big buttons (selected)
ButtonClicked.png => Button background image for the big buttons (clicked)
You can also use for the 4 big buttons CUSTOM buttons -> not necessary.
names should be for button2 for example:
Button2.png => Button background image for the big buttons (not selected)
Button2Selected.png => Button background image for the big buttons (selected)
Button2Clicked.png => Button background image for the big buttons (clicked)
Button.wav => sound if you clicked the button
for getting the next work you need button.png:
  ButtonOnMouse.wav => sound if you move the mouse to a button
Checkbox.png => checkbox image
Edit.png => image for the background of your game path selection
Flash.swf => Flash animation in setup
logo.png => logo image for installer (and background => look at the options)
logo2.png => logo image for background
music.mp3 => installer music
ProgressBackground.png => progressbar background image
ProgressImg.png => progressbar image
SmallButton.png => Button background image for the small buttons (not selected)
SmallButtonSelected.png => Button background image for the small buttons (selected)
SmallButtonClicked.png => Button background image for the small buttons (clicked)
SmallInstaller.jpg => background of the installer while installing
SmallInstaller.png => dark base for the installer while installing
Splash.png => logo image while starting
TextBg.png => background of the text part of installer

Main(optional):
font.ttf => custom font for setup
setup.cjstyles => isskin for setup
cursor.cur => custom cursor for setup
Setup.ini:
Code:
InstallOptions => this part defines main game info
ApplicationName => Name of the game
Publisher => Publisher name of the game
MyExecutableName => main executable of the game
MyExecutablePath => define this if the main executable is not in root folder, but in subfolder
example gamefolder\bin32\yener90.exe you need to define like this:
MyExecutableName=yener90
MyExecutablePath=bin32
#######
if you have two executables, you need following lines:
MyExecutableIconName2 => Name of the shortcut and autorun menu of the second executable
MyExecutableName2 => secobd executable of the game
MyExecutablePath2 => define this if the second executable is not in root folder, but in subfolder
#######
SaveGameFolder => define here the folder of the savegames
GameSize => Size of the game in MB
Lang => supported languages
LangUI => if you enable this (by using worth 1), language selector will be disabled and windows language will be used automaticly
PrecompVer => defines the version of precomp, if you used it
Editor => if you edited my source, you can put your name here.

InstallSettings => this part defines gdf binaries
GDFBinary => name of the gdf binary
only required if your games needs two gdf binaries:
GDFBinary2 => name of the second gdf binary 
You can also define language specific gdf binaries:
just take from Language Info your language and add it to the end of GDFBinary.
Example for a Turkish and Greek gdf binary
GDFBinaryTR=GDF_Turkish.dll
GDFBinaryGR=GDF_Greek.dll


ExtractSettings => this part defines files for extracting
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;PrecSrep:0;Lang:de
FreeArcFile2={src}\Data2.cab;DestDir:{app};Disk:1
Data1.cab => name of the archive that should be extracted
DestDir:{app} => folder where the game should be extracted ({app} is game folder)
Disk => number of, on which disk the archive is
Precsrep => use extreme decompression method
for this you need to compress the archive this way:
Example if you want to name your archive Data.cab
Compress all files in Data.arc
-> Compress Data.arc in Data.pcf
-> Compress Data.pcf in Data.srep
-> Compress Data.srep in Data.cab
Lang => defines for which language the archive should be extracted (look for available languages to "Language Info")
FreeArcFile1 number of archive which should be extracted
FreeArcFile = Defines the file header. Possible values FreeArcFile, 7zFile and RarFile
1 = defines number of archive which should be extracted
if you want to extract one FreeArcFile one 7z file you need to define like this:
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;PrecSrep:0;Lang:de
7zFile1={src}\Data2.cab;DestDir:{app};Disk:1

InterfaceSettings  => this part defines interface settings of the installer
BackgroundWidth => set the background image width => it should be the width of 1.jpg or flash.swf
BackgroundHeight => set the background image height => it should be the height of 1.jpg or flash.swf
ButtonWidth => set the button image width => it should be the width of button.png
ButtonHeight => set the button image height => it should be the height of button.png (not the whole height -> only one button height)
ButtonLabelX => move the buttons text to left/right (standard = 0) positive value moves right/negative left
ButtonLabelY => move the buttons text to up/down (standard = 0) positive value moves down/negative up
Button1Left => set the button position left (next / standard installation button)
Button1Top => set the button position top (next / standard installation button)
Button2Left => set the button position left (back / custom installation button)
Button2Top => set the button position top (back / custom installation button)
Button3Left => set the button position left (cancel button)
Button3Top => set the button position top (cancel button)
Button4Left => set the button position left (music button)
Button4Top => set the button position top (music button)
FinishPosBackPos => set where the finish button should be placed => 1 = place of back button 0 = place of nextbutton
ButtonFont => set the button font 
ButtonFontBold => set if the button font should be bold
ButtonFontSize => set the button font size
this part only works if you used button.png
  ButtonFontColor => set the button font color => color need to be reversed => exchange first two values with the last two values
  ButtonFontColorOnMouse => set the button font color, if you move the mouse on it => color need to be reversed => exchange first two values with the last two values
  ButtonFontColorMouseDown => set the button font color, if you click on it => color need to be reversed => exchange first two values with the last two values
  ButtonFontColorDisabled => set the button font color, if button is disabled => color need to be reversed => exchange first two values with the last two values
ButtonOneLiner => set if the button text should be wrapped or not
EnableAutorunMenu => enable this if you want to use Autorun menu feature
EnableFastInstall => enable/disable standard installation/custom installation button
FlashLeft => set the flash animation position left in installer
FlashTop => set the flash animation position top in installer
FlashWidth => set the flash animation position widthin installer
FlashHeight => set the flash animation position height in installer
InstallerWidth => set the width of the installer = it should have the width of installer.jpg
InstallerHeight => set the height of the installer = it should have the height of installer.jpg
LogoLeft => set the logo position left in installer
LogoTop => set the logo position top in installer
LogoWidth => set the width of the logo = it should have the width of logo.jpg
LogoHeight => set the height of the logo = it should have the height of logo.jpg
ProgressBarHeight => set the width of progressbar
SetupFont => set the setup font 
SetupFontColor  => set the setup font color, if you click on it => color need to be reversed => exchange first two values with the last two values
ShowLogoInBG => enable/disable logo in background
SmallButtonWidth => set the small button image width => it should be the width of smallbutton.png
SmallButtonHeight => set the small button image height => it should be the height of smallbutton.png
SmallInstallerFontColor => define the color of setup font in small installer => if not defined, setup will use SetupFontColor
SmallInstallerWidth => set the small installer image width => it should be the width of smallinstaller.jpg
SmallInstallerHeight => set the small installer image height => it should be the height of smallinstaller.jpg
TextCenter => enable/disable center alignment of the text in installer
TextPositionLeft => set the texts left position
TextPositionTop => set the texts top position
TextPositionWidth => set the texts width => it should be the width of TextBG.png if you use it
TextPositionHeight => set the texts height => it should be the height of TextBG.png if you use it
TextSpaceFromBorder => set the space between the text and the border of the text file

This part AutorunSettings is only required, if you enabled EnableAutorunMenu=1
AutorunSettings => options for autorunmenu
AutorunWidth => set the width of the Autorun= it should have the width of Autorun.jpg
AutorunHeight => set the height of the Autorun = it should have the height of Autorun.jpg
ButtonLabelX => move the buttons text to left/right (standard = 0) positive value moves right/negative left
ButtonLabelY => move the buttons text to up/down (standard = 0) positive value moves down/negative up
ButtonWidth => set the button image width => it should be the width of button.png
ButtonHeight => set the button image height => it should be the height of button.png (not the whole height -> only one button height)
ExitLeft => set the button position left (exit button)
ExitTop => set the button position top (exit button)
InstallLeft => set the button position left (install/uninstall button)
InstallTop => set the button position top (install/uninstall button)
PlayLeft => set the button position left (play button)
PlayTop => set the button position top (play button)
ButtonFont => set the button font 
ButtonFontBold => set if the button font should be bold
ButtonFontSize => set the button font size
this part only works if you used button.png
  ButtonFontColor => set the button font color => color need to be reversed => exchange first two values with the last two values
  ButtonFontColorOnMouse => set the button font color, if you move the mouse on it => color need to be reversed => exchange first two values with the last two values
  ButtonFontColorMouseDown => set the button font color, if you click on it => color need to be reversed => exchange first two values with the last two values
  ButtonFontColorDisabled => set the button font color, if button is disabled => color need to be reversed => exchange first two values with the last two values
DisableWindowBorder => Enable/disable window border in autorun
LangBoxCenter => center language box in autorun
if LangBoxCenter enabled then you dont need to set LangBoxLeft
LangBoxLeft => set the language box position left
LangBoxTop => set the language box position top
RoundedCornerX => will give you rounded corner in autorun (Standard = 0)
RoundedCornerY => will give you rounded corner in autorun (Standard = 0)
for perfect math RoundedCornerX and RoundedCornerY should have the same values
example if you set both to 200=
http://img195.imageshack.us/img195/4082/examplesi.jpg

LauncherSettings => install additional files
InstallRedist => enable/disable additional installations

Launch1 => set the name of the application which should be installed
Launch164 => if you enable this, this application will be only installed on X64 systems
Launch1BeforeInstall => if you enable this, this application will be installed before the installation begins
LaunchCom1 => set the executable of the application
LaunchArg1 => set the command line of the application (if you launch it silent then its required)

you can max execute 8 applications
Language Info:
Currently 29 Languages are supported + 3 locales.
Here is a list for the setup:
Code:
al = Albanian
ar = Arabic
bih = Bosnian
cnt = Chinese (Traditional)
cz = Czech
de = German
dk = Danish
en = English (United States)
enuk = English (United Kingdom)
es = Spanish (Spain)
esmx = Spanish (Mexico)
fa = Persian
fi = Finnish
fr = French (Standard)
gr = Greek
hr = Croatian
hu = Hungarian
it = Italian
jp = Japanese
ko = Korean
nl = Dutch
no = Norwegian
pl = Polish
pr = Portuguese (Portugal)
prbr = Portuguese (Brazil)
ro = Romanian 
ru = Russian
sr = Serbian
sw = Swedish
th = Thai
tr = Turkish
vi = Vietnamese
How to enable internal installation:
1. open "InstallerScript.iss" using UNICODE version of Inno setup
2. delete the sign ";" in front of "#define ProgramFiles..."
3. change the path:

4. Save and Compile
If you dont use external files, delete "ExtractSettings" section from setup.ini

How to insert registry keys:
1. open "InstallerScript.iss" using InnoIDE
2. go to Registry section and insert you registry file to the window
3. if you have x64 version, delete "Wow6432Node\" from subkey of your inserted registry key
4. if game path appears exchange it with {app}
Example:
F:\Program Files (x86)\EA Games\Syndicate registry value to
{app}
5. activate the flag "Delete key on uninstall" of your inserted registry key
6. press save and compile(Compile only if you dont want to enable internal installation)

Suggested video settings:
http://img221.imageshack.us/img221/3931/supermw.jpg

Posting Conversions:
if you are finished with your work, compile langscript.iss,
-> if you use Setup.cab = Autorun icon gets updated
-> if you use Internal = Autorun icon gets updated + All the required files will be integrated so users dont need to compile
(after this delete in Setup folder Autorun folder)

delete unnecassery files so people dont get confused
if you use Setup.cab:
http://img856.imageshack.us/img856/6...nvsetupcab.jpg

if you use internal:
http://img841.imageshack.us/img841/9...nvinternal.jpg

Components feature:
Set feature names and their size in Setup.ini:
Code:
[ComponentsSettings]
Component1=Mass Effect
Component1Size=5000
Component2=Mass Effect 2
Component2Size=2000
If you use internal installation, you need to define folder names of the components:
http://imageshack.us/a/img193/9754/lalalalv.png

If you use freearc installation, just add to the line "Comp: (Number of component, for which it should be installed)"
Example:
Code:
FreeArcFile1={src}\Data1.cab;DestDir:{app};Disk:1;Comp:1;
-> cab file will be only extracted, if the Component1 is set.

Download
http://fileforums.com/showthread.php?t=91563

Last edited by yener90; 15-10-2012 at 01:45.
The Following 31 Users Say Thank You to yener90 For This Useful Post:
4tRUst (25-01-2013), 9lasser (25-04-2013), aminsccoy (10-04-2015), Cosplay (27-01-2019), dzed (08-02-2013), F0NT3 (09-02-2013), FoRMaT-2007 (13-08-2023), HellRazor (21-10-2012), jauhar (25-10-2014), joules_85 (05-05-2013), kassane (21-10-2012), lukasgames (08-11-2012), MagixZ (21-08-2018), mamed3000 (19-09-2015), marvel1911 (19-09-2015), master_gamer_pc (30-08-2015), mausschieber (18-12-2012), MMR (22-02-2013), Newbie (22-10-2012), omdj (08-02-2015), Prettyboy099 (22-08-2020), Pulcione86 (08-04-2013), sarmadi (07-09-2020), sewerok (22-03-2017), Simorq (06-04-2015), Titeuf (25-10-2016), Vladislav989 (12-01-2023), yasserdivar (31-08-2019), Zeibe (10-03-2015), zirkhaki (30-03-2016), zougjaysean (23-06-2013)
Sponsored Links
  #2  
Old 16-03-2012, 02:57
napalmguy
Guest
 
Posts: n/a
wait.. What?

as this seems like a complete rewrite of CI, can Autorun background be a png as well?
with BAMsE creating nice looking buttons as well, the possibilities are endless

great work Yener

PS: one thing I just noticed today

can you change uninstall English text to "Uninstall" instead of "Deinstall"?

Last edited by napalmguy; 16-03-2012 at 03:01.
  #3  
Old 16-03-2012, 03:11
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Quote:
Originally Posted by napalmguy View Post
wait.. What?

as this seems like a complete rewrite of CI, can Autorun background be a png as well?
with BAMsE creating nice looking buttons as well, the possibilities are endless

great work Yener

PS: one thing I just noticed today

can you change uninstall English text to "Uninstall" instead of "Deinstall"?
mate that take a lot of time
completely rewritten...therefore i need to get sure, everything works fine.

unfortunately png looses transparency if you use it as background :/ therefore only jpg

ok i will edit it
The Following User Says Thank You to yener90 For This Useful Post:
zougjaysean (03-07-2013)
  #4  
Old 16-03-2012, 05:01
MartinezPL MartinezPL is offline
Registered User
 
Join Date: Oct 2011
Location: Poland
Posts: 117
Thanks: 46
Thanked 24 Times in 9 Posts
MartinezPL is on a distinguished road
Thanks Yener like always great work
gonna test than 8.0 version
  #5  
Old 16-03-2012, 06:02
Dark_Siegfried89's Avatar
Dark_Siegfried89 Dark_Siegfried89 is offline
Registered User
 
Join Date: May 2008
Location: Italy
Posts: 28
Thanks: 24
Thanked 4 Times in 2 Posts
Dark_Siegfried89 is on a distinguished road
Yener90,great job! I wanted to know if in the next release could you add support for acceptance of the agreement (EULA)
__________________
My Sistem -------> BioStar P4M90-M4, Intel P4 3GHz, 2GB Ram Value, GeForce Zotac 8800GT AMP! 512MB, Joypad XBox 360
  #6  
Old 16-03-2012, 06:22
Fabioddq's Avatar
Fabioddq Fabioddq is offline
Die Hard Member
 
Join Date: Oct 2011
Location: Earth
Posts: 1,221
Thanks: 336
Thanked 2,146 Times in 427 Posts
Fabioddq is on a distinguished road
Thanks for the tutorial and update Yener.
I gonna test!
  #7  
Old 16-03-2012, 07:02
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,030 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
Nice tutorial, thanks for CI 8.0 as well...
  #8  
Old 16-03-2012, 08:29
alias-as's Avatar
alias-as alias-as is offline
Registered User
 
Join Date: Sep 2011
Location: France
Posts: 64
Thanks: 30
Thanked 3 Times in 2 Posts
alias-as is on a distinguished road
Great job yener as usual .... i'll try this new CI thanx a lot
  #9  
Old 17-03-2012, 00:10
Grumpy's Avatar
Grumpy Grumpy is offline
Moderator
 
Join Date: Jun 2004
Location: Australia
Posts: 5,695
Thanks: 1,256
Thanked 1,839 Times in 809 Posts
Grumpy is on a distinguished road
Very very nice Yener, great stuff ..... you just earnt yourself another Sticky.
  #10  
Old 18-03-2012, 01:12
silviugut silviugut is offline
Registered User
 
Join Date: Oct 2011
Location: Romania
Posts: 54
Thanks: 49
Thanked 4 Times in 4 Posts
silviugut is on a distinguished road
Thanks for CI 8.0.0! I managed to do a conversion (DiRT 3 Complete Edition) and I noticed something strange: during installation I see only a picture even if I put 10 pictures in Setup / Background and I called 1,2,3,4 ...... 10 (all jpg). I tried to make the conversion a second time, I deleted 3 photos and left only 7 but with the same result, I see only first image throughout the installation! What should I do to see all images during installation?
  #11  
Old 18-03-2012, 08:34
yener90 yener90 is offline
Registered User
 
Join Date: Nov 2008
Location: Away
Posts: 810
Thanks: 93
Thanked 1,093 Times in 217 Posts
yener90 is on a distinguished road
Quote:
Originally Posted by silviugut View Post
Thanks for CI 8.0.0! I managed to do a conversion (DiRT 3 Complete Edition) and I noticed something strange: during installation I see only a picture even if I put 10 pictures in Setup / Background and I called 1,2,3,4 ...... 10 (all jpg). I tried to make the conversion a second time, I deleted 3 photos and left only 7 but with the same result, I see only first image throughout the installation! What should I do to see all images during installation?
upload somewhere the Setup.cab fille and i will look into it
you can also pm me.
  #12  
Old 18-03-2012, 17:40
silviugut silviugut is offline
Registered User
 
Join Date: Oct 2011
Location: Romania
Posts: 54
Thanks: 49
Thanked 4 Times in 4 Posts
silviugut is on a distinguished road
Quote:
Originally Posted by yener90 View Post
upload somewhere the Setup.cab fille and i will look into it
you can also pm me.
http://img805.imageshack.us/img805/1874/setup1.jpg
http://img189.imageshack.us/img189/9466/setup2pk.jpg

Conversion works perfectly! Only problem with the images can not solve! Thanks again!
The Following User Says Thank You to silviugut For This Useful Post:
zougjaysean (03-07-2013)
  #13  
Old 19-03-2012, 09:41
vendecido33 vendecido33 is offline
Banned
 
Join Date: Jul 2010
Location: Spain
Posts: 40
Thanks: 0
Thanked 2 Times in 2 Posts
vendecido33 is on a distinguished road
Well I have my first question.

I fail to understand that you put these commands.

[ExtractSettings]
FreeArcFile2 = {src} \ Data1.cab; DestDir: {app}; Disk: 1
FreeArcFile2 = {src} \ data2.cab; DestDir: {app}; Disk: 1
FreeArcFile3 = {src} \ data3.cab; DestDir: {app}; Disk: 2
FreeArcFile4 = {src} \ Data4.cab; DestDir: {app}; Disk: 3
FreeArcFile5 = {src} \ Data5.cab; DestDir: {app}; Disk: 4

Here I do not understand is I have to put a CAB file ARC or ARC if I have to create the FreeArc but this would be to decompress parts of the game is not.

And if I think a CAB as a CAB file.
  #14  
Old 19-03-2012, 09:57
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 7,209
Thanks: 3,040
Thanked 9,030 Times in 3,083 Posts
pakrat2k2 is on a distinguished road
If you use external compression ( freearc ) then you use the ExtractSettings in setup.ini,
the freearc files can be named anything data1.arc, data1.bin, data1.x... doesnt matter as long as it was created with freearc.

IF you use internal then your using the installerscript.iss file & "#define ProgramFiles...", & you must remove the ExtractSettings section in setup.ini

read the entire tutorial, it explains everyting.
  #15  
Old 19-03-2012, 10:05
vendecido33 vendecido33 is offline
Banned
 
Join Date: Jul 2010
Location: Spain
Posts: 40
Thanks: 0
Thanked 2 Times in 2 Posts
vendecido33 is on a distinguished road
Pakrat2k2 thank you very much, and more or less understood eh.

One more question on this line puts it:
FreeArcFile1 = {src} \ Data1.cab; DestDir: {app}; Disk: 1; PrecSrep: 0

That means it's PrexScrep: 0
Closed Thread

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
Tutorial On How To Create Your Own Crack..! mojo8850 PC Games 17 20-03-2005 23:43
Mafia - Newbie Cracking Tutorial online cdkiller PC Games 6 14-12-2002 10:01
every game needs a special dvd rip tutorial??? billete100 PS2 Games 1 10-10-2001 02:44
Brief fast tutorial on DC copy? webcamworld DC Games 1 02-05-2001 21:27
grandia 2 SAGICE's tutorial DarCwuN DC Games 2 17-12-2000 17:43



All times are GMT -7. The time now is 11:38.


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