Thread: CLS Wrapper
View Single Post
  #1  
Old 12-11-2020, 22:23
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 953 Times in 309 Posts
78372 is on a distinguished road
CLS Wrapper

A wrapper for cls to be used as stdio/fio purpose. If you have a cls based (de)compressor and want to use that with file/std io but not using freearc, you can use this.
In order to use cls with this, cls-xxx.dll must be renamed to arc-xxx.dll to avoid contradiction with freearc.

Usage:
Quote:
clsw.exe c:{compressor} {parameters} input output
clsw.exe d:{compressor} input output
Sample usage:

Code:
[External compressor:lolz]
header = 0
packcmd = lolz_x64.exe {options} $$arcdatafile$$.tmp $$arcpackedfile$$.tmp
unpackcmd = clsw.exe d:lolz - - <stdin> <stdout>

[External compressor:bpk]
header = 0
packcmd = clsw.exe c:bpk - - <stdin> <stdout>
unpackcmd = clsw.exe d:bpk_u - - <stdin> <stdout>

[External compressor:diskspan]
header = 0
packcmd = clsw.exe c:diskspan 100mb:512mb - - <stdin> <stdout>
unpackcmd = clsw.exe d:diskspan - - <stdin> <stdout>
The point? There isn't if you use fa with this because you already have cls. Maybe it is usable for other programs or testing purposes.
Attached Images
File Type: png clsw.png (142.7 KB, 227 views)
Attached Files
File Type: zip clsw.zip (78.7 KB, 73 views)
__________________
NOT AVAILABLE
Reply With Quote
The Following 7 Users Say Thank You to 78372 For This Useful Post:
Cesar82 (13-11-2020), ffmla (13-11-2020), Gehrman (21-05-2021), Illume (08-10-2024), kenzo34 (13-11-2020), shazzla (13-11-2020), ZAZA4EVER (13-11-2020)
Sponsored Links