Master palette export produces a semi-broken BMP file
Brought to you by:
bob_the_hamster,
teeemcee
Exporting a master palette from a game produces a bmp file that is partially broken.
In my test, the file can be previewed by my file manager, and opened in the Gnome Image Previewer, but when I try to opne it with The Gimp, or convert it with ImageMagick, it fails.
"Opening '/home/james/src/ohr/games/vorpalflorist/masterpal.bmp' failed:
'/home/james/src/ohr/games/vorpalflorist/masterpal.bmp' is not a valid BMP file"
james@cactusgolem:~/src/ohr/games/vorpalflorist$ convert masterpal.bmp masterpal.png
convert.im6: insufficient image data in file masterpal.bmp' @ error/bmp.c/ReadBMPImage/887.
convert.im6: no images definedmasterpal.png' @ error/convert.c/ConvertImageCommand/3044.
This bug has been migrated to our new issue tracker on Github: https://github.com/ohrrpgce/ohrrpgce/issues/1070