Repository navigation
Releases
TPMExtractor fork v0.1.0-dev.2
Second pre-release of the fork, from commit 7582dbe. New since v0.1.0-dev.1: each level's geometry can now be exported for 3D tools, and these are the first builds made by the fork's own CI, with each system's native compiler (Visual Studio 2022, Apple clang, gcc) and tested on that system.
New in this build
- Level geometry export. In default mode,
b3d,b3dalland the disc run also write each level's polygons as<NAME>.objwith<NAME>.mtl, next to the<i>.bmptextures, ready for Blender and other 3D tools. New options:--geometry obj|noneand--geometry-texture-rule game|mat.--legacyoutput is unchanged. This is also offered to Strike's repository as bahstrike#2. - Builds and tests on every push, on Linux, Windows and macOS. The macOS program is universal, and its Intel code is tested under Rosetta 2.
- The README now says that the fork carries on Strike's work.
Downloads
- Windows (64-bit):
TPMExtractor-fork-win64.zip. Built with Visual Studio 2022; it needs no extra 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:MACOS.txtinside says how to open it the first time, or runxattr -d com.apple.quarantine tpmextractor. SHA256SUMS.txthas the checksums.
No game data is included; the tool reads your own copy of the game.
Checked
- On each system, the 5 unit test programs and the 42 synthetic end-to-end tests pass (on macOS, for both the Apple silicon and the Intel code). Visual Studio 2022, Apple clang and gcc build it with no warnings.
- The Linux program in this release passes all 47 end-to-end tests on a retail disc, including byte-for-byte identity of
--legacywith the original program (15,027 files) and the geometry of all 11 levels (435,560 vertices, 334,396 faces), which matches an independent decoder.
Fork work: Andrei Kiralv/Darkahn, with Claude (Anthropic), Red in Andrei's projects. The original TPMExtractor is by KnightCop, Strike, shiny and Wolfgang Frisch.
TPMExtractor fork 0.1.0-dev.1 (pre-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 runxattr -d com.apple.quarantine tpmextractor(seeMACOS.txtinside). SHA256SUMS.txthas 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.