bruvzg / gdsdecomp

Godot reverse engineering tools
MIT License
1.34k stars 134 forks source link

xx.png.xxx.etc2.stex cannot recover to png file #132

Closed unityover closed 1 year ago

unityover commented 1 year ago

System information

win10 3060nv

Issue description

xx.png.xxx.etc2.stex cannot recover to png file

Steps to reproduce

No response

Recovery log

USER ERROR: Condition "source_image->is_compressed()" is true. Returning: FAILED at: PNGDriverCommon::image_to_png (drivers\png\png_driver_common.cpp:134) USER ERROR: Can't convert image to PNG. at: ResourceSaverPNG::save_image (drivers\png\resource_saver_png.cpp:54) USER ERROR: Transient parent has another exclusive child. at: Window::set_visible (scene\main\window.cpp:747)

Minimal reproduction project

No response

nikitalita commented 1 year ago

I need the full recovery log for this; this is likely the same issue here, but I need the full log to be sure.

unityover commented 1 year ago

Here it is , I use gui tool to convert it

****
Godot RE Tools, v0.5.3
****

-2023-05-12-06-50-51 [Convert textures]: converting F:/xxxx/cloud.png-27038f83399856800610d87294a3a590.etc2.stex
USER ERROR: Transient parent has another exclusive child.
   at: Window::set_visible (scene\main\window.cpp:747)
-2023-05-12-06-50-51 [Convert textures]: 
-2023-05-12-06-50-51       F:/xxxx/cloud.png-27038f83399856800610d87294a3a590.etc2.stex (write error)
-2023-05-12-06-50-51       
-2023-05-12-06-50-51 [Convert textures]: At least one error was detected!
USER ERROR: Condition "source_image->is_compressed()" is true. Returning: FAILED
   at: PNGDriverCommon::image_to_png (drivers\png\png_driver_common.cpp:134)
USER ERROR: Can't convert image to PNG.
   at: ResourceSaverPNG::save_image (drivers\png\resource_saver_png.cpp:54)
USER ERROR: Transient parent has another exclusive child.
   at: Window::set_visible (scene\main\window.cpp:747)
nikitalita commented 1 year ago

Can you please upload the texture here so I can take a look? You can just drag and drop into the text box.

unityover commented 1 year ago

cloud.png-27038f83399856800610d87294a3a590.etc2.stex.LOG

unityover commented 1 year ago

I have modified the suffix name and I am not sure if the data was lost when uploading

unityover commented 1 year ago

cloud png-27038f83399856800610d87294a3a590 etc2 stex

unityover commented 1 year ago

A png suffix was also uploaded

nikitalita commented 1 year ago

yeah it's just in a format we can't decompress yet. This is a duplicate of #110