{"id":46045630,"url":"https://github.com/ckuma/scplay","last_synced_at":"2026-03-01T07:31:30.789Z","repository":{"id":227985702,"uuid":"772864716","full_name":"ckuma/scplay","owner":"ckuma","description":"Star Citizen Playtime calculator (C# on branch csharp / Python on main)","archived":false,"fork":false,"pushed_at":"2025-11-19T05:31:56.000Z","size":1053,"stargazers_count":23,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-19T05:32:29.353Z","etag":null,"topics":["playtime-tracking","sc","starcitizen","vngd"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ckuma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-03-16T04:56:49.000Z","updated_at":"2025-11-19T05:32:00.000Z","dependencies_parsed_at":"2024-03-17T22:44:25.431Z","dependency_job_id":null,"html_url":"https://github.com/ckuma/scplay","commit_stats":null,"previous_names":["ckuma/scplay"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ckuma/scplay","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckuma%2Fscplay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckuma%2Fscplay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckuma%2Fscplay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckuma%2Fscplay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ckuma","download_url":"https://codeload.github.com/ckuma/scplay/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ckuma%2Fscplay/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29963727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T06:55:38.174Z","status":"ssl_error","status_checked_at":"2026-03-01T06:53:04.810Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["playtime-tracking","sc","starcitizen","vngd"],"created_at":"2026-03-01T07:31:30.192Z","updated_at":"2026-03-01T07:31:30.780Z","avatar_url":"https://github.com/ckuma.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eStar Citizen Playtime Calculator\u003c/h1\u003e\n  \u003cp align=\"center\"\u003e\n    Calculate your total Star Citizen playtime by analyzing game log files\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/ckuma/scplay/releases\"\u003e\u003cstrong\u003eDownload Latest Release\u003c/strong\u003e\u003c/a\u003e\n    \u003cbr /\u003e\n    \u003cbr /\u003e\n    \u003ca href=\"https://github.com/ckuma/scplay/issues\"\u003eReport Bug\u003c/a\u003e\n    \u0026middot;\n    \u003ca href=\"https://github.com/ckuma/scplay/issues\"\u003eRequest Feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/ckuma/scplay/actions/workflows/build.yml\"\u003e\n    \u003cimg src=\"https://github.com/ckuma/scplay/actions/workflows/build.yml/badge.svg\" alt=\"Build Status\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://github.com/ckuma/scplay/releases\"\u003e\n    \u003cimg src=\"https://img.shields.io/github/v/release/ckuma/scplay\" alt=\"Latest Release\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"LICENSE.txt\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"License\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n---\n\n## About\n\nSince 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.\n\n### Key Features\n\n- **Auto-detection** - Finds SC installations on multiple drives (C:, D:, E:, F:)\n- **Multi-environment** - Supports LIVE, PTU, EPTU, and TECH-PREVIEW\n- **Cross-platform** - Python version runs on Windows, Linux, and macOS\n- **Multiple formats** - View playtime as days, hours, minutes, or seconds\n- **Session details** - See individual session durations\n\n---\n\n## Quick Start\n\n### Download Pre-built Executable\n\n1. Go to [Releases](https://github.com/ckuma/scplay/releases)\n2. Download the appropriate `.zip` for your platform\n3. Extract and run\n\n### Available Downloads\n\n| Release | Platform | Description |\n|---------|----------|-------------|\n| `SCPlaytime-Python-Windows` | Windows | Python executable (.exe) |\n| `SCPlaytime-Python-Linux` | Linux | Python executable (binary) |\n| `SCPlaytime-CSharp-Windows` | Windows | C# WinForms executable (.exe) |\n\n**Note:** macOS users should run the Python version from source (see Installation below).\n\n### v2.0 Design\n\nBoth versions feature a modernized dark UI with Star Citizen-inspired aesthetics:\n- Dark navy theme with cyan/green accents\n- Grouped panels (Configuration, Processing Log, Results)\n- Color-coded log output\n- Progress indicators during calculation\n- Status bar with colored feedback\n\n---\n\n## Installation\n\n### Python Version\n\n**Requirements:** Python 3.8+\n\n```bash\n# Clone the repository\ngit clone https://github.com/ckuma/scplay.git\ncd scplay/python\n\n# Install dependencies\npip install -r requirements.txt\n\n# Run the application\npython sc_main.py\n```\n\n**Linux/macOS:**\n```bash\nchmod +x linux_start.sh\n./linux_start.sh\n```\n\n### C# Version\n\n**Requirements:** .NET Framework 4.8.1, Visual Studio 2022\n\n1. Open `csharp/StarCitizenPlaytimeCalculator.sln`\n2. Build the solution (`Ctrl+Shift+B`)\n3. Run from `bin/Release/`\n\n---\n\n## Usage\n\n1. **Launch** the application\n2. **Select** your Star Citizen environment from the dropdown (auto-detected)\n3. **Click** \"Calculate\" to process log files\n4. **View** your total playtime and per-session breakdown\n5. **Copy** the result to clipboard if needed\n\n---\n\n## Supported Installation Paths\n\nSCPlay automatically searches for Star Citizen in these locations:\n\n### Windows\n\n```\n{DRIVE}:\\Program Files\\Roberts Space Industries\\StarCitizen\\{ENV}\\logbackups\n{DRIVE}:\\Roberts Space Industries\\StarCitizen\\{ENV}\\logbackups\n```\n\n- **Drives:** C:, D:, E:, F:\n- **Environments:** LIVE, PTU, EPTU, TECH-PREVIEW\n\n### Linux\n\n```bash\n# Wine\n~/.wine/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackups\n\n# Lutris\n~/.local/share/lutris/runners/wine/*/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackups\n\n# Steam/Proton\n~/.steam/steam/steamapps/compatdata/*/pfx/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackups\n```\n\n### macOS\n\n```bash\n# CrossOver\n~/Library/Application Support/CrossOver/Bottles/{BOTTLE}/drive_c/Program Files/Roberts Space Industries/StarCitizen/{ENV}/logbackups\n```\n\n---\n\n## How It Works\n\nSCPlay analyzes Star Citizen log files to calculate playtime:\n\n1. Scans all `*.log` files in the `logbackups` folder\n2. Includes the current session's `Game.log`\n3. Extracts timestamps using pattern: `\u003cYYYY-MM-DDTHH:MM:SS...\u003e`\n4. Calculates each session: `last_timestamp - first_timestamp`\n5. Sums all sessions for total playtime\n\n### Example\n\n```\n\u003c2024-11-19T14:30:00.123Z\u003e [INFO] Client started...\n...\n\u003c2024-11-19T16:45:30.456Z\u003e [INFO] Client closing...\n```\n\n**Session duration:** 2 hours, 15 minutes, 30 seconds\n\n---\n\n## Building from Source\n\n### Python Executable (Windows)\n\n```bash\ncd python\npip install pyinstaller\npyinstaller --onefile --windowed --name \"SCPlaytime\" --add-data \"resources;resources\" sc_main.py\n```\n\nOutput: `dist/SCPlaytime.exe`\n\n### C# Release Build\n\n```bash\ncd csharp\nmsbuild StarCitizenPlaytimeCalculator.sln /p:Configuration=Release\n```\n\nOutput: `bin/Release/StarCitizenPlaytimeCalculator.exe`\n\n---\n\n## CI/CD\n\nThis repository uses GitHub Actions to automatically build releases:\n\n- **On tag push** (`v*`) - Creates a GitHub Release with 3 executables (Python Windows, Python Linux, C# Windows)\n- **On PR** - Validates builds\n\nTo create a new release:\n\n```bash\ngit tag v4.0\ngit push origin v4.0\n```\n\n---\n\n## Screenshots\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://github.com/ckuma/scplay/assets/51863237/a9332bc2-0b20-46b7-893b-50551317728f\" alt=\"SCPlay Screenshot\" width=\"600\"\u003e\n\u003c/p\u003e\n\n---\n\n## Contributing\n\nContributions are welcome! Please feel free to submit issues and pull requests.\n\n1. Fork the repository\n2. Create your feature branch (`git checkout -b feature/amazing-feature`)\n3. Commit your changes (`git commit -m 'Add amazing feature'`)\n4. Push to the branch (`git push origin feature/amazing-feature`)\n5. Open a Pull Request\n\n---\n\n## License\n\nDistributed under the MIT License. See `LICENSE.txt` for more information.\n\n---\n\n## Acknowledgments\n\n- Star Citizen community\n- All contributors\n- [VNGD](https://vngd.net/)\n\n---\n\n\u003cp align=\"center\"\u003e\n  See you in the 'verse! o7\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckuma%2Fscplay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fckuma%2Fscplay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fckuma%2Fscplay/lists"}