STEAM GROUP
Blender Source Tools BleST
STEAM GROUP
Blender Source Tools BleST
280
IN-GAME
1,636
ONLINE
Founded
8 November, 2013
All Discussions > Bug Reports > Topic Details
Followed PTEJack's always amazing guide to a T. Here's the results.
https://imgur.com/a/CspZ1aY

Here is the qc, error, and where I'm keeping my files

Although I'd prefer to screenshare on Discord (Dunno if Steam even has a video chat feature. And if not, they really should have one), I know some peeps here such as PTEJack don't really have Discord, so I'm gonna try and describe what I'm trying to do.

https://imgur.com/a/Uh2TwyJ

I'm trying to remove extra eyelashes on the models since the characters don't have those ingame, however, when I compile the qc using the one already decompiled with crowbar, then check the model in sfm, the extra eyelashes/parts still remain even though I deleted them in Blender. I then tried doing a dmx export and compiling a qc from scratch using ptejack's video, and then when I compile using that qc, I get the error that you see.

I could use a bit of help... I'm also trying to log all compiling errors and their fixes since surprisingly no one's created a guide for that yet.
< >
Showing 1-15 of 20 comments
Pte Jack 5 Mar, 2020 @ 2:47pm 
Compiler is erroring out on Line 7 for your QC. It can't find the DMX file

pokekidgirl_reference.dmx

Either you've removed this object from your exports or you've typed the name wrong into the QC, but the QC cannot find that dmx file to compile it.
Originally posted by Pte Jack:
Compiler is erroring out on Line 7 for your QC. It can't find the DMX file

pokekidgirl_reference.dmx

Either you've removed this object from your exports or you've typed the name wrong into the QC, but the QC cannot find that dmx file to compile it.
Managed to fix all of that and now I'm on line 12.

Running studiomdl for "pokekidgirl_reference.qc"...

qdir: "c:\users\david\downloads\sfm related\blender to sfm models that need editing\qcs\dmx\"
gamedir: "C:\Users\david\Downloads\SFM Related\SourceFilmmaker\game\usermod\"
g_path: "C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\pokekidgirl_reference.qc"
Building binary model files...
Working on "pokekidgirl_reference.qc"
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX/pokekidgirl_reference.dmx
ERROR: c:\users\david\downloads\sfm related\blender to sfm models that need editing\qcs\dmx\pokekidgirl_reference.qc(12): - could not load file 'C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX/fps1'
ERROR: Aborted Processing on 'David]\Pokemon Sword and Shield\pokekidgirl.mdl'
ERROR: Compile of pokekidgirl_reference.qc failed. Check the console for details
1 Errors and 0 Warnings
Error: Compile of pokekidgirl_reference.qc failed. Check the console for details
Compiled 0 Source Filmmaker QCs with 1 Errors and 0 Warnings
Info: Compiled 0 Source Filmmaker QCs with 1 Errors and 0 Warnings

Checking my qc though and comparing it to your video,

Line 12: fps 1
Pte Jack 5 Mar, 2020 @ 4:36pm 
That object doesn't exist. For some reason, BleST created a FPS Collection from the Sequence animations. Post your QC here so we can see it. Encase it in
squarebracketon code squarebracketoff
QC paste here
squarebracketon /code squearebracketoff tags

qc paste here
Last edited by Pte Jack; 5 Mar, 2020 @ 4:37pm
$CD "C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX"

$cdmaterials "models\pokemonswordandshield"

$modelname "David\Pokemon Sword and Shield\pokekidgirl.mdl"

$body "body" "pokekidgirl_reference.dmx"

$mostlyopaque

$sequence "idle" {
fps 1
}
Last edited by 76561198239167412; 5 Mar, 2020 @ 5:06pm
Pte Jack 5 Mar, 2020 @ 9:10pm 
So you didn't follow my guide exactly after all. LOL

I never use a $CD command in any of my QCs. I always put the QC in the same folder that I extract to, that way I don't have to use it.


The problem your having (I think) is here.

$sequence "idle" {
fps 1
}

The command is not complete.

You forgot to include the DMX file to use the animation from and StudioMDL thought that name
was FPS1.dmx because that is the next thing available in the statement.

The command should be

$sequence "idle" "pokekidgirl_reference.dmx" {
fps 1
}

Originally posted by Pte Jack:
So you didn't follow my guide exactly after all. LOL

I never use a $CD command in any of my QCs. I always put the QC in the same folder that I extract to, that way I don't have to use it.


The problem your having (I think) is here.

$sequence "idle" {
fps 1
}

The command is not complete.

You forgot to include the DMX file to use the animation from and StudioMDL thought that name
was FPS1.dmx because that is the next thing available in the statement.

The command should be

$sequence "idle" "pokekidgirl_reference.dmx" {
fps 1
}
Ah, I must've paused the video right as you were about to put in the dmx name for the sequence. Fixed it and it compiled.

I've written down everything in my note app, so I'll know what to do every time, and now I'm on the advanced qc.

I again followed everything for my model, but I get this error on compile.

Running studiomdl for "Zoey.qc"...

qdir: "c:\users\david\downloads\sfm related\blender to sfm models that need editing\qcs\dmx\pokemon\gen 5\zoey\"
gamedir: "C:\Users\david\Downloads\SFM Related\SourceFilmmaker\game\usermod\"
g_path: "C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey\Zoey.qc"
Building binary model files...
Working on "Zoey.qc"
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye01.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye02.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye03.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye04.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye05.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye06.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye07.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye08.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth01.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth02.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth03.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth04.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth05.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth06.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth07.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth08.dmx
ERROR: unknown bodygroup option: "$mostlyopaque"
ERROR: Aborted Processing on 'David\Pokemon\Gen 5]zoey.mdl'
ERROR: Compile of Zoey.qc failed. Check the console for details
1 Errors and 0 Warnings
Error: Compile of Zoey.qc failed. Check the console for details
Compiled 0 Source Filmmaker QCs with 1 Errors and 0 Warnings
Info: Compiled 0 Source Filmmaker QCs with 1 Errors and 0 Warnings



Running studiomdl for "Zoey.qc"...

qdir: "c:\users\david\downloads\sfm related\blender to sfm models that need editing\qcs\dmx\pokemon\gen 5\zoey\"
gamedir: "C:\Users\david\Downloads\SFM Related\SourceFilmmaker\game\usermod\"
g_path: "C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey\Zoey.qc"
Building binary model files...
Working on "Zoey.qc"
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye01.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye02.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye03.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye04.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye05.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye06.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye07.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_eye08.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth01.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth02.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth03.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth04.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth05.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth06.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth07.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey_mouth08.dmx
DMX Model C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey/zoey.dmx
ERROR: unknown bodygroup option: "$sequence"
ERROR: Aborted Processing on 'David\Pokemon\Gen 5]zoey.mdl'
ERROR: Compile of Zoey.qc failed. Check the console for details
1 Errors and 0 Warnings
Error: Compile of Zoey.qc failed. Check the console for details
Compiled 0 Source Filmmaker QCs with 1 Errors and 0 Warnings
Info: Compiled 0 Source Filmmaker QCs with 1 Errors and 0 Warnings
My qc looks like this:

$cd "C:\Users\david\Downloads\SFM Related\Blender to SFM Models that need editing\QCs\DMX\Pokemon\Gen 5\Zoey"

$bodygroup "Eyes"

{
studio "zoey_eye01.dmx"
studio "zoey_eye02.dmx"
studio "zoey_eye03.dmx"
studio "zoey_eye04.dmx"
studio "zoey_eye05.dmx"
studio "zoey_eye06.dmx"
studio "zoey_eye07.dmx"
studio "zoey_eye08.dmx"
}

$bodygroup "Mouth"

{
studio "zoey_mouth01.dmx"
studio "zoey_mouth02.dmx"
studio "zoey_mouth03.dmx"
studio "zoey_mouth04.dmx"
studio "zoey_mouth05.dmx"
studio "zoey_mouth06.dmx"
studio "zoey_mouth07.dmx"
studio "zoey_mouth08.dmx"
}

$cdmaterials "models\david\pokemon\zoey"

$modelname "David\Pokemon\Gen 5]zoey.mdl"

$bodygroup "zoey"

studio "zoey.dmx"

$sequence "idle" "zoey.dmx" {
fps 1
}
Pte Jack 6 Mar, 2020 @ 11:14am 
Here...

$bodygroup "zoey"

studio "zoey.dmx"

No Curly brackets, the statement is not contained and thinks the next lines are part of the bodygroup.

Should be (if you want to use $bodygroup)

$bodygroup "zoey" {

studio "zoey.dmx"
}

(or because there isn't another mesh object or you don't want to blank it out it can be writtenlike this)

$body "zoey" "zoey.dmx"

One way or the other.

And the modelname statement has an error as well

$modelname "David\Pokemon\Gen 5]zoey.mdl"

I think the ] character between Gen 5 and zoey should be a \ character.

Last edited by Pte Jack; 6 Mar, 2020 @ 11:16am
Pte Jack 6 Mar, 2020 @ 11:22am 
You have 8 different eyes and 8 different mouths for this model?

(Nvm, I think I see what you're trying to do here now and writing a $texturegroup statement to change them out using textures would just be to difficult.)
Originally posted by Pte Jack:
Here...

$bodygroup "zoey"

studio "zoey.dmx"

No Curly brackets, the statement is not contained and thinks the next lines are part of the bodygroup.

Should be (if you want to use $bodygroup)

$bodygroup "zoey" {

studio "zoey.dmx"
}

(or because there isn't another mesh object or you don't want to blank it out it can be writtenlike this)

$body "zoey" "zoey.dmx"

One way or the other.

And the modelname statement has an error as well

$modelname "David\Pokemon\Gen 5]zoey.mdl"

I think the ] character between Gen 5 and zoey should be a \ character.

Oh wow, I didn't even notice that ] in when I thought I pressed the forward slash key. Fixed the error and it compiles now.
76561198239167412 10 Mar, 2020 @ 12:02pm 
https://imgur.com/a/FcMzct7 Detailing everything I did in Blender, qc eyes, and the qc before getting the error that still stumps both Yunpol and me
Pte Jack 10 Mar, 2020 @ 3:55pm 
Check Blender materials, do you have an eyeball_R and and an eyeball_L material on the model?
76561198239167412 10 Mar, 2020 @ 4:45pm 
Originally posted by Pte Jack:
Check Blender materials, do you have an eyeball_R and and an eyeball_L material on the model?
Yes.
Pte Jack 10 Mar, 2020 @ 5:08pm 
have they been assigned to the eye mesh?
76561198239167412 10 Mar, 2020 @ 8:13pm 
Originally posted by Pte Jack:
have they been assigned to the eye mesh?
I've triple, quadruple, and sextuple-checked. The materials are attached to the mesh.
< >
Showing 1-15 of 20 comments
Per page: 1530 50

All Discussions > Bug Reports > Topic Details