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

Unexpected end of chunk when loading LZO compressed saves #6450

Closed
DorpsGek opened this issue Apr 19, 2016 · 3 comments
Closed

Unexpected end of chunk when loading LZO compressed saves #6450

DorpsGek opened this issue Apr 19, 2016 · 3 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

Samu opened the ticket and wrote:

Windows 10 Pro 64-bit.

The 64-bit of OpenTTD cannot load savegame files if they were saved with LZO format. Problem does not occur on the 32-bit version of OpenTTD, nether on the 9x.

I tested these openttd versions on Windows 10 Pro 64-bit:

https://binaries.openttd.org/releases/1.6.0/openttd-1.6.0-windows-win64.zip
https://binaries.openttd.org/releases/1.6.0/openttd-1.6.0-windows-win32.zip
https://binaries.openttd.org/releases/1.6.0/openttd-1.6.0-windows-win9x.zip
https://binaries.openttd.org/nightlies/trunk/r27546/openttd-trunk-r27546-windows-win64.zip
https://binaries.openttd.org/nightlies/trunk/r27546/openttd-trunk-r27546-windows-win32.zip
https://binaries.openttd.org/nightlies/trunk/r27546/openttd-trunk-r27546-windows-win9x.zip

This is how I tested:

A) Create a savegame with lzo savegame format:
1 - Edit openttd.cfg, search for the line containing "savegame_format =" and replace it with "savegame_format = lzo" and save.
2 - Launch any build of OpenTTD
3 - Start a new game
4 - Save the game

B.1) Load a savegame with lzo savegame format on 64-bit build of OpenTTD:
1 - Launch 64-bit build of OpenTTD
2 - Open the Load Game window and click the lzo compressed savegame

Result - Game Details "Broken savegame - Unexpected end of chunk", Load button disabled.

B.2) Load a savegame with lzo savegame format on 32-bit or win9x build of OpenTTD:
1 - Launch 64-bit build of OpenTTD
2 - Open the Load Game window and click the lzo compressed savegame

Result - Game Details load fine. Load button enabled.

Clicking Load, it loads the savegame correctly.

Reported version: 1.6.0
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/6450
@DorpsGek
Copy link
Member Author

Samu wrote:

Typo on step B.2) 1 - "Launch 32-bit or win9x build of OpenTTD"

Bad copy paste habits


This comment was imported from FlySpray: https://bugs.openttd.org/task/6450#comment14163

@DorpsGek
Copy link
Member Author

Samu wrote:

this workaround allows loading:
https://paste.openttdcoop.org/pfjwbt9qi

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/6450#comment14227

@DorpsGek
Copy link
Member Author

peter1138 closed the ticket.

Reason for closing: Fixed

In r27793


This comment was imported from FlySpray: https://bugs.openttd.org/task/6450

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Build system labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant