|
|
By: Jason Doucette (printer friendly version) Problem: If you are using XNA Game Studio 3.1, and attempting to use the much better (nearly 50% the size) xWMA compression rather than the standard XMA compression, then you will notice that Visual Studio will hang up during compilation. Checking the Windows Task Manager will show XactBld3.exe is stalled. Ctrl+Alt+Del'ing this compilation of XACT will allow the build to continuing, but you will not have the audio built properly. This issue has been resolved in XNA Game Studio 4.0, however many developers are still using XNA game Studio 3.1, since 4.0 offers a great many breaking changes. Solution: FlipperAnubi on the App Hub forums offers a solution. Replace XactBld3.exe with our own program, that launches the original XactBld3.exe. Our program will run in a console window, and the output from that program will flow harmlessly to the console window. It is this output that apparently is causing the original XactBld3.exe to hang up Visual Studio. The steps for this solution are as follows: Step #1. Rename the original XactBld3.exe Go into C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v3.1\Tools and rename XactBld3.exe to ORIGINAL_XactBld3.exe Step #2. Create our own program to replace XactBld3.exe Compile the following program, name is XactBld3.exe, and replace the original with it in C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v3.1\Tools. using System; Conclusion Try compiling a build with XACT using xWMA now, and you should see your own program run in a console window with a ton of verbose output from XactBld3.exe, and this should no longer hang up Visual Studio. Enjoy the 2x compression rate over WMA (at least, in the default compression settings of 60).
More Indie Articles:
External Links:
About the Author: I am Jason Doucette of Xona Games, an award-winning, indie game studio I run with my twin brother. We make intense retro games. Our company, our games, and our engine technology have all won prestigious awards and received worldwide press. Our games have ranked from #1 in Canada to #1 in Japan, as well as become #1 best sellers in multiple countries. Read about our story and our blog. |
|
Xona Games, Xona.com, Xonatech, Saw Tooth Distortion, Duality ZF, Decimation X, Decimation X2, Decimation X3, and Score Rush trademarked and copyrighted by Xona Games, Inc., Jason Doucette, and Matthew Doucette. © Xona Games, Inc. |