xamarin-decompress icon indicating copy to clipboard operation
xamarin-decompress copied to clipboard

Add compress function?

Open nourmuj opened this issue 3 years ago • 2 comments

Can you add a new function to compress the DLL file after decompressing to add the DLL again to the apk?

nourmuj avatar Aug 10 '21 22:08 nourmuj

Hi @nourmuj, I'm not sure there's any need to implement compression. The loader should be able to determine whether the DLL is compressed or not and handle it accordingly. Have you found a case where this is not true?

NickstaDB avatar Oct 26 '21 11:10 NickstaDB

@NickstaDB APKs now have assemblies.blob file in the assets folder which can be unpacked with https://github.com/jakev/xamarin-assembly-store-unpack

This produces the LZ4 compressed assemblies which can be decompressed with this script. It needs to be compressed back to LZ4 and finally into assemblies.blob. It would be very helpful if you can add a compress function.

timea-techgirl avatar Nov 11 '22 09:11 timea-techgirl