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 05-05-2013, 06:03
sidelee72 sidelee72 is offline
Registered User
 
Join Date: Oct 2009
Location: Taiwan
Posts: 2
Thanks: 5
Thanked 1 Time in 1 Post
sidelee72 is on a distinguished road
problem solved!

Last edited by sidelee72; 05-05-2013 at 06:53.
Reply With Quote
Sponsored Links
  #2  
Old 17-05-2013, 16:12
Igor007's Avatar
Igor007 Igor007 is offline
Registered User
 
Join Date: Oct 2009
Location: Croatia
Posts: 17
Thanks: 1
Thanked 1 Time in 1 Post
Igor007 is on a distinguished road
Hi. How to edit where the main game exe is located, because it's in Bin32 folder, not in main game folder, so desktop shortcut is not working?
Reply With Quote
  #3  
Old 17-05-2013, 16:25
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
You can edit in Main.iss . Change Kurutucu.exe to your game exe and directory.
Reply With Quote
  #4  
Old 19-05-2013, 01:20
Shanilka Shanilka is offline
Registered User
 
Join Date: May 2013
Location: Srilanka
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Shanilka is on a distinguished road
Smile Plz Help Me Guys

How to add Compact View Option to my setup
Reply With Quote
  #5  
Old 20-05-2013, 03:08
PinHeaDi PinHeaDi is offline
Registered User
 
Join Date: May 2013
Location: Bulgaria
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
PinHeaDi is on a distinguished road
Can i use The Inno comprison ? With Freearc it show me errors every time, or can anyone explain for noobs like me ;(
Reply With Quote
  #6  
Old 20-05-2013, 09:40
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
Instructions on blackbox script

Ok, First things first.

This blackbox script/installer doesn't support internal compression therefore, I will show you how to use the freearc, 7zip, srep, precomp, winrar, diskchange unpacking.

Now here is an example and a few explainations.

if not ISArcExtract (Component, Progress, ArchiveSource, Destination, '', false, Password, ExpandConstant('{tmp}\arc.ini'), True/False) then break;

if not IS7ZipExtract (Component, Progress, ArchiveSource, Destination, True/False, Password) then break;

if not ISRarExtract (Component, Progress, ArchiveSource, Destination, True/False, Password) then break;

if not ISSRepExtract (Component, Progress, ArchiveSource, Destination, True/False) then break;

if not ISPrecompExtract(Component, Progress, ArchiveSource, Destination, True/False) then break;

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Component > Allows unpacking when the component is selected. Ask for more info about this.

e.g

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Progress > The progressbar taken up by the unpacking progress of archive. Take NOTE, 100 is the total, therefore is it's one archive, set 100, if two, set 50 and the other 50

if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Data2.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

ArchiveSource > Now as you can see, the example, ExpandConstant('{src}\Data1.bin'). The expandconstant is for the constant expansion for never mind it but you should take it for granted. {src} which means source of the setup, {pf} means the folder program files, for other constants, click here.

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Destination > it acts the same way as the source of files but now you are directing the files in the archive to be unpacked in a folder, take note, this can only work if you are unpacking freearc, 7z or rar archive because they can contain a lot of files in one and as for precomp and srep, specify the destination file.

e.g.

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

if not ISPrecompExtract( 0, 0, ExpandConstant('{src}\data.pcf'), ExpandConstant('{app}\data.arc'), true) then break;

Password > The archive password set by you.

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

True/False > aka. notPCFonFLY {PCFonFLY} It's an option to delete file after unpacking process, True means, file must be deleted and False means file mustn't be deleted.

e.g.

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

Now, here are a few examples.

The Password feature is only available for 7z, rar and arc.

Freearc

if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Data1.bin'), ExpandConstant('{app}\'), '', false, '1234', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}\'), False) then break;

7zip

if not IS7ZipExtract ( 0, 75, ExpandConstant('{src}\data1.7z'), ExpandConstant('{app}'), false, '1234') then break;

rar

if not ISRarExtract ( 0, 25, ExpandConstant('{src}\data.rar'), ExpandConstant('{app}'), false, '4321') then break;

srep

if not ISSRepExtract ( 0, 10, ExpandConstant('{app}\data.srep'),ExpandConstant(' {app}\data.pcf'), true) then break;

precomp

if not ISPrecompExtract( 0, 90, ExpandConstant('{app}\data.pcf'), ExpandConstant('{app}\data.arc'), true) then break;


Now comes to the diskchange

if not ShowChangeDiskWindow (Text, ExpandConstant('{src}'),Archive) then break;

Text > The text which should be written to notify the user of the setup on what to do.

Archive > The archive the setup can use for verification.

e.g.

if not ShowChangeDiskWindow ('Insert the next disk...', ExpandConstant('{src}'),'Data7.cab') then break;

Last edited by Razor12911; 20-05-2013 at 09:46.
Reply With Quote
The Following 31 Users Say Thank You to Razor12911 For This Useful Post:
Alash Als (25-04-2014), aljassim12345 (01-05-2015), D4rkSp4wn (26-05-2013), dead4now (08-07-2013), EA-Games (16-02-2014), EyeSalt (02-03-2018), ffmla (13-09-2015), Gamer009 (04-10-2014), GloverK1911 (24-11-2013), GTX590 (02-08-2013), hamidou (22-09-2013), huanvip_1994 (16-06-2013), Jiva newstone (30-12-2017), k4tzEy3dBoy (02-12-2013), Kurutucu (20-05-2013), Last Roze (01-04-2014), mausschieber (16-06-2013), MMR (09-06-2013), oltjon (23-08-2017), pebe (04-04-2015), Pein46 (20-05-2013), Prince Soft (10-11-2016), rambohazard (27-01-2017), Simorq (26-11-2017), Stor31 (03-03-2017), urbanman2004 (14-06-2015), Viper645 (01-04-2017), yasserdivar (16-09-2015), y_thelastknight (13-06-2013), zougjaysean (12-07-2013)
  #7  
Old 20-05-2013, 12:38
skakmatch skakmatch is offline
Registered User
 
Join Date: May 2013
Location: indonesia
Posts: 14
Thanks: 12
Thanked 3 Times in 3 Posts
skakmatch is on a distinguished road
Thanks for blackbox inno setup script

Default installation folder
PHP Code:
C:\Program Files\Name of Game 
how to change default script to Publisher folder
PHP Code:
C:\Program Files\Publisher\Name Of Game 
Ex :
PHP Code:
C:\Program Files\UbiSoft\FarCry 3 
Reply With Quote
  #8  
Old 04-10-2013, 05:37
jksengko jksengko is offline
Registered User
 
Join Date: Jun 2010
Location: dont show
Posts: 71
Thanks: 5
Thanked 5 Times in 5 Posts
jksengko is on a distinguished road
not working

how to do this not working??
Attached Images
File Type: jpg pes2014.jpg (74.2 KB, 331 views)
Reply With Quote
  #9  
Old 04-10-2013, 06:17
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
@61n4n74r

1.

Delete SoundCtrlButton.Parent := WizardForm;
or use // in front of SoundCtrlButton.Parent := WizardForm; = //SoundCtrlButton.Parent := WizardForm;

2.
Code:
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 33, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISArcExtract ( 0, 34, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
@jksengko


Why don't you read info???

You can edit redist files (Exec2)

Code:
  if CurStep=ssPostInstall then begin
    if DirectXCB.Checked then begin
      Status.Caption:='Installing DirectX...';
      Status.Left := 200;
      Status.Top := 200;
      Status.Width := 223;
      Status.Height := 20;
      Exec2(ExpandConstant('{src}\Redist\DirectX\DXSETUP.exe'),'/q',false);
    end;
    if NvidiaPhysx.Checked then begin
      Status.Caption:='Installing Nvidia Physx...';
      Status.Left := 200;
      Status.Top := 200;
      Status.Width := 227;
      Status.Height := 20;
      Exec2(ExpandConstant('{src}\Redist\PhysX.msi'),'/q',false);
    end;
    if VisualCCB.Checked then begin
      Status.Caption:='Installing Visual C++...';
      Status.Left := 200;
      Status.Top := 200;
      Status.Width := 227;
      Status.Height := 20;
      Exec2(ExpandConstant('{src}\Redist\vcredist_x86.exe'),'/q',false);
    end;
    if Framework.Checked then begin
      Status.Caption:='Installing Framework...';
      Status.Left := 200;
      Status.Top := 200;
      Status.Width := 227;
      Status.Height := 20;
      Exec2(ExpandConstant('{src}\Redist\dotnetfx.exe'),'/q',false);
    end;
  end;
You can enable NvidiaPhysx and Framework checkbox

Find

Code:
NvidiaPhysx.Checked:= False
NvidiaPhysx.Enabled:= False;
Change to

Code:
NvidiaPhysx.Checked:= True
NvidiaPhysx.Enabled:= True;

Last edited by Kurutucu; 04-10-2013 at 06:26.
Reply With Quote
The Following User Says Thank You to Kurutucu For This Useful Post:
61n4n74r (04-10-2013)
  #10  
Old 07-03-2019, 06:10
Kral Kral is offline
Registered User
 
Join Date: May 2018
Location: America
Posts: 20
Thanks: 4
Thanked 0 Times in 0 Posts
Kral is on a distinguished road
Question Repack

Well, in a way that does not exceed 100% of the .bin files in the components section of the elective I'm going to choose which language to install the game according to that language will be how it will be

Do NOT quote first posts ever !

Last edited by pakrat2k2; 07-03-2019 at 11:36. Reason: remove first page quote.
Reply With Quote
  #11  
Old 20-05-2013, 07:44
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
@Shanilka

I don't know. Sorry

@PinHeaDi

With inno compression giving errors. This Freearc, 7zip, Rar etc. only.
Reply With Quote
  #12  
Old 20-05-2013, 08:46
PinHeaDi PinHeaDi is offline
Registered User
 
Join Date: May 2013
Location: Bulgaria
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
PinHeaDi is on a distinguished road
Ok. I finally figured it, my other qeustion is there a way to maker only .exe file. I mean all the file to be in one exe file and not in a .bin
Reply With Quote
  #13  
Old 20-05-2013, 12:47
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 159
Thanks: 78
Thanked 209 Times in 48 Posts
Kurutucu is on a distinguished road
@skakmatch

Open Main.iss.

1. Add this under #defines:

Code:
#define Publisher "Ubisoft"
2. Find DefaultDirName={{#Dir}}\{#AppName} then change with this

Code:
DefaultDirName={{#Dir}}\{#Publisher}\{#AppName}
Reply With Quote
The Following User Says Thank You to Kurutucu For This Useful Post:
skakmatch (20-05-2013)
  #14  
Old 22-05-2013, 07:16
Razor12911's Avatar
Razor12911 Razor12911 is offline
Noob
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,754
Thanks: 2,191
Thanked 11,223 Times in 2,312 Posts
Razor12911 is on a distinguished road
@D4rkSp4wn

i see, this script has a lot of bugs which i can fix and make them disappear but my hands are tied.

Try that method using the converter, program i created. If it fails, then there's nothing i can do.
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
y_thelastknight (22-05-2013)
  #15  
Old 22-05-2013, 07:28
D4rkSp4wn D4rkSp4wn is offline
Registered User
 
Join Date: Mar 2013
Location: Brasil
Posts: 16
Thanks: 18
Thanked 8 Times in 6 Posts
D4rkSp4wn is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
@D4rkSp4wn

i see, this script has a lot of bugs which i can fix and make them disappear but my hands are tied.

Try that method using the converter, program i created. If it fails, then there's nothing i can do.
what converter? can you please link me to it?
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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 129 21-05-2021 05:51
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup REV0 Conversion Tutorials 51 26-03-2015 06:57
Copy file with Inno Setup Script emrahcey Software 1 02-07-2010 08:24



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


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