バージョン
menu_open
警告:あなたのメジャーリリース ( 2023.1.4.8496 ) に該当する最新ドキュメンテーションが表示されています。特定バージョンのドキュメンテーションにアクセスするには、Audiokinetic Launcherでオフラインドキュメンテーションをダウンロードし、Wwise AuthoringのOffline Documentationオプションにチェックを入れてください。

Configuring user SoundBank settings

The SoundBank settings at the project level determine what is part of the generation process, how it is included, and in what format it is generated. 「Defining the SoundBank settings for your project」 を参照してください。

With User SoundBank Settings you can override the project settings. User settings are only available to you and only affect SoundBanks you generate.

Configuring user SoundBank general settings

SoundBankのカスタムユーザ設定を行うには:

  1. On the SoundBank Manager toolbar, click the SoundBank Settings tool:

    If user overrides already exist, the tool has an orange background.

  2. From the menu, select User SoundBank Settings.

  3. In the SoundBanks tab, select Override Project SoundBank Settings.

  4. Select or deselect options to configure custom settings for your SoundBanks. For a reference to all of the settings, see 「SoundBank Settings: SoundBanksタブ」.

  5. OK をクリックします。This applies the settings and they are used until you deselect Override Project SoundBank Settings.

Overriding project SoundBank paths

SoundBanks are saved in the location specified in the SoundBank Paths section of the 「SoundBanksタブ」, but you can override that project setting with a user setting.

To override project SoundBank settings:

  1. On the SoundBank Manager toolbar, click the SoundBank Settings tool:

    If user overrides already exist, the tool has an orange background.

  2. From the menu, select User SoundBank Settings.

  3. In the SoundBanks tab, select Override Project SoundBank Settings.

  4. Select Override SoundBank Paths. For a reference to all of the parameters, see the SoundBank Paths section of the 「SoundBank Settings: SoundBanksタブ」.

  5. OK をクリックします。This applies the settings and they are used until you deselect Override Project SoundBank Settings or Override SoundBank Paths.

Overriding the project pre-generation and post-generation steps

ワークフローによってはSoundBank生成の直前、または直後に実行すべきステップやタスクがあるかもしれません。例えば、特定のSoundBank生成の前にそのSoundBankファイルをソース管理システムからチェックアウトする処理や、SoundBank生成直後にストリーム用ファイルをSoundBankのディレクトリにコピーする処理などです。この情報は通常プロジェクト全体を対象に設定しますが、場合によってはこれをオーバーライドして個別のカスタム設定を行うこともあります。

Wwiseではこのような種類のタスクをコマンドラインを作成して設定します。Wwiseには、必要なコマンドラインを必要な数だけ簡単にビルドするための、専用のコマンドラインエディタがあります。処理をさらにシンプルにするために、コマンドラインで使える全てのWwise固有の変数やWindows環境変数のリストが、エディタに入っています。

[注釈]注釈

ビルドプロセスはある外部ツールからエラーが返された場合や見つからない場合、中断されることがあります。該当するログの重大度レベル(Severity level)を、ログの設定で、Fatal Errorとすることで、これが実現されます。詳しくは「Managing messages that appear in the logs」を参照。

カスタム設定したGlobal opening step(グローバルなオープニングステップ)が失敗すると、ビルドプロセス全体が中断され、SoundBankは一切生成されません。一方、1つのプラットフォーム専用の、1つのカスタムステップで失敗が発生すると、そのプラットフォームだけをスキップされます。ただし、Global closing step(グローバルなクロージングステップ) は、プロセスの一部が成功しなかったため、スキップします。失敗と判断されるのは、外部プロセスが「0」以外の数値を返した時です。

カスタマイズしたコマンドラインを書くために使えるWwise変数を、下表に具体的に示します。

Command Line Variable

内容

$(AllowExceedMaximum)

SoundBankが、設定された最大サイズを超過した場合、生成するか否かを示す。

Allow SoundBanks to exceed maximumオプションを選択した場合、この変数は「true」に設定される。

$(GenerateContentFile)

各SoundBankのコンテンツリストのファイルを生成するか否かを示す。コンテンツファイルには、イベント、バス、State、Switchの情報や、ストリーム用やメモリ用の全オーディオファイルのリストが含まれる。

Generate SoundBank content filesオプションを選択した場合、この変数は「true」に設定される。

$(GenerateHeaderFile)

イベント、State、Switch、Game Parameterの名前をIDにマッピングしたヘッダファイルを、生成するか否かを示す。

Generate header fileオプションを選択した場合、この変数は「true」に設定される。

$(GenerateMaxAttenuationInfo)

イベントの最大減衰の情報を生成するか否かを示す。

Metadata Options: Max attenuation オプションが選択されている時、この変数は「True」に設定される。

$(GenerateEstimatedDuration)

イベントに推定最長ならびに最短持続時間、および持続時間タイプ情報が生成するか否かを示す。

Metadata Options: Estimated Duration オプションが選択されている時、この変数は「True」に設定される。

$(HeaderFileFullFilePath)

ヘッダファイルのフルパスで、具体的には: $(HeaderFilePath)\Wwise_IDs.h

$(HeaderFilePath)

ヘッダファイルを保存する、パスまたは場所。

このパスは、テキストボックスHeader file pathから取得される。

$(InfoFilePath)

現在のプラットフォームの、Infoファイルの完全なファイル名。

$(IsRunningFromCmdLine)

Wwiseが、-generatesoundbanksフラグ付きのコマンドラインから起動されたか否かを示す。

$(LanguageList)

コマンドラインにパスされたランゲージのリスト、またはSoundBank Managerで選択されたランゲージのリスト。

[注釈]注釈

このリストは、半角スペース区切りのリストです。

$(Platform)

現在のプラットフォーム名。

$(SoundBankList)

コマンドラインにパスされたSoundBankのリスト、またはSoundBank Managerで選択されたSoundBankのリスト。

[注釈]注釈

このリストは、半角スペース区切りのリストです。リストを1つの引数に含めるには、ダブルクオテーションマークを使うこと。

$(SoundBankListAsTextFile)

コマンドラインにパスされたSoundBankのリスト、またはSoundBank Managerで選択されたSoundBankのリストを含むテキストファイル。長いSoundBankのリストを扱う場合に便利です。

[注釈]注釈

このリストは、半角スペース区切りのリストです。リストを1つの引数に含めるには、ダブルクオテーションマークを使うこと。

$(SoundBankPath)

現在のプラットフォームのSoundBankが保存されている、パスまたは場所。

$(UseSoundBankNames)

生成されたSoundBankファイル(.bnk)の名前として、SoundBank名(true)とID(false)のどちらを使用するかを指定し、これはSoundBank内から他のSoundBankのメディアをレファレンスする時にも、適用される。

Use SoundBank namesオプションを選択した場合、この変数は「true」に設定される。

$(WwiseExeDriveLetter)

Wwise実行ファイル(Wwise.exe)がある、ワークステーションのドライブレター。

$(WwiseExePath)

Wwise実行ファイル (Wwise.exe)のパスまたは場所。

$(WwiseExeProcessID)

Wwise実行ファイル(Wwise.exe)の処理ID(Process ID)の数値 。

$(WwiseProjectDriveLetter)

Wwiseプロジェクトがある、ワークステーションのドライブレター。

$(WwiseProjectName)

現在のプロジェクト名。

$(WwiseProjectPath)

Wwiseプロジェクトのパスまたは場所。

$(WaapiWampPort)

WAAPIがWAMPプロトコル用に使うポート。

$(WaapiHttpPort)

WAAPIがHTTPプロトコル用に使うポート。

[注釈]注釈

環境変数は自動的に、$(WWISESDK) のようにマッピングされます。

柔軟性を高めるために、Wwiseでは以下の種類のステップに対して、異なるコマンドラインを設定できます:

  • Global opening step - 全プラットフォームにグローバル(全体的)に適用し、他のどのステップよりも前に実行するコマンドライン。

  • Platform-specific pre-generation step - 特定プラットフォームに適用し、SoundBank生成前に実行するコマンドライン。

  • Platform-specific post-generation step - 特定プラットフォームに適用し、SoundBank生成後に実行するコマンドライン。

  • Global closing step - 全プラットフォームにグローバル(全体的)に適用し、全てのステップの後に実行するコマンドライン。

ポストジェネレーション(生成後)のデフォルトのステップとして、プラットフォームごとに、ストリーミングファイルをSoundBankのディレクトリにコピーするステップが、プロジェクトに必ず入っています。なお、他にもコマンドラインを設定して、どのような種類のタスクでも自動化できます。またWwiseには、SoundBankの中の全てのデータやメディアが入ったパッケージをFile Packager(ファイルパッケージャ)機能で生成する、別のファクトリコマンドラインも同梱されています。File PackagerについてはManaging file packagesを参照してください。 ファクトリコマンドラインのロードについては「Loading factory/custom command lines」を参照してください。

作成したコマンドラインをファイル(.wcmdline)に保存して、後で同じプロジェクトや別のプロジェクトで使用したり、他のユーザーとシェアしたりすることもできます。コマンド保存については 「Saving custom command lines to a file」を参照してください。

To override the project pre-generation step:

  1. On the SoundBank Manager toolbar, click the SoundBank Settings tool:

    If user overrides already exist, the tool has an orange background.

  2. From the menu, select User SoundBank Settings.

  3. In the SoundBanks tab, select Override Project SoundBank Settings.

  4. Override Project Pre-Generation Stepオプションを選択する。

  5. To add to or modify the Global opening pre-generation step that is configured in the Project Settings dialog, click the corresponding Edit button (...).

    Pre-Generation Step Editorが開く。

  6. テキストボックスDescription に、実行するステップやタスクの内容がよく分かる名前を入力する。

  7. テキストボックスCommandsで必要に応じて、新規コマンドラインを書くか、既存コマンドラインを編集する。

    [注釈]注釈

    テキストボックスCommandsは、一般的なテキストエディタと同じように使えるので、Enterを押してテキストに新しい行を追加し、テキストを選択してからDeleteを押して削除することなどができます。

  8. コマンドに、組み込みマクロや環境変数をインサートしたい場合は、以下を行う:

    In the Macros group, select one of the following options:

    • Built-in Macros - 組み込みマクロのことであり、Wwiseコマンドライン内で使える、Wwise固有の変数リストを表示。

    • Environment Variables - 環境変数のことであり、Wwiseコマンドライン内で使える、Windows固有の環境変数リストを表示。

    コマンドラインに変数を追加するには、以下のいずれかを行う:

    • リストの変数をダブルクリックする。

    • リストの変数を選択して、Insertをクリックする。

    必要に応じて、コマンドラインに変数を追加する。

  9. プリジェネレーションのステップを追加する場合は、最初の行の終わりで、Enterを押し、新しいコマンドラインを入力する。

  10. OKをクリックして、コマンドラインを保存して、Pre-Generation Step Editorを閉じる。

    [注釈]注釈

    コマンドラインをファイルに保存する場合は、Editorの、Save Asボタンをクリックします。カスタムコマンドラインの保存については「Saving custom command lines to a file」を参照してください。

  11. 既存のプラットフォーム別プリジェネレーションステップに、追加または変更を行うには、プラットフォームごとに上記3〜8を繰り返す。

    [注釈]注釈

    ファクトリコマンドや保存したカスタムコマンドラインをEditorにロードするには、Loadボタンをクリックします。ファクトリコマンドやカスタムコマンドのロードについては 「Loading factory/custom command lines」を参照してください。

To override the project post-generation step:

  1. On the SoundBank Manager toolbar, click the SoundBank Settings tool:

    If user overrides already exist, the tool has an orange background.

  2. From the menu, select User SoundBank Settings.

  3. Override Project Post-Generation Step(ポストジェネレーションステップをオーバーライド)オプションを選択する。

  4. To add or modify the existing post-generation step that is configured in the Project Settings dialog, click one of the Edit buttons.

    Post-Generation Step Editorが開く。

  5. テキストボックスDescriptionに、実行するステップやタスクの内容がよく分かる名前を入力する。

  6. テキストボックスCommandsで必要に応じて、新規コマンドラインを書くか、既存コマンドラインを編集する。

    [注釈]注釈

    テキストボックスCommandsは、一般的なテキストエディタと同じように使えるので、Enterを押してテキストに新しい行を追加し、テキストを選択してからDeleteを押して削除することなどができます。

  7. コマンドに、組み込みマクロや環境変数をインサートしたい場合は、以下を行う:

    In the Macros group, select one of the following options:

    • Built-in Macros - 組み込みマクロのことであり、Wwiseコマンドライン内で使える、Wwise固有の変数リストを表示。

    • Environment Variables - 環境変数のことであり、Wwiseコマンドライン内で使える、Windows固有の環境変数リストを表示。

    コマンドラインに変数を追加するには、以下のいずれかを行う:

    • リストの変数をダブルクリックする。

    • リストの変数を選択して、Insertをクリックする。

    必要に応じて、コマンドラインに変数を追加する。

  8. プリジェネレーションのステップを追加する場合は、最初の行の終わりで、Enterを押し、新しいコマンドラインを入力する。

  9. OKをクリックして、コマンドラインを保存して、Post-Generation Step Editorを閉じる。

    [注釈]注釈

    コマンドラインをファイルに保存する場合は、Editorの、Save Asボタンをクリックします。カスタムコマンドラインの保存については「Saving custom command lines to a file」を参照してください。

  10. グローバルなクロージングステップや、プラットフォームごとのステップを追加するには、上記3〜8を繰り返す。

    [注釈]注釈

    ファクトリコマンドや保存したカスタムコマンドラインをEditorにロードするには、Loadボタンをクリックします。ファクトリコマンドやカスタムコマンドのロードについては 「Loading factory/custom command lines」を参照してください。

Specifying user settings for external sources

If you plan to use the 「External Source」 plug-in you must specify the location of the external audio files that will be used at runtime. また、コンバージョン後のソースを保存するフォルダも指定して、Wwiseがゲーム中に使えるようにします。At a project level, this is done in the 「External Sourcesタブ」 of the Project Settings. See 「Specifying project settings for External Sources」.

You can override these project settings with the user settings of the SoundBank Manager.

To specify user settings for external sources:

  1. On the SoundBank Manager toolbar, click the SoundBank Settings tool:

    If user overrides already exist, the tool has an orange background.

  2. From the menu, select User SoundBank Settings.

  3. In the SoundBank Settings dialog, switch to the External Sources tab. For a reference to the fields in this tab see 「SoundBanks Settings: External Sourcesタブ」.

  4. OK をクリックします。This applies the settings and they are used until you deselect them.


このページはお役に立ちましたか?

サポートは必要ですか?

ご質問や問題、ご不明点はございますか?お気軽にお問い合わせください。

サポートページをご確認ください

あなたのプロジェクトについて教えてください。ご不明な点はありませんか。

プロジェクトを登録していただくことで、ご利用開始のサポートをいたします。

Wwiseからはじめよう