Please or Register to create posts and topics.

Nem's Tools Batch Compiler

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?

http://interitus.deviantart.com

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.

[Important Threads] Forum Rules | Welcome to the new Thinking With Portals
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.

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.

http://interitus.deviantart.com
Quote:
@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.
: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"

If you're looking for the settings, they're here: Image

http://interitus.deviantart.com

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

http://interitus.deviantart.com

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.

http://interitus.deviantart.com