Commit graph

132 commits

Author SHA1 Message Date
694f9f3d1f Tell pyinstaller to always include all of cliff.
This works around problems trying to load the lister plugins, which
cliff tries to find dynamically at runtime.
2025-09-06 01:30:38 -04:00
9d1eec78fb Handle really long map names by wrapping them.
This is set to 75% of the image width by default and is (not yet)
configurable.
2025-09-02 02:12:12 -04:00
7317674e4c Make the implementation of add_common_args clearer.
Probably can't do better than this without messing around with the
method resolution order and other things I'd rather not touch.
2025-09-01 23:18:01 -04:00
4cae5987db PEP 8 compliance. 2025-09-01 19:03:57 -04:00
98d09db5e8 PEP 8 compliance. 2025-09-01 17:32:19 -04:00
5e188573a0 Have the ls command to inherit from lister.
This requires multiple inheritance and other shenanigans to actually
work.  I think I'm supposed to do this with hooks.  Work for the future.
2025-09-01 17:30:34 -04:00
16eb67c797 PEP 8 compliance. 2025-08-30 02:14:52 -04:00
789064aa0d List commands in main.py; stop depending on entry points.
Entry points are a major hassle to deal with during distribution and
this really isn't any worse than that.  Could probably be automated
further but I'd rather have something that works consistently.
2025-08-29 19:20:53 -04:00
8e48915a27 Fix import. 2025-08-29 19:20:28 -04:00
fb61d3d935 Be more particular about the ordering of videos.
This just hardcodes the default Doom 2 ordering of videos; this will
likely need further expansion in the future.
2025-08-29 19:19:36 -04:00
6815545da4 Update stub makefile. 2025-08-26 01:58:15 -04:00
026128473c Add a --stdin-only flag for text.py.
Typically this is for when we have configured map names but are making a
concatenated video and aren't using them.
2025-08-26 01:49:52 -04:00
a3da884eee Remove the long-unused dcc.sh. 2025-08-21 01:39:43 -04:00
545030c0a7 Delete setup.py; pyproject.toml has replaced it. 2025-08-21 01:34:49 -04:00
5938c2e306 Add a pyproject.toml with poetry and pyinstaller support. 2025-08-21 01:29:31 -04:00
e247c954e1 Add a rudimentary README. 2025-08-21 01:27:22 -04:00
cf6fb5cb99 Fix syntax for doomed index thumbnail generation. 2025-08-21 01:17:26 -04:00
c0015583ff Add MIT license. 2025-08-20 22:39:07 -04:00
09381b4756 Update gitignore to handle poetry-produced files. 2025-08-20 22:38:24 -04:00
bf37d48f12 List version in __init__.py. 2025-08-12 22:23:33 -04:00
738f6f7964 Set type=int on secs_before.
This lets us skip a type conversion below.
2025-08-09 11:26:01 -04:00
92e830b664 Add an demo attempt selector to run-it-back mode.
Also fix a type conversion issue for when secs_before is set to a
nondefault value.
2025-08-09 11:23:59 -04:00
e4c5c8b475 Skip the warp flag when generating the dsda text file.
This causes negative tics to work, for whatever reason.
2025-08-01 02:09:15 -04:00
70e1a3a39e PEP 8 compliance. 2025-08-01 02:07:06 -04:00
1ee4ea4dc6 Universally use double quotes for strings. 2025-08-01 02:05:05 -04:00
7925281ceb Add "run it back" command to continue a practice run after failing a demo. 2025-08-01 02:03:30 -04:00
6aaa3ea15f Support using an external command for idgames fetching. 2025-07-30 19:45:51 -04:00
00334120b0 Support setting options in all cases where dsda is invoked.
Also allow overriding options for the fabricate and record commands.
2025-07-26 10:56:37 -04:00
469d8eb13a PEP 8 compliance. 2025-07-23 18:29:15 -04:00
366ddf6132 Properly handle overwriting values in a wad-level config.
This only was a problem for values that we were geenerating a property
for.
2025-07-23 18:26:45 -04:00
114fec8f7e Fix the extract command to work with the new nested config classes. 2025-07-23 18:26:11 -04:00
30baa49588 Fix text stroke color reference in the concat command. 2025-07-20 01:52:50 -04:00
3fc029bf95 Define a load order method and use it in the dsda and eureka flags.
Also coerce the type of the complevel arg to string; subprocess won't
handle that for us.
2025-07-16 02:01:39 -04:00
3cea4a3000 Fix text generation when it's not in the config. 2025-07-16 02:01:05 -04:00
c89fde220c If map names are included in the config, use them when generating text for the video thumbnail. 2025-07-15 22:47:01 -04:00
70c36ac615 Properly merge dict-valued config entries. 2025-07-12 11:15:10 -04:00
35894c2614 PEP 8 compliance. 2025-07-06 14:33:42 -04:00
b56b0419e2 Have configure inherit from doom_base.Wad so that it knows about wad-level parameters. 2025-07-06 14:10:20 -04:00
105be2c5fd Monkey patch in draw_text to save us some trouble (and avoid loading imagemagick stuff unless we really need it). 2025-07-04 12:08:25 -04:00
1ac3851065 Actually load the values for screenshot text, etc. correctly from the config. Pass them into draw_text which doesn't have them readily available. 2025-07-04 11:50:10 -04:00
b14c12c609 Add a pwad_path property and also convert the iwad_path method to a property. 2025-07-03 18:21:24 -04:00
5881c94c11 Add a configure command for initial wad setup. Reshuffle a couple things that depend on it. 2025-07-03 18:18:19 -04:00
673e649e87 Remove last unneeded constant. 2025-07-03 18:06:00 -04:00
e4d978149b PEP 8 compliance. 2025-07-03 18:05:12 -04:00
d778e281ba Move the remaining hardcoded constants into the configuration file. 2025-07-03 18:04:19 -04:00
4bbf57036d Use the same method that the dsda preamble uses to figure out what the main wad is. 2025-07-01 22:53:59 -04:00
ebdac7c89d PEP 8 compliance. 2025-06-15 13:33:33 -04:00
2076e7341d PEP 8 compliance. 2025-06-15 13:31:32 -04:00
84b8c1b626 PEP 8 compliance. 2025-06-15 12:31:37 -04:00
66fd1bfe11 PEP 8 compliance. 2025-06-15 12:25:52 -04:00