ビルドの管理
注釈:本資料はAI技術を用いて翻訳されています。
概要
このガイドでは、Unrealゲームビルドを登録および検索し、ビルドチャネルを設定する方法を説明します。AccelByte Development Toolkit (ADT) CLIを使用してこれらの値を設定および検索します。
ビルドは一意である必要があります。これにより、クラッシュなどの他のアセットをビルドに関連付けることができます。
ビルドを登録する
ゲームをビルドする前に、シッピングビルド用のゲームビルドを登録します。
ビルドを登録するには、次のコマンドを実行します:
インライン設定なし
BlackBoxCLI.exe build register --platform-name <platform> --platform-arch x64
インライン設定あり
BlackBoxCLI.exe build register --namespace myawesomegame--apikey asdf1234 --game-project D:\path\to\myawesomegame --platform-arch x64 --platform-name <platform> --game-engine D:\UnrealEngine\UE4.25
有効なプラットフォーム名
これらのプラットフォーム名に--platform-nameコマンドを使用します:
windowswindows-serverwindows-editor-ue5linuxlinux-serverxboxonegdkxsxps4ps5
有効なプラットフォームアーキテクチャ
x64のみをサポートしています。
Editorビルドを登録する(Windowsのみ)
スタンドアロンビルドの代わりにUnreal Editorビルドで作業したい場合があります。次にそのワークフローについて説明します。
Unreal EditorビルドはWindowsプラットフォームでのみ登録できます。これを行うには、build registerコマンドを呼び出すときに--editor-buildを追加します。有効なビルドを生成するには、windowsプラットフォーム名を追加します。
例えば、インライン設定なしの場合:
BlackBoxCLI.exe build register --platform-name <platform> --platform-arch x64 --editor-build
有効なプラットフォーム名
使用できるプラットフォーム名は1つだけです:windows
有効なプラットフォームアーキテクチャ
x64のみをサポートしています。
ビルド名を変更する
ビルドの名前を変更するには、次のコマンドを使用します。
.\BlackBoxCLI.exe build add-metadata --key build-name --value <the new build name>
Build IDを設定する
Build IDを設定するには、次のコマンドを使用します:
インライン設定なし
BlackBoxCLI.exe build set --id <build id uuid>
インライン設定あり
BlackBoxCLI.exe build set --id <build id uuid> --namespace myawesomegame --apikey asdf1234 --game-project D:\path\to\myawesomegame
ADT CLIは、ゲームのビルドに使用できるBuild ID情報をBlackBox.iniファイルに追加します。
Build IDを取得する
Build IDを見つけるには、次のコマンドを使用します:
インライン設定なし
BlackBoxCLI.exe build get
インライン設定あり
BlackBoxCLI.exe build get --game-project D:\path\to\myawesomegame
ブランチと設定メタデータを設定する
ブランチと設定メタデータを設定するには、次のコマンドを使用します:
ブランチ名を追加:
BlackBoxCLI.exe build register --platform-arch x64 --platform-name <platform> --branch-name <branch name>
build-nameで設定を追加:
BlackBoxCLI.exe build add-metadata --key <configuration> --value <Test, Development, Shipping> --build-id <build id> --version-id <version id>
ブランチ名は、build registerコマンドを使用するときにのみ追加できます。ビルドを登録した後は、この機能を使用できなくなります。