FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Blackbox Inno Setup Script (https://fileforums.com/showthread.php?t=94425)

DrakeMcCain 20-04-2015 04:44

Quote:

Originally Posted by punchao (Post 440008)
if using precomp 0.38, 0.40 or 0.41, make sure that the option is -slow in arc.ini

arc a -lc8 -ep1 -ed -r -w.\ Data\Setup-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

Where add-slow option,bro?

Actually, I am not sure; but try this:

arc a -lc8 -ep1 -ed -r -slow -w.\ Data\Setup-1.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

It will work maybe.

alucard1973 27-04-2015 04:52

Hello,
sorry for English
I have a problem with the script kurutucu
The first problem is that when there is a choice of language and I do cancel, I get an error message.
My second problem, I integrated the hardware setup page but I can not get enabled page indef components.
I attached the pictures you can see what I'm talking about and the script
thank you for your help

first problem:
http://nsm08.casimages.com/img/2015/...5913218848.jpg
http://nsm08.casimages.com/img/2015/...5913210989.jpg
second problem:
http://nsm08.casimages.com/img/2015/...5913210990.jpg
http://nsm08.casimages.com/img/2015/...5913210991.jpg
http://nsm08.casimages.com/img/2015/...5913210992.jpg

screen:
I would therefore like to create a page that will open before the directx components to make a page like this to choose the game that you want to pack install
eg I select Tomb Raider 2 only me and it will install only the setup-2.bin
http://nsm08.casimages.com/img/2015/...5913211020.jpg
http://nsm08.casimages.com/img/2015/...5913210997.jpg

script:
http://www85.zippyshare.com/v/VmDG0iq9/file.html

nhinchihap3 02-05-2015 08:16

Hep me
I use freearc and create 2 file
setup-1.bin
setup-2,bin
and i change Archives,ini
Code:

if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

but error " It is not found any file specified for ISArcExtract "

DrakeMcCain 03-05-2015 11:26

Quote:

Originally Posted by nhinchihap3 (Post 440406)
Hep me
I use freearc and create 2 file
setup-1.bin
setup-2,bin
and i change Archives,ini
Code:

if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

but error " It is not found any file specified for ISArcExtract "

First of all, use Kurutucu Compressor.

Archive which is shared in first page of this topic as an attachment includes Kurutucu Compressor.

And secondly, change archives.ini like this:

Code:

if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

I am not sure; but maybe archive names will be case sensitive.

If you encounter the same error inspite of the fact that you use my solution,
change archives.ini like this:

Code:

if not ShowChangeDiskWindow ('Please Insert Disk 1 To Continue..', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

Sorry for long post; just only my intent is helping you as I can.

nhinchihap3 04-05-2015 07:53

Quote:

Originally Posted by DrakeMcCain (Post 440429)
First of all, use Kurutucu Compressor.

Archive which is shared in first page of this topic as an attachment includes Kurutucu Compressor.

And secondly, change archives.ini like this:

Code:

if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-1.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;
if not ShowChangeDiskWindow ('Please Insert Next Disk To Continue..', ExpandConstant('{src}'),'setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\setup-2.bin'), ExpandConstant('{app}'), '', false, '', '', ExpandConstant('{app}'), notPCFonFLY {PCFonFLY}) then break;

I am not sure; but maybe archive names will be case sensitive.

If you encounter the same error inspite of the fact that you use my solution,
change archives.ini like this:

Code:

if not ShowChangeDiskWindow ('Please Insert Disk 1 To Continue..', ExpandConstant('{src}'),'Setup-1.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ShowChangeDiskWindow ('Please Insert Disk 2 To Continue..', ExpandConstant('{src}'),'Setup-2.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-2.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;

Sorry for long post; just only my intent is helping you as I can.

Thank bro but i use Kurutucu Compressor with 1 file work but 2 file don't work u can help me ?
And i change compress.bat
Work
Code:

@echo Working Arc+Precomp+Srep+Arc again
arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data1\*"
pause

After add one more file but don't work
Code:

@echo Working Arc+Precomp+Srep+Arc again
arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data1\*"
arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data2\*"
pause

Thankx , sorry my bad english

mausschieber 04-05-2015 09:17

Quote:

Originally Posted by nhinchihap3 (Post 440446)
Thank bro but i use Kurutucu Compressor with 1 file work but 2 file don't work u can help me ?
And i change compress.bat
Work
Code:

@echo Working Arc+Precomp+Srep+Arc again
arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data1\*"
pause

After add one more file but don't work
Code:

@echo Working Arc+Precomp+Srep+Arc again
arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data1\*"
arc a -lc8 -ep1 -ed -r -w.\ Data\Data.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "D:\Data2\*"
pause

Thankx , sorry my bad english

you must set for Data1 Data1.bin for Data2 Data2.bin etc

Amsal 08-05-2015 19:32

How to Make Repack with this
 
Please can you give me steps to make a repack with BlackBox v2

pakrat2k2 08-05-2015 21:55

Quote:

Originally Posted by Amsal (Post 440543)
Please can you give me steps to make a repack with BlackBox v2

try reading !!!

In the very first post click on the link PLEASE READ...

nhinchihap3 09-05-2015 04:55

I have 10 file bin , 1 file = 3Gb
I want ask how to make auto install , i mean we don't need browse dvd ?
Sorry my bad english :D

Razor12911 09-05-2015 09:40

There are instructions. Masks are supported I think. If you have ten files just do this data*.bin.
If your archive names are data1.bin data2.bin and so on.

belzack 11-05-2015 14:29

I get an error in line138 column1 identifier expected plz help and I didn't change anything

alucard1973 13-05-2015 15:28

there is nobody who can help me to activate the components as shown? I unable to open an additional page in the blackbox, I would open a page like the audio and text language before directx components etc ... but I can not do I not understand why
thank you for your help

GhostSystem 29-05-2015 05:39

R. Mechanics
 
This script so much problem. It is not complete blackbox. i want to help you with my script.

GhostSystem 29-05-2015 05:45

you need both Setup-1.bin and Setup-2.bin file put the {src} that means where Setup.exe is create.

DrakeMcCain 31-05-2015 10:06

Blackbox Inno Setup Script Update
 
1 Attachment(s)
I have added some features to this script. So, I want to share it for you.

What's New?
--------------

1) Multi2 feature added. (English+Turkish) But, you can add your language, if you want.

2) Version information added.

PS: This version info is not game version. This version info is shown at file properties.

3) "MinVersion" code added. This code describes minumum Windows version that requires Setup can run.

But, you can remove it, if you want.

4) "UninstallDisplaySize" code added. This code describes game size that is shown at Program Add/Uninstall.

PS: This value must be in terms of bytes.

5) "PrivilegesRequired" code added. If you set this as "poweruser" or "admin" , setup will require admin rights. If you set this as "lowest", every user can run Setup; Setup won't require admin rights.

6) Ram detection feature added. To use this feature, you must move "kernel32.dll" into "include" folder. If the computer's ram size lower than ram size that you set, Setup will show message.

VERY IMPORTANT: This dll file checks max. usable memory, not installed memory size. So, if you have 4 gb ram and if you set ram limit to 4 gb; you will get insufficient ram error.

PS: This dll doesn't support ram sizes that are much than 8 GB.

PS-2: You must set ram size in terms of bytes.


All times are GMT -7. The time now is 10:57.

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