Quote:
Originally Posted by pipcat
Tshering, did you write patchit.exe ?
|
I did.
Quote:
Originally Posted by pipcat
When replacing a compressed stream inside nickel, if length is longer it is not allowed. But if length is shorter, is it ok to fill with \x00 until same length ?
|
This is at least what patchit.exe does, and until now I did not see any negative effects. Strictly speaking, I do not think the zeros are necessary (or have any effect at all) in this case. By the way, if the new compressed stream turns out to be longer than the original stream, patchit.exe tries again with compression level set to maximal.