This is archived copy of currently unavailable Nem's Tools website, restored from Web Archive.
Download section now provides links to both Web Archive and to this unofficial Github mirror.
Batch Compiler FAQ - NemPosted: May 26th, 2003 - 11:35:22 pm
Q.

When I launch Batch Compiler I get the following error message:
"The application failed to initialize properly (0xc0000135). Click ok to terminate the application."

A.

Batch Compiler is written in C# .NET and such as requires the .NET runtimes to run. See the downloads page for more information.

 
Q.

When I launch Batch Compiler I get the following error message:
"A required .DLL file, MSCOREE.DLL, was not found."

A.

Batch Compiler is written in C# .NET and such as requires the .NET runtimes to run. See the downloads page for more information.

 
Q.

When I open an old preset file I get the following error message:
"Error: The data at the root level is invalid. Line 1, position 1."

A.

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.

 
Q.

How can I convert a preset I've saved using one specification file to a preset of another specification file?

A.

This can be accomplished by importing the preset. To do this:

  1. From the 'Specifications' menu select the specification file you would like to convert the preset to.
  2. From the 'File' menu select 'Import Preset'.
  3. Browse to and open the preset you would like to convert from.

Ask a question...

Modified: Aug 5th, 2004 - 10:16:43 am[ 86718 Views ]

[ 1 2 ]

61. BossmanPosted: Jan 26th, 2006 - 11:16:05 pm
My Appologies, i believe i mis worded my 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

62. NemPosted: Jan 26th, 2006 - 11:36:50 pm
Yes, just select your custom .wad in one of the WAD File fields in the CSG tab. Do not select No WAD Textures.

63. BossmanPosted: Jan 27th, 2006 - 1:10:52 pm
Thank You, Greatly appreciated.

I have been extremely pleased with BC since I have started using it a few days ago.

64. EvilPosted: Mar 1st, 2006 - 9:49:53 am
i have a map that i try to compile and it wont work cause of i have something called max switchable light enteties?????????

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 -----




65. BluefangModified: Mar 1st, 2006 - 10:20:43 am
First of all, you are not using the most recent compile tools.
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

66. evil squirrelPosted: Mar 11th, 2006 - 1:18:29 pm
Question...about a very annoying thingeh

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).

67. NemPosted: Mar 11th, 2006 - 1:21:45 pm
Did you read the appropriate setup tutorial?

68. atxaaronPosted: Jun 19th, 2006 - 11:23:57 pm
Nem, I have done everything your tutorial told me to do but I get this error, "error executing batch file". A few months back I had this tool on a different computer and it worked, so I am firmiliar with the program.

69. NemPosted: Jun 20th, 2006 - 8:35:01 pm
The error occurs when the system is unable to execute the batch file. Make sure you have your .bat files correctly associated and set up to run in the Windows shell.

70. atxaaronPosted: Jun 21st, 2006 - 5:20:01 am
Sorry nem, I dont understand, what do I need to do? windows shell?
Before I posted her i tried reinstalling it a few times.

71. NemPosted: Jun 21st, 2006 - 11:27:00 pm
When you double click a .bat file (or any other file) the Windows shell determines which program should be used to run that file. When you run a batch from Batch Compiler, Batch Compiler generates a .bat file and asks the Windows shell to run it. The error you are receiving occurs when Windows doesn't know what to do with the .bat file, likely because something has changed in your settings.

72. LightningBoyPosted: Jun 22nd, 2006 - 7:11:59 am
On the "Variable" stage of the setup for BC, I have set this to point to the location of the game folder that contains the gameinfo.txt file for that game. In this instance, - DOD:Source.
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? where

LB

73. DysPatchPosted: Jun 23rd, 2006 - 8:15:17 pm
Yeah, i am getting the same thing for Counter-Strike Source.

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.

74. atxaaronPosted: Jun 28th, 2006 - 2:50:08 pm
Nem, im still stuck, I need like steps on how to fix this, im a complete newb at what your trying to tell me to do. ahhh!?!?!=( the hammer compiler sucks!

75. LightningBoyPosted: Jun 28th, 2006 - 5:46:42 pm
I'm guessing no one else has had this problem besides DysPatch and myself?
Anyone have a cure?,...suggestion?
I haven't had a successful compile yet because of this.

76. GoatFetusPosted: Jun 30th, 2006 - 2:40:14 am
Yea im gettin the same thing too, where it wont compile and it says something like Cant load materialsystem, and the pop up window with something about tier 0 command line or whatever, i just reinstalled the BC or i just wait for a while, and it worked again, but it is VERY annoying

77. BluefangPosted: Jun 30th, 2006 - 12:09:27 pm
Unfortunately I don't have much experience with the Source engine, and I don't have any of the games or SDK fully downloaded so I can't do any experimenting. However, I suppose there are a few basic things you can try:

-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

78. GoatFetusPosted: Jul 13th, 2006 - 1:57:18 pm
Im having a problem with the compiler, my map compiles fine and everything, but when it gets into Steam, when the game screen comes up, it'll start loading fine, then it will say Problem verifying SteamID user ticket, or something close to that. But when I compile through Hammer(taking a million years), it goes just fine, and i can play the map. Oh and this is for CS Source. Anybody know why this could be happening?

79. NemPosted: Jul 18th, 2006 - 10:30:08 am
The error is a result of something Valve changed in it's user validation code. I know this because it has been bugging the hell out of me for months and is so bad on my computer that I, like many others, can hardly play CS or DOD.

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.

80. punk rabbitModified: Jul 21st, 2006 - 9:22:50 am
Hi Nem,

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.

81. SolokillerPosted: Sep 20th, 2006 - 9:33:57 am
I'm having the same problem, i think its a bug with a steam update (figures).

82. NemPosted: Sep 20th, 2006 - 12:03:25 pm
What's your problem? Have you tried refreshing the SDK content (Refresh SDK Content button in the Source SDK window) or is it an error with the parameters in the compile tools?

You can run an automatic update from within Batch Compiler (Help menu) to get the latest specifications for the new tools.

83. SolokillerPosted: Sep 22nd, 2006 - 12:30:58 pm
It seems to me as this is another one of these Steam update bugs, since it appears that batch compiler can't run because Steam uses the registry if it runs, and if it doesn't runs, i can't run the compile tools, because a recent Steam update made it so you need to have Steam running to run any tools.

84. NemPosted: Sep 22nd, 2006 - 4:15:18 pm
I don't know what to say. I've double checked and confirmed that all my SDK files are up to date and I can compile without any problems. For as long as I can remember Steam has always been required to be running for the compile tools work.

85. SolokillerPosted: Sep 23rd, 2006 - 3:03:44 am
I found out that steam.dll (which is in the Steam/ folder) wasn't in the source sdk bin directory, but now i have another problem: the dos window lists an error that it can't find the steam app user info.

86. NemPosted: Sep 23rd, 2006 - 5:30:46 pm
What is the exact error message? Do you have your ValveProject path set (in Batch Compiler's settings)? Is there a gameinfo.txt file in that path?

87. SolokillerPosted: Sep 27th, 2006 - 2:15:07 pm
Can't find steam app user info. is the error listed.
And i did set up the Valveproject directory to a position with a gameinfo.txt file, its the hl2 directory.

88. NemPosted: Sep 27th, 2006 - 6:55:32 pm
Did you try the advice in the Source SDK Docs?

89. SolokillerPosted: Sep 28th, 2006 - 7:29:51 pm
I've been able to fix all the errors by doing what you said, the only other thing was that i needed to change toolsappid to appid in the gameinfo.txt of the game i was mapping for(hl2). Thanks.

90. NemPosted: Sep 28th, 2006 - 9:08:37 pm
Glad to hear it works. It sounds like your SDK install may have been messed up by a recent SDK update.

91. frankModified: Nov 6th, 2006 - 2:26:59 am
I have been trying my best to compile the map and I keep receiving this error message.

* 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 solutionsadsad

frank

92. SigPosted: Dec 6th, 2006 - 7:08:14 pm
I get this error right of way. Dont have any idea how to fix
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"

93. wrexnfexPosted: Dec 7th, 2006 - 3:21:39 am
when I try to compile my map i get an error

hlbsp: Error: Cant open as_wrex.po

how do i fix

94. NemPosted: Dec 10th, 2006 - 4:28:43 pm
Sig:
I get this error right of way. Dont have any idea how to fix

What you've posted is your batch file, not your error log.

wrexnfex:
when I try to compile my map i get an error

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.

95. SigPosted: Dec 13th, 2006 - 3:53:40 pm
I dont get an error log I have looked for it everywhere. So what I posted is all I get.

96. atelierzModified: Jul 17th, 2007 - 1:08:16 pm
i have just installed batch compiler on my new machine, which is running on vista.

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.

97. BluefangPosted: Jul 17th, 2007 - 11:18:46 pm
I haven't been keeping up with everything very well, but I do know that Nem changed the spec files recently, so the options may have been renamed or moved.

98. NemPosted: Jul 18th, 2007 - 3:18:38 am
Do you have the most up-to-date specifications? (Select Check For Updates from the Help menu.) I haven't updated the installer in ages (I'll try to do this soon).

The options haven't changed too much since I wrote the tutorial. All the options you listed are present in the current specifications.

99. atelierzModified: Jul 18th, 2007 - 1:05:46 pm
i had downloaded straight from the site thinking everything was up to date, but i took your advice, and the options reappeared. hooray.


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.exhausted


thanks

100. NemPosted: Jul 18th, 2007 - 2:23:04 pm
I don't actually own Vista, but I would assume that the errors are occurring because writing to the registry and the program's own directory is not allowed with user privileges in Vista. I wonder if you can elevate the program's privileges (the executable's properties perhaps)? I don't want to recommend that you give your user account administrative privileges, but that also should work.

capoera

101. atelierzModified: Jul 18th, 2007 - 5:18:06 pm
i've run into this administrative privileges thing before, and upon checking my account on this computer, it says i have administrative privileges.

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.

102. atelierzPosted: Jul 18th, 2007 - 5:17:23 pm
okay, i figured it out.

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.

103. magraggaeModified: Nov 14th, 2007 - 6:01:56 am
This is my first time trying to get BC to work, set it up under Zoners' Tools Advanced Specification, as I am using VHE, and got an rmf and not an map file. Except for that I used the exact same setup as you described in your tutorial. When I compile my map using VHE, it completes without problems.

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?

104. NemPosted: Nov 15th, 2007 - 1:29:30 am
There are a few good references for compile errors out there such as this one. You'll probably get a more direct answer from these references seeing as I use them myself.

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.

105. magraggaeModified: Nov 15th, 2007 - 6:55:19 am
Yeah I checked those resources myself already, however this error is not listed there. As far as I can see, there is nothing wrong with the brush. Its a simple cubic brush, clipped on one end so it meets at 45 degree angle with another one, also clipped, to together form a func_illusionary, to create a fence, through which can still be shot. No vertex manipulation was done on it, so I am unsure what could be illegal about it.

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.

106. NemPosted: Nov 18th, 2007 - 3:01:55 pm
Sometimes it's better to just redo the problem brushes. It usually doesn't take to long and it can fix non-obvious geometry problems.

107. WalterPosted: Dec 30th, 2007 - 5:12:35 am
Hey I have an error that comes up when starting the map in CS 1.6

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?

108. kangoeroePosted: Jan 4th, 2008 - 9:19:31 am
if i want to start the compile it says that the output path is invalid
how do i fix this

109. kangoeroePosted: Jan 4th, 2008 - 9:26:49 am
cant you just make a tut of BC so there arent all these questions

110. NemPosted: Jan 4th, 2008 - 12:53:16 pm
There already is one.

111. KodePosted: May 25th, 2008 - 6:27:41 pm
The first time I install Batch Compiler, it runs fine, compiles my maps perfectly, and does so until I close it.
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!shrug

112. NemPosted: May 28th, 2008 - 1:03:25 pm
What happens if you delete C:\Program Files\Batch Compiler\compile.bat before compiling your map?

113. YenianPosted: Jul 9th, 2008 - 10:53:54 pm
Same Error as Kode:

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.

114. alphabravoPosted: Feb 17th, 2009 - 1:10:23 pm
ive tried everything i could to solve this stupid mess!!
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"


115. richeiPosted: Feb 22nd, 2009 - 2:58:25 am
you shouldn't have ur compile tools on your desktop anyways. move the folder to whatever drive you want. before i moved away from hl1 mapping, i had my wads folder at c:\wads, then used an include file to specify which wads to embed in the bsp. bc never was able to handle spaces in the folder name.

116. richeiPosted: Feb 22nd, 2009 - 3:16:12 am
Seems to have a problem loading any of valve's textures. all i get is:

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.

121. StojkePosted: May 9th, 2010 - 8:17:05 am
Hey, Nem, i have some problems...

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... bored

122. StojkePosted: May 9th, 2010 - 8:27:30 am
Never mind! I forgot to include zhlt.wad in hammer >_<


Sorry for my mistake lazy

123. PlaguePosted: Jul 3rd, 2019 - 7:40:33 pm
When I try to convert a batch file to an exe, I have this error at the end:

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

[ 1 2 ]

Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.07963s; Queries: 14.