Aleph-One-Marathon / alephone

Aleph One is the open source continuation of Bungie’s Marathon 2 game engine.
https://alephone.lhowon.org/
GNU General Public License v3.0
654 stars 99 forks source link

Better default file names for exports #427

Open rkuykendall opened 1 year ago

rkuykendall commented 1 year ago

Recordings

Current: Aleph One Recording

The biggest downside to the current file name is that if you ever make a second recording, like after a second match, you need to rename it. It would be nice if recording names were automatically unique like:

Improved: Aleph One Recording 06/25/23 05:23

As for going further, I'm not sure how much of an improvement the following would be, or how difficult it would be to implement, so this is just a consideration:

Best: Duality EMFHS 06/25/23 05:23

Movies

Similarly, it would be nice if movies defaulted to the name of the recording they were exported from.

Current: `Untitled Movie

Better: Aleph One Recording 06/25/23 05:23.webm

aaronfreed commented 1 year ago

I like this suggestion, but its date and time formatting would break on Windows (and Linux, IIRC), and ISO 8601 is the objectively correct date format for filenames – it automatically sorts correctly in all three major OSes and eliminates the “is this mm/dd/yy or dd/mm/yy?” ambiguity that affects 132 days in the calendar year with other date formats.

I'd also suggest throwing in some extra formatting to make the filenames easier to parse (e.g., Duality - EMFH - 2023-06-25, 05.23.filA for films and Duality - EMFH - 2023-06-25, 05.23.webm for movie exports). I think I might also prefer the game type to follow the date and time (e.g., Duality - 2023-06-25, 05.23 - EMFH.filA), but I could see valid arguments for either format.

(For further ease of sorting, I’d further suggest using 24-hour time, so that a film saved at midnight would be Duality - 2023-06-25, 00.00 - EMFH.filA, and a film saved at 1 pm would be Duality - 2023-06-25, 13.00 - EMFH.filA. Using 12-hour time, 12 am and 12 pm would respectively sort after 1 am and 1 pm, which is obviously not the correct order.

I’d also suggest making this all customizable, but I can’t imagine Aleph One’s devs ever adding a preference setting for it. At most I can see them adding something to the preferences that a user could edit with a text editor, like the movie export quality settings.)

rkuykendall commented 1 year ago

Completely support ISO 8601, no personal preference on file names. I really just meant anything that would be unique (and if it's not hard, informative).