Important information: this site is currently scheduled to go offline indefinitely by end of the year.

Open and convert that VTEX_C files

Get your graphics formats figures out here! Got details for others? Post here!
Smakkohooves
beginner
Posts: 39
Joined: Fri Jan 15, 2016 7:34 pm
Has thanked: 14 times
Been thanked: 3 times

Open and convert that VTEX_C files

Post by Smakkohooves »

I'm working on a project that i wish do from a long time,
But actually i'm stuck... :/

How i can easily convert these files, and relatives:
VMDL_C
VTEX_C
VMESH_C
VMAT_C
VAGRP_C
[OT: also VSND_C]

I find out that must be decompiled to "classic" valve file
But i don't find a way to do it.

I use win XP x86...

Someone can help me?

I need some library pack/plugins to open it?
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Open and convert that VTEX_C files

Post by herbert3000 »

You can open most the *_C files with this program:
https://steamdatabase.github.io/ValveResourceFormat/
Smakkohooves
beginner
Posts: 39
Joined: Fri Jan 15, 2016 7:34 pm
Has thanked: 14 times
Been thanked: 3 times

Re: Open and convert that VTEX_C files

Post by Smakkohooves »

herbert3000 wrote:You can open most the *_C files with this program:
https://steamdatabase.github.io/ValveResourceFormat/
He tell me that is'nt a xWin32 valid application....

What i have to do?
OperateSystemP
n00b
Posts: 19
Joined: Thu Jun 04, 2015 2:26 am
Has thanked: 1 time

Re: Open and convert that VTEX_C files

Post by OperateSystemP »

Smakkohooves wrote:
herbert3000 wrote:You can open most the *_C files with this program:
https://steamdatabase.github.io/ValveResourceFormat/
He tell me that is'nt a xWin32 valid application....

What i have to do?
Only thing I can think of is maybe upgrading your computer. I see no real easy way to rip things using an outdated OS like XP.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Open and convert that VTEX_C files

Post by Acewell »

OperateSystemP wrote: .... an outdated OS like XP.
outdated in terms of products a company is trying to push on everyone
so they can stay in business? maybe, but XP is definitely not obsolete! :D

Smakkohooves, you'll have to download the source and modify and compile it for your machine (:
Smakkohooves
beginner
Posts: 39
Joined: Fri Jan 15, 2016 7:34 pm
Has thanked: 14 times
Been thanked: 3 times

Re: Open and convert that VTEX_C files

Post by Smakkohooves »

AceWell wrote: Smakkohooves, you'll have to download the source and modify and compile it for your machine (:
I have no idea how to do that...

Is a tutorial somewere?
What programs i have to use to do that?
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Open and convert that VTEX_C files

Post by Acewell »

don't know, i never had any luck compiling source code for anything except for offzip :oops:
the source looks like C# and appears to target .NET 4.5 which is Microsoft's silver bullet for XP users [roll]

if you have any of those VTEX_C samples i will take a look and see about a script :D
the source mentions LZMA compression
Smakkohooves
beginner
Posts: 39
Joined: Fri Jan 15, 2016 7:34 pm
Has thanked: 14 times
Been thanked: 3 times

Re: Open and convert that VTEX_C files

Post by Smakkohooves »

Here a sample of the "_c" files
You do not have the required permissions to view the files attached to this post.
Gh0stBlade
Moderator
Posts: 719
Joined: Mon Jul 05, 2010 8:55 pm
Has thanked: 20 times
Been thanked: 496 times

Re: Open and convert that VTEX_C files

Post by Gh0stBlade »

Smakkohooves wrote:Here a sample of the "_c" files
Definitely not texture files. Looks like a compiled XML file.
Click the thanks button if I helped!
Smakkohooves
beginner
Posts: 39
Joined: Fri Jan 15, 2016 7:34 pm
Has thanked: 14 times
Been thanked: 3 times

Re: Open and convert that VTEX_C files

Post by Smakkohooves »

Gh0stBlade wrote:
Smakkohooves wrote:Here a sample of the "_c" files
Definitely not texture files. Looks like a compiled XML file.
I put the smallest files in to a zip, im sure that is textures.
The files are: model,texture and sound.
These are small but the 90% of the files are from 1mb.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Open and convert that VTEX_C files

Post by Acewell »

Smakkohooves wrote:Here a sample of the "_c" files
well the textures aren't compressed and they are just normal dxt image data, your samples
are all dxt5 they just have custom headers with a lot of fluff, the largest mip is last in the array (:
Smakkohooves
beginner
Posts: 39
Joined: Fri Jan 15, 2016 7:34 pm
Has thanked: 14 times
Been thanked: 3 times

Re: Open and convert that VTEX_C files

Post by Smakkohooves »

AceWell wrote:
Smakkohooves wrote:Here a sample of the "_c" files
well the textures aren't compressed and they are just normal dxt image data, your samples
are all dxt5 they just have custom headers with a lot of fluff, the largest mip is last in the array (:
So? What i have to do to open these files?
Maybe i have to upload other "_C" files, more bigger,
So maybe it can be more "clear".

I usually for these things use crowbar, noesis and vtf viewer.
herbert3000
veteran
Posts: 145
Joined: Wed Jun 02, 2010 4:53 am
Has thanked: 20 times
Been thanked: 149 times
Contact:

Re: Open and convert that VTEX_C files

Post by herbert3000 »

Please check if this works:
https://www.mediafire.com/?4yy5jhy3ublxc4m
I compiled the project for x86 and changed the target to .NET 4.0 (which is available for WinXP, right?)
Edit: uploaded the correct version
Last edited by herbert3000 on Thu Oct 20, 2016 11:49 am, edited 1 time in total.
Smakkohooves
beginner
Posts: 39
Joined: Fri Jan 15, 2016 7:34 pm
Has thanked: 14 times
Been thanked: 3 times

Re: Open and convert that VTEX_C files

Post by Smakkohooves »

herbert3000 wrote:Please check if this works:
https://www.mediafire.com/?ebfnbbbvec1x1nx
I compiled the project for x86 and changed the target to .NET 4.0 (which is available for WinXP, right?)
I have 4.5 actually, (i think, i check later)
I'll try it and tell you, thanks.
Acewell
VIP member
VIP member
Posts: 1330
Joined: Wed Nov 05, 2008 12:16 pm
Has thanked: 2710 times
Been thanked: 884 times

Re: Open and convert that VTEX_C files

Post by Acewell »

Smakkohooves wrote:I use win XP x86...
Smakkohooves wrote:I have 4.5 actually
impossible

what is the name of the game and platform these sample files came from?

edit
found this too
https://github.com/tranek/vtex_c2tga
needs to be compiled though



edit again
*updated Oct 23*
made a Noesis python script to open your vtex_c texture samples for fun :D
tex_TheLab_vtex_c.zip
only supports dxt1 and dxt5 for now because i had no other sample types
You do not have the required permissions to view the files attached to this post.
Last edited by Acewell on Mon Oct 24, 2016 4:10 am, edited 4 times in total.
Post Reply