View Single Post
Old 06-01-2016, 05:40 AM   #226
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Quote:
Originally Posted by pipcat View Post
Tshering, did you write patchit.exe ?
I did.
Quote:
Originally Posted by pipcat View Post
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.
tshering is offline   Reply With Quote