FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Glass Black Box Inno Setup Script Unicode (https://fileforums.com/showthread.php?t=95321)

Adonix 19-08-2014 05:48

Quote:

Originally Posted by y_thelastknight (Post 433417)
dude just open the script.iss file in enhanced version of inno setup and compile..

If i have "script.iss" in enhanced version then i would not disturbing you !
http://i.imgur.com/0TWHOcm.jpg

y_thelastknight 19-08-2014 05:54

Quote:

Originally Posted by Adonix (Post 433418)
If i have "script.iss" in enhanced version then i would not disturbing you !
http://i.imgur.com/0TWHOcm.jpg

dude use the script.iss file from Glass Black Box v1.4.1_C or Glass Black Box v1.4.1

Adonix 19-08-2014 05:59

Quote:

Originally Posted by y_thelastknight (Post 433419)
dude use the script.iss file from Glass Black Box v1.4.1_C or Glass Black Box v1.4.1

Do i have to copy script.iss to enhanced version folder ?
Or i have to copy all files from Glass Black Box v1.4.1_C to Inno Ultra (enhanced edition)

Little confused :(

I also tried to copy script.iss to enhanced version folder and then compiling, but another error.
I also tried to copy all files from Glass Black Box v1.4.1_C to enhanced version folder and then compiling, but same error. http://i.imgur.com/lw9XOlu.jpg

altef_4 19-08-2014 07:18

Quote:

Originally Posted by Adonix (Post 433420)
Do i have to copy script.iss to enhanced version folder ?
Or i have to copy all files from Glass Black Box v1.4.1_C to Inno Ultra (enhanced edition)

Little confused :(

I also tried to copy script.iss to enhanced version folder and then compiling, but another error.
I also tried to copy all files from Glass Black Box v1.4.1_C to enhanced version folder and then compiling, but same error. http://i.imgur.com/lw9XOlu.jpg

You opened script with inno setup 5.5.5u (this shows on your screenshot). Just open compil32. Exe from folder with inno setup ee and then click open and select your script.iss or just make association of. Iss with cimpil32. Exe

Adonix 19-08-2014 08:08

Quote:

Originally Posted by altef_4 (Post 433423)
You opened script with inno setup 5.5.5u (this shows on your screenshot). Just open compil32. Exe from folder with inno setup ee and then click open and select your script.iss or just make association of. Iss with cimpil32. Exe

YES MAN I DID IT :)
ALL GOOD, JUST ONE LAST QUESTION.

In Script.iss do i have to edit full green text or just some red text ?

Quote:

AppName={code:GameName}
AppPublisher={code:GamePublisher}
AppVersion={code:GameVersion}
AppComments={code:GameName}
DefaultDirName={pf}\{code:GamePublisher}\{code:Gam eName}
DefaultGroupName={code:GamePublisher}\{code:GameNa me}
And what's matter of setup.ini ?
there are many "[FreearcFile1]" written
i have only 1 .bin file so kindly help to set that setup.ini file, i am marking some text as bold, kindly tell what to fill there :
Quote:

[Game]
Name=TEST
Publisher=XXXX
Version=1.0.0
Size=5200

Exec=Binaries\Launcher.exe
//Exec2Name=x64
//Exec2=Binaries\Launcher.exe


[Redist]
Redist1Name=Direct X
Redist1Command={src}\Redist\DirectX\DXSetup.exe
Redist1Parameter=/Silent

Redist2Name=Microsoft Visual C++
Redist2Command={src}\Redist\vcredist_x86\vcredist_x86.exe
Redist2Parameter=/q /norestart

[Settings]
Precomp=0.38

[FreearcFile1]
Archive={src}\Data1.arc
Output={app}
Disk=1
;Password=


[FreearcFile2]
Archive={src}\Data2.arc
Output={app}
Disk=1
;Password=




//[7ZipFile2]
Archive={src}\Data.7z
Output={app}
Disk=2
;Password=

//[RarFile3]
Archive={src}\Data.rar
Output={app}
Disk=2
;Password=


pakrat2k2 19-08-2014 08:28

[Game]
Name=TEST
Publisher=XXXX
Version=1.0.0
Size=5200

Exec=Binaries\Launcher.exe ( The name & location of Your game's EXE)
//Exec2Name=x64
//Exec2=Binaries\Launcher.exe


[Redist] Comment these out with // IF your game doesn't have them or else enter in the folder name like it exists in game folder
Redist1Name=Direct X
Redist1Command={src}\Redist\DirectX\DXSetup.exe
Redist1Parameter=/Silent

Redist2Name=Microsoft Visual C++
Redist2Command={src}\Redist\vcredist_x86\vcredist_x86.exe
Redist2Parameter=/q /norestart

[Settings]
Precomp=0.38 not needed unless you used precomp to make your bin file

[FreearcFile1]
Archive={src}\Data1.arc change to match the name of your file
Output={app}
Disk=1
;Password=


The types listed below can be changed to match your files IF you HAD more then 1. Just shows what types of files can be entered in setup.ini.

[FreearcFile2]
Archive={src}\Data2.arc
Output={app}
Disk=1
;Password=


//[7ZipFile2]
Archive={src}\Data.7z
Output={app}
Disk=2
;Password=

//[RarFile3]
Archive={src}\Data.rar
Output={app}
Disk=2
;Password=

Adonix 19-08-2014 08:34

some guys like pakrat2k2 , razor , y_thelastknight and altef_4 Are fuc***g expert !!
I don't know how someone can be so expert :p

Thanks Thanks...
For below thing, i used precomp also.
Quote:

[Settings]
Precomp=0.38 not needed unless you used precomp to make your bin file
I used below code for compression :
arc a -lc8 -ep1 -ed -r -w.\ Data\TEST.bin -mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "C:\*"

So now tell according to this :)

Am i have to write "test.bin" in place of "Data1.arc" ?
[FreearcFile1]
Archive={src}\Data1.arc

pakrat2k2 19-08-2014 12:37

set the precomp line equal to which version of precomp you used, & secondly change Data1.arc to test.bin for your example. Don't forget to comment out the freearcfile2 line ( use // ) just like the rest.

Adonix 19-08-2014 19:10

Quote:

Originally Posted by pakrat2k2 (Post 433433)
set the precomp line equal to which version of precomp you used, & secondly change Data1.arc to test.bin for your example. Don't forget to comment out the freearcfile2 line ( use // ) just like the rest.

THANKS !!!!!!!!!!!!!!!!!
what to write in Disk=1, Output={app} and password compulsory ??
And i put "//" to all files, except some files which i needed.

In Script.iss do i have to edit full green text or just some red text ?

Quote:

AppName={code:GameName}
AppPublisher={code:GamePublisher}
AppVersion={code:GameVersion}
AppComments={code:GameName}
DefaultDirName={pf}\{code:GamePublisher}\{code:Gam eName}
DefaultGroupName={code:GamePublisher}\{code:GameNa me}
Can't we have Autorun.inf in place of Setup.ini, can somebody remove setup.ini ?...work would become more easy then :p
And will we have to add setup.ini with test.bin and setup folder ??

Grumpy 19-08-2014 20:59

@Adonix

Do some reading of the forums instead of spamming the forum with questions which have been asked and 'answered' many many times. All the answers you seek are here on these forums, read read read .... that is the only way you are going to learn.

And do NOT double post all the time, edit your original post instead of double posting.

Adonix 19-08-2014 21:24

Quote:

Originally Posted by Grumpy (Post 433444)
@Adonix

Do some reading of the forums instead of spamming the forum with questions which have been asked and 'answered' many many times. All the answers you seek are here on these forums, read read read .... that is the only way you are going to learn.

And do NOT double post all the time, edit your original post instead of double posting.

Grumpy brother, i am searching + reading the forum since 3 days whole day and night, and when i am not finding some answer, then only asking !!

y_thelastknight 19-08-2014 21:58

adonix mate..

you don't have anything to edit in Script.iss
1- make your bin files..
2- edit the Setup.ini in output dir for you purpose.
3- open the script.iss and compile..thats all you have to do..

Code:

[Game]
Name=(name of the game)
Publisher=(publisher of the game)
Version=(version of the game)
Size=(required disk space for your game)

Exec=Binaries\Launcher.exe (where is your main exe file in the installation dir and main exe file name..)
//Exec2Name=x64 (secondary exe file name)(delete the line if you don't have secondary exe)
//Exec2=Binaries\Launcher.exe (where is your secondary exe file in the installation dir and exe file name..)(delete the line if you don't have secondary exe)

[Redist]
Redist1Name=Direct X
Redist1Command={src}\Redist\DirectX\DXSetup.exe
Redist1Parameter=/Silent

Redist2Name=Microsoft Visual C++
Redist2Command={src}\Redist\vcredist_x86\vcredist_x86.exe
Redist2Parameter=/q /norestart

[Settings]
Precomp=0.38 (what version of precomp you used to compress your bin files)

[FreearcFile1] (what format you used for compress(Freearc, 7Zip, Rar))(you archive number)
Archive={src}\Setup-1.bin (your bin file directory and bin file)
Output={app} (output directory)
Disk=1 (your disk number where your archive file is)
Password= (your bin password) (if you don't have password for your archive then put it blank)

do you know what to do when you have multiple bin files is it?


Pakrat2k, altef_4, Grumpy thanks for the backup guys..

Adonix 19-08-2014 22:52

Please help again :(
http://i.imgur.com/jWyApl9.jpg

y_thelastknight 19-08-2014 22:58

i think that archive is corrupted.

Adonix 19-08-2014 23:09

Quote:

Originally Posted by y_thelastknight (Post 433454)
i think that archive is corrupted.

not possible,.i used this installer to compress : http://fileforums.com/attachment.php...3&d=1371369297

Adonix 20-08-2014 00:20

Quote:

Originally Posted by y_thelastknight (Post 433454)
i think that archive is corrupted.

Ok, you said corrupted,..
i tried by using another bin file created by using : http://fileforums.com/attachment.php...3&d=1371369297
compressor provided here.

But again same error giving : http://i.imgur.com/jWyApl9.jpg

Please help i have done very hard work to complete the installer :'(

Please help. :(

altef_4 20-08-2014 00:27

Quote:

Originally Posted by Adonix (Post 433427)
some guys like pakrat2k2 , razor , y_thelastknight and altef_4 Are fuc***g expert !!
I don't know how someone can be so expert :p

Thanks Thanks...
For below thing, i used precomp also.

...

if you really think that someone helped you on this forum, then don't forget about thanks button on the bottom right corner of the useful message.

Adonix 20-08-2014 00:36

Quote:

Originally Posted by altef_4 (Post 433458)
if you really think that someone helped you on this forum, then don't forget about thanks button on the bottom right corner of the useful message.

i really don't know thanks for telling :cool:

DCrepacks 27-08-2014 23:36

Quote:

Originally Posted by loitha (Post 425089)
i have this error when i mount dvd2 of the game..
how to fix?

I think you add " appid " internally ... i mean in the script . But, need to add it in the Setup.ini or just remove it and compile it again then you`ll get a successful output !

DCrepacks 27-08-2014 23:39

Friend/Brother,

I'm getting " CallbackAddr " what should i do ... ?!

Should i use the advanced inno setup you asked to do compile if we get any errors is there any solution other than using enchanced edition of inno setup?! ;)

y_thelastknight 28-08-2014 01:04

Quote:

Originally Posted by DCrepacks (Post 433654)
I think you add " appid " internally ... i mean in the script . But, need to add it in the Setup.ini or just remove it and compile it again then you`ll get a successful output !

mate that bug has fixed already..

Quote:

Originally Posted by DCrepacks (Post 433655)
Friend/Brother,

I'm getting " CallbackAddr " what should i do ... ?!

Should i use the advanced inno setup you asked to do compile if we get any errors is there any solution other than using enchanced edition of inno setup?! ;)

you have to change the code to use CallbackCtrl.dll

ahmetbtmn 05-11-2014 09:00

setup has crashed -m4 compression ? any idea?

Dansoft 11-11-2014 15:10

password
 
How do i add a password to the installer please?

hydefromt70s 13-11-2014 15:33

Nice installer!

Few questions:
1. Watching screens I'm assuming it works on Win8 x86 & X64 ?
2. Does this script can extract arc-srep-precomp-arc (bin) archives "on the fly" directly in the RAM memory as the Razor IC does? If not, is there any chance to implement this future to reduce extraction time?
3. Could you update ur script to the latest SREP 3.92 and precomp 0.43 ?

y_thelastknight 13-11-2014 22:06

Quote:

Originally Posted by Dansoft (Post 435938)
How do i add a password to the installer please?

what you mean password for the installer?

Quote:

Originally Posted by hydefromt70s (Post 435985)
Nice installer!

Few questions:
1. Watching screens I'm assuming it works on Win8 x86 & X64 ?
2. Does this script can extract arc-srep-precomp-arc (bin) archives "on the fly" directly in the RAM memory as the Razor IC does? If not, is there any chance to implement this future to reduce extraction time?
3. Could you update ur script to the latest SREP 3.92 and precomp 0.43 ?

1. it will wrk on both systems.
2. yeah i will extract on the fly. isdone scripted by razor so it will work like his ic.
3. sorry mate, i dont have time to upgrade my projects. if i have time i will.

hydefromt70s 16-11-2014 00:09

1 Attachment(s)
Thanks for the reply.

Unfortunately, I encountered a problem when extracting packed archives using SREP with PRECOMP. No matter which version of PRECOMP I use, I get an error. I noticed that the problem only occurs when the archives compressed with SREP and PRECOMP - when I use only the SREP, the files are extracted without error. I used to compress files Conversion Quick Archive Packer and this script (no files were swapped - just unpacked and used these programs).
I attach the sample files.

SREP Version: 3.0
PRECOMP Version: 0.38 & 0.42
Compression Method: -msrep + delta + lzma: a1: mfbt4: d158m: fb273: MC1000: LC8 & -mprecomp + SREP + delta + lzma: a1: mfbt4: d158m: fb273: MC1000: LC8
Error when using PRECOMP:
---------------------------
ISDone.dll
---------------------------
An error occurred when unpacking!
Unarc.dll returned an error code: -1
ERROR: archive data corrupted (decompression fails)
---------------------------

BTW. The strange thing is that the error doesn't pops up every time - on 5 installation attempts appears 2 to 3 times. This same files are extracted without any error in the Razor's IC, so ERROR must be on the side of script GBB.

Any solustion?

hydefromt70s 20-11-2014 06:10

Ok, nevermind with previous problem - somehow I managed it :D

Okay with the previous problem - somehow I worked this.
But I noticed that the progress bar on the top bar does not deduct properly until the end. I made a repack of a certain game (6 files bin, 5xDVD5) and already at the 3-4 disc shows that left 0 minutes to the end.

Any fix?

hydefromt70s 22-11-2014 01:24

1 Attachment(s)
I allowed myself to update this script because @thelastknight do not have time. I am not an expert in INNO, but with each passing day my knowledge grows: D

Here are the changes in my modified version:
- Config file setup.ini moved inside setup.exe when compile
- Updated 7z (alpha 9.34)
- Added new section to the arc.ini to extract 7z files
- Updated CLS-srep.dll to unpack files SREP 3.93
- Updated srep.exe and srep64.exe to 3.93
- Updated unarc.dll
- Modified time to change slides for 60 sec

I hope that @thelastknight and the @Razor will not be mad at me :)

punchao 22-11-2014 06:07

How to create desktop icon for Borderlands The Pre-sequel?
Binaries\Win32\BorderlandsPreSequel.exe

In the setup.ini or in Script.iss?
i need a Example please

hydefromt70s 22-11-2014 11:00

Quote:

Originally Posted by punchao (Post 436329)
How to create desktop icon for Borderlands The Pre-sequel?
Binaries\Win32\BorderlandsPreSequel.exe

In the setup.ini or in Script.iss?
i need a Example please

You don't change anything in Script.iss file, only in setup.ini.

punchao 22-11-2014 11:36

so?

Exec=\Binaries\Win32\BorderlandsPreSequel.exe
//Exec2Name=x64
//Exec2=Binaries\Launcher.exe

hydefromt70s 22-11-2014 11:37

Quote:

Originally Posted by punchao (Post 436350)
so?

Exec=\Binaries\Win32BorderlandsPreSequel.exe
//Exec2Name=x64
//Exec2=Binaries\Launcher.exe

Yes bro :)

punchao 22-11-2014 11:45

for install redistributables,I created a folder named _CommonRedist
in output folder,its correct?
thanks for your help and sorry for my bad english

hydefromt70s 22-11-2014 11:56

Yes, just write correct path in setup.ini to yours redist exe files.

hydefromt70s 22-11-2014 12:05

1 Attachment(s)
And here's another small update of GBB Custom Modified Version ;)

- added "ExecParametr" in the setup.ini for desktop shortcut parameters

I missed this option, so I decided to add it :) Usually you rarely use additional parameters when you start the game, but some games require this, e.g. Dead Island Escape.

In "ExecParametr" just type your additional parameters for desktop shortcut :)

punchao 22-11-2014 12:14

but _CommonRedist folder,put in Output folder or in game folder before compress the game?

hydefromt70s 22-11-2014 12:21

Quote:

Originally Posted by punchao (Post 436361)
but _CommonRedist folder,put in Output folder or in game folder before compress the game?

Doesn't really matter. If you put _CommonRedist folder in Output folder (DVD disc) then you type "{src}\_CommonRedist" to your redist folder in setup.ini. If you put it in game folder before compression than type "{app}\_CommonRedist" to your redist folder in setup.ini.

Buddy, try by trial and error method - watch what happens if you change any parameter, and draw conclusions. This is the fastest method for learning;)

punchao 22-11-2014 12:48

Many thanks for your help bro +10

hydefromt70s 26-11-2014 03:19

Today I tried to create an installer for the game with using an .avi file, and there is something wrong. I do not know how to explain it well, so I recorded a short video showing the problem.

http://youtu.be/IsM1c44-9ro

Razor, can you fix it?

rakeshbro 06-12-2014 01:00

Thanks :)


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

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