Converting textures

Chees502Chees502 Join Date: 2010-11-20 Member: 75109Members
I have a series of 5 images I am wanting to convert to .material, I have my output directory set, and whenever I try to build it skips over my files. They are .psd and 512x512, I have also tried flattening them, is there a step I am missing somewhere?

<!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Building...
-------------------------------------------------------------------------
Build complete (0 seconds)
0 succeeded, 0 failed, 0 up-to-date, 6 skipped<!--QuoteEnd--></div><!--QuoteEEnd-->

Comments

  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    <a href="http://www.unknownworlds.com/ns2/wiki/index.php/Importing_Custom_Textures" target="_blank">http://www.unknownworlds.com/ns2/wiki/inde...Custom_Textures</a>
  • Chees502Chees502 Join Date: 2010-11-20 Member: 75109Members
    I checked the wiki about it, and it did not say anything specific, that I have not done.
    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->The Builder application will sometimes skip a custom texture or model. This is because something about the texture or model does not meet the requirements to be compiled.<!--QuoteEnd--></div><!--QuoteEEnd-->
    Other than being .PSD, 512x512, 8-bit, and flat I don't know any other requirements.
  • persoperso Join Date: 2003-02-19 Member: 13740Members, WC 2013 - Supporter
    edited November 2010
    Check that you have a <b>materialsrc</b> directory in the <b>source</b> directory that you have defined in builder.
    Builder checks for material source files in that directory. I think this was mentioned in one of BreadMan's video tutorials
    (<a href="http://www.youtube.com/watch?v=bbF9HGYHQYc" target="_blank">http://www.youtube.com/watch?v=bbF9HGYHQYc</a>).

    edit: I re-read your post and this is probably not your problem but I suggest watching the video anyway if you haven't
  • Chees502Chees502 Join Date: 2010-11-20 Member: 75109Members
    Yeah, my source directory has a materialsrc folder in it, and I did everything that was shown in this video. :\
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    Did you load the setup file in the Builder?
  • Chees502Chees502 Join Date: 2010-11-20 Member: 75109Members
    yes, I loaded the setup, you are unable to select build, if you do not have it selected.
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    Wait, are you getting errors, what does it chuck out in "verbose" mode?
  • Chees502Chees502 Join Date: 2010-11-20 Member: 75109Members
    I am not getting errors, I am just getting the post saying it skipped files, and nothing has changed with verbose enabled.
    <!--quoteo--><div class='quotetop'>QUOTE </div><div class='quotemain'><!--quotec-->Building...
    -------------------------------------------------------------------------
    Build complete (0 seconds)
    0 succeeded, 0 failed, 0 up-to-date, 6 skipped<!--QuoteEnd--></div><!--QuoteEEnd-->
  • SN.WolfSN.Wolf Join Date: 2010-03-29 Member: 71115Members
    I get the same error since the first time i loaded the builder, I am in hopes there will be an easier (alternate) way to import textures in the future.
  • MasterGMasterG gmfbst Join Date: 2003-08-24 Member: 20169Members, Squad Five Blue
    <a href="http://developer.nvidia.com/object/photoshop_dds_plugins.html" target="_blank">http://developer.nvidia.com/object/photosh...ds_plugins.html</a>

    That should work just fine. I have my textures working in the editor. Also had the same problem with the builder not accepting my files.
  • Chees502Chees502 Join Date: 2010-11-20 Member: 75109Members
    wait, so do I need to save it as a .dds to build a .material?
  • MasterGMasterG gmfbst Join Date: 2003-08-24 Member: 20169Members, Squad Five Blue
    edited November 2010
    No. You have to save your images as .dds in your ns2 texture folder(or a custom subfolder). The .material is a textfile that specifies the diffuse map, normal map and specular map etc. You can copy the .material file from one of the original textures and put it in the same folder as you custom textures. Then edit its name and specify paths inside. Hope that helps?
  • SgtBarlowSgtBarlow Level Designer Join Date: 2003-11-13 Member: 22749Members, NS2 Developer
    edited November 2010
    The builder converts PSD's into .dds files and yes .material file listing all its associated texture counterparts has to be with the PSD in the build folder called materialsrc


    That texture tutorial is slightly wrong, the builder will copy the .material text files accross with the converted files.
Sign In or Register to comment.