# Feature Request : Pre/Post Build Commands

**URL:** <https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776>\
**Category:** FMOD Studio\
**Created:** [May 1, 2013, 5:51pm UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776 "2013-05-01T17:51:38Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![clevijoki](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@clevijoki](https://qa.fmod.com/u/clevijoki)\
**Post date:** [May 1, 2013, 5:51pm UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776/1 "2013-05-01T17:51:38Z")

</div>

It would be nice to have pre and post-build command option we could run after builds are made. It would also be nice to have some tokens like $(PROJECT\_PATH) to use in them so we could write project-relative post build scripts.

---

<div class="post-metadata">

**Author:** ![patrick](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/patrick/32/261_2.png) [@patrick](https://qa.fmod.com/u/patrick)\
**Post date:** [May 2, 2013, 2:06am UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776/2 "2013-05-02T02:06:39Z")

</div>

Thanks for sending through the request. What sorts of things would you be looking to run in these commands? It would be helpful to have a clear idea of what you’re trying to achieve as we may be able to approach this differently for Studio.

---

<div class="post-metadata">

**Author:** ![clevijoki](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@clevijoki](https://qa.fmod.com/u/clevijoki)\
**Post date:** [May 6, 2013, 3:23pm UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776/3 "2013-05-06T15:23:05Z")

</div>

If we want to copy the bank files somewhere else after building, for example.

---

<div class="post-metadata">

**Author:** ![raymond](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@raymond](https://qa.fmod.com/u/raymond)\
**Post date:** [May 7, 2013, 1:06am UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776/4 "2013-05-07T01:06:59Z")

</div>

There are a couple features we’re currently working on that might help - specifying a build directory for banks, and well as a command-line tool for building projects. Both of these will be available in the next release (May 17).

---

<div class="post-metadata">

**Author:** ![clevijoki](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@clevijoki](https://qa.fmod.com/u/clevijoki)\
**Post date:** [May 15, 2013, 2:03pm UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776/5 "2013-05-15T14:03:03Z")

</div>

My goal would be to that the sound designers can click ‘build’ and then immediately see the changes in the editor or running game.

Currently I parse the project xml to build an xml file to extract information like the parameter names, the path of the banks to be loaded, and then copy the banks and these xml files over to the build directory. I also need to send a network event to the consoles so they will reload the assets. So even though live editing doesn’t support adding assets to events yet, I may be able to get a reasonable facsimile by reloading the banks as the game is running.

These secondary steps are currently performed by a batch file.

---

<div class="post-metadata">

**Author:** ![shand](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@shand](https://qa.fmod.com/u/shand)\
**Post date:** [March 14, 2014, 5:36pm UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776/6 "2014-03-14T17:36:28Z")

</div>

> [@raymond](#):
>
> There are a couple features we’re currently working on that might help - specifying a build directory for banks, and well as a command-line tool for building projects. Both of these will be available in the next release (May 17).

Any chance of getting a build output directory argument in the command line tool any time soon?

---

<div class="post-metadata">

**Author:** ![patrick](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/patrick/32/261_2.png) [@patrick](https://qa.fmod.com/u/patrick)\
**Post date:** [March 17, 2014, 1:26am UTC](https://qa.fmod.com/t/feature-request-pre-post-build-commands/10776/7 "2014-03-17T01:26:26Z")

</div>

Hi shand,

Just wondering if you’ve tried setting the “Built banks output directory” from the tool? You can access this via the Preferences window, under the Build tab. This directory will is used for command line builds as well.
