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)

REV0 01-08-2012 14:31

It is different and closed script, peter never shares the content (until W2)

So, we dont know.

BAMsE 01-08-2012 17:42

REV0 of course we know :)
Freearc supports merged compression methods, the only thing you need to do is to create arc.ini file with compress/decompress commandline and copy archiver files into freearc directory.
Simplifying, freearc creates small parts, compresses them with first, second archiver a.s.o. and then add this part to main archive. Decompression proceeds in the opposite way.

But there is one problem: you can do this only via arc.exe, not freearc.exe, unarc.exe or unarc.dll

Yener90 used unarc.dll in his installer, so it's impossible to use merged compression

quake4 01-08-2012 20:04

1 Attachment(s)
Quote:

Originally Posted by yener90 (Post 404652)
@amin fear
fixeed :D

8.4.1 Update

Yener90, please help me!
I have add Vietnamese language inside Setup.ini (Lang=de,en,es,fr,it,vi). when install finish, i have little error 0x8007007B (The filename, direcoty name, or volume label syntax is incorrect). Don't have Uninstall icon in Start Menu -> All Program. If used English language, install works 100%
Attachment 3639

i used CI 8.4.1.

Please tell me, how to fix error (Vietnamese language):)

Joe Forster/STA 02-08-2012 02:39

@quake4: Use Sysinternals' Procmon to log file system activity and you'll find out the program that fails to launch.

yener90 02-08-2012 07:44

UPDATE 8.4.2
- Full freearc commandline support
-> Change PrecompVer=inside
-> to get perfect working, put the arc.ini, the file with that you compressed the files to the main folder of Setup.cab (like in example)
- Fixed Vietnamese language
- Updated Portuguese Brazil language (thx to kassane)
- Added SmallInstaller positioning to left down
-> SmallInstallerPosLD=1 (0 disables, 1 enables)

quake4 02-08-2012 08:16

Quote:

Originally Posted by yener90 (Post 404725)
UPDATE 8.4.2
- Full freearc commandline support
-> Change PrecompVer=inside
-> to get perfect working, put the arc.ini, the file with that you compressed the files to the main folder of Setup.cab (like in example)
- Fixed Vietnamese language
- Updated Portuguese Brazil language (thx to kassane)
- Added SmallInstaller positioning to left down
-> SmallInstallerPosLD=1 (0 disables, 1 enables)

Test works 100% with Vietnamese language. Thank Yener90!

pakrat2k2 02-08-2012 08:23

Knew you'd figure it out, time for testing thanks bud :)

kassane 02-08-2012 08:44

Quote:

Originally Posted by yener90 (Post 404725)
UPDATE 8.4.2
- Full freearc commandline support
-> Change PrecompVer=inside
-> to get perfect working, put the arc.ini, the file with that you compressed the files to the main folder of Setup.cab (like in example)
- Fixed Vietnamese language
- Updated Portuguese Brazil language (thx to kassane)
- Added SmallInstaller positioning to left down
-> SmallInstallerPosLD=1 (0 disables, 1 enables)

Thanks yener90!! Portuguese Brazil language 100% correct.....

mikey26 02-08-2012 20:17

hi yener thx for the update..
but i not sure what u mean by this:
-> to get perfect working, put the arc.ini, the file with that you compressed the files to the main folder of Setup.cab (like in example)
what example i dont see a arc.ini the lastest script.unless i am missing something.

pakrat2k2 02-08-2012 20:44

the arc.ini you used with freearc commandline ( precomp+srep all-in-one ) like the conversions peter's posted. It includes the precomp + srep + arc.ini all in a folder, you need to use that arc.ini if you chose to go precompver=inside ( Yener's installscript ) but using freearc commandline to make your archives.

elbubi 02-08-2012 23:57

Quote:

Originally Posted by elbubi (Post 404740)
...altough installer background pictures are not showing during install (black square only)

Quote:

Originally Posted by yener90 (Post 404741)
thats a bug of installer.
post screenshot of the problem.
continue the discussion in yener90 source code thread.

Thanks Yener, here they are:

http://img6.imageshack.us/img6/6369/p22hn.jpg
http://img831.imageshack.us/img831/6889/p21d.jpg

Kindest Regards!

mikey26 03-08-2012 06:29

thx pakrat2k2 i have to figure out how command line works never used it before.will do some research on the net first instead of asking stupid questions. :P

yener90 03-08-2012 07:11

Quote:

Originally Posted by elbubi (Post 404756)
Thanks Yener, here they are:

Kindest Regards!

Try out lates version and give feedback please :D

yener90 03-08-2012 09:22

Newest project:
http://img138.imageshack.us/img138/3...nerpreview.jpg
http://img163.imageshack.us/img163/3...erpreview2.jpg

In preview you can move the elements :D

Onizuka87k 03-08-2012 09:26

Quote:

Originally Posted by yener90 (Post 404776)
Newest project:
In preview you can move the elements :D

An automatic designer?! :eek:
AWESOME! :cool:

Kurutucu 03-08-2012 09:32

Quote:

Originally Posted by elbubi (Post 404756)

Rename folder name.

Code:

Example= 'Setup'

Kurutucu 03-08-2012 09:34

Quote:

Originally Posted by yener90 (Post 404776)


Wow. I want it :P

Fabioddq 03-08-2012 10:52

Thanks for the update yener! By the way the newest project looks awesome! :eek: :D

REV0 03-08-2012 12:22

yener, is it possible to play degrees of fonts ? For now conversion it fine but editing degrees of button's writing (like -20 degrees; elevated for example) would be better

BAMsE 03-08-2012 14:24

yener90 I predict a sad end of peterf1999's script with your new project ;)
A.W.E.S.O.M.E

lupetto77 03-08-2012 15:34

Quote:

Originally Posted by pakrat2k2 (Post 404743)
the arc.ini you used with freearc commandline ( precomp+srep all-in-one ) like the conversions peter's posted. It includes the precomp + srep + arc.ini all in a folder, you need to use that arc.ini if you chose to go precompver=inside ( Yener's installscript ) but using freearc commandline to make your archives.

Could you explain the creation of the archive (precomp+srep all-in-one) step by step please, because I tried and tried but could not.

Thanks for the help and Yener for updates ...

BAMsE 03-08-2012 16:43

lupetto77 you should place arc.exe (0.67), precomp.exe plus its files (0.4.2), srep.exe (3.0) and arc.ini included in yener90's setup.cab altogether in one folder.
Now create bat file
Code:

arc a -ep1 -r .\OUTPUT_ARCHIVE_NAME -mprecomp:v+srep+lzma:a1:mfbt4:d256m:fb128:mc1000:lc8 "PATH_TO_BE_COMPRESSED"
And that's all :)

You can add compressor options separated by ":" to the commandline:
Code:

precomp:v:i556565
means
Code:

precomp -v -i556565

mikey26 03-08-2012 17:28

hi Bamse u mentioned:

Quote:

you should place arc.exe (0.67), precomp.exe plus its files (0.4.2), srep.exe (3.0) and arc.ini included in yener90's setup.cab altogether in one folder.

is these files placed in the root of the setup.cab or in a separate folder or if its placed in a folder in the setup cab what must it be called?

pakrat2k2 03-08-2012 23:30

Quote:

Originally Posted by mikey26 (Post 404795)
is these files placed in the root of the setup.cab or in a separate folder or if its placed in a folder in the setup cab what must it be called?

From Page 1


UPDATE 8.4.2
- Full freearc commandline support
-> Change PrecompVer=inside
-> to get perfect working, put the arc.ini, the file with that you compressed the files to the main folder of Setup.cab (like in example)
- Fixed Vietnamese language
- Updated Portuguese Brazil language (thx to kassane)
- Added SmallInstaller positioning to left down
-> SmallInstallerPosLD=1 (0 disables, 1 enables)

look to page 1 for full example

elbubi 04-08-2012 00:11

Quote:

Originally Posted by yener90 (Post 404764)
Try out lates version and give feedback please :D

Gladly! But please give me a hint on what I have to do.

Kind Regards!

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:16.

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