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.

quick question about zlib compression on quickbms

Featured Replies

  • Author
  • Localization

happydance, posted Mon Jul 18, 2016 1:05 pm (15407)


can I adjust the level of compression of zblib when importing files back or let quickbms use check the old size of the old file and use all that size on the compression when importing files?

I'm just inquiring if this is possible since on a game it won't accept imported files that are much more smaller and has much 00/padding at the end before the next file and you have to edit the table manually.
  • Author
  • Localization

aluigi, posted Mon Jul 18, 2016 4:46 pm (15413)


Unfortunately that's not possible, basically you want to brute-force zlib and other deflate libraries (like zopfli) to find a level that gives the same amount of bytes of the original data :D
Probably the problem you have with that game is a checksum because zlib doesn't give problems if the compressed data terminates before the end of the source buffer.
  • Author
  • Localization

happydance, posted Tue Jul 19, 2016 8:33 am (15426)


yeah I was thing something like that... if it's not possible can I change just the compression level?

like on zlib just want to compress/inject it back using standard normal compression "78 9C" instead of "78 DA"
  • Author
  • Localization

aluigi, posted Tue Jul 19, 2016 9:44 am (15429)


No, quickbms uses everything at maximum.
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.