2025-04-07 02:19:25 -04:00
|
|
|
import dcc.config
|
2025-04-23 18:38:46 -04:00
|
|
|
import dcc.doom_base
|
2025-04-07 02:19:25 -04:00
|
|
|
import subprocess
|
|
|
|
|
2025-04-15 22:49:22 -04:00
|
|
|
class Record(dcc.doom_base.WadMap):
|
2025-04-07 02:19:25 -04:00
|
|
|
def take_action(self, parsed_args):
|
|
|
|
subprocess.run([dcc.config.DSDA] +
|
|
|
|
dcc.config.DsdaPreamble(parsed_args.wad, parsed_args.map) +
|
2025-05-11 17:28:07 -04:00
|
|
|
["-record", dcc.config.DemoOutPath(parsed_args.wad, parsed_args.map, parsed_args.name)])
|