PDA

View Full Version : studiomdl.exe crashing on 2 FA models


Degree:N
December 7th, 2005, 11:45 AM
I while ago I encountered an FA model that I could not compile after I decompiled it with mdldec.exe. Recently it has happened again with another FA-based model file.

The recent file has the following credits:
Dragunov SVD

Model: Darkstorn, FA Team
Skins: Snake, Splinter & Darkstorn, FA Team
Scope: Shrike, Lonewolf, The Lama, Insulaner, Yamantaka
Uv-maps: Bullet_Head & Darkstorn, FA Team
Sounds: FA Team
Compile: -[Crosshair]-


The previous file had no readme.txt (credits) but the .zip file was named v_m4_clanrra. I can email these files to anyone who may know how to re-compile them or post screenshots of these models.

If anyone can fill me in on why these files may possibly not compile or a method to work aound this issue that would be appreciated.

Nookie
December 7th, 2005, 04:24 PM
do u have more than 5atachments?
are all textures in 256indexed colours?
is the model smaler than 3.5mb when compiled?

O_o


greez, Nookie
:D

-[Crosshair]-
December 7th, 2005, 07:43 PM
Remove the transparency lines in the .qc file and compile. Then open the model in HLMV and apply transparency to the correct textures manually and save.

Degree:N
December 7th, 2005, 08:55 PM
-']Remove the transparency lines in the .qc file and compile. Then open the model in HLMV and apply transparency to the correct textures manually and save.
I tried that for the SVD and it didn't work, I will check with the other file shortly.

do u have more than 5 attachments?
Are all textures in 256indexed colours?
Is the model smaler than 3.5mb when compiled?
I'm at work atm, I'll check it out when I get home but I think the model is less than 3.5MB compiled and has less than 5 attachments.


The link for the SVD is here:
http://www.modelpost.org/model.php?view=SVDTS.rar

-[Crosshair]-
December 7th, 2005, 09:01 PM
Aha that's the one I hacked together. I can't believe a douchebag uploaded it with a shitty HLMV shot. What do you want to do, exactly?

Modest Genius
December 7th, 2005, 09:21 PM
turn on the error log then post it here

Degree:N
December 8th, 2005, 10:03 AM
-']What do you want to do, exactly?A simple .qc convert to replace a different weapon.


turn on the error log then post it here
Is the GUI StudioMDL output OK? For the SVD:

[Performing Sanity Check]
QC file loaded...PASS
Can read QC...PASS
Can find studiomdl.exe...PASS
Can build command line...PASS
All tests passed!

[Compiling QC file - "v_m82.qc"]
[Compiler output follows]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
[Compiler execution completed]
An .mdl file is created with a 0kb size, that produces a non-fatal error when loaded into HLMV.

For v_m4_clanrra:

[Performing Sanity Check]
QC file loaded...PASS
Can read QC...PASS
Can find studiomdl.exe...PASS
Can build command line...PASS
All tests passed!

[Compiling QC file - "v_m4.qc"]
[Compiler output follows]
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
[Compiler execution completed]

So the same result as the other file.

Modest Genius
December 8th, 2005, 06:30 PM
tbh, i think thats different. something like the error log should have gone between those line breaks

try using my compile bat (attached). place in the same folder as studiomdl, then click and drag the .qc onto it (or use open with). should produce a log.txt in the same folder as the .qc.

EDIT: youll need to modify the .bat first. open it in notepad, and change H:\models\studiomdl.exe to point to your own studiomdl location

EDIT: EDIT: post the .qc here too

Degree:N
December 8th, 2005, 10:00 PM
tbh, i think thats different. something like the error log should have gone between those line breaks

try using my compile bat (attached). place in the same folder as studiomdl, then click and drag the .qc onto it (or use open with). should produce a log.txt in the same folder as the .qc.

EDIT: youll need to modify the .bat first. open it in notepad, and change H:\models\studiomdl.exe to point to your own studiomdl location

EDIT: EDIT: post the .qc here too
I get this message but no log.txt:

http://forums.worldatwarmod.com/attachment.php?attachmentid=1593&stc=1&d=1134082772

-E-
I just figured out how to use studiomdl from the command line and got this output after which studiomdl.exe crashed:

http://forums.worldatwarmod.com/attachment.php?attachmentid=1596&stc=1&d=1134083886

Modest Genius
December 8th, 2005, 10:34 PM
i cant remember exactly what the limit is, but that looks to me as if youre trying to compile a model with more polys than can be handled (simply from the sheer size of the models and mesh, and the fact it hangs on models). youll need to split it into several smaller reference smds and compile it that way

Degree:N
December 9th, 2005, 01:16 AM
How would I go about doing this?

Modest Genius
December 9th, 2005, 01:13 PM
its quite simple actually

select a couple of groups and cut them out of the ref smd. then paste them into a new file, and call it ref2.smd. make sure you take the materials with you.

then add an extra line to the .qc under the existing ref.smd, as ref2.smd

mind you, i havent considered bones here, which might be awkward (milkshit doesnt like moving bones around)

give it a try anyway, and see if it compiles. any errors in the compiled model we can fix later

BEFORE you do that though, go and count how many polys you have. if its more than 2000, then my guess is probably correct

Degree:N
December 9th, 2005, 10:39 PM
Thanks, I will try that. Possibly a redundant question: if the .qc won't compile now, how was it compiled to start with?

Modest Genius
December 9th, 2005, 10:40 PM
dunno, depends what you did to it

plus there may be more recent compilers which work at higher polycounts

or the final possibility is that im totally wrong

Degree:N
December 9th, 2005, 11:27 PM
dunno, depends what you did to it
Well, I didn't make this model, I downloaded it which means that the last person to compile this model was probably Crosshair.

I have not had success splitting the .smd files, I get the same error complete with 0kb output .mdl file. I have also tried deleting some groups without success.

Original .mdl poly count: 3217

Modest Genius
December 9th, 2005, 11:53 PM
what DID you do to it?

pretty sure thats over the polycount

Degree:N
December 9th, 2005, 11:59 PM
what DID you do to it?
I downloaded the model and decompiled it with mdldec12.exe (via Jed's HLMV). I am now trying to compile it with studiomdl.exe. The model files have been modified as per your instructions in this thread only, no other changes have been made.

Modest Genius
December 10th, 2005, 12:02 AM
so, uh, why do you want to recompile it? when you already have the mdl file?

Degree:N
December 10th, 2005, 12:06 AM
Well, assuming I could successfully recompile it, I was going to then modify the animation order in the .qc file so it would be a replacement for a different weapon.