Open Sslaxx opened 8 years ago
This may also affect other files, for example I saw it return similar error messages with Speex files (although I understand support for that might have changed or been dropped?).
Interestingly though, at least one pnm file does appear to be genuinely broken.
res://scenes/intro-game/sprites/click_mask/look_click_mask.pbm
I can confirm....
That's probably a blocking element in #12 too, I'll try to convert .pnm files to a more widespread format like .png
I tried to fix that with dcc372e142248a46f066ca46a1bf1c4121821ccb, but it appear that Godot do not accept any other format than PBM for a click mask and that seem to be an easily corruptible format, despite I tried to export both with Gimp and Imagemagick.
As far as I understand, in a PBM file, data can be binary or ASCII, but there is no way to know which one is expected by Godot.
So for me this is upstream...
This is mostly fixed upstream : https://github.com/godotengine/godot/issues/15524 We have to wait for Godot 3.1 ;)
As of the latest Git Godot build (probably with 2.1 and earlier as well, but not checked), netpbm files give unrecognised binary resource file error messages, e.g. with
res://scenes/intro-game/sprites/click_mask/bad_bamboo_click_mask.pbm
. Also "Condition err!=OK is true. Returned RES()".