Nem's Tools Batch Compiler
Quote from Interitus on November 22, 2007, 8:31 pmmsleeper claims I can use this for compiling my portal maps. I gave it a shot, and it couldnt find a lot of the entities, and a lot of the other entities were really dark.
For those not knowing, check it out here: http://nemesis.thewavelength.net/index.php?p=3I pointed the vbsp and such to <steam dir>SteamApps<my username>sourcesdkbinorangeboxbinvbsp.exe
And I used the spec "Source Tools Normal" as a base for my batch preset. In the setup menu, under the Variables tab, there's the options of "Binroot" and "Valve Project"... should those be filled out?
msleeper claims I can use this for compiling my portal maps. I gave it a shot, and it couldnt find a lot of the entities, and a lot of the other entities were really dark.
For those not knowing, check it out here: http://nemesis.thewavelength.net/index.php?p=3
I pointed the vbsp and such to <steam dir>SteamApps<my username>sourcesdkbinorangeboxbinvbsp.exe
And I used the spec "Source Tools Normal" as a base for my batch preset. In the setup menu, under the Variables tab, there's the options of "Binroot" and "Valve Project"... should those be filled out?
Quote from msleeper on November 22, 2007, 8:51 pmI honestly haven't dicked around with this program in a while, much less for Portal, but pretty much the only thing you need to set are the VBSP, VVIS, and VRAD directories as well as the location to your BSP. This program does what the Compile dialog in Hammer does, only without requiring Hammer to be open.
Post up what Nem's exports into the batch file, you probably have a setting wrong or some parameter you don't need.
I honestly haven't dicked around with this program in a while, much less for Portal, but pretty much the only thing you need to set are the VBSP, VVIS, and VRAD directories as well as the location to your BSP. This program does what the Compile dialog in Hammer does, only without requiring Hammer to be open.
Post up what Nem's exports into the batch file, you probably have a setting wrong or some parameter you don't need.
Please do not Private Message me for assistance. Post a thread if you have questions or concerns.
If you need to contact the staff privately, contact the Global Moderators via Discord.
Quote from Interitus on November 22, 2007, 9:11 pmHmm.. Well, from what I can see, orangebox is set up a little different, so I'm not sure the tools will compile properly.
Maybe it will, but I dont feel like messing around with it when hammer compiles just fine when I havent done something stupid like carving with circular brushes.
Hmm.. Well, from what I can see, orangebox is set up a little different, so I'm not sure the tools will compile properly.
Maybe it will, but I dont feel like messing around with it when hammer compiles just fine when I havent done something stupid like carving with circular brushes.
Quote from Interitus on November 22, 2007, 9:36 pmQuote:@echo off
echo ###################################################
echo # Batch Compiler #
echo ###################################################
echo ###################################################
echo # Please report bugs to: ryansgregg@hotmail.com #
echo ###################################################
echo.
echo Written At: 11/21/2007 10:04 PM
echo BC Version: 3.1.2.0
echo.
"<steam location>SteamApps<username>sourcesdkbinorangeboxbinvbsp.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7"
if ERRORLEVEL 1 goto failed
"<steam location>SteamApps<username>sourcesdkbinorangeboxbinvvis.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7"
if ERRORLEVEL 1 goto failed
"<steam location>SteamApps<username>sourcesdkbinorangeboxbinvrad.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7"
if ERRORLEVEL 1 goto failed
if not exist "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.bsp" goto nocopybsp
copy "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.bsp" "<steam location>SteamApps<username>portalportalmaps"
echo IntLvl2_7.bsp copied to <steam location>SteamApps<username>portalportalmaps.
:nocopybspgoto succeeded
:failed
echo.
echo There was a problem compiling your map, check your IntLvl2_7.log file for errors.
:succeeded
echo.
if exist "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.log" "C:WINDOWSsystem32notepad.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.log"
echo ###################################################
echo # Batch Compiler #
echo ###################################################
echo ###################################################
echo # Please report bugs to: ryansgregg@hotmail.com #
echo ###################################################
echo.
echo Written At: 11/21/2007 10:04 PM
echo BC Version: 3.1.2.0
echo.
"<steam location>SteamApps<username>sourcesdkbinorangeboxbinvbsp.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7"
if ERRORLEVEL 1 goto failed
"<steam location>SteamApps<username>sourcesdkbinorangeboxbinvvis.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7"
if ERRORLEVEL 1 goto failed
"<steam location>SteamApps<username>sourcesdkbinorangeboxbinvrad.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7"
if ERRORLEVEL 1 goto failed
if not exist "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.bsp" goto nocopybsp
copy "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.bsp" "<steam location>SteamApps<username>portalportalmaps"
echo IntLvl2_7.bsp copied to <steam location>SteamApps<username>portalportalmaps.
:nocopybsp
goto succeeded
:failed
echo.
echo There was a problem compiling your map, check your IntLvl2_7.log file for errors.
:succeeded
echo.
if exist "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.log" "C:WINDOWSsystem32notepad.exe" "<steam location>SteamApps<username>sourcesdk_contentportalmapsrcIntLvl2_7.log"
Quote from Interitus on November 22, 2007, 9:40 pmAh, there's lots of error msgs in the compile .log.
Things like
Material not found!: CONCRETE/CONCRETE_MODULAR_WALL001_GRADIENT00
material "metal/metalwall048b" not found.Error loading studio model "models/props/portal_cleanser_1.mdl"!
Error loading studio model "models/props/door_01_frame_reference.mdl"!There was a huge list of all the portal-related textures and models.
All of which were before the line: "fixing up env_cubemap materials on brush sides..."
Starts with
materialPath: <steam directory>steamappsthe_interitushalf-life 2hl2materials
Loading <steam directory>SteamAppsthe_interitussourcesdk_contentportalmapsrcIntLvl2_7.vmf
Ah, there's lots of error msgs in the compile .log.
Things like
Material not found!: CONCRETE/CONCRETE_MODULAR_WALL001_GRADIENT00
material "metal/metalwall048b" not found.
Error loading studio model "models/props/portal_cleanser_1.mdl"!
Error loading studio model "models/props/door_01_frame_reference.mdl"!
There was a huge list of all the portal-related textures and models.
All of which were before the line: "fixing up env_cubemap materials on brush sides..."
Starts with
materialPath: <steam directory>steamappsthe_interitushalf-life 2hl2materials
Loading <steam directory>SteamAppsthe_interitussourcesdk_contentportalmapsrcIntLvl2_7.vmf
Quote from Interitus on November 22, 2007, 9:51 pmAlrighty, with msleeper's help in IRC, we've determined its because the SourceSDK reset itself to hl2 when I ran nem's tools.
Now it compiles properly.
Alrighty, with msleeper's help in IRC, we've determined its because the SourceSDK reset itself to hl2 when I ran nem's tools.
Now it compiles properly.