Calculate your total Star Citizen playtime by analyzing game log files
Download Latest Release
Report Bug
·
Request Feature
Since Star Citizen doesn't expose playtime statistics in-game, SCPlay parses your game log files to compute cumulative play sessions. It automatically detects your Star Citizen installation and calculates total time played across all sessions.
- Auto-detection - Finds SC installations on multiple drives (C:, D:, E:, F:)
- Multi-environment - Supports LIVE, PTU, EPTU, and TECH-PREVIEW
- Cross-platform - Python version runs on Windows, Linux, and macOS
- Multiple formats - View playtime as days, hours, minutes, or seconds
- Session details - See individual session durations
- Go to Releases
- Download the appropriate
.zipfor your platform - Extract and run
| Release | Platform | Description |
|---|---|---|
SCPlaytime-Python-Windows |
Windows | Python executable (.exe) |
SCPlaytime-Python-Linux |
Linux | Python executable (binary) |
SCPlaytime-CSharp-Windows |
Windows | C# WinForms executable (.exe) |
Note: macOS users should run the Python version from source (see Installation below).
Both versions feature a modernized dark UI with Star Citizen-inspired aesthetics:
- Dark navy theme with cyan/green accents
- Grouped panels (Configuration, Processing Log, Results)
- Color-coded log output
- Progress indicators during calculation
- Status bar with colored feedback
Requirements: Python 3.8+
# Clone the repository
git clone https://github.com/ckuma/scplay.git
cd scplay/python
# Install dependencies
pip install -r requirements.txt
# Run the application
python sc_main.pyLinux/macOS:
chmod +x linux_start.sh
./linux_start.shRequirements: .NET Framework 4.8.1, Visual Studio 2022
- Open
csharp/StarCitizenPlaytimeCalculator.sln - Build the solution (
Ctrl+Shift+B) - Run from
bin/Release/
- Launch the application
- Select your Star Citizen environment from the dropdown (auto-detected)
- Click "Calculate" to process log files
- View your total playtime and per-session breakdown
- Copy the result to clipboard if needed
SCPlay automatically searches for Star Citizen in these locations:
{DRIVE}:\Program Files\Roberts Space Industries\StarCitizen\{ENV}\logbackups
{DRIVE}:\Roberts Space Industries\StarCitizen\{ENV}\logbackups
- Drives: C:, D:, E:, F:
- Environments: LIVE, PTU, EPTU, TECH-PREVIEW
# Wine
~/.wine/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackups
# Lutris
~/.local/share/lutris/runners/wine/*/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackups
# Steam/Proton
~/.steam/steam/steamapps/compatdata/*/pfx/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackups# CrossOver
~/Library/Application Support/CrossOver/Bottles/{BOTTLE}/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackupsSCPlay analyzes Star Citizen log files to calculate playtime:
- Scans all
*.logfiles in thelogbackupsfolder - Includes the current session's
Game.log - Extracts timestamps using pattern:
<YYYY-MM-DDTHH:MM:SS...> - Calculates each session:
last_timestamp - first_timestamp - Sums all sessions for total playtime
<2024-11-19T14:30:00.123Z> [INFO] Client started...
...
<2024-11-19T16:45:30.456Z> [INFO] Client closing...
Session duration: 2 hours, 15 minutes, 30 seconds
cd python
pip install pyinstaller
pyinstaller --onefile --windowed --name "SCPlaytime" --add-data "resources;resources" sc_main.pyOutput: dist/SCPlaytime.exe
cd csharp
msbuild StarCitizenPlaytimeCalculator.sln /p:Configuration=ReleaseOutput: bin/Release/StarCitizenPlaytimeCalculator.exe
This repository uses GitHub Actions to automatically build releases:
- On tag push (
v*) - Creates a GitHub Release with 3 executables (Python Windows, Python Linux, C# Windows) - On PR - Validates builds
To create a new release:
git tag v4.0
git push origin v4.0Contributions are welcome! Please feel free to submit issues and pull requests.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
- Star Citizen community
- All contributors
- VNGD
See you in the 'verse! o7
