Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document qbsp flags needed? #6

Open
elliottt opened this issue Oct 4, 2023 · 7 comments
Open

Document qbsp flags needed? #6

elliottt opened this issue Oct 4, 2023 · 7 comments

Comments

@elliottt
Copy link

elliottt commented Oct 4, 2023

This project is so neat!

I'm pretty new to TrenchBroom and the bsp workflow in general, and hit a bit of a stumbling block with mapping textures to materials in godot: it wasn't obvious to me initially that I needed to pass the -path flag to qbsp, so that it would know where to find my textures. I'm not sure what the best way to document this would be, and perhaps people that are more familiar with the toolchain just know to do this already, but it could help others have an easier time with their initial experiments if there was an explanation of how to export successfully from TrenchBroom.

Thanks again for this plugin, it was super gratifying to see my first experiments with TrenchBroom load into Godot :)

@Skaruts
Copy link

Skaruts commented Oct 4, 2023

This would be quite nice.

I'm not getting good results. I'm passing -bsp2 and -path (thanks to you). Are there other arguments I should be passing?

@jitspoe
Copy link
Owner

jitspoe commented Oct 5, 2023

Yeah, I want to do a tutorial on how to set this stuff up, but I haven't gotten around to it. Time keeps running away from me!

I wouldn't use -bsp2, as I don't think that format is 100% supported correctly. It's only necessary when you go beyond certain limits.

Edit: I'm not actually using any qbsp flags, personally. -path might be necessary if your wad files aren't in the same directory as the .map file or the full path for the .wad files isn't specified, but isn't required.

@Skaruts
Copy link

Skaruts commented Oct 5, 2023

In my case I suppose I need -path, unless I'm missing something. qbsp was complaining that it couldn't find my textures, and using -path fixed it.

I'm not using wad files, just loose textures, but it seems to be working fine.

@jitspoe
Copy link
Owner

jitspoe commented Oct 6, 2023

I take back what I said earlier. I am using one command line parameter: -subdivide 0

This isn't necessary, though. It just reduces the amount of subdivision that happens, because we don't have the same limits that Quake does.

Also, I just updated the addon to support the BSP2 format, though you really shouldn't use that format unless needed, as it just makes larger files. Ericw's qbsp will automatically switch to BSP2 if you go beyond the limits that can be stored in vanilla Quake BSP.

@Yagich
Copy link
Contributor

Yagich commented Oct 18, 2023

In my case I suppose I need -path, unless I'm missing something. qbsp was complaining that it couldn't find my textures, and using -path fixed it.

@Skaruts which compiler are you using? with Ericw's qbsp i don't get a -path option 🤔

@Skaruts
Copy link

Skaruts commented Oct 18, 2023

I'm using ericw's qbsp. I got it from the description in jitspoe's video about the plugin.

https://ci.appveyor.com/project/EricWasylishen/ericw-tools/build/artifacts

Btw, the -path argument only takes one directory at a time, as far as I can tell. If you have textures in subfolders, you have to do -path for each of the subfolders. I just made a batch file for it, and I call it from TB.

@iwakura-midi
Copy link

In my case I suppose I need -path, unless I'm missing something. qbsp was complaining that it couldn't find my textures, and using -path fixed it.

@Skaruts which compiler are you using? with Ericw's qbsp i don't get a -path option 🤔

The Linux version of qbsp doesn't seem to support the path option, I use the Windows version over wine to get around it, along with a bash file to shove all the texture folders in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants