Check out Half-Life Re-imagined competition results!
Check out Skewing textures in Hammer, our newest tutorial!
Say hello to Daedle, our newest member!

logo

Site Stuff

Reference

Maps

Community

ShoutBOX

Poll

Feeling Blue

What's your favourite shade of blue?

Azure

11

Cobalt

24

Turquoise

7

Cyan

9

Royal

5

Teal

3

Onliners

36 secs

SourceSkyBoxer

3 mins

ZikShadow

3 mins

WorstMapper

17 mins

James Luke

18 mins

Suparsonik

20 mins

freedslave

20 mins

Dr. Orange

Affiliates

A gaming and technology blog by TWHL admins Penguinboy and Ant. A music blog by TWHL users Ant and Hugh.

[UTILITY] Compilator 3 Public Beta

1 2 3 [4]

Forums > General Discussion

05 Oct 10, 22:36
By Crollo
avatar
Trollo
Quote:
Yes. But as you may know, the Source SDK is a broken down mess. Im not implementing Source support until Valve fixes it.


Was just about to say...
09 Jul 11, 19:43
By The Mad Carrot
avatar
Karottenjung
Yes, im still working on the damned thing.

Here's the new Profile Manager:


It may be a tad too big for your liking but i wanted to fit all of the stuff on one form and not use multiple forms, like the Default Paths form. That has been taken out and merged with the Profile Manager form.
09 Jul 11, 20:07
By DiscoStu
avatar
Member
Ah das ist gut!

At least looks promising at a glance.
09 Jul 11, 20:10
By Captain Terror
avatar
when a man loves a woman
Nice to see you're still working on this!
= )
09 Jul 11, 21:27
By ninja defuse
avatar
Member
can i drag and drop a map file to compile?
10 Jul 11, 00:15
By The Mad Carrot
avatar
Karottenjung
No.
01 Aug 12, 19:27
By The Mad Carrot
avatar
Karottenjung
Can someone confirm for me that you can compile a Source map outside Hammer using only a batchfile?

Last time i tried, it would always lead to vbsp crashing and many missing material messages would appear during the compile process.
01 Aug 12, 19:48
By Captain Terror
avatar
when a man loves a woman
idk, but i know the current version of vbct works good, or so i've been told. (does that mean "yes" to your quetstion?)
01 Aug 12, 20:46
By The Mad Carrot
avatar
Karottenjung
No, that does not mean "yes " to my "quetstion". I need to know if it's currently possible to compile a Source map outside Hammer with a batchfile without causing those missing material error and that vbsp crash.
01 Aug 12, 23:05
By Captain Terror
avatar
when a man loves a woman
Yes, i read it when you posted it the first time(=P), tho doesn't the fact that VBCT works, imply that you can?
02 Aug 12, 00:11
By The Mad Carrot
avatar
Karottenjung
True, but when i tried it, it didn't work. Maybe i was missing a parameter? Perhaps i should try it again first.
02 Aug 12, 00:44
By JeffMOD
avatar
Call 141.12
AFAIK, you need to be running the SDK to use the compile tools, but you don't need to run them via Hammer. (That's the way it works with model compiles, anyway, I'd assume the map compile tools have the same DRM built-in.)
If it won't compile via a batch file with the SDK runnning, then I dunno. I'm not at my computer right now, so I can't test it.
02 Aug 12, 16:57
By The Mad Carrot
avatar
Karottenjung
Well I've just tried it. Made a simple map in Hammer for Half-Life 2 using only vanilla textures. First i compiled it with Hammer to make sure the map is error free, and it was.

Next i created a batch file and placed it in sourcesdkbinsource2009bin. Then I run it and guess what? Vbsp still crashes and i get missing material errors, just like many years ago when i last tried it.



What the fucking fuck?

Here's my batch code:

vbsp.exe -game "d:steamsteamapps<USERNAME>half-life 2hl2" "D:Steamsteamapps<USERNAME>sourcesdk_conten
thl2mapsrccompilator3_test_level.vmf"
vvis.exe -game "d:steamsteamapps<USERNAME>half-life 2hl2" "D:Steamsteamapps<USERNAME>sourcesdk_conten
thl2mapsrccompilator3_test_level"
vrad.exe -game "d:steamsteamapps<USERNAME>half-life 2hl2" "D:Steamsteamapps<USERNAME>sourcesdk_conten
thl2mapsrccompilator3_test_level"


I'm still thinking I'm missing some kind of parameter that vbsp needs in order to run properly. Only God knows what.
02 Aug 12, 21:36
By Penguinboy
avatar
Haha, I died again!
I'm reasonably sure that Process Explorer will tell you what parameters were used to launch a running application.
02 Aug 12, 22:23
By The Mad Carrot
avatar
Karottenjung
Yes, i looked at the compile process when i compiled with Hammer, couldn't find anything other that the -game parameter and vmf path.

You know what, screw Source support, it's not working.
04 Jul 13, 23:56
By The Mad Carrot
avatar
Karottenjung
Nnnnnng...
05 Jul 13, 21:37
By JeffMOD
avatar
Call 141.12
Source support still giving you trouble? You'd think it'd be easier to get the compile tools running than that.
06 Jul 13, 14:50
By The Mad Carrot
avatar
Karottenjung
Haven't tried it again since my post on 02 Aug 12 (also on this page) so no, there's not going to be Source support, which is bummer because I'd really want to support it, but Valve isn't letting me. Get your stuff fixed, Valve. Sheesh.

I was about to release the public beta and at the last minute I found another serious bug, so I'm busy fixing it.
06 Jul 13, 18:07
By JeffMOD
avatar
Call 141.12
Ah, I see.
06 Jul 13, 23:43
By ciba43
avatar
Member
Hope this gets out soon. Sounds fun! Need to try it out grin - :D
27 Jul 13, 12:08
By The Mad Carrot
avatar
Karottenjung
Compilator 3 Public Beta is here!

Oh boy! badass - :badass:
27 Jul 13, 12:12
By Captain Terror
avatar
when a man loves a woman
Does this work for source muzz?
30 Jul 13, 19:13
By The Mad Carrot
avatar
Karottenjung
No, no Source support. It doesn't let me, I tried. :/

Beta 1.1 is now up. smile - :)
02 Aug 13, 18:28
By Malle
avatar
Member
tip: update your website :p

EDIT:

the Dialogs to choose folders make them all the same i dont need to click hundred folders but can use shortcuts to them.. this takes too long :p

and a running pictogram on my bar is also a thingy.. i dont see one yet, might be because i am in the setup part

edit edit:

if i click on the button to get a dialog Game/Mod: i get this..

###########################################
#########################################
################

Compilator 3 Version 3.0.0.0 - Error Log

###########################################
#########################################
################

###########################################
#########################################
################
User Info:

Operating System: Microsoft Windows 7 Ultimate
Architecture: 64-bits
Culture: nl-NL
Resolution: 1680x1050
Physical memory: 4,95 GB / 7,95 GB
Virtual memory: 8191,34 GB / 8192,00 GB

Exception Info:

Exception class: System.NotImplementedException
Exception message: De methode of bewerking is niet geļmplementeerd.
Source file: (Unknown)
Method: (Unknown)
Line number: (Unknown)
###########################################
#########################################
################
02 Aug 13, 19:31
By The Mad Carrot
avatar
Karottenjung
Quote:
the Dialogs to choose folders make them all the same i dont need to click hundred folders but can use shortcuts to them.. this takes too long :p


Uhm... what? Not sure what you mean...

Quote:
if i click on the button to get a dialog Game/Mod: i get this..


The Select Game/Mod button?
04 Aug 13, 20:05
By The Mad Carrot
avatar
Karottenjung
Beta 1.2 is up, fixed the issue Malle reported. smile - :)
07 Aug 13, 19:41
By The Mad Carrot
avatar
Karottenjung
Beta 1.3 is up.

Some small bug fixes and improvements here and there.
I also got rid of those pesky Folder Browser Dialogs and replaced them with the Vista style Open Folder Dialogs, which looks pretty much the same as a standard Open File Dialog in Windows Vista and 7. Don't know about Windows 8 though.
12 Aug 13, 11:53
By Xylem
avatar
Member
I'm back on Windows, but just before installing it on my SSD I decided to try the latest version of the Compilator with WINE under Kubuntu. Happy to say it worked! All I needed to do was install .NET Framework 4.0 with Winetricks and I was even able to compile. Great update!

Here is a screenshot: https://docs.google.com/file/d/0B1ur-tndF9i
DdENzMkFOajBCSE0/edit?usp=sharing


Also Sledge *mostly* worked.
15 Oct 13, 21:40
By The Mad Carrot
avatar
Karottenjung
Nice! grin - :D

----------

Woops. I messed up that last update, there's an issue that causes the application not to start at all.
I'll have a new release out a.s.a.p. Please bear with me. smile - :)
16 Oct 13, 15:55
By The Mad Carrot
avatar
Karottenjung
Beta 1.5 is here:

- Added new tool options introduced in VHLT v31:
-drawoverload, -drawnudge and -limiter #
- Critical bug from previous update fixed. Program should now start normally
- Some minor changes and fixes here and there, nothing too exciting to mention
03 Feb 14, 10:41
By Penguinboy
avatar
Haha, I died again!
Hey TMA, I'm not sure if you're still working on updates for this, but I have been investigating Source compiling for Sledge and I am not having any trouble using the latest version of vbsp. Perhaps the SteamPipe update has fixed your Source compile troubles? It may be worth trying again with the latest build tools (which is the 2013 version, your screenshot above is showing the 2011 tools and the pre-SteamPipe game paths).

Here's the VBSP parameters I have been testing with (just taken from Hammer's command line):
03 Feb 14, 18:33
By The Mad Carrot
avatar
Karottenjung
Thanks, will give adding Source support another go.

Could you also help with adding in-app compiling? You know, not having an external console window, instead all the compiling stuff happens inside the application in a RichTextBox?
03 Feb 14, 23:15
By Penguinboy
avatar
Haha, I died again!
Sure, that's fairly easy to do. When you create the Process object to run the batch in .NET, set `UseShellExecute` to false and `RedirectStandardOutput` to true, add an event handler for `OutputDataReceived`, and then call `BeginOutputReadLine` after you start the process. Your event handler will get called when the process has output a line of text for you to append to your textbox.

Then you can subscribe to the `Exited` event, which gets called when the process finishes. This is the best way to handle it because you don't have to mess with any threads in your application code.

(If you use the `WaitForExit` function instead of the `Exited` event, you will need to start the process in a new thread so that you don't block your UI. If you do that, you will need to use the Invoke/BeginInvoke method in WinForms to switch back to the UI thread when appending lines to the text box. This is annoying, so the event is a better option in this case.)

Set `CreateNoWindow` to true to prevent the command window from opening. You can see how Sledge is starting a process here (wip).
04 Feb 14, 04:49
By Captain Terror
avatar
when a man loves a woman
Quote:
Thanks, will give adding Source support another go


Yes! smile - :)
1 2 3 [4]

Forums > General Discussion

Login to Reply

You must be logged in to reply.