I’ve been trying to add the godot export templates as a lazy dependency to make my game project easy to get started on fresh environments:
zig fetch --save=godot_export_templates https://github.com/godotengine/godot/releases/download/4.4.1-stable/Godot_v4.4.1-stable_export_templates.tpz
However, this is failing with the error in the title
Some obvious points before people jump to pointing these out:
- Yes, the file extension is .tpz, but this is just how godot recognizes that this holds export templates. It’s actually a zip archive
- Yes, even the mime-type is an archive:
- Yes, even the http headers report an octet-stream content-type, which is how other archives are reported:
So is there a work-around, or does zig hard-check the file extension and bottoms out due to not recognizing it?


