#ddnet #teeworlds #maps #extract #issue #tile #convert

app twmap-tools

Collection of tools for Teeworlds and DDNet maps

10 releases

0.4.4 Feb 3, 2025
0.4.2 Aug 7, 2024
0.4.1 Jul 18, 2024
0.3.1 Nov 7, 2022
0.1.1 May 16, 2022

#87 in Games

Download history 15/week @ 2024-12-10 155/week @ 2025-01-28 83/week @ 2025-02-04

238 downloads per month

AGPL-3.0-only

500KB
12K SLoC

TwMap Tools

Powered by the twmap library!

Overview

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

  • twmap-edit: Easily convert maps between different formats, with some fancy steps in between like mirroring
  • twmap-extract-files: Extract the image and sound files from maps
  • twmap-check: Parse maps with different verbosity levels for debugging purposes
  • twmap-check-ddnet: Scans DDNet maps for faulty behavior (e.g. wrongly placed hook-through, invalid rotation of game tiles)
  • twmap-fix: Fix some common issues on maps which are not accepted by other executables
  • twmap-automapper: For checking automappers and running them on maps

Installation

You need Rust installed on your system.

Simply do cargo install twmap-tools

Manual Building

You need Rust installed on your system.

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

cargo build --release

The executable files will be located at the project 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/.

Dependencies

~13–23MB
~342K SLoC