HL2 Compile Toolkit

guys major update coming soon.

this will fix the compiling for half-life 2 bug.
and fix many other smaller bugs and smoothen out bits n pieces.

it will also contain several new features which are:

create qc file - this is a GUI for making QC files and will allow you to create static, physics or ragdoll models with breakable objects, sequences, choice between a list of prop data and surfaceprop settings without writing any script at all.(very useful, especially to non-expert users)

vtf to tga - you choose vtf files to convert, an output folder and the programme does the rest.

install models/skins - this enables you to select a certain folder and install the model or skin to the selected game or mod to work in game. this is useful if u have not made the model urself and are installing someone elses model - especially useful for modmakers
 
so whats the word on this. any thing yet. i am actively waiting for this to be in a working state as it would remove a huge road block for me in mapping.
 
should be out within the next couple of days, maybe even today if i work hard enough at it :).

hardwire, thanks for showing interest. and how will it help you out in mapping?
 
Hi Some1,
is that possible that steam as chage some file name in the steam folder,
coz now im having this error (a cannonfodder tool do the same)
cant load c:/.../steam/steamapp/***/sourcesdk/bin/filesystem_steam.dll

i try to search but there no file with that name there,but there a file name "filesystemopendialog.dll" maybe its that 1 now and there a filesystem_steam.dll in the css and hl2 folder

anyway im waiting for your next update too
:)


FIX,
but im still waitin for v 1.0
:cheers:
 
i need some assistance with the next update regarding compiling models to a mod.

could someone who knows how to compile to a mod directory and where all the files go etc, please reply to this post saying so and il then fire the questions at them.

please if help - it will speed up the update :)

thanks
 
HL2 Compile Toolkit Update - version 1.1.0 BETA

hey guys

the update is here!

the compiling part of the programme is basically the same except for the fix of the compiling for hl2 bug and smoothed out other errors.
the new features are Create QC File and Install Model/Skin.
the create qc file allows you to make a qc without writing one out. all you have to do is fill out the text boxes etc with the information of your model and then the programme will generate the QC for you. you can create static, physics or ragdoll qc scripts. i will be adding breakable models in an update soon too.

i have only performed a small amout of testing on the programme so there may be problems. also note, at times there may be a window which pops up saying something about charon software. just ignore this. there are also some other funny errors at work but this is a sort of sneak-peak version just for you guys so you can quickly get the use of it and test it for me. iv only JUST finished coding this update and thats why there r a few errors which i have not yet sorted.
even if you have used previous versions of the programme please READ THE 'HOW TO USE.TXT'.

www.jpole.pwp.blueyonder.co.uk/downloads.html

so there you go and please, please give me feedback. even if it is just to say that you encountered no problems. and ofcourse, if you have any problems im more than happy to help you out and to update the programme to work better in the future.
 
error

Guys when I try to open HL2_Compile_Toolkit.exe it gives an error: Compenent 'csstray6.ocx' or one of it's dependencies not correctly registered: a file is missing or invalid.

What could this be?
 
not your fault my friend, it is mine.
i knew something like this would happen which stops the whole programme from loading.

i got to go to school now guys but as soon as i get back in the afternoon il fix this up.

thanks kozak.
 
Update version 1.1.1 BETA

hey guys.

sorry for the last update not working, i really released it before it was ready. anyway iv done quite a lot of work on fixing it and testing it, so im fairly confident this will work for the most part.

this update has the same release notes of the last, its just a fix of the 1.1.0 problems:

HL2 Compile Toolkit v1.1.1 BETA
 
comon guys please give me some feedback here. i know some of you must have downloaded the new version because the post's views have gone up quite a lot.

please give me feedback even if you are having no problems.

thanks
 
Still can't find gameinfo.txt

Hey, man. I just downloaded the latest version of the program, and I'm having basically the same problem as the other guys, where the program can't find gameinfo.txt. I'm compiling for HL2 : SP, if that makes any difference.
Let me know what's up! I'm really digging the program, just wish it would work for me. The vtf and vmt's show up in the compiled models folder, but that's it.

-Zack
 
when you choose the compile options firstly check compile textures but nothing else. then compile model and copy to game.

thers a bug when you do it in a oner but i hav fixed this with the new version which should hopefully be released later today.

thanks for your feedback
 
Update version 1.1.3 BETA

in this update iv fixed numerous minor bugs, added a couple more small features and removed the task of setting your $modelname and $cdmaterials part of your QC correctly.

features added:
VTF to TGA - this couldnt be more simple. you select the folders where the vtf(s) are, and you choose an output folder where the tga(s) will go.

breakable models(in create qc) - it is now possible to use the Create QC File feature to make breakable models.


the major change in this update is that the model files will be installed to a different folder: "models\mymodels" instead of "models\'modelname'". and the programme will open up your model's qc file and rewrite the lines with $modelname and $cdmaterials to how to need to be.


HL2 Compile Toolkit v113 BETA

please post feedback. if this update has no real problems then i will remove the BETA tag from the name :)
 
Kozak said:
Guys when I try to open HL2_Compile_Toolkit.exe it gives an error: Compenent 'csstray6.ocx' or one of it's dependencies not correctly registered: a file is missing or invalid.

What could this be?
Same here,I had that problem.
 
Sieg, with which version of the programme? (look in how to use.txt)
 
works great here
very nice tool, keep up the good work
do you have any idea how i would go about on porting a weaponmodel with this tool or is it only made for mapmodels for the moment?
 
Hmm. I'm still having a problem. This time it doesn't even get to the compiling stage for the model, just kicks out an error "Runtime Error '5' -- Invalid Procedure Call or Argument".

Doing the tga to vtf conversion goes fine, I don't know what's wrong. I'd really love for this to work :)

-Zack
 
ok can give me more detail, when precisely are you getting this error?

sorry your getting problems Zack, but just hang in there because most people seem to have it working and im sure you will too soon.
 
i got that runtime error too and i think it has got to do something with making/using custom qc files.
if i make a qc file with the compile toolkit it compiles perfect but when i tried it with a qc file i already had from a hl1 model i made it gave the runtime error 5.
 
and this happens when you click OK in the 'Run Compile Script' option?
 
yes it happens when you press ok in the compile script screen ( to make the tool compile the model )
 
since i dont get the error, in this small update, it should give you a descriptive error message so that you can tell me it and i can solve the issue :)

updated version

BioTek said:
do you have any idea how i would go about on porting a weaponmodel with this tool or is it only made for mapmodels for the moment?
the answer to that is that you cant.
however, thats my next plan for the programme. i will get it done soon and tell you when
 
did you try the new version? what did the error message say?

if you havent tried it, please do. its just that i cant seem to get the errors you are and i need you to get them again for me and tell me the error message :)

and iv been coding the programme to allow for weapon compiling and i may PM you soon for a BETA Test, if your enthusiastic enough
 
invalid procedure call or argument

i just decompiled one of my hl1 created models, changed the texture to a tga, exported the smds again with this new texture and then used this qc file ( the one that came with the decompiled model, see attached)

when i create a qc with the tool itself it compiles fine
 
Seems to be working properly now, but it's telling me that the model has no sequences. How do I put this into my smd data in XSI? The model doesn't have any animation, so how do I set this up?

Here's what it said at the command window..


C:\>set toolkit_dir=C:\Documents and Settings\Zachary Strebeck\Desktop\HL2 Compi
le Toolkit
CREATING MODEL FOLDERS...
COPYING MODEL FILES...
C:\Documents and Settings\Zachary Strebeck\Desktop\HL2 Compile Toolkit\model_com
piling_files\testcube\testcube.smd
C:\Documents and Settings\Zachary Strebeck\Desktop\HL2 Compile Toolkit\model_com
piling_files\testcube\testcube_idle.smd
C:\Documents and Settings\Zachary Strebeck\Desktop\HL2 Compile Toolkit\model_com
piling_files\testcube\testcube_phys.smd
3 file(s) copied.
1 file(s) copied.
COMPILING MODEL...
c:\program files\valve\steam\steamapps\zackiechan60\sourcesdk_content\hl2\models
rc\mymodels\, C:\Program Files\Valve\Steam\SteamApps\zackiechan60\sourcesdk\hl2\
, path testcube
Working on "testcube.qc"
SMD MODEL testcube.smd
SMD MODEL testcube_phys.smd
ERROR: model has no sequences
ERROR: Aborted Processing on 'mymodels\testcube.mdl'
The filename, directory name, or volume label syntax is incorrect.
MODEL COMPILING COMPLETE
COPYING COMPILED MODEL FILES TO 'C:\Documents and Settings\Zachary Strebeck\Desk
top\HL2 Compile Toolkit/COMPILED_MODEL_FILES/testcube'...
C:\Program Files\Valve\Steam\SteamApps\zackiechan60\sourcesdk\hl2\models\mymodel
s\testcube\*.*
The system cannot find the file specified.
0 file(s) copied.
Press any key to continue . . .

I guess that's the only problem. It's gone further this time than ever!
 
i take it you dont want it to have any actual animation?
well just add this line to your qc:

$sequences idle "testcube" fps 1

this works because your reference SMD: testcube.smd, doesnt have any animation in it. so the model doesnt move.

and so you did the exact same thing this time and it worked when it didnt previously? just seems wierd because i dont remember fixing the problem, i just added descriptive error message in that update.

anyhow iv fixed it in the new version which should be coming soon
 
Someone had mentioned something about making the QC file in your program, and I did that. That's what made it work, I guess. Beats me. I'll try adding that line in the morning, and I'll update you. If I get this thing working, you will be my hero.

You should set up a paypal donate thingy on the download page. I would definately donate for your time and effort, man.

-Zack
 
It worked!
I had to try a few times (your syntax was wrong in the line for the qc you gave me - "$sequence, not $sequences), but I got it working.

Now I have to ask, what are all these files? Do I just need the .mdl file and the textures, or do I need to use the .phy, .vtx, and .vvd files somehow?

Thanks again, man. And I'm serious about the paypal donating!

EDIT - Sorry about the Double Post, I just woke up!

2nd EDIT - Having a problem seeing the texture on the model, in model viewer. Just have the purple and black boxes. Here's the qc, where should I be putting the textures for HL2 single player model?

$modelname "mymodels\testcube.mdl"
$cdmaterials "mymodels\"

$scale 1
$surfaceprop "metal_box"

$keyvalues { "prop_data" { "base" "Metal.Medium" } }


$sequence idle "testcube_idle" fps 1

$body studio "testcube"

$collisionmodel "testcube_phys" {
$mass 3
$concave
}

Help is much appreciated, for I am a moron with this stuff. Thanks!
 
sorry about the sequences line, i type too fast :p

about the textures.
firstly, have you selected the Copy to Game check box? if you didnt then thats your problem.
else it could be that you didnt set your model up with the texture properly. and did you edit the VMT file(s) ? if so then post it here too.
 
Ahh...I was doing "copy to game folder" when I compiled the model, but not when I converted the textures. Mission Accomplished, man.
 
well done orko!

i should be releasing another update tomorrow guys. version 1.2.0
im happy with its functionality of the programme so i have moved it on to 1.2 and removed it from BETA.

iv also added a few things:
-compile weapon models
-launch HLMV (half-life model viewer)
-automatically start Steam if its not running
-fixed the fairly major bug(the error you guys have been getting when using custom QCs) and fixed some other minor bugs
-rewritten some major bits of the programme's code so it will run more smoothly.


and if you guys have any ideas or suggestions for the programme then please tell me because i will be continuing to update the programme.

im also planning on writing another tutorial: about static and physics models largely with this programme. my current tutorial is on ragdoll models and it uses the programme for compiling.
 
this is neat, looking forward to an ironed out one, since all the other compiler's ive tried have been real odd job's converting from 3Ds max.
 
Some0ne said:
well done orko!

i should be releasing another update tomorrow guys. version 1.2.0
im happy with its functionality of the programme so i have moved it on to 1.2 and removed it from BETA.

iv also added a few things:
-compile weapon models
-launch HLMV (half-life model viewer)
-automatically start Steam if its not running
-fixed the fairly major bug(the error you guys have been getting when using custom QCs) and fixed some other minor bugs
-rewritten some major bits of the programme's code so it will run more smoothly.


and if you guys have any ideas or suggestions for the programme then please tell me because i will be continuing to update the programme.

im also planning on writing another tutorial: about static and physics models largely with this programme. my current tutorial is on ragdoll models and it uses the programme for compiling.



looking forward to it , its an awesome tool.
 
SomeOne, where is your current tutorial located? (the one on ragdolls)
 
and oh yeah i been thinking, if any moderator watches this post, sticky?
 
Update - version 1.2.0

ok here's the update i mentioned a few posts up^

unfortunately the Launch HLMV feature has been delayed because of problems with the app. however everything else is included and more.

please give me feedback to say that it is working ok for you(hopefully :p ). or tell me of the problems your getting

HL2 Compile Toolkit v120
 
hey

great update :D

edit:

i've must of done something wrong the first time it works now

once again very nice tool ;)
 
very cool tool was searching for weeks for a tool like this. thanks

Just got one problem.. it compiles without problems or errors.

It creates the .mdl .vtx .vmt .vtf .vvd files but when i open the model in the modelviewer i see nothing and after a short time the viewer crashes.
:(

Pls help
 
Back
Top