Skip to content

TPMExtractor fork v0.1.0-dev.2

Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 03 Nov 05:22
· 4 commits to fork/improvements since this release
7582dbe

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, b3dall and the disc run also write each level's polygons as <NAME>.obj with <NAME>.mtl, next to the <i>.bmp textures, ready for Blender and other 3D tools. New options: --geometry obj|none and --geometry-texture-rule game|mat. --legacy output 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.txt inside says how to open it the first time, or run xattr -d com.apple.quarantine tpmextractor.
  • SHA256SUMS.txt has 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 --legacy with 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.