From e4c5c8b475d7da11d7eb7ab089b70d9d58e18f3c Mon Sep 17 00:00:00 2001 From: yrriban Date: Fri, 1 Aug 2025 02:09:15 -0400 Subject: [PATCH] Skip the warp flag when generating the dsda text file. This causes negative tics to work, for whatever reason. --- dcc/dsda.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/dcc/dsda.py b/dcc/dsda.py index 9ad07f5..8fb1e00 100644 --- a/dcc/dsda.py +++ b/dcc/dsda.py @@ -21,12 +21,10 @@ class DSDA(dcc.doom_base.WadMap): command = [self.dsda] if shutil.which("xvfb-run") is not None: command = ["xvfb-run"] + command - # TODO: negative tics should seek from the end, but this doesn't - # seem to work. subprocess.run( - command + self.dsda_preamble() + [ - "-fastdemo", dip, "-nosound", "-skiptic", - "999999999", "-export_text_file" + command + self.dsda_preamble(warp=False) + [ + "-fastdemo", dip, "-nosound", + "-skiptic", "-1", "-export_text_file" ] ) editor = "nano"