Go Back   FileForums > Game Backup > PC Games > PC Games - CD/DVD Conversions > Conversion Tutorials
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 30-05-2017, 07:51
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 524
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
Lzham - stdin/stdout

Hi guys !

Today i realized ,7-Zip can be upgrading with plugins and....
I found LZHAM plugin for it !

http://richg42.blogspot.hu/2015/11/l...for-7-zip.html

Well ,we can use 7z's LZMA2 in Freearc with this command :

packcmd = 7z a -txz -an -mcrc=0 -m1=lzma2:d1024m:fb=273:mf=bt4:mc=10000:lc=4:lp=0 -mmt=1 -mx9 -si -so <stdin> <stdout>
unpackcmd = 7z x -txz -an -y -si -so <stdin> <stdout>

But not LZHAM !
I tried many-many ways ,but doesnt work.
Maybe a smart man can figure it out....
I would be grateful for it !
Thank you !
Reply With Quote
Sponsored Links
  #2  
Old 30-05-2017, 09:29
Bulat Bulat is offline
Registered User
 
Join Date: May 2016
Location: Moscow
Posts: 63
Thanks: 26
Thanked 50 Times in 27 Posts
Bulat is on a distinguished road
may it's because lzham isn't supprted by xz format?

anyway, the home of this project now is https://github.com/mcmilk/7-Zip-zstd

and there you can ask (by creating Issue) author how to use lzham in stream mode, may be with other utility

also, as author of freearc, i want to ask you - is lzham really has its edge? i thought that it's barely faster than lzma while providing much less compression ratio. how frequently it's used in repacks?
Reply With Quote
The Following 4 Users Say Thank You to Bulat For This Useful Post:
78372 (18-01-2018), Crynuvo (30-05-2017), JRD! (01-06-2017), shazzla (30-05-2017)
  #3  
Old 30-05-2017, 09:34
Gupta Gupta is offline
Banned
 
Join Date: Aug 2016
Location: https://t.me/pump_upp
Posts: 399
Thanks: 139
Thanked 715 Times in 231 Posts
Gupta is on a distinguished road
Send a message via ICQ to Gupta Send a message via AIM to Gupta Send a message via Yahoo to Gupta
Quote:
also, as author of freearc, i want to ask you - is lzham really has its edge? i thought that it's barely faster than lzma while providing much less compression ratio. how frequently it's used in repacks?
i would say same for lzturbo
using lzma with 4x4 beats all $Hi!, I Mean ratio trade offs are neglible in context of speed gains

Last edited by Gupta; 30-05-2017 at 09:37.
Reply With Quote
  #4  
Old 30-05-2017, 10:03
shazzla shazzla is offline
Registered User
 
Join Date: Nov 2010
Location: Hunnia
Posts: 292
Thanks: 524
Thanked 102 Times in 78 Posts
shazzla is on a distinguished road
@Bulat :
im just a n00b.
In my test its nearly 2x faster than LZMA2 1GB.
BTW thank you very much !
Reply With Quote
  #5  
Old 04-06-2017, 12:33
panker1992's Avatar
panker1992 panker1992 is online now
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 565
Thanks: 116
Thanked 888 Times in 321 Posts
panker1992 is on a distinguished road
lzham is an API that is unoversal, XBOX Windows Mac etc.

it was never meant to be a compressor like lzma, zstd, lz4.

it was created for 1 time compression only and only decomp speed matters as a gaming container if you like that expression
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
  #6  
Old 04-06-2017, 12:36
panker1992's Avatar
panker1992 panker1992 is online now
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 565
Thanks: 116
Thanked 888 Times in 321 Posts
panker1992 is on a distinguished road
lzham is an API that is unoversal, XBOX Windows Mac etc.

it was never meant to be a compressor like lzma, zstd, lz4.

it was created for 1 time compression only and only decomp speed matters as a gaming container if you like that expression
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
The Following User Says Thank You to panker1992 For This Useful Post:
shazzla (07-06-2017)
Reply


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
Masked Compression (Ultimate compression in one go) panker1992 Conversion Tutorials 661 13-05-2024 16:51



All times are GMT -7. The time now is 04:31.


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