Jump to content

Command-line Doom launcher


Recommended Posts

I made a little Python Doom launcher and thought I'd share. It's meant for PrBoom-based ports, and some of the functionality will be useless for e.g. GZDoom. In particular, it's useful for managing the -viddump parameter. Here's an example invocation (file extensions can be omitted if you know there's only one with that basename, e.g. ETERNALL.WAD):

python play-doom.py --complevel 2 -p eternall --render demo/eternall-map01,demo/eternall-map02

Maybe someone else will find some use out of this if they don't want to use a graphical launcher (one of my nitpicks with ZDL is it won't give you console output, grrr).

 

play.zip

Edited by Phytolizer

Share this post


Link to post

I've updated the script. It should be much more robust and easy to change now. Note that directories are hardcoded, so edit it before using it in your own command line.

 

play.zip

 

EDIT: It's also got shortcut command parameters!

p

python play.py -c 9 -p eternall -r eternal01 -w 1

-c means --complevel, -p means --pwad, -r means --record, -w means --warp. There's no shortcut for --render.

 

By the way, the script expects this folder structure:

.
|-- demo
|-- iwad
|-- pwad
\-- play.py

 

Edited by Phytolizer

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...