PDA

View Full Version : Game Installer


lhanz678
22-04-2015, 01:50
Credits:
Razor12911 for
UltraARC for Inno Setup (http://fileforums.com/showthread.php?t=96619)
Graphic Studio (http://fileforums.com/showthread.php?t=96630)

NBA2K15 UltraARC New Layout and full ScreenShot

Changelog
-Fixed Game trailer video now supported wmv codec(thanks to Razor12911 for fix)
-Added New layout for better use
-All Form Modules full Customise(Browser form etc.)
-Fixed IsDone Cancel

Sample AutoRun

http://s1.bild.me/bilder/030315/2767462nba1.png (http://www.bild.me)

Main Installer

http://s1.bild.me/bilder/030315/6496456ss1.png (http://www.bild.me)

http://s1.bild.me/bilder/030315/7945616ss2.png (http://www.bild.me)

http://s1.bild.me/bilder/030315/2098148ss3.png (http://www.bild.me)

http://s1.bild.me/bilder/030315/8062806ss4.png (http://www.bild.me)

http://s1.bild.me/bilder/030315/3961531ss5.png (http://www.bild.me)

http://s1.bild.me/bilder/030315/9662529ss6.png (http://www.bild.me)

Installing Process |ISDone Cancel

http://s1.bild.me/bilder/030315/6168763ss8.png (http://www.bild.me)

http://s1.bild.me/bilder/030315/8396007ss10.png (http://www.bild.me)

http://s1.bild.me/bilder/030315/7086996ss11.png (http://www.bild.me)

NBA2K15.rar (4.95 MB, 291 views)
AviFormat.rar (12.6 KB, 40 views)
Update.rar (14.7 KB, 43 views)
NBA2K15 UltraARC.rar (5.28 MB, 21 views)
Thanks for downloading guys :)

Stor31
22-04-2015, 07:42
thx...
mandatory to use TinyTools For Compress and Split ????

lhanz678
22-04-2015, 21:13
thx...
mandatory to use TinyTools For Compress and Split ????

i never try to use split,and script not supported that,but if you want update the script it is open to every one :)

Razor12911
23-04-2015, 08:41
Great job bro, unique design.

punchao
23-04-2015, 14:23
as I can do to play the trailer?
and how to able web site button?

Incredible job,it's beautiful

lhanz678
23-04-2015, 16:04
as I can do to play the trailer?
and how to able web site button?

Incredible job,it's beautiful

sorry mate i forgot to enable it

1.
open script goto
[Files]
//Source: Trailer\Video.mp4; DestDir: {tmp}; Flags: dontcopy

delete "//"

Source: Trailer\Video.mp4; DestDir: {tmp}; Flags: dontcopy

2 goto in InitializeWizard

//ExtractTemporaryFile(ExpandConstant('video.mp4'));
//mciSendString('open "'+ ExpandConstant('{tmp}\Video.mp4') +'" alias MPEGVideo parent '+ IntToStr(VideoForm.Handle) +' style child','',0,0)
//mciSendString('put MPEGVideo window at '+ IntToStr(11) +' '+ IntToStr(10) +' '+ IntToStr(ScaleX(629)) +' '+ IntToStr(ScaleY(439)),'',0,0)

delete again "//"

now add mp4 video file in trailer folder rename it "video"

punchao
24-04-2015, 00:43
donīt work for me ,bro
This is my .mp4 video
http://snap.ashampoo.com/uploads/2015-04-24/nl27v702.png

coveiro
24-04-2015, 05:31
donīt work for me ,bro
This is my .mp4 video
http://snap.ashampoo.com/uploads/201...4/nl27v702.png


Hello, the script change of video.mp4 to video.avi, and convert your video to avi, worked here.

prudislav
24-04-2015, 06:01
any way of forcing it to use 7zip to decompress?

punchao
24-04-2015, 08:12
Hello, the script change of video.mp4 to video.avi, and convert your video to avi, worked here.



You have to modify the script?

gozarck
24-04-2015, 09:56
Very beautifull desing. It's unique. KUDOS Bro.

punchao
24-04-2015, 09:57
any way of forcing it to use 7zip to decompress?

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

prudislav
24-04-2015, 14:55
Unknown identifier IS7zExtract

lhanz678
24-04-2015, 18:15
Unknown identifier IS7zExtract

for now it not supported by you can edit it :)

lhanz678
24-04-2015, 18:26
donīt work for me ,bro
This is my .mp4 video
http://snap.ashampoo.com/uploads/2015-04-24/nl27v702.png

i think it happen bcos of codec try install klite codec pack or use avi format :) by the way i upload ah update for avi format just replace it :)

prudislav
25-04-2015, 00:59
for now it not supported by you can edit it :)
how ?? have no idea how to do it
i just want to make some installer without repacking whole 50 gigs (only one i managed to get working is the gta5 one from houcine , bu i need some NBA one even f simple)

punchao
25-04-2015, 02:27
thank you very much for your work

a suggestion:
you should make it compatible with UltraARC, is the best compressor undoubtedly

lhanz678
25-04-2015, 02:28
how ?? have no idea how to do it
i just want to make some installer without repacking whole 50 gigs (only one i managed to get working is the gta5 one from houcine , bu i need some NBA one even f simple)

houcine create nba2k15 ciu installer check it out :)

lhanz678
25-04-2015, 02:30
thank you very much for your work

a suggestion:
you should make it compatible with UltraARC, is the best compressor undoubtedly

ok i try that :)

prudislav
25-04-2015, 05:48
i guess i will need to wait for UltraArc compatible version

Stor31
25-04-2015, 06:20
i guess i will need to wait for UltraArc compatible version

Me too. ;):D:D

djrahulpro
25-04-2015, 08:59
hi i appreciate your works but just make clean video and please would you like to put it on youtube....so we can solve out the problems.....

lhanz678
25-04-2015, 15:51
i can not make video guest bcos my internet not stable ,please wait when i finish the update

for now 50% supported ultraArc but i got some runtime error when i try the isdone cancel function :)

when it ok i upload it

updated

i fix the error i upload it soon :)

SS

NBA2K15 UltraARC
and i update the cancel form :)

http://s1.bild.me/bilder/030315/7454452FIX.png (http://www.bild.me)

prudislav
26-04-2015, 01:38
nice job, didnt expected UltraArc suport that soon ;-) Will wait for 7zip support

lhanz678
26-04-2015, 02:17
nice job, didnt expected UltraArc suport that soon ;-) Will wait for 7zip support

UltraARC support 7zip :)

What does the program do?

This program allows you split freearc, 7-Zip and winrar archives in so that they may be able to fit in media
or volume output of your choice, CD700s, DVD5s, DVD9s, BRD25s, BRD50s, doesn't matter, it
will fit.

prudislav
26-04-2015, 02:49
well you have in OP written that "for now not suported 7zip and precomp 0.42"
and i already have the gamefiles packed with 7zip with IS7zExtract line from punchao in archive.ini
so I guess your script doesnt support IS7zExtract which is what i need :-(

punchao
26-04-2015, 05:45
#define unrar
#define 7ZIP

and

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

lhanz678
26-04-2015, 07:01
well you have in OP written that "for now not suported 7zip and precomp 0.42"
and i already have the gamefiles packed with 7zip with IS7zExtract line from punchao in archive.ini
so I guess your script doesnt support IS7zExtract which is what i need :-(

it bcos you did not read the update :) if you use UltraARC for conversion my script supported now ,just wait for finalizing and some bug fix i will upload it

prudislav
26-04-2015, 07:55
ok i misunderstood it then :-D Will wait

punchao
27-04-2015, 04:51
i need a tutorial
video not work for me

lhanz678
27-04-2015, 05:13
i need a tutorial
video not work for me

what video format you use :) mp4 and avi supported and i post some update you can try it

punchao
27-04-2015, 06:41
http://www25.zippyshare.com/v/ZD27D6Q4/file.html

lhanz678
27-04-2015, 21:33
http://www25.zippyshare.com/v/ZD27D6Q4/file.html

what link is this for? :)

punchao
28-04-2015, 03:21
these are the videos that have tried to do in the repack (.mp4 & .avi)
...... and I still have not gotten

sorry for my bad english

prudislav
28-04-2015, 05:57
any progress on 7zip support?

lhanz678
28-04-2015, 17:47
any progress on 7zip support?

ultra ARC supported 100% now i fix some small bugs in script and finalizing :)

lhanz678
28-04-2015, 17:51
these are the videos that have tried to do in the repack (.mp4 & .avi)
...... and I still have not gotten

sorry for my bad english

the avi and mp4 supported like i post and i testted it btw i working on to fix this bug :)

lhanz678
28-04-2015, 18:31
NBA2K15 UltraARC not available to download this is beta only ,but you can testing it :) if theres bug let me know

video trailer supportted mp4.format in next revision i update this in wmp :) soon

prudislav
29-04-2015, 00:25
Nice seems to work fine , will report if i encounter any bug

lhanz678
29-04-2015, 00:45
Nice seems to work fine , will report if i encounter any bug

oh that is a good news mate :)

prudislav
29-04-2015, 01:31
1) check the install location part - sometimes it acts quite strangely especially when changing drives
2) Browse for next disk if not found doesnt work... when i click browse and Yes it asks again
other than that it works fine

BTW: Also which line sets the HDD space requirements??
"ExtraDiskSpaceRequire" or the one in "#define NeedSize"
I edited both but not sure if its right

lhanz678
29-04-2015, 17:05
1) check the install location part - sometimes it acts quite strangely especially when changing drives
2) Browse for next disk if not found doesnt work... when i click browse and Yes it asks again
other than that it works fine

BTW: Also which line sets the HDD space requirements??
"ExtraDiskSpaceRequire" or the one in "#define NeedSize"
I edited both but not sure if its right

#define NeedSize=11000

[setup]
ExtraDiskSpaceRequire=11092448819

is the same the # define set to GB and the ExtradiskspaceRequire is set to MB

and the 1,2 you said it is working perfectly in my pc :)

lhanz678
08-05-2015, 17:23
NBA2K15 UltraARC New Layout :)

Stor31
09-05-2015, 07:33
how to fix this

http://nsa37.casimages.com/img/2015/05/09/150509043609437420.jpg

Razor12911
09-05-2015, 09:37
About the video part, you can just use windows media video format. (.wmv)

punchao
09-05-2015, 10:05
http://snap.ashampoo.com/uploads/2015-05-09/5814syqM.png

wmv don't work for me

Razor12911
09-05-2015, 11:35
Script modification is required for this.

lhanz678
09-05-2015, 17:59
About the video part, you can just use windows media video format. (.wmv)

i already use that bro that the info you give me :) and it works

lhanz678
09-05-2015, 18:01
http://snap.ashampoo.com/uploads/2015-05-09/5814syqM.png

wmv don't work for me

i dont know what that error came form ? but in my case it is working

http://s1.bild.me/bilder/030315/9876412Untitled.png (http://www.bild.me)

try this fix and compile with my Inno Ultra (enhanced edition)

lhanz678
09-05-2015, 18:08
how to fix this

http://nsa37.casimages.com/img/2015/05/09/150509043609437420.jpg

hi mate i follow this post of razor and maybe you try it

http://www.fileforums.com/showpost.php?p=439762&postcount=25

[UltraARC]
FirstVolumeContent=.\_installer

[Options]
VolumePrefixName=PES2015_

[Distribution]
ArchivePrefixName=setup-
ArchiveExtension=bin

[AutorunINF]
Open=setup.exe
LabelPrefixName=PES2015_
Icon=setup.ico
IconFilename=.\_installer\setup.ico

[Exclusions]
Exclude1=unins00*;uninstall.exe;uninstaller.exe

punchao
10-05-2015, 03:57
http://snap.ashampoo.com/uploads/2015-05-10/4ZKFeVPP.png

lhanz678
10-05-2015, 04:20
http://snap.ashampoo.com/uploads/2015-05-10/4ZKFeVPP.png


can you upload your wmv file and i test :)
and check your dir folder

look like this NBA2K15 UltraARCV2\Trailer

i see in your SS
NBA2K15 UltraARCV2\NBA2K15 UltraARCV2\Trailer thats not

if wmv not working try avi format but if not work at all wait for some fix ;)

punchao
10-05-2015, 05:56
http://www11.zippyshare.com/v/HIZiqTF0/file.html

lhanz678
10-05-2015, 17:53
http://www11.zippyshare.com/v/HIZiqTF0/file.html

hi mate i think this a ISPPBuiltins bug wait until i fix it, btw in my pc your video wmv works see SS

http://s1.bild.me/bilder/030315/9189256Untitled.png (http://www.bild.me)

and i upload the output Setup.exe to test

MM32
10-05-2015, 19:15
How to get this Form + Add The Sound of Music + Asadi moving images of the game

http://i296.photobucket.com/albums/mm169/jalazone/1_zpsyvir20na.png
http://i296.photobucket.com/albums/mm169/jalazone/2_zps4r7wgwzt.png
http://i296.photobucket.com/albums/mm169/jalazone/00_zpslghaldti.png
http://i296.photobucket.com/albums/mm169/jalazone/000_zpscbaro9ow.png
http://i296.photobucket.com/albums/mm169/jalazone/0_zpskc9tltdr.png
http://i296.photobucket.com/albums/mm169/jalazone/3_zpsft05vgbp.png
http://i296.photobucket.com/albums/mm169/jalazone/4_zpss5myh9bt.png
http://i296.photobucket.com/albums/mm169/jalazone/5_zpskaecpxgh.png
http://i296.photobucket.com/albums/mm169/jalazone/6_zps1de6elgh.png

lhanz678
10-05-2015, 19:41
nice design mate:)

and btw you mean music and slideshow, for the next update i try that

are the video trailer work in you mate bcos some others have a bug it ?

do NOT quote when so many images>pakrat2k2

punchao
11-05-2015, 03:01
@lhanz678:
This script is undoubtedly a great job and I congratulate you for it
For some strange reason it is impossible for me to run the video
So I desist, I deeply appreciate the support you have given me

lhanz678
11-05-2015, 18:10
nice design mate:)

and btw you mean music and slideshow, for the next update i try that

are the video trailer work in you mate bcos some others have a bug it ?

do NOT quote when so many images>pakrat2k2

oh sorry about that :o

lhanz678
11-05-2015, 18:12
@lhanz678:
This script is undoubtedly a great job and I congratulate you for it
For some strange reason it is impossible for me to run the video
So I desist, I deeply appreciate the support you have given me

its ok mate :) dont worry i try to fix this bug

photuong1994
01-09-2015, 03:51
http://www.upsieutoc.com/images/2015/09/01/Capture774a3.png

Why I put right into Ouput, when I setup, file Setup.bin didn't extract???? :(.

Someone can help me ? Tks

Mabrikos
02-09-2015, 03:56
What inno i need for this script? Heres only errors

rinaldo
17-09-2015, 10:31
Good!
cute but really ... the video starts with the main form and should only be activated from the button, then remove suspended the procedure unpacket, not working (ex: SuspendProc ...) ..

ex:
procedure VideoFormBtnClick(hBtn:HWND);
begin
VideoForm := CreateCustomForm();
with VideoForm do
begin
VideoForm:=CreateCustomForm();
VideoForm.BorderStyle:=bsNone;
VideoForm.ClientWidth:=650;
VideoForm.ClientHeight:=500;
VideoForm.Center;
VideoForm.OnMouseDown:=@VideoFormOnMouseDown;

SetRgn(VideoForm.Handle,'VForm.bmp', 650,500);
VideoFormWizard:=ImgLoad(VideoForm.Handle, ExpandConstant('{tmp}')+'\VForm.png',0,0,650,500,T rue,True);
ImgApplyChanges(VideoForm.Handle);

VideoFrame:=TForm.Create(nil);
VideoFrame.BorderStyle:=bsNone;
CreateFormFromImage(VideoFrame.Handle,ExpandConsta nt('{tmp}\VForm.png'));
VideoForm.Left:=VideoFrame.Left;
VideoForm.Top:=VideoFrame.Top;
OldMainProc:=SetWindowLong(VideoForm.Handle, -4, WrapFormCallback(@WizardFormProc5,4));
VideoForm.OnMouseDown:=@VideoFormOnMouseDown;
end;

VideoFormLabel := TLabel.Create(nil);
with VideoFormLabel do
begin
AutoSize := False;
Font.Name := '{#FontName}';
Font.Color := clWhite;
Font.Size := 12;
Parent := VideoForm;
Caption := ExpandConstant('{cm:Button}');
SetBounds(ScaleX(20), ScaleY(460), ScaleX(500), ScaleY(300));
OnMouseDown:=@VideoFormOnMouseDown;
end;

PauseBT:=TBitmapImage.Create(nil);
with PauseBT do begin
SetBounds(ScaleX(150), ScaleY(455), ScaleX(31), ScaleY(30));
Bitmap.LoadFromFile(ExpandConstant('{tmp}\Pause.bm p'));
Parent:=VideoForm;
PauseBT.Hide;
OnClick:=@Pause;
end;
//use switch .png
PlayBT:=TBitmapImage.Create(nil);
with PlayBT do begin
SetBounds(ScaleX(150), ScaleY(455), ScaleX(31), ScaleY(30));
Bitmap.LoadFromFile(ExpandConstant('{tmp}\Play.bmp '));
Parent:=VideoForm;
OnClick:=@Play;
end;

VideoExitBtn:=BtnCreate(VideoForm.Handle,ScaleX(56 0),ScaleY(455),ScaleX(100),ScaleY(30),ExpandConsta nt('Button.png'),0,False);
BtnSetEvent(VideoExitBtn,BtnClickEventID,WrapBtnCa llback(@VideoExitBtnClick,1));
BtnSetCursor(VideoExitBtn,GetSysCursorHandle(32649 ));
BtnSetFont(VideoExitBtn,WFButtonFont.Handle);
BtnSetText(VideoExitBtn,'Close');
BtnSetFontColor(VideoExitBtn,$00FFFFFF,$00695E5E,$ 00FFFFFF,$00695E5E);

ImgApplyChanges(VideoForm.Handle);

ExtractTemporaryFile(ExpandConstant('Video.avi'));
mciSendString('open "'+ ExpandConstant('{tmp}\Video.avi') +'" alias MPEGVideo parent '+ IntToStr(VideoForm.Handle) +' style child','',0,0)
mciSendString('put MPEGVideo window at '+ IntToStr(11) +' '+ IntToStr(10) +' '+ IntToStr(ScaleX(629)) +' '+ IntToStr(ScaleY(439)),'',0,0)
mciSendString('play MPEGVideo repeat','',0,0);
PauseBT.Show;
PlayBT.Hide;
VideoForm.Show;
end;

cancel:
videoplay();

for the buttons of the video can use a switch PNG (no .bmp)

I repeat and very cute this script :)