| Crates.io | tjs2dec |
| lib.rs | tjs2dec |
| version | 0.3.0 |
| created_at | 2025-12-21 05:49:16.881405+00 |
| updated_at | 2025-12-22 01:24:52.41499+00 |
| description | A krkr2 and krkrz tjs2 bytecode decompiler written in Rust |
| homepage | |
| repository | https://github.com/xmoezzz/tjs2Decompiler |
| max_upload_size | |
| id | 1997521 |
| size | 337,091 |
A minimal, strict TJS2 (Kirikiri2 / Kirikiri-Z) bytecode loader and disassembler written in Rust. This tool allows you to inspect, analyze, and decompile compiled TJS2 script files (.tjs).
cargo build --release
The binary will be located at ./target/release/tjs2dec.
tjs2dec provides several subcommands depending on the level of detail you need.
To see the raw instructions and constant pools:
tjs2dec disasm Action.tjs
To attempt to recover the original TJS2 source code:
tjs2dec tjs Action.tjs
To dump the Static Single Assignment form (useful for understanding data flow):
tjs2dec ssa Action.tjs
To dump the High-Level IR (HLIR):
tjs2dec ssa --hlir Action.tjs
To create a low-level TJS program that mimics the behavior of the bytecode:
tjs2dec emit-tjs Action.tjs
MPL-2.0 License