JHHM

dedit

Dedit is a Teeworlds / DDNet demo inspector and editor, written in portable C99 with zero external dependencies beyond the standard C library. The code repository is hosted on GitHub here.

features

background

The main motivation for dedit came from wanting to create some consistency for the RRT FNG montages. Being able to edit the map and skins of the montage clips could be used for cool effects, or simply for changing the name of a player if an alt was used.

Because of this, only aesthetic changes can be made using the tool, and there are no plans to support editing actual gameplay data.

status & future work

Dedit is currently only tested, and confirmed working for demo versions 5 and 6 (DDNet), and the Teeworlds 0.6 network protocol. I might tinker with supporting older demo versions, but the use case for this would be slim to none. Support for the 0.7 network protocol is planned, but I don't know when I will get around to implementing it.

I have done some experimental work on “merging” two demo files in an attempt to have data from multiple demos present in one. The use case for this would be having a demo from a PvP match include data for multiple POVs, since the server only sends player data for players close to you. The current experiments have not been very successful, and the demos appear jittery when transitioning from one demo's data to another. I might continue working on this feature, but I am not hopeful that it will result in anything usable.

credits

A couple of functions and implementations are heavily inspired by other sources. They are commented in the code with links to their references. Below are some credits and acknowledgements: