Freigeben über


Getting The Source To Compile

A couple of other things. First of all I'll be uploading a more deployable version of the source very soon. In the meantime, if you are eager to compile the source code on your own machine, be aware that for some reason all the XSI files have the textures hardcoded to reference my machine's specific path. You'll need to change this for Crosswalk to process the models. XSI files are text files, you can just open them in VS and look for the texture declaration blocks:

XSI_Image piratebeard_large_jpg {
        "C:\\Users\\dawate\\Documents\\Visual Studio 2005\\Projects\\GuitarMatey\\GuitarMatey\\content\\textures\\piratebeard_large.jpg",
        1024,
        1024,
        4,

etc.

Just replace those paths to match yours and you'll be good.

Comments

  • Anonymous
    February 06, 2008
    PingBack from http://msdnrss.thecoderblogs.com/2008/02/06/getting-the-source-to-compile/

  • Anonymous
    February 26, 2008
    Hi, I can't compile the solution. I've corrected the .xsi files as you metioned and I've also added reference to XSIXNARuntime.dll and Softimage.WMImporter. Again I get 2 errors and 10 warning when I build the project. Error Unsupported type. Cannot find a ContentTypeWriter implementation for Microsoft.Xna.Framework.Content.Pipeline.Graphics.NodeContent. G:XNAProjectsGuitarMateySourceGuitarMateyGuitarMateyContentModelsPirate_Blue.xsi GuitarMatey Warning Warning compiling G:XNAProjectsGuitarMateySourceGuitarMateyGuitarMateyContentEffectsPhong.fx: warning X3596: Microcode Compiler possible performance issue: pixel shader input semantic 'TEXCOORD2' is unused G:XNAProjectsGuitarMateySourceGuitarMateyGuitarMateyContentEffectsPhong.fx 101 1 GuitarMatey360

  • Anonymous
    February 26, 2008
    The comment has been removed

  • Anonymous
    February 27, 2008
    Thank you Dan it's fixed. It was the importer prop. not set to the crosswalk importer.