Add a screenshot command.
This commit is contained in:
parent
aff20e9557
commit
1094c3aba9
3 changed files with 26 additions and 3 deletions
|
@ -14,6 +14,9 @@ OUTPUT=DOOM.joinpath("fabricate")
|
|||
|
||||
DEFAULT_IWAD=IWADS.joinpath("DOOM2.WAD")
|
||||
|
||||
THUMB_WIDTH=1280
|
||||
THUMB_HEIGHT=720
|
||||
|
||||
def DsdaPreamble(wad, mapstr):
|
||||
args = []
|
||||
pwadpath = PWADS.joinpath(wad)
|
||||
|
@ -54,8 +57,11 @@ def DemoInPath(wad, mapstr):
|
|||
def DemoOutPath(wad, mapstr):
|
||||
return DEMOS.joinpath(wad).joinpath(DemoName(wad, mapstr))
|
||||
|
||||
def VideoPath(wad, mapstr):
|
||||
return OUTPUT.joinpath(wad).joinpath("{}_map{}.mp4".format(wad, mapstr))
|
||||
|
||||
def DemoName(wad, mapstr):
|
||||
return "{}_map{}.lmp".format(wad, mapstr)
|
||||
|
||||
def BaseThumbPath(wad, mapstr):
|
||||
return OUTPUT.joinpath(wad).joinpath("{}_map{}_base.png".format(wad, mapstr))
|
||||
|
||||
def VideoPath(wad, mapstr):
|
||||
return OUTPUT.joinpath(wad).joinpath("{}_map{}.mp4".format(wad, mapstr))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue