Civ5MapImage icon indicating copy to clipboard operation
Civ5MapImage copied to clipboard

getting "EOF" error when running

Open DotMatrixNate opened this issue 2 years ago • 6 comments

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

DotMatrixNate avatar Jan 13 '23 04:01 DotMatrixNate

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.

samuelyuan avatar Jan 16 '23 03:01 samuelyuan

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.

DotMatrixNate avatar Jan 16 '23 06:01 DotMatrixNate

Can you attach a map that you tried?

samuelyuan avatar Jan 18 '23 06:01 samuelyuan

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

DotMatrixNate avatar Jan 18 '23 14:01 DotMatrixNate

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.

samuelyuan avatar Jan 21 '23 06:01 samuelyuan

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

Is it similarly hopeless?

MarqFJA87 avatar Sep 30 '24 08:09 MarqFJA87