Strange Compile Problem


(Victorianetza) #1

Hi all i have one very um strange problem with compiling… My map is kind of big, it has 19643 brushes and its about 2 times bigger then goldrush…I have compiled it many times but the last 3 i had one and the same problem… First 2 times i solved it but know i cant think of a solution so:

i am trying to compile the map with the second “test” type bsp… so its starts and when it comes to the part where it should compile the lights it gives me this message: Connection TImed out. Make sure u are using networked type of BSp. IF not disable BSP monitoring… :eek2: .What the heck does it mean!!! :???: What should i do??

HELP! :frowning:


(MadJack) #2

It means the “DOS” window scrolling with info about the compiling is connecting to Radiant but after a while, it seems, there is no data sent to Radiant and it thinks the BSP is either crashed or not the kind of BSP that can connects. (unless you changed your BSP but I don’t think that’s the case).

Finally it says that if you don’t want to see the text that scrolls in th “DOS” box inside Radiant to uncheck BSP monitoring (or, in your case, since it’s not connecting to Radiant by disabling that you won’t get the Connection Time Out).

One thing you can check is if you have ZoneAlarm or any Firewall application that might stop traffic, and enable it for the port number BSP and Radiant use.

HTH


(joop sloop) #3

Do you use the standard compile options of radiant?

If so you might want to try to get the latest version of q3map2 and compile using a .bat file found in the LDR


(Victorianetza) #4

does it mean that i have to disable my internet connection while i am making the bsp file?


(MadJack) #5

No.

The connection between BSP and Radiant is a local connection done through 127.0.0.1 it has nothing to do with the internet.

As I said above check the Firewall settings if you have one and enable all connections from 127.0.0.0 to 127.0.0.1 or localhost.


(Victorianetza) #6

YEAH!!! IT did it! The radiant compiled it :banana: Because i am using LAN internet i experimented to disable my internet connection and it worked :…

this is very strange problem - how mysterious appeared and disappeared :disgust:

PS. I dont have a firewall… only a anti virus and the cleaner and some others


(joop sloop) #7

Victorianetza: did you read my post at all? I gave you a perfect sollution to your problem, which not only lets you compile your map, but also lets you control how you compile your map much better.


(Victorianetza) #8

YEs i read it and thank you very much !

have a :beer: :clap: :banana:


(Victorianetza) #9

sorry for disturbing you again, but again i got the problem;

so i did these things:

i downloaded q3map2 and installed it. then i tried to make a compile.bat with the following info:
@rem to use this batch file, drop a .map file on it or run it from a dos window:
@rem > compile islandfull

@rem change the paths below to reflect your ET installation.
@set ET_PATH=“D:/Games/Enemy Territory” @set COMP_PATH=“C:/Program Files/GtkRadiant-1.4/q3map_2.5.13_win32_x86/q3map2.exe”
@set MAP_PATH=“D:/Games/Enemy Territory/etmain/maps/%islandfull.map”

@set GEN_OPTIONS=-fs_basepath %D:Games/Enemy Territory% -game et

%C:/Program Files/GtkRadiant-1.4/q3map_2.5.13_win32_x86/q3map.exe% -meta -mv 1024 -mi 6144 %-fs_basepath %D:/Games/Enemy Territory% -game et% -v %D:/Games/Enemy Territory/etmain/maps/%islandfull.map%
%C:/Program Files/GtkRadiant-1.4/q3map_2.5.13_win32_x86/q3map.exe% -vis -saveprt %-fs_basepath %D:/Games/Enemy Territory% -game et% %D:/Games/Enemy Territory/etmain/maps/%islandfull.map%
%C:/Program Files/GtkRadiant-1.4/q3map_2.5.13_win32_x86/q3map.exe% -light -fast -samples 2 -filter -patchshadows -external -lightmapsize 256 -approx 8 %-fs_basepath %D:/Games/Enemy Territory% -game et% -v %D:/Games/Enemy Territory/etmain/maps/%islandfull.map%

but IT DOEs NOt WOrk! When i start q3map2 it gives me an error :frowning:

MadJack: what do you mean by " As I said above check the Firewall settings if you have one and enable all connections from 127.0.0.0 to 127.0.0.1 or localhost"

how to do it? :???:


(Victorianetza) #10

is it possible for the radiant to be somekind of um, ruined or it has a problem and i need to re install it?


(MadJack) #11

I recently got this problem too.

FIX: Antivirus running in the background, checking each and every file that is opened ( for the shaders only that’s over 2000 files, add the pk3 and their content) and that slows the computer quite a lot.

Disable the antivirus before starting a compile if applicable.

As for firewalls, if you don’t have one don’t worry about it. If you do have one, check its documentation. There are lots of them and I don’t know their settings by heart.

When radiant starts and gives you the timeout msg, does q3map2 still run after a while or not? Do you have ANY DOS window pop up?


(Victorianetza) #12

well, when it gives the message for the timeout everything stops :disgust:


(MadJack) #13

What about the .bat file? Did you make it work?

I use one and there’s no problem on the compile (except when I make a booboo on my map :P) so I could post mine.


(Victorianetza) #14

well it didnt work, because i could not fully understand how should i enter: Gen Path, or should i delete % sign ? Sorry for not answering earlier but my computer was broken :frowning:


(MadJack) #15

Alirght then… make sure you REPLARE your paths in the first 3 lines! Don’t modify ANYTHING else… It will work if you follow the instructions at the end.

@set ET_PATH="C:/Program Files/Wolfenstein - Enemy Territory/"
@set Q3MAP_PATH="C:/Program Files/Wolfenstein - Enemy Territory/etmain/maps/q3map2/q3map2.exe"
@set MAP_PATH="C:/Program Files/Wolfenstein - Enemy Territory/etmain/maps/ebe.map"

@set GEN_OPTIONS=-fs_basepath %ET_PATH% -game et

REM %Q3MAP_PATH% -meta -mv 1024 -mi 6144 %GEN_OPTIONS% -v %MAP_PATH%  > compiled.txt

REM %Q3MAP_PATH% -vis -saveprt %GEN_OPTIONS% %MAP_PATH%   >> compiled.txt

REM %Q3MAP_PATH% -light -fast -samples 2 -filter -bounce 8 -external -lightmapsize 256 %GEN_OPTIONS% -v %MAP_PATH% >> compiled.txt

REM %Q3MAP_PATH% -light -fast -samples 2 -filter -patchshadows -external -lightmapsize 256 -approx 8 %GEN_OPTIONS% -v %MAP_PATH%  
REM >> compiled.txt 
REM pause

Alright, here’s how this works.

3rd line says (above) the map name “ebe.map” that’s the map I want to compile. Replace this with the map file you’re currently working on.

There are 3 lines starting with %Q3MAP_PATH%. You have to have at least ONE without a REM (REM stands for REMarks and are NOT run.

So, if you want to run a simple “meta” compile, unREM the first line, save the file and double-click. It’ll run the -meta q3bsp2… if you want to run VIS too, unREM the second too and the last two are different light compiles. The first one is faster than the second. In fact, the second should be used on final versions as much as possible.

I don’t know if you need to be told that but you have to copy everything that is in the CODE above in an empty document you will place in the maps dir (or any dir but it’s easier to remember where that stuff is that way). Once you have finished editing it, make sure the name of the file ends with .BAT not .bat.txt … If you’re not sure, right-click over the file then choose Properties, that’ll give you some info.

Before you go on and try that and come back saying it didn’t work… Is there anything you don’t understand?

Just a friendly reminder… I’m not responsible to whatever might happen to your computer by using the above…

NOTE: I will fix that .bat file so most of the stuff is automated… that should be intersting… My DOS skills are… in the attic :wink: lol


(Victorianetza) #16

sorry for asking you again, but maybe i am stupid; is this the right way to edit it?

@set ET_PATH=“D:/Games/Enemy Territory”
@set Q3MAP_PATH=“D:/Games/Enemy Territory/etmain/maps/q3map/q3map_2.5.13_win32_x86/q3map2.exe”
@set MAP_PATH=“D:/Games/Enemy Territory/etmain/maps/islandfull 2/islandfull.map”

@set GEN_OPTIONS=-fs_basepath %ET_PATH% -game et

@Rem %Q3MAP_PATH% -meta -mv 1024 -mi 6144 %GEN_OPTIONS% -v %MAP_PATH% > compiled.txt

@Rem %Q3MAP_PATH% -vis -saveprt %GEN_OPTIONS% %MAP_PATH% >> compiled.txt

Rem %Q3MAP_PATH% -light -fast -samples 2 -filter -bounce 8 -external -lightmapsize 256 %GEN_OPTIONS% -v %MAP_PATH% >> compiled.txt

REM %Q3MAP_PATH% -light -fast -samples 2 -filter -patchshadows -external -lightmapsize 256 -approx 8 %GEN_OPTIONS% -v %MAP_PATH%
REM >> compiled.txt
REM pause

when i start the compile.bat it just opens and exits very fast :[

i still have the problem with the raduant: i can only compile -meta … if you can help :smiley:


(MadJack) #17

I guess the above are your game paths… Here’s how it should be. I’ll comment the changes at the end.


@echo off
set ET_PATH="D:/Games/Enemy Territory/" 
set Q3MAP_PATH="D:/Games/Enemy Territory/etmain/maps/q3map/q3map_2.5.13_win32_x86/q3map2.exe" 
set MAP_PATH="D:/Games/Enemy Territory/etmain/maps/islandfull 2/islandfull.map" 

set GEN_OPTIONS=-fs_basepath %ET_PATH% -game et 

%Q3MAP_PATH% -meta -mv 1024 -mi 6144 %GEN_OPTIONS% -v %MAP_PATH% > compiled.txt 

Rem %Q3MAP_PATH% -vis -saveprt %GEN_OPTIONS% %MAP_PATH% >> compiled.txt 

Rem %Q3MAP_PATH% -light -fast -samples 2 -filter -bounce 8 -external -lightmapsize 256 %GEN_OPTIONS% -v %MAP_PATH% >> compiled.txt 

REM %Q3MAP_PATH% -light -fast -samples 2 -filter -patchshadows -external -lightmapsize 256 -approx 8 %GEN_OPTIONS% -v %MAP_PATH% 
REM >> compiled.txt 
REM pause 

You needed to terminate the ET_PATH with a /
If you put REM in front of each line… They won’t be run. You need to have at least one without a REM.

%Q3MAP_PATH% -meta -mv 1024 -mi 6144 %GEN_OPTIONS% -v %MAP_PATH% > compiled.txt will do a quick -meta compile and dump the content of the compile in a text file named compiled.txt (which you can open after to see if you had errors or whatnot.

%Q3MAP_PATH% -vis -saveprt %GEN_OPTIONS% %MAP_PATH% >> compiled.txt is the vis part of compile and will append the text compiling into compiled.txt.

%Q3MAP_PATH% -light -fast -samples 2 -filter -bounce 8 -external -lightmapsize 256 %GEN_OPTIONS% -v %MAP_PATH% >> compiled.txt is a LONG light compile. Again it will append the compiling into compiled.txt

%Q3MAP_PATH% -light -fast -samples 2 -filter -patchshadows -external -lightmapsize 256 -approx 8 %GEN_OPTIONS% -v %MAP_PATH% another light compile that will take even longer than the previous. NOTE that one OR the other of the last two have to be used. Not both!


Now, how do you make it work?

Let’s say you want to run a fast compile to see how things look structurally. Open the .bat file and leave the REM at the start of the vis and light compile and remove it from the -meta one.

if you want to compile everything from structure brushes to lights, you remove all the REM in front of each %Q3MAP_PATH% except one of the light compile. Rememer, results may not be what you expect if you run light phase twice…

Last note. If you want to see the results on the screen instead of being dumped into compiled.txt remove the > compiled.txt and >> compiled.txt. It will do just that BUT at least remove the REM before the last line (pause) so the window will not close when it’s done and you’ll see if there was any errors.


(Victorianetza) #18

thanks! i will test it and tell the results :slight_smile: