Just a quick python Script that I wrote to monitor the Elite Dangerous Journal file for a screenshot. Rename that Screenshot, convert it to a PNG and remove the original BMP
Oh! And because I am super lazy, I added the script to Lutris as a Linux "game"
- Game Options:
/usr/bin/ptyxis - Arguments:
-x ~/EDScreenshot/EDScreenshot.sh
Hopefully it goes without saying that you'll need to update the shell script with your paths because you're not using mine :P
For what it's worth my copy of Elite is installed to ~/Games/umu/umu-default/drive_c/users/steamuser/Saved Games/Frontier Developments/Elite Dangerous
and my screenshots are in ~/Games/umu/umu-default/drive_c/users/steamuser/Pictures/Frontier Developments/Elite Dangerous
You can customize the behavior of EDScreenshot using optional command-line arguments:
Customize the filename format for processed screenshots.
Available placeholders:
{system}- Star system name{body}- Body name{timestamp}- Combined date+time as YYYYMMDD_HHMMSS{date}- Date as YYYY-MM-DD{time}- Time as HH-MM-SS{datetime}- Date and time as YYYY-MM-DD_HH-MM-SS
Default: {system}_{body}_{timestamp}
Example:
./EDScreenshot.sh --name_format "{system}_{body}_{timestamp}"
./EDScreenshot.sh --name_format "{datetime}_{body}"Play a sound file after processing a screenshot.
Supported formats: .ogg, .wav, .mp3
Example:
./EDScreenshot.sh --notification_sound "./resources/Instant_Click.ogg"
./EDScreenshot.sh --notification_sound "/path/to/custom/sound.wav"If the sound file is not found or an unsupported format is used, the script will run silently with a warning.
Edit the following variables in EDScreenshot.sh to customize paths and behavior:
JOURNAL_FOLDER- Path to Elite Dangerous journal filesSCREENSHOT_FOLDER- Path to Elite Dangerous screenshotsEXPORT_FORMAT- Output format:PNG,JPG, orJXL(default:PNG)CREATE_SYSTEM_FOLDER- Organize screenshots by system folder:TRUEorFALSE(default:TRUE)NOTIFICATION_SOUND- Default notification sound file path
Eid
