Batch Compiler v3.0.0 - NemPosted: Sep 15th, 2004 - 4:44:16 pm

Batch Compiler v3.0.0 is finally ready to be taken out of beta. The final build includes several fixes and improvements over the beta builds and as such beta users will want to upgrade. You can pick up the final build here. Special thanks to all users who helped debug the application and its specifications.

Modified: Apr 24th, 2005 - 5:38:59 pm[ 13962 Views ]

[ 1 2 ]

1. BluefangModified: Sep 17th, 2004 - 12:49:57 pm

Alright, here is my installer.
HL-Compiled

it is still in beta so any feed-back would be great.

2. NemPosted: Sep 17th, 2004 - 8:14:40 pm

Will look at it shortly.

happy

3. NemModified: Sep 24th, 2004 - 3:22:36 pm
I'm sorry for the delay in testing it, I honestly forgot about it.

Anyways, I gave it a try and I'm very impressed. Nice work there, this should solve a lot of newbie problems. I do have two small suggestions regarding the config.xml file you generate though:
  1. Since the presets you included are basically templates it might be an idea to add them to the presets menu. This way it is easy for users to find them and use them.
  2. Not really a suggestion, but how are you selecting the logviewer path? Depending on which version of windows you have this can be in different locations.
Anyways, let me know when you are done with it and I will post a link for it. One last thing, I see that you are using your own specifications (which is fine), did you know you can set the url for the auto update feature so you can allow users to auto update your specifications from your server?

Nem

4. BluefangModified: Sep 25th, 2004 - 4:10:39 pm

hey, thanks.

Atcually, the presets should have been added to the list and the normal (easy) preset should have auto loaded.

But that dosn't work because I changed around a couple paths and forgot to update the config.xml template source ><


I'm selecting the system dir with a '$SYSDIR' variable

"The windows system directory (usually C:\windows\system or C:\winnt\system32 but detected at runtime)"

so it should auto detect what the proper dir is. so, in a very basic sense, the generation line is '$SYSDIR\notepad.exe'

So, as soon as I correct that I'll upload the new version.

5. NemPosted: Sep 25th, 2004 - 4:39:33 pm

Cool, that's how BC searches for your log viewer too.

6. BluefangPosted: Sep 25th, 2004 - 4:46:25 pm

I've uploaded the new version. it is the same link as before.

--I fixed the config.xml problem so the presets work properly now
--I updated the steam username internals.

before it would take what ever the user put in and put that as the steam username in the path.
later on, the installer would make syre that the <gamedir>/<moddir>/maps folder existed.
but if the user put their username in with capitols, it would mess up because the steam username folder didn't have capitols.
now it should convert the A-Z/a-z to lowercase and solve that problem.

And you said I could change the auto-update url. how exactly do I do that?

7. NemPosted: Sep 25th, 2004 - 6:11:45 pm
In the config.xml file the options element should have the attribute:
updateurl="files/specifications/"

The updateurl is the url for the folder that the automatic update tool downloads specifications from. On your server you would place all your specifications in that folder along with a file called index.xml which is a specification file hash list. You can create this file in Batch Compiler. To do this:
  1. Click on the Help menu.
  2. Click Check For Updates.
  3. Click Export.
  4. Save the hash list to you hard drive.
The above generates a hash list for all the files in your Batch Compiler\Specifications folder. This hash list is used by the automatic update tool to see which specifications are out of date or otherwise need to downloaded. I did this so individuals could maintain their own specifications for Half-Life or other games.

8. BluefangPosted: Sep 25th, 2004 - 7:12:51 pm

cool. I've updated it once again. only changes are the updateurl.

9. NemPosted: Sep 26th, 2004 - 10:47:49 pm

Nice work. I've put a link up on the Batch Compiler download page.

10. richeiPosted: Oct 5th, 2004 - 12:15:28 pm

Before i go and download this, just tell me that u fixed the problem with the -wadinclude not working.

11. NemPosted: Oct 5th, 2004 - 1:33:44 pm

Shouldn't be a problem if you have everything set up right...

12. richeiPosted: Oct 6th, 2004 - 11:58:51 pm

This is my batch file.

@echo off
set WADROOT=E:\Program Files\Worldcraft\CompileTools
echo ###################################################
echo # Batch Compiler #
echo ###################################################
echo ###################################################
echo # Please report bugs to: ryansgregg@hotmail.com #
echo ###################################################
echo.
echo Written At: 10/7/2004 2:51 AM
echo BC Version: 3.0.0.0
echo.
"E:\Program Files\Worldcraft\CompileTools\hlcsg.exe" -cliptype Simple -wadinclude "E:\Program Files\Worldcraft\maps\ok\ok.wad" -estimate -dev 3 "E:\Program Files\Worldcraft\maps\ok\ok3"
"E:\Program Files\Worldcraft\CompileTools\hlbsp.exe" -estimate -dev 3 "E:\Program Files\Worldcraft\maps\ok\ok3"
"E:\Program Files\Worldcraft\CompileTools\hlvis.exe" -full -estimate -dev 3 "E:\Program Files\Worldcraft\maps\ok\ok3"
"E:\Program Files\Worldcraft\CompileTools\hlrad.exe" -customshadowwithbounce -extra -bounce 2 -smooth 50.0 -nomatrix -estimate -dev 3 "E:\Program Files\Worldcraft\maps\ok\ok3"
if not exist "E:\Program Files\Worldcraft\maps\ok\ok3.p0" goto nodelp0
del "E:\Program Files\Worldcraft\maps\ok\ok3.p0"
echo E:\Program Files\Worldcraft\maps\ok\ok3.p0 deleted.
:nodelp0
if not exist "E:\Program Files\Worldcraft\maps\ok\ok3.p1" goto nodelp1
del "E:\Program Files\Worldcraft\maps\ok\ok3.p1"
echo E:\Program Files\Worldcraft\maps\ok\ok3.p1 deleted.
:nodelp1
if not exist "E:\Program Files\Worldcraft\maps\ok\ok3.p2" goto nodelp2
del "E:\Program Files\Worldcraft\maps\ok\ok3.p2"
echo E:\Program Files\Worldcraft\maps\ok\ok3.p2 deleted.
:nodelp2
if not exist "E:\Program Files\Worldcraft\maps\ok\ok3.p3" goto nodelp3
del "E:\Program Files\Worldcraft\maps\ok\ok3.p3"
echo E:\Program Files\Worldcraft\maps\ok\ok3.p3 deleted.
:nodelp3
if not exist "E:\Program Files\Worldcraft\maps\ok\ok3.bsp" goto nocopybsp
copy "E:\Program Files\Worldcraft\maps\ok\ok3.bsp" "E:\Program Files\Steam\SteamApps\compfnatic80@hotmail.com\half-life\firearms\maps"
echo ok3.bsp copied to E:\Program Files\Steam\SteamApps\compfnatic80@hotmail.com\half-life\firearms\maps.
:nocopybsp
if not exist "E:\Program Files\Worldcraft\maps\ok\ok3.pts" goto nocopypts
copy "E:\Program Files\Worldcraft\maps\ok\ok3.pts" "E:\Program Files\Steam\SteamApps\compfnatic80@hotmail.com\half-life\firearms\maps"
echo ok3.pts copied to E:\Program Files\Steam\SteamApps\compfnatic80@hotmail.com\half-life\firearms\maps.
:nocopypts
echo.
if exist "E:\Program Files\Worldcraft\maps\ok\ok3.log" "C:\WINNT\system32\notepad.exe" "E:\Program Files\Worldcraft\maps\ok\ok3.log"

I don't get any errors when it compiles. the only way i know the wad didn't get included is because when the map starts, i get a message saying the wad is missing. When i use the wadconfig, i don't get any errors unless there's a leak or something.

I have the input path set the compile tools and the output path to the mod folder.

13. BluefangPosted: Oct 7th, 2004 - 12:23:15 pm

1. don't put the full path for the WAD file. just put in the 'ok.wad'

2. make sure that you are using WAD AutoDetect. this some times fixes the error.

3. if all else fails, use HLFix to rebuild the WAD LISt (which is much like using a WAD Config)


you also might be getting the problem because the wads, the compile tools and/or the game are on seperate drives.

if they are on seperate drives, you have to use either HLFix or a WAD Config.

and FYI, the putput path should be set to the modfolder/maps folder.

14. richeiPosted: Oct 7th, 2004 - 7:07:59 pm

the putput path? is that a new setting ;)

The maps, wads, and compile tools are on the same drive.

I'm doing a compile without the wad path now. should know in a few minutes if it worked.

15. richeiPosted: Oct 7th, 2004 - 7:34:09 pm

Taking the path out worked. thanks Bluefang :)

[ 1 2 ]

You must be logged in to post a comment.
New users can register here.
Nem's Tools v2.0 © 2006 Ryan Gregg.
Execution time: 0.045381s; Queries: 17.
dishes served.
Powered by The Wavelength.

Valid XHTML 1.0 Transitional Valid CSS
π