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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2013, 21:26
Kurutucu's Avatar
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 161
Thanks: 78
Thanked 205 Times in 49 Posts
Kurutucu is on a distinguished road
Wink Blackbox Inno Setup Script

Blackbox Inno Setup Script - UNICODE

NOTE: I'M DONE A YEAR AGO ABOUT MAKING INNO SETUPS. SO DON'T SEND ME PRIVATE MESSAGES. IF YOU HAVE QUESTION JUST WRITE ON THREAD. BYE ALL


PLEASE READ -> Instructions on blackbox script (Thanks Razor12911)

Updates

NO MORE.

CHANGES:


Code:
1.8

-Slideshow and Video added (By y_thelastknight).

-Added 4 version [Main.iss, Main(precomp.0.43).iss, Main(Compact.Mode).iss, Main(Compact.Mode-precomp.0.43).iss]

-Added Planet Megapolis font.

-Fixed buttons.

-Fixed font colors.

-Added compact mode.

-Fixed finish page.

-Fixed Kurutucu Compressor.

-Added Framework redist.

-Skin change fixed. You can change with any skin.

-Disabled Nvidia Physx Checkbox. But you can enable it.

-Other checkboxs selected automatic.

-Watch Dogs Original Soundtrack added. ;)
Precomp, Srep, 7Zip, Zip, Rar support.

Tested by me. There is no problem and errors with inside compressed file extraction. Don't forget this script English only! You can edit for other languages

1. Download attachment file and extract a temporal folder. Open Main.iss and change Appname, AppExec, AppSize etc.

2. Compress files with your method (Look at tested compression methods). Then open Archives.ini. Edit for your compression method. Examples:

Code:
if not ISArcExtract ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not IS7ZipExtract   ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}\data1'), false, '') then break;
if not ISRarExtract    ( 0, 100, ExpandConstant('{src}\Setup-1.bin'), ExpandConstant('{app}'), false, '') then break;
For more files copy and paste line. If files more CD or DVD:

Code:
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;
3. Edit images in PSD files folder with Adobe Photoshop. Or you can change images in Style folder. Don't forget change TITLE in autorun.inf. Change setup.ico in Style folder.

4. You can edit setup style. Replace your cjstyle or other type style file in style folder. Don't forget rename your style to ''skin.cjstyles'' (Look: http://isskin.codejock.com/).

5. Move PhysX.msi, vcredist_x86.exe and dotnetfx.exe to Redist folder. Move DirectX to Redist/DirectX folder.

6. Change music.mp3 to your music.mp3 in style folder.

7. Finished

NOTE1: For no compression use freearc and compress files with -m0 method.

NOTE2: Don't forgot change your compressed files name setup-1.bin or change it here (look 2) ('{src}\setup-1.bin'). Or you can change it ('{src}\*.bin') . First compile script. Then create setup-1.bin.


[B]Credits

Example script: neo-hl2000

Script edit: Kurutucu


Screenshots (Pictures for example):

V1.8 PREVIEW









Compact Mode:



TESTED COMPRESSION METHODS:


Code:
-mprecomp+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
 
-msrep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8

7zip

RAR
NOTE: 1.8 only freearc, precomp and srep only. Look info for RAR and 7Zip.

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;
Find

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

Code:
Framework.Checked:= True
Framework.Enabled:= True;
For RAR and 7Zip add this:

Code:
#define unrar
#define 7ZIP
and

Code:
#ifdef unrar
    ExtractTemporaryFile('Unrar.dll');
#endif
#ifdef 7ZIP
    ExtractTemporaryFile('7z.dll');
    ExtractTemporaryFile('PackZIP.exe');
#endif

V2.0 By y_thelastknight



BlackBox Script V2 is HERE
Attached Files
File Type: 7z Black_Box_Script_By_Kurutucu_V1.8.7z (15.93 MB, 18691 views)
File Type: 7z Slideshow & Video.7z (2.71 MB, 8729 views)

Last edited by Kurutucu; 21-06-2015 at 20:11.
Reply With Quote
The Following 135 Users Say Thank You to Kurutucu For This Useful Post:
61n4n74r (04-10-2013), 78372 (23-04-2017), Adhays (28-04-2013), agralirid (01-04-2014), aj12345 (23-10-2013), alley_u2 (01-09-2013), aminsccoy (10-04-2015), Andrey167 (04-05-2016), an_ultim (25-04-2013), ARHONE (24-06-2013), aristoclates (06-01-2016), arkantos7 (05-05-2014), Arzboy (15-01-2014), ASSAiL (24-10-2013), assassin193 (20-06-2013), Atlan-LFT (11-02-2014), aXiom_ (25-08-2016), basic23 (04-07-2013), Bilawal (08-10-2014), Black_Angel_Kjh (18-11-2015), buttignol (24-06-2013), Carldric Clement (24-08-2014), ConnorN (07-10-2013), COPyCAT (31-08-2016), D4rkSp4wn (22-07-2013), dadasalam (09-11-2013), dead4now (09-12-2013), DeltaKrew (09-04-2017), Delutto (19-05-2013), Demonn (04-04-2013), DjLucky (23-02-2014), djrahulpro (24-04-2015), dothebao3 (08-06-2017), dudul (21-05-2013), DVDMan (06-09-2013), elnesr (19-11-2013), feri.mis63 (23-12-2013), galaxymax (09-08-2013), Gamer009 (04-10-2014), gamer277 (27-07-2013), GhostSystem (04-02-2015), GTX590 (10-05-2013), hackjack (17-12-2013), HARDK (30-01-2015), hpmbot149 (07-06-2016), huavancuong098 (06-04-2013), inatha3 (11-04-2016), Israfil (23-07-2014), jamel2013 (17-01-2014), jenty (19-11-2013), Juggernautwill (05-04-2013), JustFun (24-07-2013), k4tzEy3dBoy (02-12-2013), Kazamnuk (17-12-2015), keitostin (28-02-2015), kenzo34 (14-12-2016), khokhan (04-05-2013), kj911 (08-05-2013), konvicted (25-09-2013), kurutu (27-06-2013), lalit (29-04-2013), lamphuoc (01-09-2013), Last Roze (24-03-2014), lhanz678 (05-05-2014), loitha (05-11-2014), lukman510 (17-07-2013), M3HDI (17-10-2013), mamed3000 (19-09-2015), MartinezPL (14-06-2013), Matrixcode1 (20-11-2013), maxd1999 (21-01-2014), mconstantine (15-12-2014), mitsos1992 (09-02-2014), MMR (14-02-2014), Mr. Kauss (05-09-2013), mustang1000hp (26-05-2013), nemesis8 (25-11-2016), Newbie (29-06-2013), oltjon (22-12-2013), omdj (10-06-2013), panker1992 (30-12-2015), papas (21-04-2016), pc512 (21-08-2014), pcblizzard (26-05-2013), pebe (04-04-2015), Pein46 (24-04-2013), Prince Soft (10-11-2016), Proxson (09-12-2017), punchao (02-01-2016), quake4 (25-05-2016), Rizz AL Zedd (30-10-2015), robotidiotmamel (09-03-2016), rsktrk (25-12-2015), sajjad_mabani (03-09-2013), saradaddy (10-02-2016), sarmadi (20-05-2013), Sarvagya (10-01-2015), sbalykov (04-03-2016), sewerok (22-03-2017), sgx77 (19-04-2014), Shadow Delta (22-05-2014), shalhop (30-01-2014), sidelee72 (04-04-2013), silviugut (05-04-2013), Simorq (31-12-2014), siros (19-01-2015), skakmatch (20-05-2013), STB13 (30-11-2017), Stor31 (01-04-2015), supernoro (18-12-2013), Susano-o (03-10-2016), tawcf1993 (20-05-2014), tech2012 (21-03-2014), Thang (18-05-2013), thedarkman (28-05-2013), Thiếu Gia Ngốc (19-06-2013), trakiinas (10-09-2013), triplesec (13-12-2014), twizted (21-08-2013), tzrepacks (26-05-2013), Vatsal Singh (13-10-2013), Vivekkumar07032003 (22-05-2016), wit (03-04-2013), Xaelin (08-07-2013), yasserdivar (16-09-2015), younger28 (27-11-2014), y_thelastknight (15-04-2013), Zeibe (11-10-2014), zirkhaki (07-05-2018), Zocky (05-04-2013), zougjaysean (23-06-2013)
Sponsored Links
  #2  
Old 04-04-2013, 01:32
jackstuff's Avatar
jackstuff jackstuff is offline
Registered User
 
Join Date: Oct 2011
Location: iN mEMORIES
Posts: 116
Thanks: 111
Thanked 25 Times in 17 Posts
jackstuff is on a distinguished road
This script based on Ansi OR Unicode?
Reply With Quote
The Following User Says Thank You to jackstuff For This Useful Post:
  #3  
Old 04-04-2013, 01:45
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,160
Thanks: 1,671
Thanked 7,492 Times in 1,739 Posts
Razor12911 is on a distinguished road
this script needs some work and some permissions.
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
tawcf1993 (20-05-2014)
  #4  
Old 04-04-2013, 03:48
Kurutucu's Avatar
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 161
Thanks: 78
Thanked 205 Times in 49 Posts
Kurutucu is on a distinguished road
Quote:
Originally Posted by Razor12911 View Post
this script needs some work and some permissions.
No. Don't need anything. Working...
Reply With Quote
The Following User Says Thank You to Kurutucu For This Useful Post:
swyambhu (16-06-2016)
  #5  
Old 05-04-2013, 00:28
KING2012 KING2012 is offline
Registered User
 
Join Date: Dec 2012
Location: Alexandria
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
KING2012 is on a distinguished road
why in time remaining : Test Run ?
Reply With Quote
  #6  
Old 05-04-2013, 08:44
Adhays's Avatar
Adhays Adhays is offline
Registered User
 
Join Date: Apr 2012
Location: Jakarta
Posts: 36
Thanks: 35
Thanked 3 Times in 3 Posts
Adhays is on a distinguished road
are u have tutorial for use this conversion... sorry i'm newbie
Reply With Quote
  #7  
Old 05-04-2013, 09:02
Razor12911's Avatar
Razor12911 Razor12911 is offline
Coder
 
Join Date: Jul 2012
Location: South Africa
Posts: 3,160
Thanks: 1,671
Thanked 7,492 Times in 1,739 Posts
Razor12911 is on a distinguished road
Quote:
Originally Posted by KING2012 View Post
why in time remaining : Test Run ?
because you didn't specify the progress for each archive you want to extract.
__________________
Looking for something?
Visit the
Tutorial Index
Reply With Quote
The Following User Says Thank You to Razor12911 For This Useful Post:
Kurutucu (05-04-2013)
  #8  
Old 06-04-2013, 07:54
huavancuong098 huavancuong098 is offline
Registered User
 
Join Date: Mar 2013
Location: viet nam
Posts: 40
Thanks: 26
Thanked 5 Times in 5 Posts
huavancuong098 is on a distinguished road
can you explain to me how to compress game, i don't known how to compress with arc file in inno setup!
Reply With Quote
  #9  
Old 06-04-2013, 08:20
y_thelastknight's Avatar
y_thelastknight y_thelastknight is offline
Registered User
 
Join Date: Mar 2010
Location: Canada
Posts: 413
Thanks: 592
Thanked 524 Times in 205 Posts
y_thelastknight is on a distinguished road
Quote:
Originally Posted by Kurutucu View Post
Updated to V1.1

Your ISSkinex.dll doesnt support ANSI version of inno setup

Replace with attach file
Attached Files
File Type: 7z ISSkinex.7z (142.8 KB, 931 views)
Reply With Quote
  #10  
Old 06-04-2013, 08:21
Kurutucu's Avatar
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 161
Thanks: 78
Thanked 205 Times in 49 Posts
Kurutucu is on a distinguished road
Quote:
Originally Posted by y_thelastknight View Post
Your ISSkinex.dll doesnt support ANSI version of inno setup

Replace with attach file
Your ISSkinex.dll not suppport Windows 8!
Reply With Quote
  #11  
Old 06-04-2013, 08:23
pakrat2k2's Avatar
pakrat2k2 pakrat2k2 is offline
Moderator
 
Join Date: Apr 2005
Location: Canada
Posts: 6,761
Thanks: 2,628
Thanked 7,500 Times in 2,691 Posts
pakrat2k2 is on a distinguished road
Quote:
Originally Posted by huavancuong098 View Post
can you explain to me how to compress game, i don't known how to compress with arc file in inno setup!
you use freearc to create them
Code:
www.freearc.org
Quote:
Originally Posted by Kurutucu View Post
Your ISSkinex.dll not suppport Windows 8!
this version was modified 6 months later ( 2011 ), y_thelastknight's file was 2010. see if it works in win8
Attached Files
File Type: rar isskinex.rar (153.8 KB, 928 views)

Last edited by pakrat2k2; 06-04-2013 at 08:44.
Reply With Quote
The Following 3 Users Say Thank You to pakrat2k2 For This Useful Post:
huavancuong098 (06-04-2013), Kurutucu (10-06-2013), y_thelastknight (06-04-2013)
  #12  
Old 06-04-2013, 09:02
huavancuong098 huavancuong098 is offline
Registered User
 
Join Date: Mar 2013
Location: viet nam
Posts: 40
Thanks: 26
Thanked 5 Times in 5 Posts
huavancuong098 is on a distinguished road
thank, Can i use funtion or value arc compress in inno setup?
Reply With Quote
  #13  
Old 06-04-2013, 09:04
altef_4's Avatar
altef_4 altef_4 is offline
Registered User
 
Join Date: Mar 2012
Location: Ukraine
Posts: 357
Thanks: 244
Thanked 904 Times in 232 Posts
altef_4 is on a distinguished road
there are two versions of isskinex, one for ansi and unicode versions.
Reply With Quote
The Following 2 Users Say Thank You to altef_4 For This Useful Post:
Kurutucu (09-04-2013), y_thelastknight (06-04-2013)
  #14  
Old 06-04-2013, 09:33
Kurutucu's Avatar
Kurutucu Kurutucu is offline
Registered User
 
Join Date: Aug 2012
Location: Somewhere in the world
Posts: 161
Thanks: 78
Thanked 205 Times in 49 Posts
Kurutucu is on a distinguished road
Quote:
Originally Posted by altef_4 View Post
there are two versions of isskinex, one for ansi and unicode versions.
Yes. I'm used for Unicode version.
Reply With Quote
The Following User Says Thank You to Kurutucu For This Useful Post:
y_thelastknight (06-04-2013)
  #15  
Old 06-04-2013, 09:37
huavancuong098 huavancuong098 is offline
Registered User
 
Join Date: Mar 2013
Location: viet nam
Posts: 40
Thanks: 26
Thanked 5 Times in 5 Posts
huavancuong098 is on a distinguished road
I want to ask about this script. This script create setup preview or create my repack with bin file? Can i create file compress.bat?
Reply With Quote
The Following User Says Thank You to huavancuong098 For This Useful Post:
Sonansyach_10 (05-01-2018)
Reply

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
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup REV0 Conversion Tutorials 125 13-03-2016 18:39
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 12:41.


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