I compress some bytes in python
import lzma some_bytes = b"HELLO WORLD" compressed_data = lzma.compress(some_bytes, format=lzma.FORMAT_ALONE) with open("python_compressed.txt", "wb") as f: f.write(compressed_data) # output: "] € ÿÿÿÿÿÿÿÿ $EÏrÙÉB(\²‹dÿûx "
But when I try to decompress it with
util.Decompress the game just crashes. Reverse way works fine. I compress some data with
util.Compress and I can decompress it in python.
Am I doing something wrong or what?