
Hello there Interlopers, it's time for me to unveil my rather small (but big) creation.
vSky automates your VMT creation process when making skyboxes. Those who tried, know, that it involves copious amounts of copy/pasting and you're always bound to make a stupid type somewhere. With LDR skyboxes you only need to work with 6 files, but with HDR it becomes 12-18.
So yes, it should make your life simpler.
It's fairly intuitive to use, and there's more info in the readme file in the distributive. (I can write a small tut if anyone wants, but really, it is as straightforward as it can get.)
Speaking of the distro. It's big. It's 5 MB compressed and 20 MB unpacked.
I am very sorry it is so large, but it's a Python quirk when making EXEs. I outlined the reasons in the readme, but I'll paste it here:Python is an interpreted high-level language, which
in layman terms means it's very easy to code with, but it isn't as fast as the
nightmare of all beginner HL2 coders (talking about C++ here) nor is it as fast
as Java, even. There are some plugins like PsyCo which supposedly speed up
computing, but luckily for the distributive size, I have utterly forgotten about
it. Otherwise I would include it and this would bloat to another 5 MB.
Anyway, since Python is an interpreted language, it also means that you need
to have Python installed on your computer. Otherwise there is nothing to inter-
pret your files. There are numerous tools, however, that will compile your code
into an executable which we all love since all we do is double click on it. The
problem with that is every library you use, you have to include it with your
compiled exe. As such, py2exe - the tool I used to compile this code, includes
all sorts of PYD's which are dynamic python libraries and compiles all sorts
of DLLs in order for the exe to run. Since I made a fancy GUI for this program
it had to include the user interface library which I used (Qt) and as you've
noticed, it's pretty large.
So yes, it's large but like with all software, you either use it or you don't. If I brush my C++ or C# skills up in the future, I might migrate to those languages, which will make everything MUCH smaller.
There's more info in the readme, so if you care you should read it. There's a few known issues, biggest one is strange lockups when loading a directory. It then works good as never after that lockup. I don't know what's causing it, because the python code ran silkysmooth so I take it it's some PyQt or py2exe fuckup.
EDIT: I just realised that if you specify a directory that does not contain "skybox" in it, the VTF location inside the VMT would be given as "<last character of the dir you specified>/<name you gave>+extension". SO YOU GOTTA HAVE A DIRECTORY WHICH HAS "skybox" in it. I should probably fix this.
I have the source at http://individual.utoronto.ca/vcool/vsky01a.rar It has the UI file as well, if you wanna look at that. It also has the readme, which should explain it a bit.
Oh, by the way, you should run vsky.exe to make this work.
---
There, my contribution to the internets is done. It's 3 am and I am hungry and I need to study for exams. And even though this whole "program" is child's play for a more experience coder, I'm quite proud of myself.
I also started to respect programmers more. You realise that making the program isn't actually the most significant task. Writing the readmes, making sure all the files are included and for a more complicated program - writing documentation, is all a headache. Seriously guys, +1 respect for you.
If I didn't majorly fuck up I'll post this at SPUF and Polycount (although there aren't alot of people working with source there). You are free to spread the word as well.
I really hope this will make more people use custom skyboxes because new stuff is always great.
kfoodtiem









