FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   yener90's Inno Project Source Codes (https://fileforums.com/showthread.php?t=91563)

BAMsE 04-08-2012 01:23

mikey26 setup.cab has all needed files already. All files I referred are used to prepare archives only, so should be placed in separated folder and after creating cabs can be deleted (you don't need to include it to CI)

Th3Raven 04-08-2012 01:31

Quote:

Originally Posted by yener90 (Post 404776)

And when we will have it ?:eek::p
BTW looks great and THX for the latest updates to the C.I.

napalmguy 04-08-2012 07:35

Magnificent :)

just a small suggestion

add a function to add/modify registry values in the designer so it will make it easier for beginners

lupetto77 04-08-2012 09:10

Thanks for the help ... Bamse

hdneo 04-08-2012 11:39

Some suggestion for yener90's Project:

1- add timer in during installation at title or somewhere.
-----------------------------------------------------------------------
2- integrate Setup.exe and Setup.cab and Setup.ini into one file. [Manual Compling]
-----------------------------------------------------------------------

when i am using custom method with arc.ini including precomp,srep and external lzmax64 the CI 8.4.3 works great but the progressbar is not work reality, how i can fix it?

lupetto77 04-08-2012 12:53

Bamse but I wanted to ask this row -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8
that uses: low compression - normal - Maximum?
Can you explain a bit more in detail with explanation please?

BAMsE 04-08-2012 13:18

Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means definition of compression method

Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means compressing with precomp (with parameters defined in arc.ini under [External compressor:precomp] section)

Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means additional parameter for precomp (which is not defined in arc.ini), in this case it's -v parameter

Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means compressing with srep (with parameters defined in arc.ini under [External compressor:srep] section), also here you can add parameters separated by ":"

Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means compression with lzma

Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
means additional parameters for lzma, in this case -a1 -mfbt4 -d256m -fb128 -mc1000 -lc8


So as you can see it's really strong compression

Onizuka87k 04-08-2012 14:06

Hum.. guys i'm trying to use the latest version with arc commandline but i've some problem!
I used this arc.ini
Code:

[External compressor:srep]
header = 0
packcmd  = srep {options} -m3f $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = srep -d -s $$arcpackedfile$$.tmp $$arcdatafile$$.tmp

[External compressor:precomp]
header = 0
packcmd  = precomp -intense0 -c- {options} -o$$arcpackedfile$$.tmp  $$arcdatafile$$.tmp
unpackcmd = precomp -o$$arcdatafile$$.tmp -r $$arcpackedfile$$.tmp

i put it on the root of Setup.cab (as in the example yener90 has given us).

Then i edit Setup.ini adding the precomp version used for compression (PrecompVer=0.42) and adding the code for Extractsetting, like this
Quote:

[ExtractSettings]
FreeArcFile1={src}\Setup-1b.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
FreeArcFile2={src}\Setup-1c.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
FreeArcFile3={src}\Setup-1d.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
FreeArcFile4={src}\Setup-1e.arc;DestDir:{app};Disk:1;PrecSrep:0;Lang:it
(i have doubts on PrecSrep value but i tested with 0 and with 1 and there are no differences!)

I have four archives compressed in this way (each line is an archive):
Code:

arc a -r -w.\ Setup-1b.arc -msrep+lzma:a1:d256mb:mfbt4:fb128:mc1000:lc8 "folder1\*"
arc a -ep1 -r -w.\ Setup-1c.arc -mprecomp:zl11,68:d1+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "file1.test" "file2.test" "file3.test"
arc a -r -w.\ Setup-1d.arc -msrep+lzma:a1:d256mb:mfbt4:fb128:mc1000:lc8 "folder2\*" "file4.test"
arc a -ep1 -r -w.\ Setup-1e.arc -msrep+lzma:a1:d256mb:mfbt4:fb128:mc1000:lc8 "file5.test"

During installation I always get an error (about decompression method) and I can't extract any archive.

edit: i thought the problem was my arc.ini (the "unpackcmd" command) but doing manual decompression with command line, arc works fine!
(for example, doing "arc x Setup-1c.arc" the extraction works fine. Obviously arc.exe, arc.ini, srep and precomp (and all dll needed) are in the same folder!)

What am I doing wrong? :(
Thanks

BAMsE 04-08-2012 14:14

You've prepared cabs with combined method so you must use
Code:

PrecompVer=inside
in your setup.ini

Code:

PrecompVer=0.42
is for older way (arc --> pcf --> srep --> cab)

Onizuka87k 04-08-2012 16:32

Quote:

Originally Posted by BAMsE (Post 404840)
You've prepared cabs with combined method so you must use
Code:

PrecompVer=inside

Damn, i'm an idiot. I thought "inside" meant the version of precomp used (and the current one) and not just the word "inside"! :rolleyes:

Thanks you BAMsE! :cool:

lupetto77 05-08-2012 12:15

Bamse I did as you said ...
No one folder I put the files taken from the installation of arc.exe freeArc \ bin \ arc.exe (0.67), taken from the

folder setup arc.ini Yener, precomp 042 with its 3.0 SREP file and then I created the file . bat with written inside

echo off
cls
set choice1=
echo.
set /p choice1=Please type game folder path (e.g. c:\program files (x86)\BioWare\Mass Effect 3):
echo.
echo Creating archive files, please wait...
arc a -ep1 -r -w.\ .\Disk1\Data1.bin -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 "%choice1%\Binaries\*"
if ERRORLEVEL 1 goto arcfail
echo.All done.
pause
goto EOF
:arcfail
echo.
echo.WARNING: FreeArc returns an error, please retry...
pause
:EOF

if using your parameter -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 gives me this error

[IMG]

http://s4.imagestime.com/out.php/i754574_Immagine.jpg[/IMG]


I tried precomp.exe 042 04 038 but 'equal

could you pass the working files that you use please?

Kurutucu 05-08-2012 13:21

Use this version of precomp. Version: 0.4.2

Onizuka87k 05-08-2012 13:45

Quote:

Originally Posted by lupetto77 (Post 404886)
Bamse I did as you said ...
No one folder I put the files taken from the installation of arc.exe freeArc \ bin \ arc.exe (0.67), taken from the

folder setup arc.ini Yener, precomp 042 with its 3.0 SREP file and then I created the file . bat with written inside

...

if using your parameter -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:l c8 gives me this error

...

Did you write it like as you pasted here? If yes then delete the space between "l" and "c". The line of parameters is valid. ;)

REV0 05-08-2012 14:33

I dont know if it's happening only me, but currently working on automated script. 1 hour passed and still compressing 4gb of files, and 4 hours ETA.. It's not freeze, working however 5 hours for 4gb of content, this is downright ridiculous people lol

lupetto77 05-08-2012 14:34

Quote:

Originally Posted by Onizuka87k (Post 404889)
Did you write it like as you pasted here? If yes then delete the space between "l" and "c". The line of parameters is valid. ;)

I know because I put in this
Code:

-mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8
do not know why I added my own ...


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

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