FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   ASIS: Advanced Simple Installer Script (https://fileforums.com/showthread.php?t=99481)

KaktoR 15-02-2018 15:38

And what method did you use for compressing the game?

brandal 15-02-2018 15:42

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 466706)
And what method did you use for compressing the game?

[Freearc]
Method=MASK
PrecompVer=0.38
PrecompJPG=False

I include attach files

KaktoR 15-02-2018 15:46

Disable AFR (just put // infront)

Enable pZLib3 + ReflateLIB, then it should work :)

brandal 15-02-2018 15:50

Quote:

Originally Posted by KaktoR (Post 466708)
Disable AFR (just put // infront)

Enable pZLib3 + ReflateLIB, then it should work :)

Thank you for the help
I will try

brandal 15-02-2018 17:20

1 Attachment(s)
Quote:

Originally Posted by KaktoR (Post 466708)
Disable AFR (just put // infront)

Enable pZLib3 + ReflateLIB, then it should work :)

install stuck
with the same compress method

[Compressor]
#Define SREP "x64"
//#Define SREPProFrager "x64"
#Define ReflateLIB "x64"
//#Define ZTool "x64"
#Define pZLib3 "x64"
//#Define Precomp "0.46MT" ;0.38, 0.40, 0.41, 0.42, 0.43, 0.46MT
//#Define pOodle
//#Define AFR "20a7" ;019, 20a7
//#Define MSC "TAK"
//#Define MPZSlimmer
//#Define ZSTD "x64"
//#Define RAZOR
//#Define BinkPack
//#Define DLZ
//#Define lolz
//#Define OGGRE
//#Define UELR

EDIT :
forget this
now progress is already running
25.1%

LATEST EDIT :
now stuck at 50.1
What is wrong?

if I try to use unpac.exe
I see the Arc.ini tempporary file
do i have to switch it on
Compresor ini
#Define ReflateLIB "x64"
#Define ZTool "x64"
#Define pZLib3 "x64"
#Define ZSTD "x64"
#Define RAZOR

[External compressor:plz4]

header = 0
unpackcmd = ZTool d:plz4:t100p:cm0mb - - <stdin> <stdout>

[External compressor:plzo]
header = 0
unpackcmd = ZTool d:plzo:t100p:cm0mb - - <stdin> <stdout>

[External compressor:pzstd]

header = 0
unpackcmd = ZTool d:pzstd:t100p:cm0mb - - <stdin> <stdout>

[External compressor:pzlib]

header = 0
unpackcmd = ZTool d:pzlib:t100p:cm0mb - - <stdin> <stdout>

[External compressor:pZLib3]
header = 0
unpackcmd = pZLib3 d {options} -t100p - -o - <stdin> <stdout>

[External compressor:zstd,zst]
header = 0
unpackcmd = Zstd -d -f <stdin> <stdout>

[External compressor:Lzma2,lzma2,xz]
header = 0
unpackcmd = 7z x -txz -an -y -si -so <stdin> <stdout>

[External compressor:mpz]
header = 0
unpackcmd = MPZ d <stdin> <stdout>

[External compressor:Razor]
header = 0
solid = 0
dmem = 700
unpackcmd = RZ e Output Input
datafile = Input
packedfile = Output

Simorq 15-02-2018 18:26

#Define SREPProFrager "x64"
//#Define SREP "x64"

brandal 15-02-2018 18:28

Quote:

Originally Posted by Simorq (Post 466711)
#Define SREPProFrager "x64"
//#Define SREP "x64"

thank you for your answer
so is it like this?
[Compressor]
//#Define SREP "x64"
#Define SREPProFrager "x64"
#Define ReflateLIB "x64"
//#Define ZTool "x64"
#Define pZLib3 "x64"
//#Define Precomp "0.46MT" ;0.38, 0.40, 0.41, 0.42, 0.43, 0.46MT
//#Define pOodle
//#Define AFR "20a7" ;019, 20a7
//#Define MSC "TAK"
//#Define MPZSlimmer
//#Define ZSTD "x64"
//#Define RAZOR
//#Define BinkPack
//#Define DLZ
//#Define lolz
//#Define OGGRE
//#Define UELR

brandal 15-02-2018 18:32

Quote:

Originally Posted by Simorq (Post 466713)
Good

Thank you for the help
I made a headache for this for 1 week
I will try again, hopefully successful

Simorq 15-02-2018 18:38

Quote:

Originally Posted by brandal (Post 466714)
Thank you for the help
I made a headache for this for 1 week
I will try again, hopefully successful

Always better after compressing to save time
Test the archive using the command:
Code:

Arc t Data.Arc

brandal 15-02-2018 18:59

Quote:

Originally Posted by Simorq (Post 466715)
Always better after compressing to save time
Test the archive using the command:
Code:

Arc t Data.Arc

How to?
Where does that command place?

Simorq 15-02-2018 19:06

Code:

FreeArc 0.67 (March 15 2014)  http://freearc.org  March 15 2014
High-performance archiver. Free as well for commercial as for non-commercial use
Usage: Arc command [options...] archive [files... @listfiles...]
Commands:
  a        add files to archive
  c        add comment to archive
  ch      modify archive (recompress, encrypt and so on)
  create  create new archive
  cw      write archive comment to file
  d        delete files from archive
  e        extract files from archive ignoring pathnames
  f        freshen archive
  j        join archives
  k        lock archive
  l        list files in archive
  lb      bare list of files in archive
  lt      technical archive listing
  m        move files and dirs to archive
  mf      move files to archive
  modify  modify archive using +/-/* actions
  r        recover archive using recovery record
  rr      add recovery record to archive
  s        convert archive to SFX
  t        test archive integrity
  u        update files in archive
  v        verbosely list files in archive
  x        extract files from archive
Options:
  --                                        stop processing options
  -ac          --ClearArchiveBit          clear Archive bit on files succesfully (de)archived
  -ad          --adddir                    add arcname to extraction path
  -aeALGORITHM  --encryption=ALGORITHM      encryption ALGORITHM (aes, blowfish, serpent, twofish)
  -agFMT        --autogenerate=FMT          autogenerate archive name with FMT
  -ao          --SelectArchiveBit          select only files with Archive bit set
  -apDIR        --arcpath=DIR              base DIR in archive
  -baMODE      --BrokenArchive=MODE        deal with badly broken archive using MODE
  -cfgFILES    --config=FILES              use configuration FILES (default: arc*.ini)
  -d            --delete                    delete files & dirs after successful archiving
  -df          --delfiles                  delete only files after successful archiving
  -diAMOUNT    --display=AMOUNT            control AMOUNT of information displayed: [hoacmnwrfdtske]*
  -dmMETHOD    --dirmethod=METHOD          compression METHOD for archive directory
  -dpDIR        --diskpath=DIR              base DIR on disk
  -dsORDER      --sort=ORDER                sort files in ORDER
  -ed          --nodirs                    don't add empty dirs to archive
  -envVAR                                  read default options from environment VAR (default: FREEARC)
  -epMODE      --ExcludePath=MODE          Exclude/expand path MODE
  -f            --freshen                  freshen files
  -fn          --fullnames                match with full names
  -hpPASSWORD  --HeadersPassword=PASSWORD  encrypt/decrypt archive headers and data using PASSWORD
  -iTYPE        --indicator=TYPE            select progress indicator TYPE (0/1/2)
  -ioff        --shutdown                  shutdown computer when operation completed
  -k            --lock                      lock archive
  -kb          --keepbroken                keep broken extracted files
  -kfKEYFILE    --keyfile=KEYFILE          encrypt/decrypt using KEYFILE
  -lcN          --LimitCompMem=N            limit memory usage for compression to N mbytes
  -ldN          --LimitDecompMem=N          limit memory usage for decompression to N mbytes
  -mMETHOD      --method=METHOD            compression METHOD (-m0..-m9, -m1x..-m9x)
  -maLEVEL                                  set filetype detection LEVEL (+/-/1..9)
  -max                                      maximum compression using external precomp, ecm, ppmonstr
  -mc                                      disable compression algorithms (-mcd-, -mc-rep...)
  -mdN          --dictionary=N              set compression dictionary to N mbytes
  -mmMODE      --multimedia=MODE          set multimedia compression to MODE
  -ms          --StoreCompressed          store already compressed files
  -mtTHREADS    --MultiThreaded=THREADS    number of compression THREADS
  -mx                                      maximum internal compression mode
  -nFILESPECS  --include=FILESPECS        include only files matching FILESPECS
  -oMODE        --overwrite=MODE            existing files overwrite MODE (+/-/p)
  -okfKEYFILE  --OldKeyfile=KEYFILE        old KEYFILE used only for decryption
  -opPASSWORD  --OldPassword=PASSWORD      old PASSWORD used only for decryption
  -pPASSWORD    --password=PASSWORD        encrypt/decrypt compressed data using PASSWORD
  -r            --recursive                recursively collect files
  -rrSIZE      --recovery=SIZE            add recovery information of specified SIZE to archive
  -sGROUPING    --solid=GROUPING            GROUPING for solid compression
  -scCHARSETS  --charset=CHARSETS          CHARSETS used for listfiles and comment files
  -sfxMODULE                                add sfx MODULE ("freearc.sfx" by default)
  -slSIZE      --SizeLess=SIZE            select files smaller than SIZE
  -smSIZE      --SizeMore=SIZE            select files larger than SIZE
  -t            --test                      test archive after operation
  -tTYPE        --type=TYPE                archive TYPE (arc/zip/rar/...)
  -taTIME      --TimeAfter=TIME            select files modified after specified TIME
  -tbTIME      --TimeBefore=TIME          select files modified before specified TIME
  -tk          --keeptime                  keep original archive time
  -tl          --timetolast                set archive time to latest file
  -tnPERIOD    --TimeNewer=PERIOD          select files newer than specified time PERIOD
  -toPERIOD    --TimeOlder=PERIOD          select files older than specified time PERIOD
  -tpMODE      --pretest=MODE              test archive before operation using MODE
  -u            --update                    update files
  -vSIZE        --volume=SIZE              split archive to volumes each of SIZE bytes
  -wDIRECTORY  --workdir=DIRECTORY        DIRECTORY for temporary files
  -xFILESPECS  --exclude=FILESPECS        exclude FILESPECS from operation
  -y            --yes                      answer Yes to all queries
  -zFILE        --arccmt=FILE              read archive comment from FILE or stdin
                --append                    add new files to the end of archive
                --archive-comment=COMMENT  input archive COMMENT in cmdline
                --bypass=URL                setups proxy bypass list for URL access
                --cache=N                  use N mbytes for read-ahead cache
                --crconly                  save/check CRC, but don't store data
                --create-in-workdir        create archive in workdir and then move to final location
                --dirs                      add empty dirs to archive
                --groups=FILE              name of groups FILE
                --language=FILE            load localisation from FILE
                --logfile=FILE              duplicate all information displayed to this FILE
                --noarcext                  don't add default extension to archive name
                --nodata                    don't store data in archive
                --nodates                  don't store filetimes in archive
                --nodir                    don't write archive directories
                --original=URL              redownload broken parts of archive from the URL
                --pause-before-exit=PAUSE  make a PAUSE just before closing program window
                --print-config              display built-in definitions of compression methods
                --proxy=URL                setups proxy(s) for URL access
                --queue                    queue operations across multiple FreeArc copies
                --recompress                recompress archive contents
                --save-bad-ranges=FILE      save list of broken archive parts to the FILE
                --sync                      synchronize archive and disk contents
All OK


brandal 15-02-2018 19:15

Solve

S-Ghost 16-02-2018 17:07

what is best compress method for Unreal Engine 4 Games

KaktoR 16-02-2018 17:08

Ask here: http://fileforums.com/showthread.php?t=99554

Titeuf 25-02-2018 01:09

Quote:

Originally Posted by Titeuf (Post 465544)
Hello Kaktor,
How to activate Elapsed Time & Remaining Time?
Here are my suggestions for French because a line is not translated:
Thank you

Hi Kaktor,
Please, How to activate Elapsed Time & Remaining Time?
Thank

Titeuf 02-03-2018 01:40

Quote:

Originally Posted by Titeuf (Post 468384)
Hi Kaktor,
Please, How to activate Elapsed Time & Remaining Time?
Thank

Hi,
Up please,
Thank

KaktoR 29-03-2018 15:28

1 Attachment(s)
7.1.0 soon
Code:

- Fixed cls for bink unpack
  > should be packed with [ExtComp:bpk]
- Fixed pOodle decompression
  > fixed large and lower case (it is important for arc.ini) + added missing dll files
  > should be packed with [ExtComp:pOodle]
- Added RAZOR v1.03.6
- Added compatibility for UWP games (thanks to prudislav for provided tools)
- Game size/HDD space are not rounded anymore
  > it's now xx,xx(%) MB/GB/TB instead of xx(%) MB/GB/TB
- Fixed lolz cls ini (thanks to elit)
- Added Elapsed/Remaining Time to installer

Something is wrong atm with time, must figure out what overlaps the time labels....

masen485 31-03-2018 00:36

Hi KaktoR
ASIS: Advanced Simple Installer Script 7.1.0 when will it be ready

KaktoR 31-03-2018 14:18

When it's done :D

PS: i think i will do the first step with botva2 library and create a image pbar instead (it makes things easier afterwards), then say goodbye to bmp images and use png instead (but after 7.1.0, otherwise it takes too long).

CANNIBAL 21-04-2018 22:06

KaktoR plase add the support for razor's xtool....

KaktoR 22-04-2018 04:12

7.0.8 added

Code:

- Fixed cls for bink unpack
  > should be packed with [ExtComp:bpk]
- Fixed pOodle decompression
  > fixed large and lower case (it is important for arc.ini) + added missing dll files
  > should be packed with [ExtComp:pOodle]
- Added RAZOR v1.03.6
- Added compatibility for UWP games (thanks to prudislav for provided tools)
- Game size/HDD space are not rounded anymore
  > it's now xx,xx(%) MB/GB/TB instead of xx(%) MB/GB/TB
- Fixed lolz cls ini (thanks to elit)
- Changed some compressors (thanks to Simorq)
- Adjusted 'Browse' buttons for german language (i made them a few px longer)
- Added XTool (thanks to Razor12911)

I haven't worked on it for quiet a while now. So i should say you that this project is not cancelled, but put on hold. I can't tell you when i'm again in the mood to work on it. Maybe i will start something new from the scratch. Do whatever you want with it :)

Have fun

masen485 22-04-2018 05:47

Hi Kaktor,
Please, How to activate Elapsed Time & Remaining Time?
Thank

7.0.8 soon

- Added Elapsed/Remaining Time to installer

VERY EXPECTANCY FOR ADDING THIS OPTION
PLEASE ADD AS 7.0.8 UPDATE

CANNIBAL 23-04-2018 09:10

Thanks For Adding xtool for the installer KaktoR....

KaktoR 23-04-2018 09:48

Quote:

Originally Posted by masen485 (Post 470461)
Hi Kaktor,
Please, How to activate Elapsed Time & Remaining Time?
Thank

7.0.8 soon

- Added Elapsed/Remaining Time to installer

VERY EXPECTANCY FOR ADDING THIS OPTION
PLEASE ADD AS 7.0.8 UPDATE

Hmm i was sure it was activated once (even tough timeleft doesn't work for some reason).

masen485 23-04-2018 10:16

Hi Kaktor,
Elapsed Time / Remaining Time During Installation
please try to add it is very necessary for me

brandal 19-05-2018 10:30

Quote:

Originally Posted by KaktoR (Post 470460)
7.0.8 added

Code:

- Fixed cls for bink unpack
  > should be packed with [ExtComp:bpk]
- Fixed pOodle decompression
  > fixed large and lower case (it is important for arc.ini) + added missing dll files
  > should be packed with [ExtComp:pOodle]
- Added RAZOR v1.03.6
- Added compatibility for UWP games (thanks to prudislav for provided tools)
- Game size/HDD space are not rounded anymore
  > it's now xx,xx(%) MB/GB/TB instead of xx(%) MB/GB/TB
- Fixed lolz cls ini (thanks to elit)
- Changed some compressors (thanks to Simorq)
- Adjusted 'Browse' buttons for german language (i made them a few px longer)
- Added XTool (thanks to Razor12911)

I haven't worked on it for quiet a while now. So i should say you that this project is not cancelled, but put on hold. I can't tell you when i'm again in the mood to work on it. Maybe i will start something new from the scratch. Do whatever you want with it :)

Have fun

cls for bink unpack Not Work
Decompres Crc

KaktoR 19-05-2018 11:10

Have you tested outside of asis with unpacking? Via batch + arc.exe + arc.ini + cls-bpk

If error is still there then the file is corrupt (profrager mentioned it that some files or compressor is bug)

brandal 19-05-2018 11:45

Quote:

Originally Posted by KaktoR (Post 471073)
Have you tested outside of asis with unpacking? Via batch + arc.exe + arc.ini + cls-bpk

If error is still there then the file is corrupt (profrager mentioned it that some files or compressor is bug)

give me file Via batch + arc.exe + arc.ini + cls-bpk

JacksMafia 30-05-2018 20:36

nice work mate just a question how to change the setup size to make the background image bigger?

JacksMafia 01-06-2018 13:27

Quote:

Originally Posted by JacksMafia (Post 471299)
nice work mate just a question how to change the setup size to make the background image bigger?

anyone?!!

KaktoR 01-06-2018 13:41

You must edit script, and not just a little.

Pretty much all stuff must be changed, otherwise it will look just uggly

JacksMafia 01-06-2018 13:58

Quote:

Originally Posted by KaktoR (Post 471397)
You must edit script, and not just a little.

Pretty much all stuff must be changed, otherwise it will look just uggly

do you know which lines to edit ?
also i need to add more than one shortcut on the desktop which lines to edit ?

thanks :):)

KaktoR 01-06-2018 14:05

Too many to telll you.

Start with
Code:

WizardForm.ClientWidth  := (497);
WizardForm.ClientHeight := (364)

and pretty much all:
TNewButton
TNewCheckBox
TLabel
TBitmapImage
TBevel
TNewStaticText

JacksMafia 01-06-2018 14:13

and the shortcuts ?

JacksMafia 04-06-2018 16:05

you still there?!!! can you answer my question please

KaktoR 05-06-2018 07:06

Use Icons.iss

JacksMafia 05-06-2018 15:48

Quote:

Originally Posted by KaktoR (Post 471461)
Use Icons.iss

ok i wrote those lines
HTML Code:

Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName2}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName3}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons

and now i getting this error
HTML Code:

line4:required function or procedure "exename2" not found
Edit:
you still here mate?!!!

Kitsune1982 05-06-2018 23:12

hey Kaktor great job on the asis script =3
i have a question. is there a way to make the asis setup dialog be bigger than 496x491 resolution? i edited the iss script but every time i run the setup exe it shows the wallpaper at the resolution i put in the script but the actual installer with the 'music off/install/quit' wont change to match my custom resolution :confused: is this a hardcoded limitation of the script or can i make the setup dialog window bigger? thanks!

-Kitsune

KaktoR 06-06-2018 06:24

You can change everything. The thing is, buttons/labels/etc are placed to match with the wizardform size (i have not placed it by variables). You can edit the positions of all of them tough.

KaktoR 06-06-2018 06:26

Quote:

Originally Posted by JacksMafia (Post 471480)
ok i wrote those lines
HTML Code:

Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName2}"; Filename: "{app}\{code:ExeName2}"; Parameters: "{code:ExeParameter2}"; Check: CreateIcons
Name: "{group}\{#Name}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons
Name: "{commondesktop}\{code:AppName3}"; Filename: "{app}\{code:ExeName3}"; Parameters: "{code:ExeParameter3}"; Check: CreateIcons

and now i getting this error
HTML Code:

line4:required function or procedure "exename2" not found
Edit:
you still here mate?!!!

Use either
Code:

Name: "{group}\NameForTheIcon"; Filename: "{app}\ExeName.exe"; Parameters: "-Parameter"; Check: CreateIcons
or create a new function for ExeName2 inside Settings.iss. You should also change the GetIniString to Exe2 or something else and place Exe2= inside Settings.ini in [Settings] tab.


All times are GMT -7. The time now is 23:33.

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