BAZOOKAMEGATRON

Building XACT project has failed error when building Spacewar Starter Kit
i have latest version XNA Game Studio Express, XNA Framework, DirectX SDK
any tips
thanks =)


Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

Arek Bal

Tutorial in documentation got some bug...maybe there's a problem:

when loading settings, wave bank, and save bank...that's not really true that you should give same name as project and different extension.

From my experience...(hour to solve this one). project will build into and create names it have in properties(default for audioEngine is sound, not your project's name)
To make it clear - do everything as in tutorial, do not change anything in properties in Xact:...and change...this one:
audioEngine = new AudioEngine("Content\\Audio\\MyGameAudio.xgs"); waveBank = new WaveBank(audioEngine, "Content\\Audio\\Wave Bank.xwb"); soundBank = new SoundBank(audioEngine, "Content\\Audio\\Sound Bank.xsb");

to this one:
audioEngine = new AudioEngine("Content\\Audio\\sound.xgs"); waveBank = new WaveBank(audioEngine, "Content\\Audio\\Wave Bank.xwb"); soundBank = new SoundBank(audioEngine, "Content\\Audio\\Sound Bank.xsb");

EDIT: OH...my gosh...I wrote all this...but you were talking about Spacewar starter kit...sh.t.
EDIT2: What you got in Output window




Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

BAZOOKAMEGATRON

output:

Content\Audio\SpaceWar.xap : error : Building XACT project has failed.
Content\Audio\SpaceWar.xap : error :
Done building project "MySpacewarWin1.csproj" -- FAILED.




Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

George Clingerman

I haven't been able to recreate this issue on any of the PCs I've got XNA installed on. Can you build an XACT project outside of the SpaceWar demo If you can't, I'd recommend re-downloading XNA Game Studio Express and trying a fresh install. It's possible that the XACT portion of your install failed in some manner.





Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

David Weller - MSFT

Can you give us some more details What OS are you on What DX SDK version do you have installed (if any) Are you able to successfully create and run other XACT samples/tutorials (Look in the docs under "Going Beyond: XNA Game Studio Express in 3D")

The information you've given is far too vague for anybody to help you.






Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

BAZOOKAMEGATRON

windows xp pro sp2, dx sdk december 2006

I dont know where to take XACT samples/tutorials -_-

in directx sdk directory there are only c++ samples and no managed code XACT samples





Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

Arek Bal

All right as I did some more work with Xact... I see that my post wasn't fully right. Tutorial is some way good. I am still don't really understand why in my first try Xact didn't use my projects name to project properties.

To help you, try build this...there is a "boom" in initialize:
http://www.sendspace.com/file/aep0a9

also maybe you should try to build rocket commander:
http://abi.exdream.com/




Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

BAZOOKAMEGATRON

the first project is builded perfectly but when i start game i see only white window... nice game =)
at building rocket commander i got same error as in spacewar
i think it is necessary to reinstall windows
it will solve all problems -_-




Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

Arek Bal

heh..It's just a presets Title.
Question is: Have you heard "Boom"(kickdrum) at start.

EDIT`: I Didn't want to gain post for nothin...
If you can hear sound in my project... It means that you got problems with assembling xact's files inside of Visual studio. I builded my xact project outside of VS, via Xact.

Of course I am not sure of it as I am amateur with a really li'l experience.

Solution... as it was written - reinstall.




Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

BAZOOKAMEGATRON

i see =)




Re: XNA Game Studio Express Building XACT project has failed error when building Spacewar

David Weller - MSFT

BAZOOKAMEGATRON wrote:

in directx sdk directory there are only c++ samples and no managed code XACT samples

Look in the XNA Game Studio Express docs. Tutorial #3 in "Making Sounds with XNA Game Studio Express and XACT"