General Rainbow Bacon Posted July 31, 2011 So, DB2 refuse to build nodes for my huge epic map now, what do I do? 0 Share this post Link to post
Zom-B Posted July 31, 2011 select a different nodebuilder in the game configuration? (F6) 0 Share this post Link to post
EarthQuake Posted July 31, 2011 Reduce the split factor, break the map into smaller maps, use compressed nodes, switch to UDMF, etc, etc... By messing with my nodebuilder's command-line arguments alone, I've been able to reclaim as many as seven thousand SEGS on extremely large maps. You also fail to mention what current nodebuilder and command line you're using. 0 Share this post Link to post
General Rainbow Bacon Posted July 31, 2011 I don't know how to mess with the nodebuilder's command line. I can't break the map into smaller maps. I was using Zennode. I just switched to ZDBSP to compress the nodes, but I can no longer run the map in PRboom+ which I want to be able to do. 0 Share this post Link to post
EarthQuake Posted July 31, 2011 Here's some documentation on using ZenNode: http://www.mrousseau.org/programs/ZenNode/README.html The -n switches in particular are most likely what you want to mess with. Ideally to build larger maps, you want to use an algorithm to reduce the number of splits to the BSP, producing smaller nodes. Try each one to see if they successfully build, and once [or if] they do, stick with the one that produces the fewest SEGS. You might also try compressing the BLOCKMAP if your map takes up a lot of area. If all that fails, try switching nodebuilders and do the same. Oh, and I'm pretty sure you can configure DB2 to run the nodebuilder with whatever command-line arguments you want. 0 Share this post Link to post
General Rainbow Bacon Posted July 31, 2011 Do I just run the command line from DB2 or after I'm done editing do I close it and build the nodes separately? 0 Share this post Link to post
Gez Posted July 31, 2011 DoomHero85 said:I don't know how to mess with the nodebuilder's command line. I can't break the map into smaller maps. I was using Zennode. I just switched to ZDBSP to compress the nodes, but I can no longer run the map in PRboom+ which I want to be able to do. Don't compress the nodes, but do use the extended node formats. PrBoom+ supports them. See doc for further info. 0 Share this post Link to post
General Rainbow Bacon Posted July 31, 2011 My question about doing the nodebuilding in or out of DB still hasn't been answered. If I put this command line in, where do i do it in DB? 0 Share this post Link to post
Jodwin Posted July 31, 2011 DoomHero85 said:My question about doing the nodebuilding in or out of DB still hasn't been answered. If I put this command line in, where do i do it in DB? If your maps are that large, I'd recommend building nodes outside of DB. Saving the map with node building disabled is much faster with huge maps. 0 Share this post Link to post
General Rainbow Bacon Posted July 31, 2011 So I need to download a nodebuilder and do it in the prompt outside of DB then, and use one of the command lines Gez showed me on that page? 0 Share this post Link to post
Jodwin Posted July 31, 2011 DoomHero85 said:So I need to download a nodebuilder and do it in the prompt outside of DB then, and use one of the command lines Gez showed me on that page? The nodebuilders are already in Doom Builder's installation folder. 0 Share this post Link to post
General Rainbow Bacon Posted July 31, 2011 I tried using that first command line: zdbsp -R -m$_Mapname $_Wadfile -o$_Wadfile but I don't what any of that stands for. I tried to do it like this: -zdbsp -R -m$_map01 $_(Mywad) -o$_(newnamewad), and then I tried -zdbsp -R -m$_(mywad), then the rest the same, and got this error both times: Could not open input file. What do I do? 0 Share this post Link to post
Jodwin Posted July 31, 2011 DoomHero85 said:I tried using that first command line: zdbsp -R -m$_Mapname $_Wadfile -o$_Wadfile but I don't what any of that stands for. I tried to do it like this: -zdbsp -R -m$_map01 $_(Mywad) -o$_(newnamewad), and then I tried -zdbsp -R -m$_(mywad), then the rest the same, and got this error both times: Could not open input file. What do I do? zdbsp -R -m map01 Mywad.wad -o newnamewad.wad Edit: While we're discussing nodebuilders, I noticed this in the ZDoom wiki for ZDBSP:--no-nodes or -N This option causes ZDBSP to take the node information from the old wad file and write it to the new wad file. I cannot think of any reason why you would want to do this, but it is provided as an option nonetheless. I actually used this for Jade Earth, as I built nodes with Zennode which produced better nodes for the map, but then I used ZDBSP to build a blockmap so that the map would run in Eternity. So yeah, -N does have a purpose. :) 0 Share this post Link to post
Gez Posted July 31, 2011 Close DB2. Go to your DB2 folder, and from there into Compilers\Nodebuilders. You'll see a few cfg files. Edit them. E.g., to add extended nodes, edit the zdbsp.cfg file. You'll notice a bracketed section named "compilers", ignore it. Scroll down to another bracketed section named "nodebuilders". It contains three subsections called "zdbsp_normal", "zdbsp_fast" and "zdbsp_compressed". Copy/paste this as a fourth subsection: zdbsp_extended { title = "ZDBSP - Extended nodes"; compiler = "zdbsp"; parameters = "-X -o%FO %FI"; } Now restart DB2 and hit F6. You can modify your game configurations from there, and choose which nodebuilder config to use -- you should see "ZDBSP - Extended nodes" as a choice available now. Extended nodes are supported by the latest versions of ZDoom, GZDoom, PrBoom+ and Eternity, as well as the current beta versions of Skulltag. 0 Share this post Link to post
General Rainbow Bacon Posted July 31, 2011 Done thankx guys. Moderator, you can close this now if you want. 0 Share this post Link to post
CodeImp Posted August 1, 2011 While Gez' solution works, I don't recommend modifying any of the files that come with DB. Any file that comes with DB is overwritten with any updates. You can still do what you want, but you should do it in a separate file. In the Compilers\Nodebuilders directory, make a new text file with the .cfg extension. In that file you paste the configuration you want. Make sure that you also add the "nodebuilders" section: nodebuilders { zdbsp_extended { title = "ZDBSP - Extended nodes"; compiler = "zdbsp"; parameters = "-X -o%FO %FI"; } } DB will pick up your new file and add this to the list of nodebuilders just like it would when it is in any of the other .cfg file. 0 Share this post Link to post
Zom-B Posted August 2, 2011 If you're map is epically huge, then I'm interested in what it looks like. 0 Share this post Link to post
General Rainbow Bacon Posted August 2, 2011 Look at the slaughterfest thread. 0 Share this post Link to post