News | Forum | People | FAQ | Links | Search | Register | Log in
Mapping Help
This is the place to ask about mapping problems, techniques, and bug fixing, and pretty much anything else you want to do in the level editor.

For questions about coding, check out the Coding Help thread: https://www.celephais.net/board/view_thread.php?id=60097
First | Previous | Next | Last
 
- Save your .map file in the quake/id1/maps/ directory.
- Extract the compile tools in that directory as well.
- Open a command prompt in that directory (see: http://stackoverflow.com/a/60914 ), and
enter the following commands:

qbsp.exe mymap.map
vis.exe mymap.map
light.exe mymap.map

- run quake, and at the console, type "map mymap" 
 
http://www.celephais.net/board/view_thread.php?id=61211&start=574


Download the files in this thread. These are the tools you put into the compiler in Trenchbroom.

http://imgur.com/a/xI7zu

Copy this word for word, except for the file locations. Youll use the ones you downloaded above.

Take a look at all the documentation included with Trenchbroom and the Compiling tools. Theres some fancy stuff youll have to add to the parameters line for stuff like bounce lighting. Below are my current settings for a Full Compile. Notice in one of the paramters line i have "-bounce -bouncecolorscale 1 -extra4", read through the documentation with the compiling tools to make sense of these.

http://imgur.com/a/8tZn0 
 
On windows:
1) Basically download this compiler: tyrutils-ericw tools
2) And this GUI for compilation: ne_q1spCompilingGui103
3) Compiling with this GUI tool is self explanatory, but here are some settings I'm using atm: GUI - Settings
You should be able to figure out what is what.

Mac script should be trivial to write. If you take a look at the compiler's documentation, you should be able to do it yourself. If not, tomorrow I can see what we can do for you. 
 
"- Extract the compile tools in that directory as well. "

what are compile tools and where do i get them?

and do i install the compile tools inside id1/maps? 
 
"- Extract the compile tools in that directory as well. "

what are compile tools and where do i get them?

and do i install the compile tools inside id1/maps? 
 
Weve linked the compile tools to you multiple times, but here it is again:

http://ericwa.github.io/tyrutils-ericw/

You can put them anywhere. Its best to put them in their own folder within your Quake folder.

http://imgur.com/a/xI7zu

I remember you saying youre using trenchbroom. this screen is exactly what youll enter in your screen. replace "Y:/Quake/Compilers/vis.exe" with the location of the tools you downloaded. 
 
i should probably mention youll need to replace "Y:/Quake/Compilers/qbsp.exe" and "Y:/Quake/Compilers/light.exe" as well.

-.- 
Compile 
Read through this, specifically the "Time to Compile!" section:

https://quakewiki.org/wiki/Getting_Started_Mapping#Time_to_compile.21 
 
"qbsp.exe" is not recognized as an internal or external command, operable program or batch file 
 
 
i have qbsp,light and vis in my id1/map/bin folder now what? 
 
1) Click on the plus to add proper actions;
2) Select qbsp, vis, light - like on the attached image;
3) Fill "Parameters" you want to execute - maybe first just copy what you can see on the screenshot...
4) Run compilation;
5) Let me know if compilation has succeeded, so we can move further;

Image for above instructions 
 
Nada, nothing happens 
 
itd be REALLY helpful for you to include a screenshot of what you typed into the compiler in Trenchbroom and we can likely explain why it didnt work. 
 
 
waht went wrong? 
 
That's Windows 10?

If you shift+right click in an empty spot in the maps folder does it list an option to "Open command window here" ? If so, do it and type in the command manually.

qbsp.exe mapname.map

Make sure both the map file and qbsp.exe are in that folder. 
 
Rick! You are the man! I got my map to work! 
 
Also Mukor, khreator,ericw every one here! much love and thank you for your patience! now i can finally start working on my first project! 
There Are Spaces In The Paths 
It's possible that TB cannot handle those properly. If that turns out to be the problem, please create a bug report. 
 
hey, i could run the qbsp.exe via command line but it doesn not incule the vis or light. Trenchbroom compiling still diesnt work. it just doesnt do anything. 
 
http://i.imgur.com/F6uZiZN.png

Here is a screenshot from my compiler and the paths where my qbsp vis and light are also the map im working on. i can run the qbsp via commandline but ofcourse it will not include any lights that i have added to my map. 
Yeah 
As I said, it's likely due to the spaces in the paths. 
Treat It Like 3 Compilers 
First run qbsp to compile the geometry and collisions.

Second run vis to compile the visibility calculations so the engine doesn't have to draw the whole map at once all the time.

Third run light to compile the lighting. 
 
Make a batch file in the maps folder and run it the same way as I explained for qbsp.exe

qbsp.exe mapname.map
light.exe mapname.bsp
vis.exe mapname.bsp

Right click in maps folder and choose new text document. Call it makebsp (or something). Copy and paste or type in those 3 lines above but change mapname to your map's name.

Save the file then change the extension from .txt to .bat, there will probably be a warning about changing it, but just okay it.

Use shift+right click to open the command window and type makebsp and hit enter. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.