Error while compressing

Started by umesh, March 02, 2009, 07:10:35 PM

Previous topic - Next topic

umesh

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

Jeremy Collake

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
Software Engineer. Bitsum LLC.

umesh

#2
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.

Jeremy Collake

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
Software Engineer. Bitsum LLC.