> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Touch Adaptation Kit Command Line Tool (tak.exe)

> Touch Adaptation Kit Command Line Tool (tak.exe)

この記事を使用して、Touch Adaptation Kit (TAK) を利用してタッチ操作レイアウトを作成および検証します。

## takxconfig.json と .takx ファイル

tak.exe コマンドライン ツールが動作するプライマリのファイル タイプは、アンパック バンドル構成ファイル (`takxconfig.json`) またはパッケージ済みバンドル (`.takx`) ファイルです。
実行されるコマンドに応じて、これらのファイル タイプのいずれかが常に使用可能で、タッチ バンドル全体を表します。後方互換性のため、また一部のインナー ループ シナリオを簡単にするため、`--layout-path` などのレガシー引数は引き続きサポートされ、`takxconfig.json` からのコンテンツをオーバーライドします。

### プロパティ

`$schema` - *string*。タッチ バンドル構成ファイル用の JSON スキーマ。これは、選択されたスキーマ バージョンに応じて、`https://raw.githubusercontent.com/microsoft/xbox-game-streaming-tools/main/touch-adaptation-kit/schemas/takxconfig/v1/takxconfig.json` のようになります。

`version` - *string*。バンドルの 4 パート (例: 1.0.0.0) バージョン番号。

`versionName` - *string*、*optional*。バンドルのバージョンの記述的名前。

`layouts` - *object*。バンドルの layouts オプションを定義するオブジェクト。この中の `path` プロパティは、レイアウトが配置されている相対パスを指定します。

`assets` - *object*、*optional*。バンドルの assets オプションを定義するオブジェクト。この中の `path` プロパティは、アセットが配置されている相対パスを指定します。

`context` - *object*、*optional*。バンドルの context オプションを定義するオブジェクト。この中の `path` プロパティは、コンテキスト ファイルが配置されている相対パスを指定します。

`languages` - *object*、*optional*。バンドルの languages オプションを定義するオブジェクト。この中の `items` プロパティは、バンドルがサポートする言語を指定する配列です。

### サンプル

```json theme={null}
{
  "$schema": "https://raw.githubusercontent.com/microsoft/xbox-game-streaming-tools/main/touch-adaptation-kit/schemas/takxconfig/v1/takxconfig.json",
  "layouts": {
    "path": "./layouts"
  },
  "assets": {
    "path": "./assets"
  },
  "context": {
    "path": "./context.json"
  },
  "languages": [
    "en",
    "en-US"
  ],
  "version": "2.0.0.0"
}
```

`takxconfig.json` ファイルを使用した完全なサンプルについては、[GitHub](https://github.com/microsoft/xbox-game-streaming-tools/tree/main/touch-adaptation-kit/samples) を参照してください。

### 要件

ファイルのバージョンは、.json ファイル内の `$schema` 属性で指定されます。これは利用可能な特定のプロパティ セットを指定し、一部のエディターで IntelliSense を有効にします。

上記のプロパティは、最新のサポートされているスキーマ バージョンに対して有効です。より古いスキーマのプロパティについては、[GitHub](https://github.com/microsoft/xbox-game-streaming-tools/tree/main/touch-adaptation-kit/schemas) を参照してください。

## コマンド

XBOX Game Streaming を使用してタイトルがプレイされるとき、タッチ操作が意図通りに動作することを確認するため、次の表に示すコマンドを使用します。

| コマンド                                                                                                                                  | 説明                                                                          |
| ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [create](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-create-command)             | タッチ アダプテーション バンドルのソース コンテンツを作成するか、既存のバンドルにレイアウトを追加します。                      |
| [convert](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-convert-command)           | レガシー レイアウト セット ファイルを、当社のサービスがサポートする最新のフォーマット標準に整合するレイアウト ファイルに変換します。        |
| [license](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-license-command)           | Touch Adaptation Kit Command Line Tool のエンドユーザー ライセンス契約 (EULA) を表示または受諾します。 |
| [notice](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-notice-command)             | このソフトウェアに組み込まれているサードパーティ製品に関する情報を表示します。                                     |
| [pack](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-pack-command)                 | ソース コンテンツのセットからタッチ アダプテーション バンドルをビルドします。                                    |
| [serve](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-serve-command)               | クライアント アプリケーションがダウンロードして使用できるように、タッチ アダプテーション バンドルを提供します。                   |
| [settings](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-settings-command)         | アプリケーション設定を表示および設定します。                                                      |
| [takx-version](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-takx-version-command) | タッチ アダプテーション バンドルのバージョンと、含まれるレイアウトの最大スキーマ バージョンの両方を判定します。                   |
| [unpack](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-unpack-command)             | 既存のタッチ アダプテーション バンドルをそのコンポーネント ファイルにアンパックします。                               |
| [verify](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-verify-command)             | タッチ アダプテーション バンドルの内容が有効であることを検証します。                                         |
| [version](/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-version-command)           | Touch Adaptation Kit Command Line Tool のバージョン情報を表示します。                      |

## オプション

以下の表の情報を使用して、すべてのコマンドに適切なフラグを適用します。

| オプション                | 説明                                                                                                                                   |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| `-v`, `--verbosity`  | コマンドの出力冗長性を設定します。これらのフラグの有効な値は `Critical`、`Debug`、`Error`、`Information`、`None`、`Trace`、および `Warning` です。デフォルトの冗長性は `Information` です。 |
| `--version`          | バージョン情報を表示します。                                                                                                                       |
| `--accept-license`   | コマンドを実行する前にアプリケーションのライセンス契約を受諾します。自動化に便利です。                                                                                          |
| `--reset-appId`      | マシンに関連付けられているアプリケーション ID をリセットします。                                                                                                   |
| `-?`, `-h`, `--help` | ヘルプおよび使用法の情報を表示します。                                                                                                                  |

## 関連項目

[タッチ入門](/build/core-features/common/game-streaming/game-streaming-getting-started-with-touch)
[Web Content test application (CTA)](/build/core-features/common/game-streaming/game-streaming-web-content-test-application)
[TAK CLI の入手方法](https://aka.ms/get-takcli)


## Related topics

- [Takx Version コマンド](/ja-jp/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-takx-version-command.md)
- [Create コマンド](/ja-jp/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-create-command.md)
- [License コマンド](/ja-jp/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-license-command.md)
- [Notice コマンド](/ja-jp/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-notice-command.md)
- [Pack コマンド](/ja-jp/build/core-features/common/game-streaming/tak-command-line-tool/game-streaming-tak-command-line-pack-command.md)
