Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials

Reply
 
Thread Tools Display Modes
  #1  
Old 12-11-2020, 22:23
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 936 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, 175 views)
Attached Files
File Type: zip clsw.zip (78.7 KB, 42 views)
__________________
NOT AVAILABLE
Reply With Quote
The Following 6 Users Say Thank You to 78372 For This Useful Post:
Cesar82 (13-11-2020), ffmla (13-11-2020), Gehrman (21-05-2021), kenzo34 (13-11-2020), shazzla (13-11-2020), ZAZA4EVER (13-11-2020)
Sponsored Links
  #2  
Old 13-11-2020, 03:53
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 800
Thanks: 1,315
Thanked 1,709 Times in 580 Posts
Cesar82 is on a distinguished road
Great job.
With this executable would it be possible to use CLS libraries in a folder structure with IsDone?
Something like this:
Code:
Folder structure
{tmp}\CLSW\clsw.exe
{tmp}\BPK\CLS-BPK_U.dll

Arc.ini
[External compressor:bpk]
header = 0
packcmd = "CLSW\clsw.exe" c:"BPK\bpk" - - <stdin> <stdout>
unpackcmd =  "CLSW\clsw.exe" d:"BPK\bpk_u" - - <stdin> <stdout>
Reply With Quote
  #3  
Old 13-11-2020, 06:05
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 650
Thanks: 772
Thanked 936 Times in 309 Posts
78372 is on a distinguished road
Not in a folder.
c: or d: is for the compressor name, not the dir+file.
You need to rename cls-bpk_u.dll to arc-bpk_u.dll to avoid conflicts with freearc.
__________________
NOT AVAILABLE
Reply With Quote
The Following User Says Thank You to 78372 For This Useful Post:
Cesar82 (13-11-2020)
  #4  
Old 13-11-2020, 06:17
Cesar82's Avatar
Cesar82 Cesar82 is offline
Registered User
 
Join Date: May 2011
Location: Brazil
Posts: 800
Thanks: 1,315
Thanked 1,709 Times in 580 Posts
Cesar82 is on a distinguished road
@78372 , Thanks!
In the next versions of CIU I will create folder structure for the decompressors, but the CLS I am obliged to put in the main folder, I imagined that this executable of yours could be used for that use as well.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Protection ID info thread - v6.4.0 (build 08.07.2010) cdkiller PC Games 562 05-01-2022 22:26
Packjpeg Wrapper 78372 Conversion Tutorials 2 15-09-2020 00:09
Risen ShadowDuke PC Games - Protection List 3 18-03-2010 11:04



All times are GMT -7. The time now is 22:49.


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