XNA Creators Club Online
Page 1 of 1 (4 items)
Sort Posts: Previous Next

XACT Wave bank & source .wav's

Last post 7/7/2009 2:34 PM by Bjoern Graf. 3 replies.
  • 7/6/2009 11:19 PM

    XACT Wave bank & source .wav's

    Hey guys,

    I just need a bit of help understanding the whole xact process. I have 5 source .wav files, each of them are 10-11mb and I load them into my wave bank. I used the xWMA compression at 100 quality and the wave bank file only ends up being 7mb (woo!) but it seems I still need my source .wav files around or the game fails to build. They aren't even in my game project folder or anything but I'm wondering if I need them in the actual game when i release. It seems sort of foolish because they are stored and compressed in the wave bank, so I'm not sure why it matters where the original source files are.

    Any help would be very appreciated!
    Kaleidoscope: DreamBuildPlay 2009 Top 6, get it now on the marketplace! -- Watch the Trailer -- Follow us on Twitter!
  • 7/7/2009 4:47 AM In reply to

    Re: XACT Wave bank & source .wav's

    If you include and build the XAP file in your content project then you need to have the wave files accessible as it checks if the XAP or any of the wave files it references have been cahnged and rebuilds the binaries. However, if you include the resulting binaries in your content project you only have to provide these (e.g. every xgs, xsb and xwb) and can keep the source XAP and wave files elsewhere.
    We are boki. The rest is known.

    The not so known part of the rest: It is Björn or Bjoern, but never Bjorn.

    Twitter ~ Bnoerj ~ SharpSteer ~ SgtConker.com
  • 7/7/2009 1:32 PM In reply to

    Re: XACT Wave bank & source .wav's

    Ohhh that makes so much sense! thanks a lot!

    edit: I have one other question about this then, if I continue just using the .xap, when I go to build the game for final release will it build the binaries and just use them from now on without having to reference the source .wav's anymore? Or will it try to reference them everytime someone starts the game?
    Kaleidoscope: DreamBuildPlay 2009 Top 6, get it now on the marketplace! -- Watch the Trailer -- Follow us on Twitter!
  • 7/7/2009 2:34 PM In reply to

    Re: XACT Wave bank & source .wav's

    If you distribute the game in binary form only the build XACT files are used, e.g. not the xap nor the wave files. In other words: all the end user needs to run your game is the content of the bin/<platform>/Release directory.
    We are boki. The rest is known.

    The not so known part of the rest: It is Björn or Bjoern, but never Bjorn.

    Twitter ~ Bnoerj ~ SharpSteer ~ SgtConker.com
Page 1 of 1 (4 items) Previous Next