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

XACT and deployment

Last post 10/9/2009 3:56 AM by Silentcomposition. 3 replies.
  • 10/8/2009 5:17 AM

    XACT and deployment

    Hi All,

    Im just learning XACT and its been very kind to me so far, I have a VERY simple Wave Bank with a single WAV file, and and single Sound Bank with a single sue (like I said very simple :))

    My question is, when I want to deploy this application, how to I package up the WAV files? at the moment I can see that the wav file in the Wave Bank has a "Source Path" which is relative to the project file (..\wavefile.wav) so I guess I just put the wav files in a directory relative to the project (xgs) file?

    Is that the common way of doing it?

    Cheers,
    Mark
  • 10/8/2009 1:35 PM In reply to

    Re: XACT and deployment

    Hey Mark

    You pretty much hit the mark with relative to the project file.

    The only thing I have to say is, try to organize your files carefully into folders alongside the project file
    It's not exactly necessary, but it really helps as projects get larger.

    Here is a simple example

    Music - (Seperated by Game State depending on the size of game)
    Interactive Music - (If you have Vertical Layered Music)
    SFX - (Seperated by Game State, Or Type of SFX Depending on Size of Game, or Play Type.)
    Dialogue - (Split into Characters)

    Xact makes it easy to switch out sound effects so all of this isn't entirely necessary, however some API's - (Such as OpenAL) don't allow such ease to go back and fix things, and often times tweaking sounds in-game requires altering the base file, and re-saving it as the same name, so it doesn't have to be switched out in code.  This can be a major hassle if things aren't organized.


    [ E-mail - Silentcomposition@yahoo.com ] [ Website - http://www.danielgooding.me/indi ]
    [ As Of Dec 8 2009 ] - (Total Indi Games – 33) (Total Music Tracks Made – 177) (Total SFX Made – Over 1350) (Currently Uploaded Tracks On Webpage– 113)
    Some Teams I've worked with recently (http://manabomb.com/) (http://www.talryyngames.com/) (http://retroburngames.com/)
  • 10/8/2009 11:14 PM In reply to

    Re: XACT and deployment

    Hey SilentComposition,

    Thanks for the details, Ill make sure to organise my files as I go and deploy them with the app.

    Just to clarify, when I use the 3 generated files from the XACT tool, and I programatically call Play() on a Cue, does it look for a hard coded reference to a wav file at runtime?

    Cheers,
    Mark
  • 10/9/2009 3:56 AM In reply to

    Re: XACT and deployment

    Hey Mark



    I'm not the best to answer that question.  I am generally just deal with the project itself, and the core assets.
    I'm sure there are plenty of helpful individuals on the forums who can answer this properly.

    Most of the time i'm told that C# needs the original files to build the project correctly, so I usually include all the source assets as well.
    Because of this, I usually send off files gradually, and update as necessary.

    Hope you find your answer 
    Daniel


    [ E-mail - Silentcomposition@yahoo.com ] [ Website - http://www.danielgooding.me/indi ]
    [ As Of Dec 8 2009 ] - (Total Indi Games – 33) (Total Music Tracks Made – 177) (Total SFX Made – Over 1350) (Currently Uploaded Tracks On Webpage– 113)
    Some Teams I've worked with recently (http://manabomb.com/) (http://www.talryyngames.com/) (http://retroburngames.com/)
Page 1 of 1 (4 items) Previous Next