I started work on this one a while back, but ended up finding a copy of the deh file as decorate so stopped refining it. It needs some work but it still gives pretty good results. When I get around to it I'll work in more edge cases as well as fold in my decorate conversion script. It inputs a dehacked.deh and outputs a dsdhacked decohack ======== usage: deh_parser.py [-h] [-o OUTPUT] input Convert a DeHackEd patch to human-readable DECOHack source (dsdhacked / MBF21 / dsda-doom). Can be run from any directory. positional arguments: input input .deh/.bex file (relative paths are resolved against your current directory, as usual) options: -h, --help show this help message and exit -o, --output OUTPUT output .dh file (default: input name with .dh extension, written alongside the input file)