Skip to content

a simple application which helps to create automappers for ddnet

Notifications You must be signed in to change notification settings

AssassinTee/SimpleDDNetAutomapper

Repository files navigation

Build Tests Lint contributions welcome

NOTE

WIP (work in progress). This tool isn't ready yet to be announced to the public, but it reached the alpha stage. If you encounter bugs or experience crashes, please don't report them yet as this software has still a lot of loose ends.

That beeing said, if you want to test it and create automapper rules, edit your config.yml and enter

  • client_path(optional): The absolute path to your ddnet client (On windows this is ddnet.exe)
  • data_path: The absolute path to your ddnet data (The data directory in your ddnet directory)

Simple DDNet Automapper App

A simple tool to create automapping files for ddnet with a graphical user interface

Installation

You may want to put the software in its own directory, since it may generate files.

Windows

This software comes bundled up, just download the version for your OS and start it.

Ubuntu latest:

This software uses PyQt6, which is maybe missing some dependencies on your OS. If you run into issues with this software, install

sudo apt update
sudo apt-get install -y libegl1
sudo apt-get install -y libxcb-xinerama0
sudo apt-get install -y -qq libglu1-mesa-dev libx11-xcb-dev '^libxcb*'

You can find more on this topic here

Guide

TODO: Do a proper guide, guide below is just for a minimal product

  1. Go to Settings and configure ddnet and your data directory (usually in side the ddnet directory) properly
  2. Load mapres image, like grass_main.png by clicking Select Image
  3. Configure all tiles you want to use for your automapper
    • select FULL/EMPTY/ANY
      • FULL: This neighbor of the (middle) tile is FULL, not EMPTY
      • EMPTY: This neighbor of the (middle) tile is EMPTY, not FULL
      • ANY: This neighbor of the (middle)tile is EMPTY or FULL
    • select rotation/hflip/vflip, don't use empty yet
      • rotation: This (middle) tile can be rotated
      • hflip: This (middle) tile can be flipped horizontally (on the X axis)
      • vflip: This (middle) tile can be flipped vertically (on the Y axis)
      • empty: Not yet ready for usuage, FUTURE: Allows (middle) tile to be EMPTY
    • remove a configured tile with right click
  4. Name your rule (top right, Name Mapping Rule)
  5. Press Generate, this will test your mapping rules, press Ok and your mapping rules will automatically be saved in the data directory

You can press Generate without being finished to check on your work, just press Cancel and continue editing your tiles

About

a simple application which helps to create automappers for ddnet

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages