Decompiling and recompiling models: .obj.smd error

Avatar
Spam Nugget
492 Posts
Posted Dec 16, 2011
Trying to grab a couple of portal 1 models for use in portal 2, however am having trouble decompiling and recompoiling.
the model in question, the keyboard and mouse, on decompiling give an error saying that the file C:/blah blah blah|models\kb_mouse\parts/obj/keyboard.obj.smd cannot be found. not surprising, as that file isnt there. neither is the directory called parts. so it decompiles giving me a qc and idle.smd file. however, if i try to reecompile, studiocompile says its done it, but i cant find any files.
so what am i missing here? i cant find this .obj.smd file anywhere, ive tried using windows xp to see if its just a windows 7 error but that didnt work either, can anyone help?
Advertisement
Registered users don’t see ads! Register now!
Avatar
spongylover123
944 Posts
Posted Dec 17, 2011
Replied 1 hour later
Are you editing the textures or the model?
Or are you just gonna transfer the model and textures and then use it?
Because if you are going to transfer it, just put the models and textures in the designated folders from the gfc and change the VTFs to 7.5 from 7.2 (import vtf and adjust it 7.5 and then save! Or else you have pink checkerboard cube maps.) don't edit the mdls or the vmts!
Avatar
Spam Nugget
492 Posts
Posted Dec 17, 2011
Replied 3 hours later
thanks spongy, i hadnt thought of that, should save me a lot of work!
Though I would appreciate it if anyone knows what i was doing wrong, for future reference.
Avatar
sicklebrick
876 Posts
Posted Dec 19, 2011
Replied 2 days later

Long shot here maybe, but I've had the same message for a few reasons...

First, sometimes StudioMDL will decompile where MDLDecompiler will not...
Often I'll have to switch, or just use both.

The other thing, like you say is that both of those programs will have a wee moan if the destination folder does not already exist, so try making them as it complains, and re-trying.

I wrote a wee article covering some of the errors you might find here (Step 3):

http://sicklebrick.com/?p=59

Maybe it'll help, maybe not :smile:

Advertisement
Registered users don’t see ads! Register now!
Avatar
Spam Nugget
492 Posts
Posted Dec 19, 2011
Replied 2 hours later
thanks, thats really interesting!