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

Problem with compression

Last post 23/10/2009 13:35 by Silvermax. 1 replies.
  • 23/10/2009 13:30

    Problem with compression

    I'm working right know in the game music.

    Seting the music compresion to XMA or xWMA (in xbox) result to an Exception in the line waveBank = new WaveBank(audioEngine, "\\content\\audio\\wave bank.xwb"); Using PCM compression works fine (but of course the wave bank is huge).

    In PC the same. Using xWMA raises the exception. PCM and ADPCM works fine.

    -       $exception  {System.InvalidOperationException: This resource could not be created. 
    en Microsoft.Xna.Framework.Audio.WaveBank..ctor(AudioEngine audioEngine, String nonStreamingWaveBankFilename) 
    en Another_Puzzle_LIVE.Pantallas.PantallaSilvermax.PantallaActiva() 
    en Another_Puzzle_LIVE.Pantalla.Update() 
    en Another_Puzzle_LIVE.Pantallas.PantallaSilvermax.Update() 
    en Another_Puzzle_LIVE.GestorPantallas.Update() 
    en Another_Puzzle_LIVE.Game1.Update(GameTime gameTime) 
    en Microsoft.Xna.Framework.Game.Tick() 
    en Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e) 
    en Microsoft.Xna.Framework.GameHost.OnIdle() 
    en Microsoft.Xna.Framework.XboxGameHost.Run() 
    en Microsoft.Xna.Framework.Game.Run() 
    en Another_Puzzle_LIVE.Program.Main(String[] args) 
    }   System.Exception {System.InvalidOperationException} 
     

    Any suggestion?

    Kaotik puzzle in playtest If you want to play the game online add me to your friend list. Gamrtag Silvermax1975. Thanks
    twitter, facebook, youtube
  • 23/10/2009 13:35 In reply to

    Re: Problem with compression

    Answer
    Reply Quote
    FIXED. Probably a bug: DON'T USE "FRIENDLY NAMES" option in the wave bank proprieties (in the XACT)
    Kaotik puzzle in playtest If you want to play the game online add me to your friend list. Gamrtag Silvermax1975. Thanks
    twitter, facebook, youtube
Page 1 of 1 (2 items) Previous Next