FileForums

FileForums (https://fileforums.com/index.php)
-   Conversion Tutorials (https://fileforums.com/forumdisplay.php?f=55)
-   -   Universal CLS for Precomp (https://fileforums.com/showthread.php?t=97938)

Razor12911 31-05-2016 02:05

Universal CLS for Precomp
 
5 Attachment(s)
Here's an attempt of making CLS precomp for newer precomp versions, not as good as the one done by ProFrager but at least shows progress.

Precomp versions supported:
All (0.38-0.46)

Brute method is not supported, only intense method is available.

only cls-precomp.dll and your precomp.exe are needed for both compression and decompression else if cls is not present during compression and you added arc.ini and you use this cls, decompression will ALWAYS fail.

Injection not necessary

Drawbacks: :p
Using this cls may inflict on final size than when you use precomp without it, the bright side is it shows progress during installation for any newer precomp versions.
Games like DiRT Rally are the ones most likely to inflict a lot on final size because the game is filled with massive zlib streams.
Otherwise for the drawback, if it bad news to you, you could rely on the version done by ProFrager.
Another drawback is temp directory is created for precomp to work on.
If the compressors used other than precomp take long to decompress, percentage will look stuck sometimes, also depends on how big the inflated size was after precomp.

I did this in about an hour and only ran 2 successful tests so if there are any bugs, please report back.

Tested using Precomp 0.45 both x86 and x64.

Enjoy

Razor12911 01-06-2016 04:37

Final update avaliable

Changes

-Added support for older precomp versions [0.38-0.42]
-Overall precomp versions supported: 0.38, 0.40, 0.41, 0.42, 0.43, 0.44, 0.45, 0.46...
-If anything older than 0.38 had the same command line as 0.38 itself then it is also supported. e.g. 0.37
-If anything newer than 0.46 will have the same command line as 0.46, then it will also be supported. e.g. 0.47
-Added architecture detection, for newer precomp versions, they come with x86 and x64 so making a separate method for cls-precomp64 is not necessary, just put both precomp.exe and precomp64.exe maintaining only one cls which is cls-precomp.dll, if system is x64, it will use precomp64.exe (if present else it will use precomp.exe) and if system is x86, it will just use precomp.exe and not use precomp64.exe at all. BTW, don't worry, it doesn't matter if you used precomp64 and decompress with precomp or visa versa, it will still work.
-Precomp version package included, check encode.ru or github for more updates.

Moderator
-Can you please change the title of the thread to Universal CLS for Precomp

rinaldo 01-06-2016 05:18

Good

Amsal 01-06-2016 19:39

Best ever project bro, all in one CLS great, continue your awesome work!!

Lucas65 04-06-2016 10:09

Very thanks Razor.

Simorq 18-08-2016 07:36

Thanks Razor
ISDone Error (precomp045)
http://s2.picofile.com/file/82642507...8_19_01_46.jpg

Razor12911 18-08-2016 10:05

that's not an error from the cls. error from incompatible arc.exe and unarc.dll used.

Prince4 18-08-2016 23:25

Nice speed and Compatibility!
Edit :
Works good on -- Windows 10 Pro, Intel Celeron 1.8 Ghz, Ram 6 Gigs
:)

COPyCAT 30-08-2016 23:15

Thanks A Lot Razor12911 for your time making this "CLS-Precomp.dll"

Can I use this CLS-Precomp.dll along side with [black box] inno setup installer?
[Black Box] inno setup from Razor12911

1234567890123 31-08-2016 01:47

Quote:

Originally Posted by COPyCAT (Post 451214)
Thanks A Lot Razor12911 for your time making this "CLS-Precomp.dll"

Can I use this CLS-Precomp.dll along side with [black box] inno setup installer?
[Black Box] inno setup from Razor12911

why not? there is one of blackbox script with cls-precomp in masked compression subject already

LuzhinE 26-10-2016 06:09

Thanks Razor

AHMED SAMI 26-10-2016 17:51

Thanks Razor Working Fine

dixen 13-01-2017 10:47

Quote:

Originally Posted by Razor12911 (Post 450860)
that's not an error from the cls. error from incompatible arc.exe and unarc.dll used.

Some error(( How fix it?

pakrat2k2 13-01-2017 13:24

Quote:

Originally Posted by dixen (Post 455219)
Some error(( How fix it?

error from incompatible arc.exe and unarc.dll used, that tells you which files you need to update your versions.

read thru this index to find what you need

http://www.fileforums.com/showthread.php?t=96782

Alloc 14-11-2017 05:11

i get an error then i use -hp12345 option
unarc.dll - Wrong password

without it everything works fine


All times are GMT -7. The time now is 09:29.

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