Builder won't build overviews :(

BeigeAlertBeigeAlert Texas Join Date: 2013-08-08 Member: 186657Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow, Subnautica Playtester, Pistachionauts
edited June 2014 in Mapping
Pre-266, I tried swapping out the builder_setup.xml file with the one that automatically generates overviews, and I got this error message "'C:\Program' is not recognized as an internal or external command, operable program or batch file."

So I commented out some of the code to make it work, and it seemed to work fine, apart from not getting any custom textures in the overview to work.

Now that 266 has dropped and overview generation has been added back in (and I swear I haven't touched any of the config files), I'm getting this error message again. Rather than work around it like before, I'm hoping to figure out the root cause of it. Is anybody else getting this error message? It's almost as if it's trimming the path wherever there is a space.

EDIT: I'll elaborate. The code that I can remove to prevent the error is at line 21: "<working_dir>${game_dir}</working_dir>" If I take that out, it works fine, and that's great for now, but in the future, once I start getting more custom textures put into ns2_temple, I'll want it to be generating the overviews with the custom textures. It'd be a real pain to have to copy over all my textures into the ns2 directory every time I build.

Comments

  • SamusDroidSamusDroid Colorado Join Date: 2013-05-13 Member: 185219Members, Forum Moderators, NS2 Developer, NS2 Playtester, Squad Five Gold, Subnautica Playtester, NS2 Community Developer, Pistachionauts
    Delete this line
    <working_dir>${game_dir}</working_dir>
    Somehow that got in there even though I swear it worked when I committed it
  • BeigeAlertBeigeAlert Texas Join Date: 2013-08-08 Member: 186657Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow, Subnautica Playtester, Pistachionauts
    Sure, that's what I've done. Is there any way to get it to use the custom textures from the mod directory, or am I misunderstanding the whole thing?
  • Soul_RiderSoul_Rider Mod Bean Join Date: 2004-06-19 Member: 29388Members, Constellation, Squad Five Blue
    You need to set up the builder to use your mod directory, then it will work. I use the builder from Natural Selection 2 folder, but use custom paths to my mod, as using it through the launchpad doesn't work for some reason..

    Here is the paths I use for the builder:

    Source Directory: G:\Scripts&Programs\NS2\Code Bases\LaunchPad\ef\source
    Utilities Directory: C:\Steam\SteamApps\common\Natural Selection 2\utils
    Output Directory: G:\Scripts&Programs\NS2\Code Bases\LaunchPad\ef\output
    Game Directory: C:\Steam\SteamApps\common\Natural Selection 2

    The source and outputs point to my mod folders, and will use textures etc from those directories.
  • BeigeAlertBeigeAlert Texas Join Date: 2013-08-08 Member: 186657Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow, Subnautica Playtester, Pistachionauts
Sign In or Register to comment.