tehskai / godot-unpacker

godot .pck unpacker

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

textures don't unpack to jpg/png, instead to .stex files

GamesOpenSource opened this issue · comments

If I create a test project that contains nothing but one texture and export it and try to run godot-unpacker on it, I only get:
image
image

Looks like they might actually be png files, just the file ending is wrong.

So this is a workaround:

for i in *; do mv "$i" "$i".png; done

Can be improved to handle other file types.

EDIT: Looks like they're not png files after all. but irfanview is able to open these images still, seeing them as compression: "PNG - ZIP"

Godot automatically converts all images to "Stream Textures" (stex) and as a result you'll never find .png in your package 🤷‍♂️
This is not an issue related to this repository.