Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"die in real" error #5

Open
ProcrastinatorSal opened this issue Nov 28, 2020 · 2 comments
Open

"die in real" error #5

ProcrastinatorSal opened this issue Nov 28, 2020 · 2 comments

Comments

@ProcrastinatorSal
Copy link

I'm trying to convert about 300 VMTs to VMATs. I have all VMT and TGA files in this directory:
"C:\Program Files (x86)\Steam\steamapps\common\Half-Life Alyx\content\hlvr_addons\test\materials\kairos"

Here is the output log when I try to run vmt_to_vmat.py using that directory:
https://pastebin.com/dBEE34w8

I've successfully used this script with a different set of VMT files and it worked fine. But for some reason, I'm getting this "die in real" error after the processing stage.
It does create the directory where the VMATs are supposed to go in, but the folder is empty.

@ProcrastinatorSal
Copy link
Author

For reference, here is what one of the VMT files look like. They almost all look the same, but with different names.
"VertexlitGeneric"
{
"$basetexture" "kairos/kairos_material_0"
"$translucent" 1
}

@JackBekket
Copy link

    elif SHADER == "vr_standard":
        # die
        print("die in real")
    elif SHADER == "globallitsimple":
        # die 2.0
        print("die in real for real")
    elif SHADER == "customhero":
        # die 3: the finale
        print("death death death death death")

wrong shader, should be vr_complex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants