• Welcome to World Machine Community. Please login or sign up.
 
July 19, 2019, 01:34:32 pm

News:

Read the Development Diary for an inside look at World Machine's progress!


Working withCryEngine cover.ctc file...

Started by garbitos, March 16, 2015, 01:48:56 pm

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

garbitos

When I generate surface texture in the older CryEngine1 it creates a 'cover.ctc' file. This file holds the hires surface texture data that i want to mess around with inside WM.

Does anyone have experience working with this file? Changing file extension so it will open inside of WM or PS?

Here is the only extended info i could find about this proprietary filetype from the CryTek engines...

CryTek Terrain Textures (.ctc)

QuoteContains an array of square terrain texture tiles. First uint of file is the width/height of the textures (128 in X-Isle demo). Followed by an array of raw data for DXT1 compressed textures + mipmaps ie. 128*128/2 bytes for first texture, 64*64/2 for first mipmap, ..., 8 bytes for 4x4 mipmap, 8 bytes for 2x2 mipmap (8 bytes as must store full DXT1 block), 8 bytes for 1x1 mipmap, 128*128/2 bytes for second texture, ... . Size of array is unknown, read until end of file. (X-Isle demo "cover.ctc" contains 508 textures.)



Thanks in advance to anyone who reads this, hope you can help!


Quick Reply

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Warning: this topic has not been posted in for at least 120 days.
Unless you're sure you want to reply, please consider starting a new topic.

Note: this post will not display until it's been approved by a moderator.

Name:
Email:
Verification:
Please leave this box empty:
Type the letters shown in the picture
Listen to the letters / Request another image

Type the letters shown in the picture:

Shortcuts: ALT+S save/post or ALT+P preview