How can I run batch file?


(Arcanis) #21

OK, maybe I’m stupid :frowning: , but this is the first time I work with DOS!

I need only the comand to execute my batch file from the DOS, because when I try to drag my batch and put to my map file it dont work.

I wrote this in DOS:
D:\Program Files\Wolfenstein - Enemy Territory\etmain\maps>…and?

(I have placed the batch file and my map in the maps folder)


(lennyballa) #22

YOU DON’T EVEN HAVE TO OPEN DOS!
just dubble click you’re .bat file


(Arcanis) #23

I have double click my batch file, but it open in text mode, he dont start compiling!


(Arcanis) #24

I have double click my batch file, but it open in text mode, it dont start compiling! :banghead:


(SoulRebel) #25

check again the path and try using / instead of \

maybe you have a leak in your map and it quits, maybe other errors… try using the in-editor-compiler and hit “o” then

hmm… maybe you have modified the windows “open with” feature and now you always open the *.bat with the texteditor?


(Arcanis) #26

I have changed the \ instead of / but don work :frowning: :frowning: :frowning:
The path are OK

:banghead: :banghead: :banghead:


(Arcanis) #27

Yep, when I try to compile vis or light in editor I have this error:

for vis:
MAX_MAP_VISIBILITY exceeded

for light:
MAX_TW_VERTS (12) exceeded

is this the problem??


(SoulRebel) #28

you have to many “structural brushes” these brushes are needed for -vis compile (*.prt) file

you need more “detail brushes” -> select whole map and hit “Selection” | “Detail” from the menu or hit “crtl+m” at selected map

then select the box around your void and make them “structural”… then compile again and wonder


(SoulRebel) #29

yes, this quitted the dos-window


(Arcanis) #30

It work :smiley:

Thx for help :drink: