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)

kostaskaraivalis 19-06-2013 10:07

Quote:

Originally Posted by red01 (Post 419782)
I have a little question to ask again.

I use classical method of compression
i.e. freearc (-m0)>precomp>srep>freearc (-mx) >innosetup.

lets assume my data file is data1.arc (after final -mx compression).

What changes i have to make in archieves.ini for this method of compression.?

Try this assuming your compressed files have the same name "data1"
Code:

if not ISArcExtract ( 0, 33, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISSRepExtract  ( 0, 33, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 34, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;


y_thelastknight 19-06-2013 10:22

kostaskaraivalis You missed the Precomp part..
Code:

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISPrecompExtract( 0, 25, ExpandConstant('{app}\data1.pcf'),    ExpandConstant('{app}\data1.srep'), true) then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;


red01 19-06-2013 20:28

Quote:

Originally Posted by y_thelastknight (Post 419791)
kostaskaraivalis You missed the Precomp part..
Code:

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISPrecompExtract( 0, 25, ExpandConstant('{app}\data1.pcf'),    ExpandConstant('{app}\data1.srep'), true) then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;



@ y_thelastknight

you and kostaskaraivalis both used different variabales in archieve.ini i.e. 0,25 (your values) and 0,33 (kostaskaraivalis 's value).

what effect those variable (in archieves.ini) make in this file or game compression.?

BTW thanks for your reply.

red01 19-06-2013 21:49

Quote:

Originally Posted by red01 (Post 419801)
@ y_thelastknight

you and kostaskaraivalis both used different variabales in archieve.ini i.e. 0,25 (your values) and 0,33 (kostaskaraivalis 's value).

what effect those variable (in archieves.ini) make in this file or game compression.?

BTW thanks for your reply.


@ y_thelastknight
sorry for trouble
i read the tutorial by Razor12911 about this script and i find out about those variables.

kostaskaraivalis 19-06-2013 22:51

Quote:

Originally Posted by y_thelastknight (Post 419791)
kostaskaraivalis You missed the Precomp part..
Code:

if not ISArcExtract ( 0, 25, ExpandConstant('{src}\data1.arc'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;
if not ISPrecompExtract( 0, 25, ExpandConstant('{app}\data1.pcf'),    ExpandConstant('{app}\data1.srep'), true) then break;
if not ISSRepExtract ( 0, 25, ExpandConstant('{app}\data1.srep'),ExpandConstant('{app}\data1.arc'), true) then break;
if not ISArcExtract ( 0, 25, ExpandConstant('{app}\data1.arc'), ExpandConstant('{app}'), '', true, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break;


He said he used only Arc -m0 --> srep --> arc -mx
there is method without using precomp as well.

red01 20-06-2013 02:05

I try to run a sample to test it
It give me following error

Run time error (at 141:21):
could not call proc.
ok


somebody tell me what is that?

y_thelastknight 20-06-2013 02:11

Quote:

Originally Posted by kostaskaraivalis (Post 419805)
He said he used only Arc -m0 --> srep --> arc -mx
there is method without using precomp as well.

read the post dude :)

Quote:

Originally Posted by red01 (Post 419782)
i.e. freearc (-m0)>precomp>srep>freearc (-mx) >innosetup.


kostaskaraivalis 20-06-2013 04:20

Indeed, well I ought to mention it for a general purpose then.

Kurutucu 20-06-2013 14:15

RAR and 7Zip info added.

assassin193 20-06-2013 22:21

need little help
http://i.minus.com/ibnDZoP5TDYEil.png

AHRIMANSEFID 21-06-2013 03:24

I made ​​the inno Setup program with the program.
Not to allow the finished unpacking.

pakrat2k2 21-06-2013 08:23

read instructions written by Razor12911

http://fileforums.com/showpost.php?p...1&postcount=89

lugard 21-06-2013 11:48

hello
as disable to compression?

pakrat2k2 21-06-2013 12:33

Quote:

Originally Posted by lugard (Post 419851)
hello
as disable to compression?

READ post #1, if you read it all you would have seen how-to for no compression.

look for NOTE 1


red01 22-06-2013 02:52

someone can give me an example inno script for this blackbox innoset up script...?

i am stuck...

buttignol 22-06-2013 07:14

How to appear in the Programs/Features Windows the total size of the game script Black box appears 1.20 MB
Game size eg 5.3 GB

Kurutucu 22-06-2013 07:34

1.8

-Slideshow and Video added (By y_thelastknight).

Pirate Ted 22-06-2013 08:43

nice Installer..someone here please add system requirements

skakmatch 22-06-2013 08:47

Update 1.8 its very cool.
anyone can you share how to compress like a setup-1a.bin , setup-1b.bin, setup-2a.bin with freearc or precomp..

kr0m 22-06-2013 08:51

Quote:

Originally Posted by buttignol (Post 419869)
How to appear in the Programs/Features Windows the total size of the game script Black box appears 1.20 MB
Game size eg 5.3 GB

[Setup]
UninstallDisplayName={#AppName}
UninstallDisplayIcon={app}\{#AppExec}
UninstallDisplaySize=Set in bytes. (1048576 bytes = 1 megabyte)

pakrat2k2 22-06-2013 09:25

Quote:

Originally Posted by skakmatch (Post 419872)
Update 1.8 its very cool.
anyone can you share how to compress like a setup-1a.bin , setup-1b.bin, setup-2a.bin with freearc or precomp..

read post #293 for instructions link

ashyamsundar 22-06-2013 09:32

1) How to increase time interval of slideshow ?
2) how to enable video option ?

mikey26 22-06-2013 09:40

does this updated version support internal compression?would be nice to see internal compression for smaller games instead of precomp srep just straight forward internal compression.

y_thelastknight 22-06-2013 09:46

Quote:

Originally Posted by ashyamsundar (Post 419875)
1) How to increase time interval of slideshow ?
2) how to enable video option ?

1) Find this line
Code:

TimerID:=SetTimer(0, 0, 2000, WrapTimerProc(@OnTimer, 4));
2000 is the time intervel..

2) put your Video.avi , Video.wmv, Video.mp4, Video.mpg in Where the main.iss file have..and video option will be enabled :)


Quote:

Originally Posted by mikey26 (Post 419877)
does this updated version support internal compression?

No..Will be added later versions

Kurutucu 22-06-2013 10:23

Quote:

Originally Posted by mikey26 (Post 419877)
does this updated version support internal compression?would be nice to see internal compression for smaller games instead of precomp srep just straight forward internal compression.

Use freearc. Compression method -m0 or use RAR.

buttignol 22-06-2013 15:06

Quote:

Originally Posted by kr0m (Post 419873)
[Setup]
UninstallDisplayName={#AppName}
UninstallDisplayIcon={app}\{#AppExec}
UninstallDisplaySize=Set in bytes. (1048576 bytes = 1 megabyte)

Thanks krom Solved was exactly what I wanted

mikey26 23-06-2013 05:32

i get a blackscreen with video enabled.installer works just video playback is not working for me

y_thelastknight 23-06-2013 06:08

Quote:

Originally Posted by mikey26 (Post 419894)
i get a blackscreen with video enabled.installer works just video playback is not working for me

You dont have proper video codec.install k lite codec pack and then try or try with other formats

mikey26 23-06-2013 06:25

i know about klite i was the one that recommended it on the site.and i have it installed it works with yeners script just having issue with this one not sure whats the problem.

Razor12911 23-06-2013 06:55

yener90's scripts uses media player library and this script uses mci media library. There might be a slight difference but it works perfectly on my pc. I installed the k-lite 64 bit pack because I use x64 win architecture.

mikey26 23-06-2013 07:04

Quote:

Originally Posted by Razor12911 (Post 419897)
yener90's scripts uses media player library and this script uses mci media library. There might be a slight difference but it works perfectly on my pc. I installed the k-lite 64 bit pack because I use x64 win architecture.

also ising 64 nit klite codec pack.but i am using a mp4 file not sure if that would make a difference.named video.mp4 which i put that video file in the root of the of the iss file.

Razor12911 23-06-2013 07:06

try other video formats. like wmv or avi

mikey26 23-06-2013 08:32

Quote:

Originally Posted by Razor12911 (Post 419900)
try other video formats. like wmv or avi

tried another video format.is there any specfic width and hirgh the video file must be i dl a video direct from youtube 720P tried converting it to avi also no luck

ashyamsundar 23-06-2013 09:33

1 Attachment(s)
How to change default as compact mode ?

Razor12911 23-06-2013 09:46

make the TCheckBox checked.

mrmustatza1 23-06-2013 10:21

Hi. I want to use this script for F1 2012. The game has 10.9 GB(installed). I need some help for the second step:

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

I want to make a 2xDVD5 conversion. So I need an example with what should i write in Archives.ini
Can you help me?

I have an idea but I'm not sure if that's correct. Here: For 3xDVD5

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;
if not ShowChangeDiskWindow ('Please Insert Disk 3 To Continue..', ExpandConstant('{src}'),'Setup-3.bin') then break;
if not ISArcExtract ( 0, 50, ExpandConstant('{src}\Setup-3.bin'), ExpandConstant('{app}'), '', false, '', ExpandConstant('{tmp}\arc.ini'), ExpandConstant('{app}'), False) then break


P.S. Is there is any chance to make a 1xDVD5 conversion ?

pakrat2k2 23-06-2013 10:39

look in game index f1 2012 already has 2 conversions done for it 1xdvd5 / 2xdvd5

http://fileforums.com/showthread.php?t=74084

errors you have ( 3 files, must split to equal 100..( progressbar) you cant have 0,50 x 3 times )
could go 0, 50 for first file, 0, 25 for second / third files > then equals 100 )

skakmatch 23-06-2013 21:43

Quote:

Originally Posted by pakrat2k2 (Post 419874)
read post #293 for instructions link

pakrat2k2 thanks for reply.
sory because my english very bad :D
if u want split compress with RAR or Zip, use like this image
http://s18.postimg.org/yy5k4znr9/image.jpg

my question how to split compress using freearc, Serp, or Precomp.?

Pein46 24-06-2013 02:10

@skakmatch

freearc doesn't support splitting archive but you can do like this..
http://s8.postimg.org/umjl7mtol/New_Bitmap_Image.png

ashyamsundar 24-06-2013 09:49

Quote:

Originally Posted by Razor12911 (Post 419897)
yener90's scripts uses media player library and this script uses mci media library. There might be a slight difference but it works perfectly on my pc. I installed the k-lite 64 bit pack because I use x64 win architecture.

my os win 8 x64
k-lite 9.9.9 64bit
i use mp4 , avi , wmv , mov , mkv
1080p , 720p, 360p
not working
still black screen


All times are GMT -7. The time now is 17:30.

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