Ryan

Building fast file error

30 posts in this topic

Hello, I seem to have a problem whenever I am building fast file. I've recently started on my second map and everytime I click build fast file I get this error: http://gyazo.com/2421aa375774a23b2d571c99312b798c I have googled this error and have tried everything that they have said and yet I still get this error. I even have started over on making my map yet still get it. Also, never had this error on my first map or when I was testing things with radiant. Any help would be appreciated!

 

Thanks, Ryan

0

Share this post


Link to post
Share on other sites

When I compile bsp, it opens and closes to quick for me to snap a screenshot  :(

0

Share this post


Link to post
Share on other sites

I've had this error countless amount of times, the only time I fix it is pressing i in radiant, and copying everything into a new map and naming it differently, then it seems to make the d3dbsp weirdly, try that? 

0

Share this post


Link to post
Share on other sites

what do you expect then? it doesnt even build the bsp file, looks like you're getting an Access denied error. I had that error too like 2 years ago, i think i just reinstalled modtools in another folder.

0

Share this post


Link to post
Share on other sites

I guess I'll try and reinstall it, see if it fixes the problem. Thanks for the help though :)

 

May I ask what you mean by reinstalling it into another folder?

0

Share this post


Link to post
Share on other sites

You can try the following:

 

-Run the Modtools as administrator.

 

-Go to Steam/SteamApps/Call of Duty 4 - Modern Warfare\bin\CoD4CompileTools/cod4compiletools_compilebsp.bat (or your own cod4 path) and backup the .bat on your desktop, recreate it, (text document, same file name, just change .txt to .bat) and replace it with this: 

@ECHO OFF

:: ###########################################
:: SET UP VARIABLES
:: ###########################################

set bsppath=%~1
set mapsourcepath=%~2
set treepath=%~3
set mapname=%4
set parmBSPOptions=%~5
set parmLightOptions=%~6
set compileBSP=%7
set compileLight=%8
set compilePaths=%9
shift
set compileVIS=%9
shift
set mpmap=%9

if "%parmBSPoptions%" == "-" (
set parmBSPoptions=
)

if "%parmLightOptions%" == "-" (
set parmLightOptions=
)

mkdir "%bsppath%

if "%compileBSP%" == "1" (

echo .
echo .
echo ###########################################
echo COMPILE BSP
echo ###########################################
echo .
echo .

copy "%mapsourcepath%%mapname%.map" "%bsppath%%mapname%.map"
"%treepath%bin\cod4map" -platform pc -loadFrom "%mapsourcepath%%mapname%.map" %parmBSPOptions% "%bsppath%%mapname%"
)
if "%compileLight%" == "1" (

echo .
echo .
echo ###########################################
echo COMPILE LIGHT
echo ###########################################
echo .
echo .

IF EXIST "%mapsourcepath%%mapname%.grid" copy "%mapsourcepath%%mapname%.grid" "%bsppath%%mapname%.grid"
"%treepath%bin\cod4rad" -platform pc %parmLightOptions% "%bsppath%%mapname%"
)

IF EXIST "%bsppath%%mapname%.map" del "%bsppath%%mapname%.map"
IF EXIST "%bsppath%%mapname%.d3dprt" del "%bsppath%%mapname%.d3dprt"
IF EXIST "%bsppath%%mapname%.d3dpoly" del "%bsppath%%mapname%.d3dpoly"
IF EXIST "%bsppath%%mapname%.vclog" del "%bsppath%%mapname%.vclog"
IF EXIST "%bsppath%%mapname%.grid" del "%bsppath%%mapname%.grid"

IF EXIST "%bsppath%%mapname%.lin" move "%bsppath%%mapname%.lin" "%mapsourcepath%%mapname%.lin"
pause
if "%compilePaths%" == "1" (

echo .
echo .
echo ###########################################
echo CONNECTING PATHS
echo ###########################################
echo .
echo .

cd %treepath%
sp_tool.exe +set r_fullscreen 0 +set logfile 2 +set monkeytoy 0 +set com_introplayed 1 +set usefastfile 0 +set g_connectpaths 2 +devmap %mapname%

)

echo .
echo .
echo ###########################################
echo DONE
echo ###########################################
echo .
echo .
pause

 

 

This will make it pause at the end, when your BSP is done compiling.

 

You can also do the same for your fast file builder, but, just add the word "pause" at the end, or in the middle/near end.

 

If you can somehow follow this, here's the file you need, just replace it with the one already in Steam/SteamApps/Call of Duty 4 - Modern Warfare\bin\CoD4CompileTools/cod4compiletools_compilebsp.bat (or your own cod4 path)

 

BSP: https://www.sendspace.com/file/49zy7f

 

This will make the BSP stop, so you can look though the Log, and find any errors.

0

Share this post


Link to post
Share on other sites

Hmm, that's it? Looks like it might of stopped the bsp a bit to early..

0

Share this post


Link to post
Share on other sites

All I have in the map are brushes though, I even tried deleting the scripts. 

0

Share this post


Link to post
Share on other sites

I've added a skybox and spawns also the brushes aren't very big. 

 

Reinstalled Cod4 mod tools and it still didn't fix the issue. 

0

Share this post


Link to post
Share on other sites

Have you added any cylinder? :ph34r: if you do them the wrong way, those fuckers will fuck the compiling up

0

Share this post


Link to post
Share on other sites

No cylinders, I even just added one small brush, a spawn, and a skybox. Still get the same error everytime.

0

Share this post


Link to post
Share on other sites

guess you guys missed this

 

1437877af502cf0203a56eea4757160b.png

 

can you got to cod4 directory then bin and tell me if there a cod4map.exe/application located there?

0

Share this post


Link to post
Share on other sites

guess you guys missed this

 

1437877af502cf0203a56eea4757160b.png

 

can you got to cod4 directory then bin and tell me if there a cod4map.exe/application located there?

 

Sorry for the late response, was at work. Anyways to answer your question no there is not. Here's a screenshot of everything in the cod4 bin just in case I've missed it: http://gyazo.com/a8abf44f2eb2fc02a92342c46e4e9ad1

0

Share this post


Link to post
Share on other sites

Sorry for the late response, was at work. Anyways to answer your question no there is not. Here's a screenshot of everything in the cod4 bin just in case I've missed it: http://gyazo.com/a8abf44f2eb2fc02a92342c46e4e9ad1

Oki, well download sentrex one, if that doesn't work, re-download mod tools and take the one from that.

0

Share this post


Link to post
Share on other sites

Thank you very much everyone for taking the time to help me! 

 

I figured out that my antivirus system was removing the cod4map.exe :facepalm:

0

Share this post


Link to post
Share on other sites

Sorry for the late response, was at work. Anyways to answer your question no there is not. Here's a screenshot of everything in the cod4 bin just in case I've missed it: http://gyazo.com/a8abf44f2eb2fc02a92342c46e4e9ad1

 

Did you exracted the whole mod-tool in your COD4 directory without making a extra folder in that directory ?

0

Share this post


Link to post
Share on other sites

Did you exracted the whole mod-tool in your COD4 directory without making a extra folder in that directory ?

Bosnian, pls.
0

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.