Tuesday, November 10, 2009

Version Problem Solved...sort of

It took a bit more browsing through the XNA forums to find a 'solution' to my XACT audio problem. Here are a few important things to note.

First, the 'version' of the project is not entirely dictated by the 'version' of Visual Studio that you're currently using. The project is versioned when you start the project. I began "Deep Blue" with Game Studio 2.0 but then upgraded to 3.0 when it was mandated by the rules.

The problem with that is that XACT 3.0 wasn't compatible with Game Studio 3.0...even though they were a part of the same download...mmm...yeah....but anyhow. They fixed the compatibility issue with Game Studio 3.1 so I upgraded my version of Game Studio. But that didn't mean I upgraded the project...which remained at version 3.0, even though I was developing it in 3.1 at the time. So I had to manually 'upgrade' my project to 3.1.

Solved.....right? Not quite.

Even after doing this I got some really odd version errors on the audio so I decided to open XACT 3.0 and rebuild the sound banks again. But that didn't seem to help. I confirmed that the files were being overwritten (updated), but it didn't seem to have any effect.

I had to manually delete the compiled sound bank files and THEN rebuild the sound banks to finally get the project to compile without error. So now it all works, but it still doesn't make much sense.

Sunday, November 8, 2009

Version Problems...

See, and I was going to make this post about how cool and awesome the XACT audio tool was for sound engineering. But instead, this post is about how screwy version control and backwards compatibility can be.

I'm having some odd version problems with XACT and Game Studio 2.0 or 3.0 (it's hard to tell which is causing the problems). The XACT audio tool is what enables you to create sound banks for XNA games.

At this point, one solution (sort of) appears to be to make a new sound bank with all the sounds in it. Which believe it or not is a little more complex than simply including a bunch of wav files in one collection. And honestly, that was supposed to be the 'cool' part...unless I have to do the whole thing twice.

Bottom line...or as much as I can tell right now...is that I began this project with Game Studio 2.0, which came with the XACT 2.0 tool. Then I had to upgrade to Game Studio 3.0 (all XNA submissions must be in 3.0 at this time). Well Game Studio 3.0 came with the XACT 3.0 audio tool...HOWEVER...the 3.0 audio tool was not compatible with Game Studio 3.0. (Yeah, I have no idea how THAT passed any kind of QA). This is an error they fixed in Game Studio 3.1. So you'd think everything would be cool (now). But it looks like (judging from the XNA forums), that if you start a project with an older version of Game Studio...it won't accept newer file format of XACT.

Ok, so worst case is that I have to recreate all the audio I just finished in XACT 3.0....back in the 2.0 version since any sound bank created with XACT 2.0 seems to work fine. ACCEPT for the funny thing call the XACT auditioning tool which is another app that runs in the background along with XACT that enables you to listen to the sounds you're creating in XACT. Without the auditioning tool...you can't hear a single thing of what you're creating. The totally cool and awesome part now is...the 3.0 version of the auditioning tool deleted/overwrote the 2.0 version. So now, if I try to use the XACT 2.0 tool to recreate the sounds....I can't listen to a single thing I'm doing.

So....a bit stuck on audio at the moment. Still searching the forums for a better answer than the one I've found so far.