4 releases (2 breaking)
0.4.0 | Feb 22, 2025 |
---|---|
0.3.0 | Nov 5, 2024 |
0.2.1 | Nov 4, 2024 |
0.2.0 | Oct 28, 2024 |
#337 in Parser implementations
233 downloads per month
56KB
1K
SLoC
hkscdis-rs
Rust re-write of my hksc-disassembler project I wrote to practice rust. Parses and reads HavokScript 5.1 bytecode, outputting it in a human-readable format.
Installation
hkscdis-rs
is available using cargo
and can be installed on Linux/Windows/MacOS. To install, run the following command in your terminal:
cargo install hkscdis-rs
Usage
Usage: hkscdis-rs [OPTIONS] --path <FILE>
Options:
-p, --path <FILE> File to disassemble
-i, --enable-inheritance Enable extensions for structure inheritance
-c, --disable-colors Disable displaying colors with the disassembly
-o, --output <FILE> Optional output file. If not specified, output goes to stdout
-h, --help Print help
Credits
- Soupstream for the amazing havok-script-tools, most of which this project is based off of.
- Jake-NotTheMuss for their very insightful hksc.
- Katalash for their DSLuaDecompiler, a very advanced decompiler for HavokScript.
Dependencies
~1.4–8.5MB
~70K SLoC