Skip to content

TPMExtractor fork 0.1.0-dev.1 (pre-release)

Pre-release
Pre-release

Choose a tag to compare

@CodaLilitari CodaLilitari released this 02 Nov 17:30
· 10 commits to fork/improvements since this release

First downloadable build of the fork, from commit 8d2e2bf, the same code as bahstrike#1. It's marked as a pre-release: the Linux build is fully tested, while the Windows and macOS builds are cross-compiled from the same source and haven't been run on those systems yet.

Downloads

  • Windows (64-bit): TPMExtractor-fork-win64.zip. A static exe that needs only Windows' own DLLs.
  • Linux (x86-64): TPMExtractor-fork-linux-x64.tar.gz. Static, so it runs on any x86-64 Linux.
  • macOS (Apple silicon and Intel; macOS 11+ on Apple silicon, 10.15+ on Intel): TPMExtractor-fork-macos-universal.zip. It isn't notarized: right-click it and choose Open the first time, or run xattr -d com.apple.quarantine tpmextractor (see MACOS.txt inside).
  • SHA256SUMS.txt has the checksums.

No game data is included; the tool reads your own copy of the game.

Use

tpmextractor <disc folder> <dump folder> extracts everything, with output Jedi Knight can use. --legacy gives the original program's output byte for byte (apart from bytes the original never initialised), and tpmextractor --help lists the single-file commands and options. The README has the details, and CHANGES.md lists every change from the original.

Checked

  • The Linux build in this release passes the unit programs and all 43 end-to-end tests, including byte-for-byte identity with the original program on a retail disc.
  • Its JK output loads through OpenJKDF2's own loader code with no failures (33,190 loads, checked one commit earlier; this commit only changes the default radius).
  • The Windows build (MinGW) and the macOS build (Zig) compile with warnings as errors and no warnings.

Fork work: Andrei Kiralv/Darkahn, with Claude (Anthropic), Red in Andrei's projects. The original TPMExtractor is by KnightCop, Strike, shiny and Wolfgang Frisch.