• CRN image texture format
    2 replies, posted
I have tired searching for a script or tool that can open images compressed in .crn format, but no luck. Basically when I open the game files in Unity Studio the image texture is all blocky and the format is specified as 'DXT5Crunched'. If I opt to just export the texture with no conversion I get a .crn format file. But I am not able to find any tools which can decompress/convert this file.
Hey - lucky you, I happen to have been looking into Crunch recently so I can answer your question... Crunch is a texture compressor that basically makes .DDS files in a very particular way. It does it so that they can be further losslessly compressed, resulting in a file that looks about the same as a .DDS but with a much smaller file size on disk. The original version (that Noesis) probably tries to load is GitHub BinomialLLC/crunch, but it hasn't been updated in a while, so there's a community of forks - including Unity's own fork which adds new compressors. See https://github.com/Unity-Technologies/crunch/tree/unity (yes, Unity puts their own version on branch 'unity' not 'master'...) Luckily for you, it's easy to convert a .CRN back into a .DDS that can be manipulated with standard tools. And they've checked in a Windows version of crunch.exe. Click that link above, click "bin" to go into that folder, then click "crunch_x64.exe" and download it. Put it somewhere you can access it from a command prompt easily. In a command prompt type: crunch -file yourtexture.crn ...and you'll get a "yourtexture.dds". Another option is: crunch -split -file blah.crn -fileformat tga ...which will decompress the .crn and extract each mipmap image as a separate .tga file.
Thanks a lot for your help! However I am getting an error 'Error: crnd_get_texture_info() failed' I have crunch_x64.exe and the crn texture both copied in the same folder. The file that I am trying to convert is T_Rubble_Body_BC.crn
Sorry, you need to Log In to post a reply to this thread.