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

getting "EOF" error when running #1

Open
DotMatrixNate opened this issue Jan 13, 2023 · 6 comments
Open

getting "EOF" error when running #1

DotMatrixNate opened this issue Jan 13, 2023 · 6 comments

Comments

@DotMatrixNate
Copy link

I'm getting an "EOF" error whenever I try to run this, both on Window and Linux
errorIget

@samuelyuan
Copy link
Owner

samuelyuan commented Jan 16, 2023

Have you tested any other maps and confirmed they are able to load? If it's just this one map, it could be an issue with the map or there is a case not covered by the code.

@DotMatrixNate
Copy link
Author

Have you tested any other maps and confirmed they are able to load? If it's just this one map, it could be an issue with the map or there is a case not covered by the code.

I've tried it with several different maps. Aswell as 3 separate computers, and each one, to my recollection, gave me the same error.

@samuelyuan
Copy link
Owner

Can you attach a map that you tried?

@DotMatrixNate
Copy link
Author

DotMatrixNate commented Jan 18, 2023

Can you attach a map that you tried?

map.Civ5Map.zip

I'm running Manjaro Linux and running this program with the command:
./Civ5MapImage -input=map.Civ5Map -output=earth.png

@samuelyuan
Copy link
Owner

The map file doesn't load for me either. The EOF error happens because the file ends after the map tiles is read, but the program assumes gameDescriptionHeader is present in the file and continues to read data beyond the end of the file.

@MarqFJA87
Copy link

Facing the same issue with this map:
Bismarck-Germany_OrderSpace.zip

Is it similarly hopeless?

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

No branches or pull requests

3 participants