itssimple / journal-limpet

Journal storage / API for Elite: Dangerous
https://journal-limpet.com
GNU Lesser General Public License v3.0
10 stars 0 forks source link

Use a different filename template for JL journals. #28

Closed Athanasius closed 2 years ago

Athanasius commented 2 years ago

CAPI-sourced journals:

  1. Don't ever have a LoadGame, which some software wanting to read them will rely on.
  2. Will start at midnight on the given day, thus possibly in the middle of a session.

Thus it is imperative that it be clear that a file was sourced from the CAPI, via JL or other means.

Proposal: Change the filename template to CAPIJournal.YYMMDD00000000.01.log

This way any software looking for, in regex terms ^Journal(Alpha|Beta)?\.[0-9]{12}\.[0-9]{2}\.log$, won't trigger (and possibly error, or at least get confused) on them. In particular EDMC follows the latest file started in the journal directory, so long as it matches that regex. Having a new such file in the middle of an on-going game session will definitely confuse it.