EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Feature Request: Bump LZMA SDK version to support LZMA2  (Read 17529 times)

Starshadow

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 42
  • Operating System:
  • Windows 7 Windows 7
  • Browser:
  • Firefox 3.6.13 Firefox 3.6.13
    • View Profile

I would like to request that you investigate the possibility of updating the version of the LZMA SDK used in clrmamepro in order to properly support 7z archives using the LZMA2 compression method. clrmamepro is already able to compress files with LZMA2 by modifying the 7z compress arguments, and it is able to read file names and hashes from 7z archives using LZMA2 like any other 7z archive. However, errors arise when clrmamepro tries to extract an LZMA2 compressed file from a 7z archive (either for renaming or backup). I know the LZMA SDK has a long and storied history of being pretty terrible, but if it's as simple as updating the version, I would really appreciate if you would. My reasoning for wanting this is that I'm encountering files which come out larger after being compressed with LZMA, and this 'feature' has been disabled with LZMA2, so I would like to be able to deploy it across all my sets without the major inconvenience of needing to manually maintain the files. That's what clrmamepro is for, after all. :) Thanks for your attention, and the time you put into clrmamepro.
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3414
  • Operating System:
  • Windows XP Windows XP
  • Browser:
  • Chrome 9.0.597.98 Chrome 9.0.597.98
    • View Profile
Re: Feature Request: Bump LZMA SDK version to support LZMA2
« Reply #1 on: 01 March 2011, 08:04 »

Hehehe...well, actually I'd like to get rid of the external packer for 7z completely and would like to use the current dll for reading and writing 7zs (and so LZMA2 would come for free)...but my current amount of time plus the lack of well documented dll function calls keeps this pending. If you got the time to find a good documentation and examples for the dll calls, feel free to send them to me...
Logged

Starshadow

  • Member
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 42
  • Operating System:
  • Windows 7 Windows 7
  • Browser:
  • Firefox 3.6.14 Firefox 3.6.14
    • View Profile
Re: Feature Request: Bump LZMA SDK version to support LZMA2
« Reply #2 on: 02 March 2011, 17:46 »

I agree that switching to 7z.dll calls is the best way for you to go in the long term. In the short term however, would it be possible to support (optionally perhaps) calling the external 7z.exe for extraction as well? I brought this up once before if I recall as a possible solution to the issue surrounding extracting very large files directly into RAM. That isn't really a problem for me personally anymore, at least for files smaller than about 11GB, but you have to admit that temporarily storing entire files in RAM before dumping them to disk all at once is awfully inelegant.

I should also point out that 7z.exe has a well documented command line interface where 7z.dll has only a .cpp file for documentation with lots of nasty looking things they didn't teach me about in my CS courses.
« Last Edit: 02 March 2011, 17:59 by Starshadow »
Logged

Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 120
  • Offline Offline
  • Posts: 3414
  • Operating System:
  • Windows 7 Windows 7
  • Browser:
  • Chrome 9.0.597.98 Chrome 9.0.597.98
    • View Profile
Re: Feature Request: Bump LZMA SDK version to support LZMA2
« Reply #3 on: 02 March 2011, 20:21 »

actually it's not really 7z itself, it's more the lack of free time...I will see what I can do...
Logged
Pages: [1]   Go Up
 

Page created in 0.086 seconds with 20 queries.