Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
LeaverAndrew

Editing Question

Recommended Posts

There is a file that came with Edmap...It's called Build.bat.
It says edit this file to change nodes builders. I would like to change it to use the new BSP v5.1

Here is what the file says:
----------------------------------------------------------------------




@echo off
rem --------------------------------------------------------------
rem BUILD.BAT for EdMap v1.25+ (by Jeff Rabenhorst)
rem
rem Edit this file to use a different NODE-BUILDER
rem
rem Requires STUFFBUF.EXE to insert keystrokes into the buffer
rem and NPXTEST.EXE to test whether a NPX (80x87) is availible
rem and DOOM2WAD.EXE to convert PWAD map entries (DOOM1/DOOM2)
rem --------------------------------------------------------------

if not "%1"=="" goto ONEPARAM
error Missing WAD filename.
goto TEXTDESC
:ONEPARAM
if "%1"=="/?" goto TEXTDESC
if "%1"=="-?" goto TEXTDESC
if exist %1.wad goto OKPARAMS
error %1.WAD does not exist.
goto TEXTDESC
:OKPARAMS
if exist build.tmp del build.tmp > nul
copy %1.wad backup.wad > nul
DOOM2WAD %1.WAD 0
WAD_DWD %1.WAD TMP.DWD
echo .
if errorlevel 1 goto BUILDFAILED
erase %1.WAD
echo Building BSP data...
:BUILDNOW
IDBSP TMP.DWD %1.WAD
if errorlevel 1 goto BUILDFAILED

echo ÿ
DOOM2WAD %1.WAD %2
echo ÿ
echo Finished building PWAD; %1.WAD is now playable.
echo ÿ
if "%4"=="" goto END
STUFFBUF !
EDMAPCOM %3 %4 BUILT OK
goto END
:BUILDFAILED
copy backup.wad %1.wad > nul
if "%4"=="" goto FAILTEXT
EDMAPCOM %3 %4 PLAYMAP=FALSE
EDMAPCOM %3 %4 ERROR BuildFailed
:FAILTEXT
echo BUILD FAILED!
echo PWAD RESTORED
goto END
:NONPX
if "%4"=="" goto NONPXTEXT
EDMAPCOM %3 %4 PLAYMAP=FALSE
EDMAPCOM %3 %4 ERROR NoNPX
:NONPXTEXT
echo BUILD FAILED!
echo No NPX (80x87) present for builder.
goto END
:TEXTDESC
echo ÿ
echo BUILD.BAT
echo PWAD node-builder (builds BSP data for maps)
echo ÿ
echo format: BUILD filename
echo ex: BUILD C:\DOOM\PWADS\CASTLE
echo ÿ
goto END
:END
rem --------------------------------------------------------------



Anyone that can tell me what to change and where would be helpful!

Share this post


Link to post
mmnpsrsoskl said:

I am sure this is it.

Yes that is the line that needs to be edited.

You would change

IDBSP TMP.DWD %1.WAD

to

BSP.exe TMP.DWD %1.wad (or whatever the exact name of the BSP v5.1 executable is). Make sure the executable and any files it needs to run are placed in the same directory as the original IDBSP program.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×