Hi, I'm trying to start modelling for TF2, and that means decompiling a player model to base things off. Thing is, I downloaded the latest version of Studiocompiler and I've run into two pretty major bugs.
Firstly, when setting up a decompile, selecting a new output directory aside from "My Documents" causes Studiocompiler to close itself. No error messages or even a sound, it just closes.
Second issue is that with all models but one that I have tried to decompile, clicking the "decompile" button makes Studiocompiler stop responding and then crash.
Help, please?
Replies
and like i said all character model are provided with the sdk for tf2, you just need something that can import smd files into your 3d package.
Here are the character files and the engie wrench:
http://dl.dropbox.com/u/2336353/TF2CharacterSourceFiles.rar
Ah, sweet, thanks for that one.
If you have any more of the weapons lying about, it'd be awesome if I could get a couple of those too. But regardless, this batch is great, big thanks!
Trying to compile something now and it just keeps giving me one of these two errors, either:
failed: SteamStartup(0xf,0x0018FB3C) failed with error 1: failed to
take master pipe connection lock
or
failed with error 1: Failed create
pipe: 6, Win32 Error 6 "The handle is invalid."
I swear this program has some kind of grudge against me, whats going on, please?
Looking for those weapons now.
UPDATE: Oh... kay, now it's saying it can't find "gameinfo.txt.", the solutions for which apparently involve going to a website that doesn't exist before running a program that I don't have....
I strongly suspect this is something to do with my configuration of StudioCompile, I'm useless at this kind of thing, here's what mine is set as:
Is something wrong with this? I won't be surprised if ther is...
replace "ep1" with "orangebox" in the path.
edit: before you do that, set the game and engine in the sdk launcher, and do a "reset game configs" and a "refresh sdk content"
also mark is correct, the Source SDK needs to be open for all the the sdk tools to work, if it isnt steam sometimes will lock the files.
and how did you get that dialog, i thought studiomdl was CLI only.
I'm using the StudioCompile GUI, that's what gave me the dialogue.
And thanks, will try that now.
UPDATE: Nope, still getting the handle invalid and master lock connection things...
UPDATE 2: tried it with the standard GUIStudioMDL in my SDK tools, same errors.
also have you considered removeing source sdk in steam than deleting all it's folders in steamapps and reinstalling.
Will try this then, can only hope third time is the charm....
Nope, still nothing.
Is it my QC file? This is what I have written in it:
$cd "C:\Users\Nick Szmekura-Moor\Desktop\hat making gear\Spy\Artist specs\SMD"
$modelname "player\items\spy\spy_earbuds.mdl"
$model "Body" "Spy_Glasses.smd"
$cdmaterials "\models\player\spy\items\sunglasses"
$cdmaterials ""
$hboxset "default"
$surfaceprop "plastic"
$illumposition 0.000 0.000 2.000
$sequence idle "idle" fps 30.00
// $attachment "head" "bip_head" 0.00 -8.99 -1.69 rotate 85 -90 0
but the errors your getting dont point to that.
http://dl.dropbox.com/u/2336353/TF2WeaponC_ModelSouceFiles.zip
It's not all of the weapon models, just the majority of the C models, I never got around to doing the V or W models.
A few notes about the zip:
Well I can try removing that, but that's the second QC file I made, first one was almost identical sans that. I was using two different tutorials to get it working, so far everything has worked like a charm but the compile.
@Mark
Massive thanks for all that, been looking for a lot of those models!
This might help get set up with the decompiler
You may also want to check out the compiling/decompiling sections of this guide:
http://forums.steampowered.com/forums/showthread.php?t=1109465
ya i checked out the file you sent me and was able to get it to compile fine, with no errors.
all i did was change to QC to work with the proper paths on my system, which i think was only on line 1, and i removed the extra $cdmaterials.
and ran the compile using the cli studiomdl.exe
only error i got was about the missing idle.smd so i just put in one i use with all my models and it works fine.
though on a 2nd note your smd with the model is completely screwed up, the source sdk model viewer errors out when opening the compiled mdl, and when i imported the smd into a 3d package, there was nothing there but some bones, no mesh.
edit: i looked threw the whole thread again the the lock error sounds similar to something that happened with hammer and me once, and was fixed with a system restart.
Yeah, I realise I sent you the wrong SMD, if I send you the right ones, will you get it compiled for me please? I'll happily list you in the credits when I eventually submit this blasted thing.
Well that first guide you sent me didn't work either, still the same old "Handle is invalid" error.
And I've been following the tutorial you linked there for some time, in fact its the one I was using when I first ran into this bug.
Will try the system restart.
don't worry about credits, editing a line of text and running a script isnt much so dont bother with credits for it.
Oh, and restarting didn't help, still getting the Handle is invalid error.
What does that even mean?
it might also be worth disabling UAC, or running as admin.
I'm in the same situation.
It takes me forever to set up decompiling-recompiling. And then I format my system months later and have to go through all this each time.
I've followed everything in this thread. Each time I click extract to decompile, studiocompile states :
Any updates?