Bitsum Community Forum

General Category => PECompact, PESuite, PEBundle, and other developer tools => Topic started by: umesh on March 02, 2009, 07:10:35 PM

Title: Error while compressing
Post by: umesh on March 02, 2009, 07:10:35 PM
Hi,
I have been using PECompact for very long time and have recently came across following error:
! Error compressing data block. Design prevents skipping of codec.
! ERROR: Compression aborted.

If i reduce the size of one of data being part of executable resources, it compresses fine.


I am using PECompact V 2.77 and the executable i am trying to compress is of size: 65.2 MB (68,440,064 bytes)
In which data part is around ~57MB

Any suggestion will be highly appreciated.

Thanks
-umesh
Title: Re: Error while compressing
Post by: Jeremy Collake on March 03, 2009, 01:26:47 PM
Are you using any non-default compression CODEC(s)? If so, which ones?

If you're using the default settings, the problem could likely be resolved by switching to pec2codec_lzma.dll, instead of pec2codec_lzma2.dll. Alternatively, using any of the other compression algorithms would probably also work.

/ch:pec2codec_lzma.dll
Title: Re: Error while compressing
Post by: umesh on March 03, 2009, 02:15:08 PM
Hi,
I can always switch but the point is why does it fail?

Same option has been working till some point but not beyond specific data size?

Thanks
-umesh

EDIT: I am using default compression.
Title: Re: Error while compressing
Post by: Jeremy Collake on March 04, 2009, 09:16:56 AM
I would have to look at the specific executable to say, but for some reason or another it is failing to compress a data block. If you can supply the executable in question, I can determine the exact cause when I get a chance, and issue a fix. Email it to binaries@bitsum.com, if you're able and willing.

Thanks