Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-03-2016, 10:16
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 242
Thanked 41 Times in 28 Posts
Amsal is on a distinguished road
Need help with components

Hello everyone, I just want to know that if there are two archives, German.bin and English.bin, so I want to know what I have to add in the [Components] section, and what I have to add or edit in is done section, so that when some select German component then it will only install German.bin and if someone select English.bin then it install English language only. It will be better if you give a short example also.


Thanks in advance for helping me!
Reply With Quote
Sponsored Links
  #2  
Old 02-03-2016, 11:05
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
Code:
[Components]
Name: text; Description: Select Language Text; Types: full; Flags: fixed
Name: text\ger; Description: German; Flags: exclusive;       
Name: text\eng; Description: English; Flags: exclusive; 


Component Selection:
if IsComponentSelected('text\ger') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue;    



FreArc ISDone Extraction:
if not ISArcExtract    ( 1, 0, ExpandConstant('{src}\German_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 2, 0, ExpandConstant('{src}\English_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
__________________
if you understand read more

Last edited by rinaldo; 02-03-2016 at 11:09.
Reply With Quote
The Following 2 Users Say Thank You to rinaldo For This Useful Post:
Amsal (02-03-2016), Simorq (04-02-2018)
  #3  
Old 02-03-2016, 17:34
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 242
Thanked 41 Times in 28 Posts
Amsal is on a distinguished road
Quote:
Originally Posted by rinaldo View Post
Code:
[Components]
Name: text; Description: Select Language Text; Types: full; Flags: fixed
Name: text\ger; Description: German; Flags: exclusive;       
Name: text\eng; Description: English; Flags: exclusive; 


Component Selection:
if IsComponentSelected('text\ger') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue;    



FreArc ISDone Extraction:
if not ISArcExtract    ( 1, 0, ExpandConstant('{src}\German_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 2, 0, ExpandConstant('{src}\English_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
Thanks alot
Reply With Quote
  #4  
Old 02-03-2016, 17:48
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 242
Thanked 41 Times in 28 Posts
Amsal is on a distinguished road
And bro, if I have 7 LANGUAGE components then the components selection will be same or we have to add some more lines, it will be great if you show one small example. Thanks a lot rinaldo
Reply With Quote
  #5  
Old 02-03-2016, 18:52
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
type:

Code:
Name: text; Description: Select Language Text; Types: full; Flags: fixed
Name: text\ger; Description: Deutsch; Flags: exclusive; ExtraDiskSpaceRequired: 100000000
Name: text\eng; Description: English; Flags: exclusive; ExtraDiskSpaceRequired: 200000000  
Name: text\fra; Description: Francaise; Flags: exclusive; ExtraDiskSpaceRequired: 300000000
Name: text\spa; Description: Espanol; Flags: exclusive; ExtraDiskSpaceRequired: 400000000
Name: text\rus; Description: Russian; Flags: exclusive; ExtraDiskSpaceRequired: 300000000
Name: text\ita; Description: Italian; Flags: exclusive; ExtraDiskSpaceRequired: 600000000
Name: text\bra; Description: Brazilian; Flags: exclusive; ExtraDiskSpaceRequired: 50000000




if IsComponentSelected('text\ger') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\fra') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\spa') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\rus') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\ita') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\bra') then Comps1:=Comps1+TmpValue;



if not ISArcExtract    ( 0, 65, ExpandConstant('{src}\data.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;


if not ISArcExtract    ( 1, 5, ExpandConstant('{src}\German_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 2, 5, ExpandConstant('{src}\English_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 3, 5, ExpandConstant('{src}\Francaise_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 4, 5, ExpandConstant('{src}\Espanol_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 5, 5, ExpandConstant('{src}\Russian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 6, 5, ExpandConstant('{src}\Italian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 7, 5, ExpandConstant('{src}\Brazilian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
__________________
if you understand read more
Reply With Quote
  #6  
Old 02-03-2016, 19:07
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 242
Thanked 41 Times in 28 Posts
Amsal is on a distinguished road
Quote:
Originally Posted by rinaldo View Post
type:

Code:
Name: text; Description: Select Language Text; Types: full; Flags: fixed
Name: text\ger; Description: Deutsch; Flags: exclusive; ExtraDiskSpaceRequired: 100000000
Name: text\eng; Description: English; Flags: exclusive; ExtraDiskSpaceRequired: 200000000  
Name: text\fra; Description: Francaise; Flags: exclusive; ExtraDiskSpaceRequired: 300000000
Name: text\spa; Description: Espanol; Flags: exclusive; ExtraDiskSpaceRequired: 400000000
Name: text\rus; Description: Russian; Flags: exclusive; ExtraDiskSpaceRequired: 300000000
Name: text\ita; Description: Italian; Flags: exclusive; ExtraDiskSpaceRequired: 600000000
Name: text\bra; Description: Brazilian; Flags: exclusive; ExtraDiskSpaceRequired: 50000000




if IsComponentSelected('text\ger') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\eng') then Comps1:=Comps1+TmpValue;     
TmpValue:=TmpValue*2;
if IsComponentSelected('text\fra') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\spa') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\rus') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\ita') then Comps1:=Comps1+TmpValue;
TmpValue:=TmpValue*2;
if IsComponentSelected('text\bra') then Comps1:=Comps1+TmpValue;



if not ISArcExtract    ( 0, 65, ExpandConstant('{src}\data.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;


if not ISArcExtract    ( 1, 5, ExpandConstant('{src}\German_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 2, 5, ExpandConstant('{src}\English_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 3, 5, ExpandConstant('{src}\Francaise_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 4, 5, ExpandConstant('{src}\Espanol_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 5, 5, ExpandConstant('{src}\Russian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 6, 5, ExpandConstant('{src}\Italian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
if not ISArcExtract    ( 7, 5, ExpandConstant('{src}\Brazilian_lng.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), notPCFonFLY{PCFonFLY}) then break;
Thanks a lot, and if I want to add one more component, which will be for all 7 languages, so that if some one want to install all languages then he can do that, so then what should I have to do in the script?? And this is last question, thanks a lot Rinaldo again for helping me alot
Reply With Quote
  #7  
Old 02-03-2016, 19:14
rinaldo's Avatar
rinaldo rinaldo is offline
Registered User
 
Join Date: Sep 2015
Location: Rome
Posts: 433
Thanks: 101
Thanked 696 Times in 191 Posts
rinaldo is on a distinguished road
+1 component section
+1 components Selected
+1 ISArcExtract

if you do not use file records.ini you have to divide the progression as a percentage ...
__________________
if you understand read more
Reply With Quote
  #8  
Old 02-03-2016, 19:25
Amsal Amsal is offline
Registered User
 
Join Date: May 2015
Location: New Delhi
Posts: 237
Thanks: 242
Thanked 41 Times in 28 Posts
Amsal is on a distinguished road
Quote:
Originally Posted by rinaldo View Post
+1 component section
+1 components Selected
+1 ISArcExtract

if you do not use file records.ini you have to divide the progression as a percentage ...
Can you please give me a example, so that I will know how it will install all the english-len.bin etc. Will be installed when someone select that component, BTW, I am not gonna to use records.ini
Reply With Quote
Reply


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
Conversion Designer/Installer Creator Razor12911 Conversion Tutorials 1613 03-10-2024 01:24
How to edit components in Metro UI Install Amsal Conversion Tutorials 11 19-11-2016 09:12
Please test the acceleration unpack NBB Conversion Tutorials 18 19-12-2015 08:25
Help for #define components and #indef Components alucard1973 Conversion Tutorials 0 30-04-2015 05:52
Angry Birds Collection-CD *INNO SETUP* plipzide PC Games - CD/DVD Conversions 8 11-06-2013 08:09



All times are GMT -7. The time now is 14:46.


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