#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

#332 in Parser implementations

Download history 4/week @ 2024-11-13 4/week @ 2024-11-20 13/week @ 2024-12-04 19/week @ 2024-12-11 123/week @ 2025-02-19 18/week @ 2025-02-26

141 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–8MB
~69K SLoC