| Crates.io | twgpu-tools |
| lib.rs | twgpu-tools |
| version | 0.4.0 |
| created_at | 2022-08-02 11:15:13.629863+00 |
| updated_at | 2025-11-04 15:09:29.246668+00 |
| description | Collection of tools about rendering Teeworlds and DDNet maps |
| homepage | |
| repository | https://gitlab.com/Patiga/twgpu |
| max_upload_size | |
| id | 637288 |
| size | 235,856 |
Powered by the twgpu library!
All tools are command line argument based and explain their usage with --help.
twgpu-map-inspect: View rendered maps in a windowtwgpu-map-photography: Snap pictures of maps via the command linetwgpu-demo-viewer: Demo playertwgpu-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.You need Rust installed on your system.
Simply do cargo install twgpu-tools --features ffmpeg
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/.
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.