버전
menu

명령줄에서 File Packager 전달인자 사용하기

명령줄에서 패키지 파일을 생성할 때에는 반드시 특정 전달인자를 사용하여 패키지의 특성을 정의해야 합니다. The following table lists the arguments that you can use.

전달인자

설명

-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 파일과 스트리밍용 미디어 파일을 모두 포함하는 하나의 파일 패키지를 생성합니다. {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}

패키지 안의 데이터가 이 바이트(byte) 수에 맞춰 조정됩니다. 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를 시작해 보세요