twgpu-tools

Crates.iotwgpu-tools
lib.rstwgpu-tools
version0.4.0
created_at2022-08-02 11:15:13.629863+00
updated_at2025-11-04 15:09:29.246668+00
descriptionCollection of tools about rendering Teeworlds and DDNet maps
homepage
repositoryhttps://gitlab.com/Patiga/twgpu
max_upload_size
id637288
size235,856
(Patiga)

documentation

README

TwGpu Tools

Powered by the twgpu library!

Overview

All tools are command line argument based and explain their usage with --help.

  • twgpu-map-inspect: View rendered maps in a window
  • twgpu-map-photography: Snap pictures of maps via the command line
  • twgpu-demo-viewer: Demo player
  • twgpu-encode-demo: Encode demos to images or videos.
  • twgpu-benchmark: A silly and probably not trustworthy sprite rendering benchmark.
  • twgpu-mipmaps: Explore how mipmaps look in twgpu.

Installation

You need Rust installed on your system.

Simply do cargo install twgpu-tools --features ffmpeg

Manual Building

You need Rust installed on your system.

To compile the tools in release mode, execute the following command in this directory:

cargo build --release --features ffmpeg

The executable files will be located in the project/workspace root in target/release/.

To compile the debug build instead, omit the --release flag. Note that debug binaries will be significantly slower. The executable files of debug builds will be located in target/debug/.

Trouble Building: Build Errors with FFmpeg?

You need to install FFmpeg on your system. If you have trouble doing so, leave out the --features ffmpeg. Note that twgpu-encode-demo won't be able to encode videos in that case.

Commit count: 195

cargo fmt