Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Save game can't open (liblzma returned error code)? #7649

Rk8ley opened this issue Jul 12, 2019 · 2 comments


Copy link

@Rk8ley Rk8ley commented Jul 12, 2019

Reddit told me this was the best place to go for answers on this

Version of OpenTTD - 1.9.1

Expected result - Should let me load the game

Actual result - Load game screen says that libIzma returned error code

Steps to reproduce - No idea

Screenshot -

Non-working Save game -

Reddit post -

Save game with nothing done -

The exact scenario that I used -

The scenario that it is all ultimately based on -


This comment has been minimized.

Copy link

@Eddi-z Eddi-z commented Jul 12, 2019

That error usually means the file is corrupted (like, disk was full while saving). inthat case, there's probably no solution to that


This comment has been minimized.

Copy link

@nielsmh nielsmh commented Jul 12, 2019

I tried loading the savegame under debugger to get the exact error code. The LZMA library returns error 9 (LZMA_DATA_ERROR): "Decoders return this error if the input data is corrupt. This can mean, for example, invalid CRC32 in headers or invalid check of uncompressed data."

In short, the save file is plain broken. As far as I can tell from the internal data, the error happens about 128 kb before the end of the file.

@nielsmh nielsmh closed this Jul 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
3 participants
You can’t perform that action at this time.