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

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

## オプション

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

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

## 関連項目

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


## Related topics

- [Touch Adaptation Kit (TAK) コマンド ライン ツール リファレンス](https://docs.xbox.com/ja-jp/build/core-features/common/game-streaming/tak-command-line-tool/index.md)
- [追加のスタンドアロン ツール](https://docs.xbox.com/ja-jp/tools/additional-tools.md)
- [コマンドライン ツール](https://docs.xbox.com/ja-jp/tools/tools-pc/commandlinetools/index.md)
- [XBOX のコンソール ベースのコマンドライン ツール](https://docs.xbox.com/ja-jp/tools/tools-console/console_commandlinetools/index.md)
- [PC 開発向けのコマンドライン ツール](https://docs.xbox.com/ja-jp/tools/tools-pc/commandlinetools/gr-commandlinetools-toc.md)
