STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
STEAM GROUP
Crowbar [Source Engine Modding Tool] CrowbarTool
1,784
IN-GAME
9,764
ONLINE
Founded
October 26, 2013
Language
English
Axel Jul 8, 2018 @ 7:56am
invalid input while processing $lod
I am trying to compile a smd file to sml but I get the error: invalid input while processing $lod

Does someone have any idea how to fix this?


Output from compiler "D:\Program Files (x86)\Steam\steamapps\common\Half-Life 2\bin\studiomdl.exe":
qdir: "c:\users\Axel\documents\vindictus decompiled model files\original\test\"
gamedir: "D:\Games\Vindictus private client\Vindictus EU\en-EU\"
g_path: "pc_male_sheriff_head.qc"
Building binary model files...
Working on "pc_male_sheriff_head.qc"
SMD MODEL pc_male_sheriff_head_pc_male_shadow_head.smd
SMD MODEL pc_male_sheriff_head_pc_male_shadow_head_lod1.smd
ERROR: invalid input while processing $lod (3113) : end
ERROR: Aborted Processing on 'armor\shadow\pc_male_shadow_head.mdl'
Crowbar: Deleted empty temporary compile folder "D:\Games\Vindictus private client\Vindictus EU\en-EU\models"
... Compiling ".\pc_male_sheriff_head.qc" finished. Check above for any errors.




Originally posted by ZeqMacaw:
After noticing your first post showing Vindictus, I found the same-named model in my extracted Vindictus models folder and decompiled that one. Mine shows a full QC file with no LOD commands.
< >
Showing 1-13 of 13 comments
Momo Jul 8, 2018 @ 8:11am 
Would you be able to upload your QC file to a site like pastebin.com so we can take a look?
Momo Jul 8, 2018 @ 8:20am 
Is that your entire QC? It looks like half of it is missing. Is this from a decompiled model?
Axel Jul 8, 2018 @ 9:16am 
Yes this is from a decompiled model.
ZeqMacaw Jul 8, 2018 @ 9:21am 
Based on the error messages, I am guessing there is not a final line with the word "end" (without quotes) in the "pc_male_sheriff_head_pc_male_shadow_head_lod1.smd" file. Compare with the "pc_male_sheriff_head_pc_male_shadow_head.smd" file.
Axel Jul 8, 2018 @ 9:25am 
I have checked the pc_male_sheriff_head_pc_male_shadow_head_lod1 and it has end in the final line.
Axel Jul 8, 2018 @ 9:28am 
I have uploaded the files here: https://ufile.io/pf0ld
ZeqMacaw Jul 8, 2018 @ 9:29am 
Check line 3113, as the error indicates. Perhaps the section before that line does not have an "end" line.
ZeqMacaw Jul 8, 2018 @ 9:33am 
I checked the uploaded files. The QC file is incomplete.
Last edited by ZeqMacaw; Jul 8, 2018 @ 9:33am
Axel Jul 8, 2018 @ 9:39am 
Weird this is the only thing I get when I decompile the sml file.
I also uploaded the unedited mdl file.
Also when I decompile and compile the unedited smd file it gives the same error.
Link to mdl file: https://ufile.io/d9khj
ZeqMacaw Jul 8, 2018 @ 10:50am 
From where did you get the model files?

Uploading just the MDL file is useless. You should zip all of the model files together (MDL, VTX, VVD and possibly ANI and PHY).
The author of this thread has indicated that this post answers the original topic.
ZeqMacaw Jul 8, 2018 @ 10:55am 
After noticing your first post showing Vindictus, I found the same-named model in my extracted Vindictus models folder and decompiled that one. Mine shows a full QC file with no LOD commands.
Last edited by ZeqMacaw; Jul 8, 2018 @ 10:56am
Axel Jul 8, 2018 @ 11:28am 
I already fixed it by using crowbar version 0.44
For some reason the newest version doesnt give me a full QC file while 0.44 does.
Last edited by Axel; Jul 8, 2018 @ 11:33am
< >
Showing 1-13 of 13 comments
Per page: 1530 50

Date Posted: Jul 8, 2018 @ 7:56am
Posts: 13