bgbennyboy / Dinky-Explorer

An explorer/viewer/dumper tool for games using the Dinky engine. That's Return to Monkey Island, Thimbleweed Park and Delores.
35 stars 3 forks source link

Proper integration of KTX Images #5

Closed JanFrederick00 closed 1 year ago

JanFrederick00 commented 1 year ago

I found a library to show the KTX-Files. Well, sort of because the library (https://github.com/Nominom/BCnEncoder.NET) only supports KTX files that are compressed with any of the BCn compression algorithms. As far as I know, all of RtMI's images are BC7-Compressed and work just fine. The images that appeared blank with the previous tool now display, and if the user enters a *.png-filename when "Saving as Image", the image is decompressed and reencoded as png before saving. (of course the images are now displayed in the same way as regular png images).

I had to commit the packages.config, so fixing the packages might be necessary to get it to compile...

grafik

bgbennyboy commented 1 year ago

Great job!