#disassembler #disassembly #havokscript #hkscdis #havok #hksc

app hkscdis-rs

A HavokScript 5.1 disassembler written in Rust

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

Download history 274/week @ 2024-11-03 17/week @ 2024-11-10 5/week @ 2024-11-17 1/week @ 2024-11-24 32/week @ 2024-12-08

233 downloads per month

GPL-3.0-only

56KB
1K SLoC

hkscdis-rs

Crates.io License

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