View Full Version : CLS for Razor Archiver(cls-rz)
RAZOR Archiver has became a popular compressor here but unfortunately there is no public cls/wrapper for this so it can be used with freearc, so I decided to create a cls for it.
Drawbacks:
Using this cls will inflict final size as it chunks data. You can change chunk size but that may inflict smooth progressbar and create bigger temps, but as longer as you use small chunks or don't care about temps, this cls is fine for using.
You must use this on compression if you wish to use it with decompression.
Enjoy ;)
Update 1.0.1.1
1.Decompression crash fixed
2. Default ini changed to cls.ini instead of cls-rz.ini
3.Temp dirs created by the cls should be deleted now in decompression
danswano
14-11-2017, 02:55
Thanks for the effort.
can you provide compressor example cause i tried it and it's crashing arc.exe at the end.
Crash bug fixed. Fixed cls uploaded in first post
danswano
14-11-2017, 04:16
Seems like RZ is painfully slow, is there any switches i can use in cls-rz.ini to speed things up?
I don't know any. Maybe smaller window size may speed it up.
Any chances of making the cls read from CLS.ini instead of cls-rz.ini?
Any chances of making the cls read from CLS.ini instead of cls-rz.ini?
Hmm, Ok, here is an alternative build for you and also for others who wants this feature
Removed, as current version already has this feature
danswano
14-11-2017, 06:44
Appreciate the hard work, any chance to see a cls for mcm please?
Well as my signature says, I am busy in exams, but I will try to give it a look if I have time :)
Well as my signature says, I am busy in exams, but I will try to give it a look if I have time :)
I hope good luck in your exams.:)
Update Available
A common decompression crash fixed. Sorry for the inconvenience. Also changed the ini name from cls-rz.ini to cls.ini. Temp dirs should be deleted now by the cls.
Great !
@78372 can you please give source codes ?
and is there source code is available for cls-srep by ProFeger or Razor ?
Thanks
Jiva newstone
18-11-2017, 01:24
Yes iam also looking for that to modify
doofoo24
18-11-2017, 01:26
@78372
is there CLS-zstd for ver 1.3.2
Great !
@78372 can you please give source codes ?
and is there source code is available for cls-srep by ProFeger or Razor ?
Thanks
I can't (read that I won't :p )
I don't know if cls-srep source by profager is available or not, better ask profager.
If you want a cls example, read the reflate threads of Razor
Yes iam also looking for that to modify
If you want to work like that, you will obviously have troubles, not all compressors work in the same way, if you just use Ctrl+C and Ctrl+V, you will end up with a not working or somehow partially working cls.
@78372
is there CLS-zstd for ver 1.3.2
Razor12911s cls should work, just replace the library of zstd and test. Plus you can use 7zip zstd version which supports stdio, so no cls needed
Yeah keep it in your secret pocket
Fuck you guys.
Your all are shit.
Not helping at all.
Just nothing.
And that's the reason why nobody want to make sources public anymore. Just because of ungratefull guys who not to be able to get enough. And because of bloodsucking vultures
ravencrow
19-11-2017, 03:39
I don't know if cls-srep source by profager is available or not, better ask profager.
Download srep's source and CLS example in CPP, add all the libraries in cls project, instead of creating file use clsstream to process, remove executable part codes like detecting params and stuff. Change default value of mem cause CLS can't use more than 2 GB, and you're done.
Of course you can do all that if you have knowledge else it'd turn up to be a disaster.
rz.exe has no libraries or dlls, and I don't program in C++ :P
ravencrow
19-11-2017, 03:47
rz.exe has no libraries or dlls, and I don't program in C++ :P
Razor can be made to work with stdio if ya know how to make splash screen easily ;)
You are talking about creating a decoy dll, right?
ravencrow
19-11-2017, 03:52
You are talking about creating a decoy dll, right?
Nopes, decoy DLL won't work in its case cause it doesn't use loadlibrary
Nopes, decoy DLL won't work in its case cause it doesn't use loadlibrary
Sure? Because rz somehow loads a windows dll afaik
ravencrow
19-11-2017, 04:33
Sure? Because rz somehow loads a windows dll afaik
When we use decoy DLL, we exploit the fact that loadlibrary first looks for the DLL in the directory where the exe is and then looks up in windows index, but in razor's case it different.
Razor12911
23-11-2017, 17:13
When we use decoy DLL, we exploit the fact that loadlibrary first looks for the DLL in the directory where the exe is and then looks up in windows index, but in razor's case it different.
I tested this a few days ago and it works and I don't think it matters whether implicit or explicit method of linking a library was used, might be wrong but method works.
ravencrow
24-11-2017, 12:27
I tested this a few days ago and it works and I don't think it matters whether implicit or explicit method of linking a library was used, might be wrong but method works.
Would be nice if it worked, will save the trouble of using asm to patch it, did you try it for the library which exports CreatefileW? (Or whichever one it uses)
Razor12911
24-11-2017, 14:10
Well it worked alright and asm is not for all of us, I'm pascal based.
C:\Users\Zee\Desktop\razor>arc.exe x -w.\ -dpunpacked\ data.arc
FreeArc 0.67 (March 15 2014) extracting archive: data.arc
Extracting 1 file, 86,347,072 bytes. Processed 0%
Overwrite unpacked\UI.sb?
(Y)es / (N)o / (A)lways / (S)kip all / (U)pdate all / (Q)uit? a
Extracted 1 file, 13,722,028 => 86,347,072 bytes. Ratio 15.89%
Extraction time: cpu 0.30 sec/real 1.07 sec = 28%. Speed 80.35 mB/s
All OK
C:\Users\Zee\Desktop\razor>pause
Press any key to continue . . .
[External compressor:razor]
header = 0
packcmd = rz a -y -d {option} $stdio$ <stdin> <stdout>
unpackcmd = rz e -y $stdio$ <stdin> <stdout>
[External compressor:razor]
header = 0
packcmd = rz a -y -d {option} $stdio$ <stdin> <stdout>
unpackcmd = rz e -y $stdio$ <stdin> <stdout>
what version of rz.exe can be used like this ? :eek:
am i missed something ?
what version of rz.exe can be used like this ? :eek:
am i missed something ?
This only works when you managed to create a decoy dll for rz, else not.
ok ,thanks ,but how can i create/use one ?
im totally noob for this. :/
Not much easy :D only programmers like Razor12911 can do it :p
very sadly hear that. :(
it would be nice to use rz-stdio with arc.
hi, thanks for the cls.
ill use this{both comp & decomp} with srep+delta+rz method.
but while extracting with inno crc error shows(unarc code-12).
but cmd method extract sucessfully.
arc.exe x -w.\ -dpunpacked\ "E:\Testing\Data\Data1.pkg"
is it problem with cls ?. Or :confused:
i had the same issue with different algo and files -wav/TTA- and i dont know why...
Not from cls. Either from incompatible arc.exe and unarc.dll use or something else, I am not sure
Not from cls. Either from incompatible arc.exe and unarc.dll use or something else, I am not sure
ill try with same unarc.exe and unarc.dll.but till crc error in inno extraction:confused:
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.