-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
436 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
**| :us: English | :jp: [日本語](./jp.md) |** | ||
# twintail Command List | ||
This guide may not contain usage details for every command. | ||
|
||
To view all commands that twintail has, run twintail with the ``help`` flag. | ||
``` | ||
twintail --help | ||
``` | ||
|
||
## App Hash and App Version | ||
The command examples shown below may include ``<app_version>`` and ``<app_hash>``. | ||
|
||
These values should be replaced with real game versions and hashes. | ||
|
||
For more information on acquiring these values, view the [usage guide](../usage/en.md#app-version-and-app-hash) | ||
|
||
## ``fetch ab`` | ||
Downloads the game's assets. | ||
|
||
### Examples | ||
- Download all assets from the Japan server and save them in a folder called ``bundles``. | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> bundles | ||
``` | ||
- Download only assets that contain ``scenario`` in their name from the global server. | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> --filter "scenario" --server global assets | ||
``` | ||
- Download assets from the Japan server using an [assetbundle info file](#fetch-ab-info). | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> --info 4.0.5.10.json --no-update bundles | ||
``` | ||
- Download only the differences between the latest asset version and an [assetbundle info file](#fetch-ab-info). | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> --info 4.0.5.10.json bundles | ||
``` | ||
|
||
## ``fetch ab-info`` | ||
Saves a list of all of the game's assets as a ``json`` file for later use. | ||
|
||
### Examples | ||
- Downloads and saves a list of all of the games assets to ``asset_version.json`` where ``asset_version`` is the latest asset version. | ||
``` | ||
fetch ab-info --version <app_version> --hash <app_hash> | ||
``` | ||
|
||
## ``fetch suite`` | ||
Downloads suitemaster files. | ||
|
||
### Examples | ||
- Download the suitemaster files from the Japan server and save them in a folder called ``suite``. | ||
``` | ||
twintail fetch suite --version <app_version> --hash <app_hash> suite | ||
``` | ||
- Download encrypted suitemaster files from the Japan server and save them in a folder called ``suite_encrypted``. | ||
``` | ||
twintail fetch suite --encrypt --version <app_version> --hash <app_hash> suite_encrypted | ||
``` | ||
|
||
## ``encrypt ab`` | ||
Encrypts Unity assetbundle files for use with Project SEKAI. | ||
|
||
### Examples | ||
- Encrypt a single file in-place | ||
``` | ||
twintail encrypt ab files/assetbundle0 | ||
``` | ||
- Encrypt an entire directory, and put the results into a new directory. | ||
``` | ||
twintail encrypt ab ./decrypted_files ./encrypted_files | ||
``` | ||
|
||
## ``encrypt suite`` | ||
Encrypts a suitemaster file. | ||
|
||
### Examples | ||
- Encrypt a single file in-place | ||
``` | ||
twintail encrypt suite suite/cards.json | ||
``` | ||
- Encrypt an entire directory, and put the results into a new directory. | ||
``` | ||
twintail encrypt suite ./suite ./encrypted_suite | ||
``` | ||
|
||
## ``decrypt ab`` | ||
Decrypts assetbundles in the game's format for use with other tools. | ||
|
||
### Examples | ||
- Decrypt a single file, and put the result into a new file. | ||
``` | ||
twintail decrypt ab encrypted_files/assetbundle0 decrypted_files/assetbundle0 | ||
``` | ||
- Decrypt an entire directory in-place recursively. | ||
``` | ||
twintail decrypt ab --recursive ./encrypted_files | ||
``` | ||
|
||
## ``decrypt suite`` | ||
Decrypts suitemaster files. | ||
|
||
### Examples | ||
- Decrypt a single file, and put the result into a new directory. | ||
``` | ||
twintail decrypt suite suite/00_0m12kmj3k21mvnmx12 decrypted_suite | ||
``` | ||
- Decrypt an entire directory into a new directory. | ||
``` | ||
twintail decrypt suite ./encrypted ./decrypted | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,110 @@ | ||
**| :us: [English](./en.md) | :jp: 日本語 |** | ||
# twintail コマンド一覧 | ||
このガイドには、すべてのコマンドの使用方法の詳細が含まれていない場合があります。 | ||
|
||
twintailが持つすべてのコマンドを確認するには、``help``フラグを付けて実行してください。 | ||
``` | ||
twintail --help | ||
``` | ||
|
||
## アプリハッシュとアプリバージョン | ||
以下に示すコマンド例には、``<app_version>``と``<app_hash>``が含まれる場合があります。 | ||
|
||
これらの値は、実際のゲームのバージョンとハッシュに置き換える必要があります。 | ||
|
||
これらの値の取得方法の詳細については、[使用ガイド](../usage/jp.md#アプリバージョンとアプリハッシュ)をご覧ください。 | ||
|
||
## ``fetch ab`` | ||
ゲームのアセットをダウンロードします。 | ||
|
||
### 例 | ||
- 日本サーバーからすべてのアセットをダウンロードし、``bundles``というフォルダに保存します。 | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> bundles | ||
``` | ||
- グローバルサーバーから、名前に``scenario``を含むアセットのみをダウンロードします。 | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> --filter "scenario" --server global assets | ||
``` | ||
- [アセットバンドル情報ファイル](#fetch-ab-info)を使用して日本サーバーからアセットをダウンロードします。 | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> --info 4.0.5.10.json --no-update bundles | ||
``` | ||
- 最新のアセットバージョンと[アセットバンドル情報ファイル](#fetch-ab-info)の差分のみをダウンロードします。 | ||
``` | ||
twintail fetch ab --version <app_version> --hash <app_hash> --info 4.0.5.10.json bundles | ||
``` | ||
|
||
## ``fetch ab-info`` | ||
ゲームの全アセットのリストを``json``ファイルとして保存します。 | ||
|
||
### 例 | ||
- ゲームの全アセットのリストをダウンロードし、``asset_version.json``として保存します(asset_versionは最新のアセットバージョン)。 | ||
``` | ||
fetch ab-info --version <app_version> --hash <app_hash> | ||
``` | ||
|
||
## ``fetch suite`` | ||
Suitemasterファイルをダウンロードします。 | ||
|
||
### 例 | ||
- 日本サーバーからSuitemasterファイルをダウンロードし、``suite``というフォルダに保存します。 | ||
``` | ||
twintail fetch suite --version <app_version> --hash <app_hash> suite | ||
``` | ||
- 日本サーバーから暗号化されたSuitemasterファイルをダウンロードし、``suite_encrypted``というフォルダに保存します。 | ||
``` | ||
twintail fetch suite --encrypt --version <app_version> --hash <app_hash> suite_encrypted | ||
``` | ||
|
||
## ``encrypt ab`` | ||
Project SEKAIで使用するUnityアセットバンドルファイルを暗号化します。 | ||
|
||
### 例 | ||
- 単一のファイルをその場で暗号化 | ||
``` | ||
twintail encrypt ab files/assetbundle0 | ||
``` | ||
- ディレクトリ全体を暗号化し、結果を新しいディレクトリに出力 | ||
``` | ||
twintail encrypt ab ./decrypted_files ./encrypted_files | ||
``` | ||
|
||
## ``encrypt suite`` | ||
Suitemasterファイルを暗号化します。 | ||
|
||
### 例 | ||
- 単一のファイルをその場で暗号化 | ||
``` | ||
twintail encrypt suite suite/cards.json | ||
``` | ||
- ディレクトリ全体を暗号化し、結果を新しいディレクトリに出力 | ||
``` | ||
twintail encrypt suite ./suite ./encrypted_suite | ||
``` | ||
|
||
## ``decrypt ab`` | ||
他のツールで使用するためにゲーム形式のアセットバンドルを復号化します。 | ||
|
||
### 例 | ||
- 単一のファイルを復号化し、結果を新しいファイルに出力 | ||
``` | ||
twintail decrypt ab encrypted_files/assetbundle0 decrypted_files/assetbundle0 | ||
``` | ||
- ディレクトリ全体をその場で再帰的に復号化 | ||
``` | ||
twintail decrypt ab --recursive ./encrypted_files | ||
``` | ||
|
||
## ``decrypt suite`` | ||
Suitemasterファイルを復号化します。 | ||
|
||
### 例 | ||
- 単一のファイルを復号化し、結果を新しいディレクトリに出力 | ||
``` | ||
twintail decrypt suite suite/00_0m12kmj3k21mvnmx12 decrypted_suite | ||
``` | ||
- ディレクトリ全体を新しいディレクトリに復号化 | ||
``` | ||
twintail decrypt suite ./encrypted ./decrypted | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.