Civ5MapImage
Civ5MapImage copied to clipboard
getting "EOF" error when running
I'm getting an "EOF" error whenever I try to run this, both on Window and Linux
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.
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.
Can you attach a map that you tried?
Can you attach a map that you tried?
I'm running Manjaro Linux and running this program with the command:
./Civ5MapImage -input=map.Civ5Map -output=earth.png
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.