Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.

Is there any way of using QuickBMS as a standalone packer like gzip?

Featured Replies

  • Author
  • Localization

Definitive, posted Fri Nov 03, 2017 3:22 am (29676)


Hello forum! Nice to join!

I want to make a very simple question. Sorry if it is too much off-topic or already answered.
I noticed the huge amount of compression algorithms included on QuicBMS. It's astonishing! Which led me to wonder if it can't be used to just pack some file or data stream into other... Is there any command that does that? I haven't found one but just in case I ask. Or can be modified the source to do so?
I think that could be a wonderful application to the program, and I really could use such a feature.

Thank you very much in advance for any answer.
  • Author
  • Localization

aluigi, posted Fri Nov 03, 2017 9:47 am (29679)


Yes :)
Code:
quickbms.exe -s "comtype gzip_compress ; get SIZE asize ; clog new.gz 0 SIZE SIZE" "" YOUR_INPUT_FILE
  • Author
  • Localization

Definitive, posted Fri Nov 03, 2017 11:41 am (29686)


Thank you! Will try.
  • Author
  • Localization

Definitive, posted Sat Nov 04, 2017 11:21 pm (29745)


Well... quick update. I've been playing around with QuickBMS' algorithms (115 as of today if I interpreted defs.h right)
Now I have like a zillion questions but I guess it's better to go one step at the time... :)

I saw that Microsoft's Lempel-Ziv-eXtended compression is supported. What I missed is a way of configure the levels of compression. Is it present in the program? Or is it a stripped-off version that only operate with the strongest setting?

I'm interested in use your code in a recompression program like precomp but in this case for lzx streams. And as far as I know, this could be the only open source code existing that is capable of doing so because wimlib has its own implementation that yields a stronger result than MS original algorithm.

Thanks in advance for any insight.
  • Author
  • Localization

aluigi, posted Sun Nov 05, 2017 4:03 pm (29766)


Currently quickbms 0.8.1 supports 699 algorithms of which just a few of them are duplicates, but for sure more than 650.

The XMemDecompress/xmemcompress algorithm accepts some settings on the DICT field: WindowSize and CompressionPartitionSize.

Example:
Code:
comtype xmemlzx_compress "131072 524288"
get SIZE asize
clog "new.dat" 0 SIZE SIZE

The 2 values I used in my example are the default values of those settings I mentioned.
  • Author
  • Localization

Definitive, posted Sun Nov 05, 2017 9:25 pm (29785)


WOW! 650? I have a lot to discover then. I'll read a little more and come back. I've found some other sources too.
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.