-
Notifications
You must be signed in to change notification settings - Fork 4
Using the XactImporter and XactProcessor
The InfinitespaceStudios.Pipeline tooling comes with versions of the XactImporter
and XactProcessor
. In order to use these you will need to have the XactBld3.exe
installed on your machine. This is a tool what ships with the XNA 4.0 Refresh installer. You can get the latest installer from XnaForVS2017
Follow the instructions at FlatRedBall. This will get you setup on Windows and VS2017.
To get this working on Linux you need to install wine. This can be done via your distributions package manager. On Debian based systems
apt-get install wine
once that is done you need to setup wine so it will run
wineboot -i
Now you can install the Xact tooling using the XNA Game Studio Platform Tools.msi
from the XnaForVS2017 zip file.
wine msiexec XNA Game Studio Platform Tools.msi /i /quiet /qn /norestart
To get this working on Mac we need to use wine. We can install wine using Homebrew.
brew install wine
We can then setup wine just as we do on Linux based systems.
wineboot -i
Now you can install the Xact tooling using the XNA Game Studio Platform Tools.msi
from the XnaForVS2017 zip file.
wine msiexec XNA\ Game\ Studio\ Platform\ Tools.msi /i /quiet /qn /norestart
Now that we have XactBld3.exe
setup we can start processing XACT
output. The XACT
IDE itself can be used to generate the .xap
files which contain your audio. This program runs on Windows.
Once you have your .xap
file you can add this to your Content.mcgb
via the Pipeline Tools (or manually). Set the Importer to use XapImporter
and Processor to XapProcessor
then compile your content as normal. If the setup was done correctly you should see files like SoundBank.xsb
and WaveBank.xwb
appear in the appropriate directory in your Content folder.