Due to the little time i can spend on development and research i decided to release this beta version of my Minecraft XBLA Compression Library.
This is a Library written in (unmanaged) C/C++ that can be used in your .NET (C# example available) applications to decompress and compress the compressed data from the savegame.
Make sure to give credits if used in your application.
Example (C#):
Code:[DllImport("libminecraft.dll", CallingConvention = CallingConvention.Cdecl)] public static extern uint decompress([Out] byte[] compressed_buffer, uint compressed_size, [In] byte[] decompressed_buffer, uint decompressed_size); public static extern uint compress([Out] byte[] decompressed_buffer, uint decompressed_size, [In] byte[] compressed_buffer, uint compressed_size); void MyFunction() { UInt32 decompressed_size = <decompressed size>; byte[] decompressed_buffer = new byte[decompressed_size]; uint compressed_size = <compressed size>; uint result = decompress(compressed_buffer, compressed_size, decompressed_buffer, decompressed_size); // result now contains the real decompressed size and decompressed_buffer contains the decompressed data. }