|
When I launch Batch Compiler I get the following error message: |
|
Batch Compiler is written in C# .NET and such as requires the .NET runtimes to run. See the downloads page for more information. |
|
When I launch Batch Compiler I get the following error message: |
|
Batch Compiler is written in C# .NET and such as requires the .NET runtimes to run. See the downloads page for more information. |
|
When I open an old preset file I get the following error message: |
|
Batch Compiler v3.X.X is not backwards compatible with Batch Compiler v2.X.X. This means that old preset files will not work and you will have to recreate them. |
|
How can I convert a preset I've saved using one specification file to a preset of another specification file? |
|
This can be accomplished by importing the preset. To do this:
|
Ask a question...
I am using 2 wads halflife wad and a cusom wad.
Seems how everyone that plays half life already has the first, i only need to include whats been used in the second.
Is that possible?
Thank You
I have been extremely pleased with BC since I have started using it a few days ago.
im trying to make the map so you switch sides every round. it works fine when i compile it in valvehammer and it all works.
but when i use batch.. it wont compile at all
heres the log:
hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlcsg -----
Command line: "C:\Documents and Settings\Mats\Skrivbord\allt Andreas\Ny mapp\hlcsg.exe"-noskyclip -wadinclude tractor.wad -wadinclude czcs_militia.wad -wadinclude halflife.wad -wadinclude czde_dust.wad -wadinclude torntextures.wad -wadinclude czcs_office.wad "C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.map"
Entering C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.map
Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ off ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]
Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
[tractor.wad]
[czcs_militia.wad]
[halflife.wad]
[czde_dust.wad]
[torntextures.wad]
[czcs_office.wad]
54 brushes (totalling 324 sides) discarded from clipping hulls
CreateBrush:
(37.95 seconds)
SetModelCenters:
(0.12 seconds)
CSGBrush:
(10.89 seconds)
Error: Exceeded MAX_SWITCHED_LIGHTS
Description: The maximum number of switchable light entities has been reached
Howto Fix: self explanitory
----- END hlcsg -----
hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlbsp -----
Command line: "C:\Documents and Settings\Mats\Skrivbord\allt Andreas\Ny mapp\hlbsp.exe""C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.map"
>> There was a problem compiling the map.
>> Check the file C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.log for the cause.
----- END hlbsp -----
hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlvis -----
Command line: "C:\Documents and Settings\Mats\Skrivbord\allt Andreas\Ny mapp\hlvis.exe"-full "C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.map"
>> There was a problem compiling the map.
>> Check the file C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.log for the cause.
----- END hlvis -----
hlrad v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to (merlinis@bigpond.net.au)
----- BEGIN hlrad -----
Command line: "C:\Documents and Settings\Mats\Skrivbord\allt Andreas\Ny mapp\hlrad.exe"-lights "C:\Documents and Settings\Mats\Skrivbord\mappar\Ny mapp\andreas.rad""C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.map"
>> There was a problem compiling the map.
>> Check the file C:\Documents and Settings\Mats\Skrivbord\dw_d-day\dw_d-day.log for the cause.
----- END hlrad -----
get them here:
http://www.ammahls.com/forum/viewtopic.php?t=81
Second, you are wadincludeing wads that should not be included. do not include the halflife.wad or any other standard WAD that comes included with the mod you are mapping for.
Third, the error means that you have too many switchable light entitys shining on any given face. Theese can be light entitys are are triggered by a switch or switchable texture lights. I seem to recall te maximum allowed was 4 shining on any individual face.
Basicaly, you have too many lights that illuminate a particilar part of the map that can be individually switched on and off. If you want to have many lights turn on and off at once, make them all have the same properties (target name, style ect... the color can be difrent).
And just FYI, this really isn't the place to be posting compile errors. first check out:
http://www.slackiller.com/tommy14/errors.htm
and if all else fails, these are the forums to look at:
http://www.chatbear.com/board.plm?b=390
Heres how it goes, I open Batch Compiler (which i just downloaded), set all the presets as I assume they should be, put the location of the VMF file I'm trying to compile in the bar (with remember file and run), and hit Run.
Error creating batch script.
Error: Output path is not set or is invalid.
And when i try to compile it with hammer, it just says it could not locate the file (after telling me exactly where the file is).
Before I posted her i tried reinstalling it a few times.
Everything else is setup just fine.
When I attempt to compile, I get a vbsp error "Entrypoint teir0" or something very similar. I click ok several times before the dialogue box dissapears, and am left with a message in the compile log
"Can't load materialsystem"
When I have the variable stage pointing to the Gameinfo.txt file in the HL2 folder, It compiles normally, except the necessary DOD materials aren't available,....cause it's not look'n in the DOD:S dir.
"can't load <material name>",........etc.
I also tried running animahls customtools,....but I get a different error when combined with either the dod variable, or the HL2 setting
"Extra App set to 211, but no SteamApp ID"
Seen this before?
I guess I could just put the materials I want to use in the appropriate HL2 Materials folders, ...but shouldn't it work by looking for the proper Gameinfo.txt file for DOD?
LB
I think it has something to do with the new Source update.
Someone please figure this out, because the in Hammer compiler sucks. It keeps freezing on me at the end of portal flow. PLEASE HELP.
Anyone have a cure?,...suggestion?
I haven't had a successful compile yet because of this.
-Make sure Steam us running when you compile
-If you are using CST (amckern's tools), make sure that they are in the SourceSDK's BIN folder (where the valve compile tools are)
-For the Extra App ID, try commenting out the 'ToolsAppId 211' line in the gameinfo.txt by adding '//' to the beginning of the line. I think you only have to do this to the one in the mod's folder. For more info, you can look here:
http://developer.valvesoftware.com/wiki/Talk:Source_SDK_Bugs
The difference between Hammer and BC may be that Hammer starts your game in networking mode. You may be able to make BC do this by adding +sv_lan 1 to the Additional Parameters field under the Steam tab.
i got trouble compiling my.vmf with your batch compiler, it says:
"SteamStartup() failed: SteamStartup(0xf,0x0012E938) failed with error 1: The registry is in use by another process."
Other websites tell me to restart Steam, but that doesn't help a bit.
Can you help me?
/e
HL2CG does work.
You can run an automatic update from within Batch Compiler (Help menu) to get the latest specifications for the new tools.
And i did set up the Valveproject directory to a position with a gameinfo.txt file, its the hl2 directory.
* Could not execute the command:
Copy File "C:\Valve\Condition Zero\czero\maps\Trial map"
* Windows gave the error message:
"Access is denied."
Can u provide me with a solution
frank
Please Help!!!
I have NET 2.0
@echo off
echo ###################################################
echo # Batch Compiler #
echo ###################################################
echo ###################################################
echo # Please report bugs to: ryansgregg@hotmail.com #
echo ###################################################
echo.
echo Written At: 12/6/2006 5:48 PM
echo BC Version: 3.1.2.0
echo.
"D:\Program Files\Valve Hammer Editor3\hlcsg.exe" -wadautodetect -estimate "D:\Documents and Settings\Administrator\Desktop\Maps\pillars\pillars"
if ERRORLEVEL 1 goto failed
"D:\Program Files\Valve Hammer Editor3\hlbsp.exe" -estimate "D:\Documents and Settings\Administrator\Desktop\Maps\pillars\pillars"
if ERRORLEVEL 1 goto failed
"D:\Program Files\Valve Hammer Editor3\hlvis.exe" -full -estimate "D:\Documents and Settings\Administrator\Desktop\Maps\pillars\pillars"
if ERRORLEVEL 1 goto failed
"D:\Program Files\Valve Hammer Editor3\hlrad.exe" -extra -bounce 1 -sky 0.5 -smooth 80.0 -sparse -estimate "D:\Documents and Settings\Administrator\Desktop\Maps\pillars\pillars"
if ERRORLEVEL 1 goto failed
if ERRORLEVEL 1 goto failed
goto succeeded
:failed
echo.
echo There was a problem compiling your map, check your pillars.log file for errors.
:succeeded
echo.
if exist "D:\Documents and Settings\Administrator\Desktop\Maps\pillars\pillars.log" "D:\WINNT\SYSTEM32\notepad.exe" "D:\Documents and Settings\Administrator\Desktop\Maps\pillars\pillars.log"
hlbsp: Error: Cant open as_wrex.po
how do i fix
What you've posted is your batch file, not your error log.
hlbsp: Error: Cant open as_wrex.po
how do i fix
Sounds like there was an error in hlcsg.
However, neither of these errors are bugs in Batch Compiler, I recommend that both of you try the VERC forums for general mapping problems where you'll get a faster more appropriate response.
i haven't gotten to the point of compiling just yet, so i can't speak to its stability, but i have noticed that in the source tools advanced and source tools normal specifications, there is no tick box for ldr/hdr.
i have used your tool pretty extensively in the past on my xp machine, and while i've never compiled under hdr, the option was always there.
this is the only option i am really concerned with, but i notice, in comparing what i have up right now with the tutorial you provide, that there are some other options missing, as well...
as far as i can see, under RAD, they are:
soft sun, chop, and max chop.
i hope in the end that i can run compiles from your tool in vista, but for now, do you have any idea why these options wouldn't be appearing.
btw, i have gone back several times and followed the tutorial in case i had missed a step.
thanks in advance, and thanks for the tool...hope i can continue using it.
The options haven't changed too much since I wrote the tutorial. All the options you listed are present in the current specifications.
however, when i tried to compile, i got this error:
error wirting batch file: c:\prgram files\batch compiler\compile.bat
i went back through the setup again, and everything is as it should be, except that when i press the associate with BCP files button, i get this error message:
an unhandled exception has occured in your application. if you click continue, the application will ignore this error and attempt to continue. if you click quit, the application will shut down immediately. access to the registry key is denied.
and then here are the details of that:
************** Exception Text **************
System.UnauthorizedAccessException: Access to the registry key is denied.
at Microsoft.Win32.RegistryKey.Win32Error(Int32 errorCode, String str)
at Microsoft.Win32.RegistryKey.SetValue(String name, Object value)
at BC.Core.GUI.COptions.AssociateFileType(String sFileType, String sExtension, String sApplicationPath, String sIconPath, Int32 iIconIndex)
at BC.Core.GUI.COptions.AssociateFileType(String sFileType, String sExtension, String sApplicationPath)
at BC.Core.GUI.COptions.btnAssociateWithBCPFiles_Click(Object sender, EventArgs e)
i'm sure that the chances are just as good that i'm being an idiot with this, but i am just so frustrated with vista's backward compatibility at this point that i have very little patience.
thanks
why wouldn't you recommend admin on my own machine? i thought vista sorted out the drive by problems that xp had with admin accounts.
thanks for your quick responses. i know this is more a vista problem and a me problem than your problem, but you've been gracious about it, anyway.
even though i'm logged on as admin, it apparently doesn't allow me access to the registry by default. i right clicked on the file and selected "run as administrator" and i'm no longer having any issues.
the map is compiling now. hopefully you won't have to hear from me about vista again.
thanks again for the tool and your time. it's a huge help.
When I compile it with BC I get:
Warning: Illegal Brush (edge without opposite face): Entity 134, Brush 1
The specified brush is an func_illusionary What is exactly wrong with the brush, what does this specific error mean?
Besides that, I also get a leak if I compile with BC, trying to track it down atm.
EDIT: Basically, the leak is unfindable. I have tried boxing the map and tracking it down with successive smaller boxes, but every time I track one down, another one pops up, and besides, the one tracked down in a 32x32x32 box has no discernible leak, everything lines up.
I copied a part of my map to a new file, and the specified brush stopped being illegal, and another brush, a func button started being illegal for another reason....What am I doing wrong with BC, as VHE says everything is fine but then everyone knows vhe a shit compiler, but what explains the differences?
A great many of us have been stumped by leaks in the past, but they always turn out to be tangible. Have you tried tracing the pointfile yet? As for discrepancies between Hammer and Zoners Tools, Hammer can only find certain simple errors, so your map may still have errors even if Hammer reports that everything is fine.
Well about the leak, still have not found it, I copied the corridor to a new rmf, and trying to find it, but I still am unable to find it. I loaded the pointfile, the line goes straight through a brush, which is not an entity. Besides that, the other lines are outside. I tried boxing my lvl and putting a very bright light inside, but it appears the light just goes right through cause it was the same brightness inside or outside my hallway.
"To begin with, hlfix outputs floating point coordinates to .map files as opposed to VHE which rounds all coordinates to integers. This alone solves a number of typical mapping problems. hlfix also performs three phases of geometry corrections"
Guess it must be related to this, probably some where on my design, I got something offgrid, and VHE just rounds it to an integer, making it snap to the grid, while hlfix keeps it offgrid.
Think is, I am pretty sure I already exported it through vhe and skipped the hlfix stage once.
It compiles fine, but as soon as I load the map, it gets 2 bars in the loading bar and then crashes with the error:
"File Read Error".
Ive tried tweaking a few options, but nothing.
Any ideas?
how do i fix this
When I come to compile a map again I firstly get an error:
Error Writing Batch File:
C:\Program Files\Batch Compiler\compile.bat
I went into Options>Setup to see if anything was wrong, and after clicking on BCP Files I get an error telling me about JIT Debugging - I have searched the internet to find nothing to help me solve this!
Batch Compiler Core
Error writing batch file:
C:\Program Files (x86)\Batch Compiler\compile.bat
I'm running Vista Business x64. I would speculate this is a Vista problem, since apps aren't supposed to write to the program files directory. I have not confirmed, but SP1 was supposed to remove the file virtualization directory.
Running Batch Compiler As Administrator seems to fix this problem, since it gives it elevation to do whatever it needs to do.
compiler (whichever i use) always comes up with an error that wad file cannot be opened.
ive used multiple compilers and tried different wads!
*as there are no wads there are no textures in my maps*
here is one log>>
** Executing...
** Command: Change Directory
** Parameters:
** Executing...
** Command: Copy File
** Parameters: "E:\Counter-Strike\cstrike\test.map" "E:\Counter-Strike\cstrike\maps\test.map"
** Executing...
** Command: D:\VALVEH~1\tools\qcsg.exe
** Parameters: "E:\Counter-Strike\cstrike\maps\test"
qcsg.exe v2.8 (Jan 31 2000)
---- qcsg ----
entering E:\Counter-Strike\cstrike\maps\test.map
CreateBrush: 0...1...2...3...4...5...6...7...8...9... (0)
CSGBrush: 0...1...2...3...4...5...6...7...8...9... (0)
WARNING: couldn't open \documents and settings\maj sarwar\desktop\zhlt253-17\zhlt.wad
0 seconds elapsed
** Executing...
** Command: D:\VALVEH~1\tools\qbsp2.exe
** Parameters: "E:\Counter-Strike\cstrike\maps\test"
qbsp2.exe v2.2 (Dec 28 1998)
---- qbsp2 ----
writing E:\Counter-Strike\cstrike\maps\test.prt
0 seconds elapsed
** Executing...
** Command: D:\VALVEH~1\tools\vis.exe
** Parameters: "E:\Counter-Strike\cstrike\maps\test"
** Executing...
** Command: D:\VALVEH~1\tools\qrad.exe
** Parameters: "E:\Counter-Strike\cstrike\maps\test"
** Executing...
** Command: D:\VALVEH~1\tools\qrad.exe
** Parameters: +map "test"
material "tools/toolsnodraw" not found.
Material not found!: TOOLS/TOOLSNODRAW
material "metal/metalwall032f" not found.
Material not found!: METAL/METALWALL032F
material "concrete/concretefloor031a" not found.
Material not found!: CONCRETE/CONCRETEFLOOR031A
maybe it has to do with the new format or something, who knows.
its also looking for the filesystem.dll file in the wrong place. its not in bin/orangebox/bin. seemed to work fine once i copied into that folder though, well with the exception of the missing textures.
Every time i try to compile a map (i never have ever gotten this error before) i get this:
Submit detailed bug reports to (amckern@yahoo.com)
----- BEGIN hlcsg -----
Command line: "D:\Back up 22\Valve Hammer Editor\zhlt34x86final\hlcsg.exe"-nowadtextures -wadinclude decals.wad -wadinclude halflife.wad -wadinclude liquids.wad -wadinclude zm_snowbs02.wad "C:\Documents and Settings\Stojke\Desktop\zm_snowbase_cla"
Entering C:\Documents and Settings\Stojke\Desktop\zm_snowbase_cla.map
Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max lighting memory [ 6291456 ] [ 6291456 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
clip hull type [ legacy ] [ legacy ]
onlyents [ off ] [ off ]
wadtextures [ off ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
nullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]
Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
[decals.wad]
[halflife.wad]
[liquids.wad]
[zm_snowbs02.wad]
2 brushes (totalling 12 sides) discarded from clipping hulls
CreateBrush:
(0.33 seconds)
SetModelCenters:
(0.02 seconds)
CSGBrush:
(1.19 seconds)
Warning: Wad file '\decals.wad' not found
Warning: Wad file '\halflife.wad' not found
Warning: Wad file '\liquids.wad' not found
Warning: Wad file '\zm_snowbs02.wad' not found
Error: Could not open wad file \decals.wad
Error: Could not find WAD file
Description: The compile tools could not locate a wad file that the map was referencing.
Howto Fix: Make sure the wad's listed in the level editor actually all exist
Error: Could not open wad file \halflife.wad
Error: Could not open wad file \liquids.wad
Error: Could not open wad file \zm_snowbs02.wad
I have tried moving the wads, and everything. All the wads exist, and are on the right path. But the compiler tools tell me they can not find them...
Sorry for my mistake
Injecting Icon...
Cannot Make EXE!
Bad file name or number
Please make sure ENGLISH is your primary language for "non-unicode programs" on your Windows Language bar or control panel.
I don't understand, my computer is in english and all seems good.. I tried all the available update but nothing works