Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TurboUSM

通用的命令行CRI USM视频解密/解码器。

A general command-line CRI USM video decryptor/decoder.

特性/Features

  • 支持多种模式,包括直接解码、破解并输出密钥、破解密钥并解码。破解密钥功能允许用户在事先完全不知道密钥的条件下,自动分析并计算密钥,然后直接解码。仅针对VP9流有效。

  • 支持自动化运行,仅需一行命令传入整个文件夹/多个文件,将会按顺序分别解析。输入文件夹时,输出文件能够保持原始目录结构。

  • 相比VGM工具箱,可手动指定密钥,以及简单还原音视频的后缀名称。

  • 支持@SBT字幕流解析,自动转码输出为SRT文件。


  • Supports multiple modes, including direct decoding, cracking and outputting the key, and cracking the key followed by decoding. The key-cracking function allows users to automatically analyze and calculate the key—without any prior knowledge of it—and then decode directly; this feature applies only to VP9 streams.

  • Supports automated operation; a single command processing an entire folder or multiple files allows for sequential parsing. When processing a folder, the output files preserve the original directory structure.

  • Unlike the VGM Toolbox, this tool allows for manual key specification and easily restores the correct file extensions for audio and video files.

  • Supports parsing of @SBT subtitle streams and automatic transcoding to SRT files.

使用/Usage

Usage: TurboUSM.CLI.exe <mode> [options] [-i <input>]... -o <output>
  mode:    -d (decode only) | -k (key only) | -cd (crack key+decode)
  options: -c (clean temp files), -s <Int64> (specify a key for all input files,support HEX string and decimal number)

例子:

  • TurboUSM.CLI -cd -i D:\Usm\Test\1.usm -i D:\Usm\Test\2.usm -o D:\Usm_out\Test

自动解析两个指定USM的密钥,并将视频解码到目标文件夹。

  • TurboUSM.CLI -cd -c -i D:\Usm\Test -o D:\Usm_out

自动解析整个文件夹中所有.usm文件的密钥并且解码到目标文件夹,保持原始目录,解码完自动清理中间缓存文件。

  • TurboUSM.CLI -d -s 1000012345 -i E:\Movie.usm -o E:\

解码一个USM视频,手动指定密钥,并输出到目标文件夹。


Examples:

  • TurboUSM.CLI -cd -i D:\Usm\Test\1.usm -i D:\Usm\Test\2.usm -o D:\Usm_out\Test

Automatically resolve the keys for two specified USM files and decode the video to the target folder.

  • TurboUSM.CLI -cd -c -i D:\Usm\Test -o D:\Usm_out

Automatically resolve keys for all .usm files in the folder and decode them to the target folder while preserving the original directory structure; intermediate cache files are automatically cleaned up after decoding.

  • TurboUSM.CLI -d -s 1000012345 -i E:\Movie.usm -o E:\

Decode a USM video using a manually specified key and output the result to the target folder.

第三方库说明/Third Party Open Source Notice

此项目引用到了两个核心第三方库:

Myitian/UsmDivinerSharp (GPLv3)

Myitian/GI-cutscenes-lib (GPLv3)

在原有GI-cutscenes-lib代码基础上进行了部分逻辑修改,修改内容同样受原始开源协议约束。


This project utilizes two core third-party libraries:

Myitian/UsmDivinerSharp (GPLv3)

Myitian/GI-cutscenes-lib (GPLv3)

Modifications have been made to the logic of the original GI-cutscenes-lib code; these changes are also subject to the terms of the original open-source license.

About

通用的命令行CRI USM视频解密/解码器。 / A general command-line CRI USM video decryptor/decoder.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages