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

Reply
 
Thread Tools Display Modes
  #1  
Old 26-05-2019, 07:02
78372's Avatar
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 637
Thanks: 736
Thanked 864 Times in 297 Posts
78372 is on a distinguished road
Cls bcm & zlib

Edit: This is for old edition
[1. BCM
Compression doesn't support stdio, decompression does.
I don't know why but sometimes it crashes Arc.exe while decompressing but it works for most of the time. Even if it crashes the files are extracted without crc error. Use it wisely. Edit the CLS.ini to set blocksize. You can also use original bcm to compress and this patched cls+bcm to decompress. ]
1. BCM

BCM STDIO Patch updated for bcm140_win64. Supports stdio in both compression and decompression now and can be multithreaded with PMT. CLS is not required anymore.
PMT Example Settings:
Code:
[bcm]
Encode = bcm -1 stdin stdout <stdin> <stdout>
Decode = bcm -d stdin stdout <stdin> <stdout>
2. ZLIB
Uses default compression level. Doesn't need external executables.
Attached Images
File Type: jpg bcmcls.JPG (39.4 KB, 487 views)
Attached Files
File Type: 7z cls-zlib.7z (263.9 KB, 131 views)
File Type: 7z cls_bcm.7z (1.56 MB, 169 views)
File Type: zip bcmpatch.zip (147.2 KB, 35 views)

Last edited by 78372; 19-01-2020 at 04:45.
Reply With Quote
The Following 12 Users Say Thank You to 78372 For This Useful Post:
Behnam2018 (29-02-2020), BLACKFIRE69 (02-01-2020), Gehrman (19-01-2020), giothothan (31-05-2019), Harsh ojha (29-05-2019), Jiva newstone (26-05-2019), kenzo34 (27-05-2019), NickX700K (29-05-2019), oltjon (26-05-2019), sathex (21-08-2019), shazzla (26-05-2019), Simorq (26-05-2019)
Sponsored Links
  #2  
Old 27-05-2019, 21:30
Kitsune1982's Avatar
Kitsune1982 Kitsune1982 is offline
Registered User
 
Join Date: Jun 2011
Location: USA
Posts: 109
Thanks: 3
Thanked 85 Times in 47 Posts
Kitsune1982 is on a distinguished road
re: cls-bcm and zlib

does the cls-zlib support UA/diskspan if i extract it to my compressors folder in the tools bundle package kaktor uploaded in his post on the CIUv3 thread? im new so im not sure how to use this new zlib cls with UltraArc/diskspan.

please post back and tell me if it is compatible and if so, what i need to do to make diskspan/ua use it. im not that good with freearc so im not sure how to go about adding it to freearc. thanks for any advice.

-Kitsune

*note* also, can this be used as with xtool.exe or is it only usable with freearc standalone .exe?

Last edited by Kitsune1982; 27-05-2019 at 21:54.
Reply With Quote
The Following User Says Thank You to Kitsune1982 For This Useful Post:
Behnam2018 (29-02-2020)
  #3  
Old 28-05-2019, 01:57
78372's Avatar
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 637
Thanks: 736
Thanked 864 Times in 297 Posts
78372 is on a distinguished road
^^

You can use it with DiskSpan and FreeArc. These two things are compresssors, I.E alternative of lzma/lolz. It has nothing to do with xtool.
Reply With Quote
  #4  
Old 28-05-2019, 04:31
Kitsune1982's Avatar
Kitsune1982 Kitsune1982 is offline
Registered User
 
Join Date: Jun 2011
Location: USA
Posts: 109
Thanks: 3
Thanked 85 Times in 47 Posts
Kitsune1982 is on a distinguished road
re: cls-bcm and zlib

thanks for answering my post. my next question is, i unpacked both the cls-bcm and cls-zlib archives and put cls-zlib in the cls-bcm folder. once thats done, i put cls-zlib and bcm together in the same folder with the bcm .exe and related files. also, what file types exactly does bcm compress? i've heard of ecm which was used mostly for compressing ps1 isos but i've never heard of bcm. does it have something to do with compressing .bin files?

^^

update: nevermind, i see how it works. i copied the extracted files from cls-bcm and cls-zlib to my freearc/bin folder and now it works. all i do is put the files i want to compress in the pack folder and run the compress.bat batch script to compress them and put the bin file i want to unpack in 'unpacked' folder.

Last edited by Kitsune1982; 28-05-2019 at 05:30.
Reply With Quote
The Following User Says Thank You to Kitsune1982 For This Useful Post:
78372 (28-05-2019)
  #5  
Old 28-05-2019, 08:44
shazzla shazzla is online now
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 187
Thanks: 341
Thanked 75 Times in 54 Posts
shazzla is on a distinguished road
Is any way to make BCM multithreaded ?
Reply With Quote
The Following User Says Thank You to shazzla For This Useful Post:
78372 (28-05-2019)
  #6  
Old 28-05-2019, 08:47
78372's Avatar
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 637
Thanks: 736
Thanked 864 Times in 297 Posts
78372 is on a distinguished road
Quote:
Originally Posted by shazzla View Post
Is any way to make BCM multithreaded ?
Try using 4x4.
Like 4x4:chunksize:tthread:bcm
Ex: srep:m3f+4x4:b64m:t4:bcm
Reply With Quote
The Following 3 Users Say Thank You to 78372 For This Useful Post:
oltjon (28-05-2019), shazzla (28-05-2019), Simorq (28-05-2019)
  #7  
Old 28-05-2019, 13:25
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 672
Thanks: 3,601
Thanked 1,266 Times in 463 Posts
Simorq is on a distinguished road
The "CLS.BCM.dll" file is missing!?
Reply With Quote
The Following User Says Thank You to Simorq For This Useful Post:
78372 (28-05-2019)
  #8  
Old 28-05-2019, 19:04
78372's Avatar
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 637
Thanks: 736
Thanked 864 Times in 297 Posts
78372 is on a distinguished road
Quote:
Originally Posted by Simorq View Post
The "CLS.BCM.dll" file is missing!?
And nobody noticed that yet.
File uploaded, check it now.
Reply With Quote
  #9  
Old 29-05-2019, 08:14
Simorq's Avatar
Simorq Simorq is offline
Registered User
 
Join Date: Mar 2014
Location: Iran
Posts: 672
Thanks: 3,601
Thanked 1,266 Times in 463 Posts
Simorq is on a distinguished road
Thanks 78372

Code:
Compressed 1,899 files, 213,268,328 => 187,379,131 bytes. Ratio 87.86%     
Compression time: cpu 0.61 sec/real 39.55 sec = 2%. Speed 5.39 mB/s
All OK

Tested 1,899 files, 187,379,131 => 213,268,328 bytes. Ratio 87.86%         
Directory 20,955 => 53,115 bytes. Ratio 39.45%
Testing time: cpu 0.91 sec/real 49.25 sec = 2%. Speed 4.33 mB/s
All OK
Reply With Quote
The Following 2 Users Say Thank You to Simorq For This Useful Post:
78372 (29-05-2019), ffmla (29-05-2019)
  #10  
Old 19-09-2019, 02:29
shazzla shazzla is online now
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 187
Thanks: 341
Thanked 75 Times in 54 Posts
shazzla is on a distinguished road
Quote:
Originally Posted by 78372 View Post
Try using 4x4.
Like 4x4:chunksize:tthread:bcm
Ex: srep:m3f+4x4:b64m:t4:bcm
Thank you very much !
Compression works well with 4x4,but decompression... No...
Single threaded BCM is fine ,but 4x4'd ,NO !
bcm130_win64.zip was used for compression.

Can you help me how to decompress 4x4:chunksize:tthread:bcm ?

The error :

arc t e:\xxx.arc

FreeArc 0.67 (March 15 2014) testing archive: e:\xxx.arc
Testing 75 files, 3,305,111,978 bytes. Processed 0.0%Decompressing stdin:
Decompressing stdin:
Decompressing stdin:
Decompressing stdin:
Not in BCM format!
0.0%


Files from cls_bcm.7z are near arc.exe in separate unpack folder :
bcm.exe
bcmpatch.dll
cls-bcm.dll

arc.ini in unpack folder doesnt contain BCM section.

Last edited by shazzla; 19-09-2019 at 02:49.
Reply With Quote
  #11  
Old 19-09-2019, 03:45
78372's Avatar
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 637
Thanks: 736
Thanked 864 Times in 297 Posts
78372 is on a distinguished road
Expected behavior. Stdio support in bcm is not so stable and compression doesn't support stdio. 4x4 messes up with streams in this type of case.
Reply With Quote
The Following User Says Thank You to 78372 For This Useful Post:
shazzla (19-09-2019)
  #12  
Old 19-09-2019, 03:48
shazzla shazzla is online now
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 187
Thanks: 341
Thanked 75 Times in 54 Posts
shazzla is on a distinguished road
Ok,thanks.
but if i make an archive with -mbcm ,how can i decompress it multithreaded wihtout tmp file ?
Reply With Quote
  #13  
Old 26-09-2019, 00:14
78372's Avatar
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 637
Thanks: 736
Thanked 864 Times in 297 Posts
78372 is on a distinguished road
Umm, not possible atm I think
Reply With Quote
The Following User Says Thank You to 78372 For This Useful Post:
shazzla (26-09-2019)
  #14  
Old 19-01-2020, 04:46
78372's Avatar
78372 78372 is offline
Registered User
 
Join Date: Dec 2016
Location: Bangladesh
Posts: 637
Thanks: 736
Thanked 864 Times in 297 Posts
78372 is on a distinguished road
BCM STDIO Patch updated for bcm140_win64. Supports stdio in both compression and decompression now and can be multithreaded with PMT. CLS is not required anymore.
PMT Example Settings:
Code:
[bcm]
Encode = bcm -1 stdin stdout <stdin> <stdout>
Decode = bcm -d stdin stdout <stdin> <stdout>
See first post for downloading bcmpatch
__________________
www.facebook.com/rudranilutsa
Reply With Quote
The Following 3 Users Say Thank You to 78372 For This Useful Post:
Gehrman (19-01-2020), shazzla (19-01-2020), Simorq (19-01-2020)
  #15  
Old 26-02-2020, 02:41
Gehrman Gehrman is offline
Registered User
 
Join Date: Jan 2020
Location: Save Palestine
Posts: 4
Thanks: 138
Thanked 4 Times in 3 Posts
Gehrman is on a distinguished road
High performance data compression library

Hi 78372
bsc is better than bcm, please add support stdio if possible.
Attached Files
File Type: 7z bsc_arc.7z (2.74 MB, 34 views)
Reply With Quote
The Following User Says Thank You to Gehrman For This Useful Post:
shazzla (04-07-2020)
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
Drop and Scan 4 ZLib Razor12911 Conversion Tutorials 14 31-08-2020 05:42
AntiZ + CLS (ZLib Precompressor) Razor12911 Conversion Tutorials 14 12-06-2017 20:01
Zlib Checker Razor12911 Conversion Tutorials 43 10-09-2016 08:41
Fast Zlib Recompressor by Razor12911 (*Test*) panker1992 Conversion Tutorials 25 27-04-2016 05:22
Processing Zlib streams without headers RamiroCruzo Conversion Tutorials 3 21-09-2015 00:24



All times are GMT -7. The time now is 08:56.


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