Skip to content

Conversation

@edo9300
Copy link
Owner

@edo9300 edo9300 commented Jun 28, 2022

Use liblzma to compress/decompress replays, this removes the dependency on the lzma sdk.
The library implements the same lzma format as the sdk, so the generated replays should be compatible between the library and the sdk.

edo9300 added 2 commits May 6, 2023 10:26
Currently it will "fail" decoding old replays as the lirbary assumes all the lzma streams are terminated by the end of stream block, whereas the replays were being generated without such block (still valid in the lzma standard)
Use lzma_alone_decoder that allows decompressing streams without an end of stream block.
This requires feeding liblzma first a dummy lzma header so that it won't check for the eos block.
@edo9300 edo9300 force-pushed the master branch 3 times, most recently from 1ba4267 to 8424b09 Compare May 27, 2023 13:07
@edo9300 edo9300 force-pushed the master branch 6 times, most recently from 1a62005 to ef39fc3 Compare June 4, 2023 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant