Add a generator for DSDA zip files.

This commit is contained in:
yrriban 2025-04-22 01:28:36 -04:00
parent dd3a185f4b
commit 6a6f25aebc
3 changed files with 47 additions and 0 deletions

View file

@ -59,6 +59,9 @@ def DemoInPath(wad, mapstr):
return candidates[0]
return sorted(filter(lambda s : re.search("-", str(s)), candidates))[-1]
def DsdaTextPath(wad, mapstr):
return Ensure(DEMOS.joinpath(wad)).joinpath("{}_map{}.txt".format(wad, mapstr))
def DemoOutPath(wad, mapstr):
return Ensure(DEMOS.joinpath(wad)).joinpath(DemoName(wad, mapstr))