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.

Offzip "Error: the compressed data is bigger than the original one"

Featured Replies

  • Author
  • Localization

Rulesless, posted Fri Feb 18, 2022 9:59 pm (69986)


I have a problem recompressing some .rpt files (SM3DAS): in most cases everything works correctly, but for some files appears "Error: the compressed data is bigger than the original one...", even using "-r -r" (I don't need same size, only same compression).
The attached file is affected by this problem (all are .rpt).
Thanks for helping.
  • Author
  • Localization

aluigi, posted Sat Feb 19, 2022 2:54 am (69998)


Since the whole BIN file is compressed without additional data before and after the compressed data, you can just compress it from scratch by using a tool like packzip or a quickbms script like the following:
Code:
comtype zlib_compress
get SIZE asize
clog "new.bin" 0 SIZE SIZE


(Please note that by default packzip puts the compressed data in the output file so, if the file already exists, you probably want to use the -c option for "recreating" it)
  • Author
  • Localization

Rulesless, posted Sat Feb 19, 2022 3:46 am (70001)


Thank you very much!
  • Author
  • Localization

yamato, posted Wed Jul 06, 2022 7:43 am (72478)


Hi i got same issue for a file !
All was ok for the uncompression deflate , i tested this :
offzip.exe -a -z -15 -1 input_file output_folder
result was output.dat file inside output folder, it was what i wanna get

by testing same with the -r for recompression, i got " Error: the compressed data is bigger than the original one"
command was
offzip.exe -a -r -z -15 -1 input_file output_folder

For the test, i just tried to recompress the same file, without changes !


Thanks you
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.