バージョン
menu

コマンドラインでFile Packager引数を使用する

コマンドラインからパッケージファイルを生成する場合は、そのパッケージの詳細を定義するために使う引数が決まっています。The following table lists the arguments that you can use.

引数(Argument)

内容

-generate

ファイルパッケージ生成プロセスを開始する。You can combine this argument with the File Packager project path or with the -info argument. 具体例を以下に示す。

  • Generate with a File Packager project:

    -generate {project_path}

  • Generate a single package with a SoundbanksInfo.xml file:

    -generate -info {soundbank_info_filename} -output {package_name}

  • Generate a stream package and a bank package with a SoundbanksInfo.xml file:

    -generate -info {soundbank_info_filename} -output_stm {package_name} -output_bnk {package_name}

-info {filename}

Specifies the location of the SoundbanksInfo.xml file.

Use with one or multiple of the following:

-output

-put_

-output {filename}

SoundBankのファイルとストリームメディアのファイルを含む、1つのファイルパッケージを生成する。{filename} specifies the package name and location in which to save the generated file package.

You can use this argument when the {projectpath} is not specified. It can be either a full file path or the package name. どちらの場合も、ファイルパッケージの拡張子を入れる必要がある。

You can combine this argument with -output_stm or -output_bnk to generate more than one package file, where each contains a different set of files.

If you explicitly define the -output argument, it takes precedence over the value specified in the project.

-output_stm {filename}

Generates one file package that includes only streamed media files. {filename} specifies the package name and location in which to save the generated file package.

You can use this argument when the {projectpath} is not specified. It can be either a full file path or the package name. どちらの場合も、ファイルパッケージの拡張子を入れる必要がある。

You can combine this argument with -output or -output_bnk to generate more than one package file, where each contains a different set of files.

-output_bnk {filename}

Generates one file package that include only SoundBank files.{filename} specifies the package name and location in which to save the generated file package.

You can use this argument when the {projectpath} is not specified. It can be either a full file path or the package name. どちらの場合も、ファイルパッケージの拡張子を入れる必要がある。

You can combine this argument with -output or -output_stm to generate more than one package file, where each contains a different set of files.

-output_loose {directory}

-output_loose

Generates one or multiple file packages that include only loose media files. These files are referenced by Events or structures in at least one SoundBank, but are not included in any SoundBank in the project. {directory} is optional and specifies the location in which to save the generated file packages. If {directory} is not specified, the packages are generated in the same directory that contains the SoundbanksInfo.xml file.

You can use this argument when the {projectpath} is not specified. It can be either a relative or absolute directory.

You can combine this argument with -output, -output_stm, or -output_bnk to generate more than one package file, where each contains a different set of files.

-blocksize {number}

パッケージ内のデータをアラインする、バイト数。The number depends on the requirements of the platform and your project's I/O hook.

If not specified, a value of 1 is used, which indicates no alignment.

-hideprogressui {boolean}

Wwise内からパッケージを生成している間、ダイアログGenerating Packagesを表示させるのかを、指定する。

「true」に設定すると、プログレスダイアログを表示しない。デフォルトで、この引数は「false」に設定されている。

{projectpath}

Specifies a File Packager project path that contains a WFPPROJ file. When used with the -generate argument, other arguments are ignored and the File Packager project is used to generate the packages.

この引数は、オプショナル設定である。

-soundbanks_dir {directory}

Overrides the information in the SoundbanksInfo.xml file (at SoundBanksInfo/RootPaths/SourceFilesRoot) that specifies the directory in which the generated SoundBanks were saved by Wwise.

この引数は、オプショナル設定である。

-cache_dir {directory}

Overrides the information in the SoundbanksInfo.xml file (at SoundBanksInfo/RootPaths/SourceFilesRoot) that specifies the directory in which the generated SoundBanks were saved by Wwise.

This is normally written as projectpath\.cache\platform\

この引数は、オプショナル設定である。

-languages "{language1} {languageN}"

Space-separated list that specifies the languages to package. Use double quotation marks to enclose the list in a single argument.

Use the keyword "SFX" in the language list to package SFX files as well.

この引数は、オプショナル設定である。デフォルトとして、全てのランゲージがパッケージされる。

この引数は、File Packagerプロジェクトが指定されていない時に限り、使用する。

-banks "{soundbank1} {soundbankN}"

Space-separated list that specifies the SoundBanks to package. Do not include the .bnk extensions. Use double quotation marks to enclose the list in a single argument.

この引数は、オプショナル設定である。デフォルトとして、全てのSoundBankがパッケージされる。

You can use this argument when the File Packager project is specified: it automatically builds the packages that have references to the specified SoundBanks.

-includedFilesInBanks "{soundbank1} {soundbankN}"

Space-separated list of SoundBanks that include media files that you want to package as loose media. Do not include the .bnk extensions. Use double quotation marks to enclose the list in a single argument.

You can use this option if the PrepareEvent API needs loose media, and banks loaded in memory also need the same media.

この引数は、オプショナル設定である。デフォルトとして、SoundBankに含まれるメディアファイルは、ルースファイルとしてパッケージに追加しない。

-excludedFilesInBanks "{soundbank1} {soundbankN}"

Space-separated list of SoundBanks that include references to media files that you want to package as loose files. Do not include the .bnk extensions. Use double quotation marks to enclose the list in a single argument.

You can use this options if the PrepareEvent API needs loose media, and different SoundBanks loaded in memory also need the same media.

この引数は、オプショナル設定である。By default, media files that are referenced but not included in a SoundBank are added to the package only if they are not referenced in any other SoundBank.

-verbosity {level}

Specifies how much information is printed in the tool's standard output and error streams.

Set the level to 0 (errors only), 1 (errors and warnings), or 2 (errors, warnings, and information messages).

[注釈]注釈

メッセージをプリントすることで、大型プロジェクトではパッケージングプロセスが遅くなることがある。If the tool runs slowly, reduce the verbosity level to improve performance.

この引数は、オプショナル設定である。By default, all message types are printed (level 2).


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

サポートは必要ですか?

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

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

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

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

Wwiseからはじめよう