Page 1 of 2

Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Fri Mar 27, 2020 2:18 pm
by TSelman61X
Hello everyone...
Half-Life: Alyx recently released. I want to be able to export the models of the game. But I could not find much information and resources on this subject. Models with bones would actually be beautiful.

viewtopic.php?f=16&t=15400&p#p123736
https://github.com/Penguinwizzard/Sourc ... Decompiler
https://github.com/SteamDatabase/ValveResourceFormat

VRF / Source 2 Resource Viewer
https://opensource.steamdb.info/ValveResourceFormat/
At least he can open the archive perfectly. (Opening in previous apps.) But there are still problems in exporting textures.

But it cannot export models. Does anyone have any ideas or help on this matter?

I will share 3 different character files.
--> Alyx, G-man, Gordon

File types...
gman.vmdl_c
gman_vmorf.vtex_c
gman_attache.vmat_c
gman_attache_ao_tga_3c7cd30a.vtex_c

All the files of the characters --> http://www.mediafire.com/file/2r2s4j4p1 ... yx.7z/file
Less data (little) --> http://www.mediafire.com/file/92642nrji ... le.7z/file

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Wed Apr 01, 2020 1:30 pm
by EPYCSPYDER
I did use Model Researcher Pro to find the mesh, It seems uv are inside compressed 3VK blocks
Image

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Wed Apr 01, 2020 9:45 pm
by TSelman61X
EPYCSPYDER wrote: Wed Apr 01, 2020 1:30 pm It seems uv are inside compressed 3VK blocks
It looks really good.
The export of textures is easy. I have no idea about UV map.
SteamVR doesn't work on me.
Image damn it :-(

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Wed Apr 01, 2020 11:26 pm
by EPYCSPYDER
I found this online to run without a headset, It's not worth it though.
https://www.youtube.com/watch?v=5HUGaJj ... e=youtu.be

http://www.mediafire.com/file/mc8x5scqo ... n.rar/file
add -novr -console to the end of hlvr.exe desktop shortcut

NinjaRipper worked okay I ripped gman, these scripts are useful if anybody uses 3ds max and NinjaRipper

Duplicate Geometry Select
http://www.scriptspot.com/3ds-max/scrip ... try-select

Select by Bitmap

Code: Select all

theMap = "Tex_0000_0.dds"
theObjs = #()
for i in (getclassinstances bitmaptexture) where (filenamefrompath i.filename) == theMap do (join theObjs (refs.dependentNodes i))
select theObjs

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Fri Apr 03, 2020 9:00 pm
by cuone
when you export the models the uv is broken, TSelman61X you miss a lot of alyx materials in your link can you reupload those materials? :)

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Fri Apr 03, 2020 9:25 pm
by cuone
Image

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Sat Apr 04, 2020 3:55 am
by exhaleme
You can actually already use Pragma Engine to fully export Source 2 assets: https://knockout.chat/thread/11218/1.
It's basically a better source engine anyways.

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Sat Apr 04, 2020 11:06 pm
by TSelman61X
EPYCSPYDER wrote: Wed Apr 01, 2020 11:26 pm I found this online to run without a headset, It's not worth it though.
https://www.youtube.com/watch?v=5HUGaJj ... e=youtu.be
Playing without a headset is really interesting. :o

I tried a ninja ripper but I can't say it was very successful. I do not know why the problem occurred. It does not create any files.

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Sat Apr 04, 2020 11:33 pm
by TSelman61X
cuone wrote: Fri Apr 03, 2020 9:00 pm when you export the models the uv is broken, TSelman61X you miss a lot of alyx materials in your link can you reupload those materials? :)
Maybe you are right. I will export again with GUI v0.1.3.1140 version.
I send it again for guarantee.
http://www.mediafire.com/file/tx7hl4bbb ... an.7z/file

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Sun Apr 05, 2020 12:52 am
by TSelman61X
exhaleme wrote: Sat Apr 04, 2020 3:55 am You can actually already use Pragma Engine to fully export Source 2 assets: https://knockout.chat/thread/11218/1.
It's basically a better source engine anyways.
I still don't know how it works. But it works. I guess.
There is no material. All in one material. :-(
may be due to my stupidity.
Image

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Sun Apr 05, 2020 1:57 am
by EPYCSPYDER
I used this on alyx it took ages to build the ao

util_export_model -model "characters/alyx/alyx" -export_animations 1 -export_skinned_mesh_data 1 -export_morph_targets 1 -export_images 1 -image_format dds -enable_extended_dds 1 -generate_ao 1 -ao_samples 512 -ao_resolution 4096

Here is the textures tga

http://www.mediafire.com/file/8hfakd38a ... x.rar/file

Has anybody been able to load a map with pragma?

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Mon Apr 06, 2020 2:06 pm
by vvampii
pragma isnt working for me. can somebody help ? i dont know how to use it properly.

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Mon Apr 06, 2020 5:50 pm
by EPYCSPYDER
Try this blender importer, It can open .vmdl_c
https://github.com/REDxEYE/SourceIO

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Tue Apr 07, 2020 5:03 am
by vvampii
EPYCSPYDER wrote: Mon Apr 06, 2020 5:50 pm Try this blender importer, It can open .vmdl_c
https://github.com/REDxEYE/SourceIO
not working either (on blender v2.79 and v2.82). is this for blender v2.8 or problem is something else?

Re: Half-Life: Alyx [*.vtex_c and *.vmdl_c]

Posted: Tue Apr 07, 2020 5:20 am
by EPYCSPYDER
It works okay in 2.82 I'm using blender zip instead of the installer. try rename the folder to just SourceIO, that should be the root for the plugin files/folders. C:\Users\EPYCSPYDER\Documents\blender-2.82a-windows64\2.82\scripts\addons\SourceIO\