Skip to main content
The create command is used to create the source content of a touch adaptation bundle (or unpacked bundle for short), or add new layouts to an existing unpacked bundle. This is a quick entry point for getting started with adding touch adaptation to a game. The following table shows the different sub commands that are available to use with the create command. Note that the create command cannot be used by itself and a sub command must be provided.

Create Bundle

The create bundle sub command provides a quick creation of all the source content required for a new touch adaptation bundle. It is a starting point to touch adaptation if an existing unpacked bundle does not exist for a game. It creates all the directories and files necessary to get started with a new bundle. This includes the root layouts directory which contains the JSON layout files for different languages, the root assets directory which contains the assets for various DPIs per language, the root bundle configuration file (takxconfig.json) that describes the bundle, and an empty context file for dynamic layout state and reusable layout definitions.

Options

Use the options in the following table to configure the creation of an unpacked touch adaptation bundle.

Examples

The following examples demonstrate how to create a new unpacked touch adaptation bundle.
Create a simple new unpacked bundle with the default blank template
Output:

Create a new bundle in a different drive, with some layout languages, templates, and custom directory names
Output:
In the command, specifying both ‘fr’ and ‘fr-FR’ with the —layout-languages option results in templates being added to each corresponding directory. However, as only ‘en-US’ is specified, templates are added exclusively to the ‘en-US’ directory and not to the parent ‘en’ directory. Templates are consistently added to the neutral directory regardless of these specifications.
The bundle configuration file (takxconfig.json) produced will reflect a configuration representing the parameters passed to the create bundle command.

Create Layout

The create layout sub command enables adding a new layout to an existing unpacked bundle. The output produced by create bundle can be used as the input for the create layout by providing the takxconfig.json file created at the root of the unpacked bundle as the value for the --takx-config-file option. Similar to create bundle, a template can be used for layout creation in this command, or default to Blank. Adding layouts to multiple layout language directories is also supported, and the same rules regarding the file not existing or --overwrite being required also apply.

Options

Use the options in the following table to configure the creation of a layout in an unpacked touch adaptation bundle.

Examples

The following examples demonstrate how to create a new layout in an existing unpacked touch adaptation bundle.
Create a simple new layout using the default Blank template.
Output:

Create a new layout using a specific template for several languages in the bundle.
Output:
The layout was established in the ‘en’ directory but not in the ‘ja’ directory, as the former was the only one specified for the ‘—languages’ parameter.

Create a new layout for all languages
Output:

See also

Touch Adaptation Kit Command Line Tool (tak.exe)
Last modified on August 4, 2026