{"id":50213579,"url":"https://github.com/abduznik/omnisave","last_synced_at":"2026-05-26T07:03:13.724Z","repository":{"id":356897411,"uuid":"1234001121","full_name":"abduznik/OmniSave","owner":"abduznik","description":"Lightweight portable game save sync tool for Windows, CrossOver, Wine, and GameHub. Automates save redirection with process polling for GTA V and other games.","archived":false,"fork":false,"pushed_at":"2026-05-10T09:38:26.000Z","size":46,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-05-10T11:35:31.938Z","etag":null,"topics":["box64","crossover","gamehub","portable-gaming","portableapps","save-sync","windows-gaming","wine","winlator"],"latest_commit_sha":null,"homepage":null,"language":"C","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/abduznik.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2026-05-09T16:11:38.000Z","updated_at":"2026-05-10T09:38:29.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/abduznik/OmniSave","commit_stats":null,"previous_names":["abduznik/omnisave"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/abduznik/OmniSave","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FOmniSave","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FOmniSave/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FOmniSave/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FOmniSave/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abduznik","download_url":"https://codeload.github.com/abduznik/OmniSave/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abduznik%2FOmniSave/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33508318,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T03:12:49.672Z","status":"ssl_error","status_checked_at":"2026-05-26T03:12:47.976Z","response_time":63,"last_error":"SSL_read: 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":["box64","crossover","gamehub","portable-gaming","portableapps","save-sync","windows-gaming","wine","winlator"],"created_at":"2026-05-26T07:03:12.706Z","updated_at":"2026-05-26T07:03:13.718Z","avatar_url":"https://github.com/abduznik.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OmniSave\n\nOmniSave v0.2.0 is a lightweight, portable game save synchronization tool for Windows, specifically designed to run reliably under **Wine**, **CrossOver**, and **GameHub** (Winlator/Box64) environments.\n\nIt acts as a \"Launch Wrapper\" that automates the process of fetching your saves from a portable location (like a USB drive or a cloud-synced folder), launching the game, and then backing up your progress immediately after you finish playing.\n\n## How It Works\n\nOmniSave \"fakes\" a local installation by redirecting your save files. It ensures that the game always finds your saves in the expected system directory (like `Documents` or `AppData`), even when your actual data lives on a portable drive.\n\n### 1. Storage Architecture\nThe wrapper bridges the gap between your portable storage and the system's local save directory.\n\n```mermaid\nflowchart LR\n    Portable[(Portable Drive / Cloud)]\n    Local[(Local System Path)]\n    Game{Game Process}\n\n    Portable \u003c==\u003e|\"1. Sync Saves\"| Local\n    Local \u003c--\u003e|\"2. Native I/O\"| Game\n    \n    classDef storage fill:#2d3436,color:#dfe6e9,stroke:#636e72\n    class Local,Portable storage\n```\n\n### 2. Execution Lifecycle\nOmniSave manages the entire gaming session from start to finish.\n\n```mermaid\nflowchart TD\n    Start([Launch OmniSave]) --\u003e Pull[Pre-Sync: Remote to Local]\n    Pull --\u003e Exec[Execute Game \u0026 Args]\n    Exec --\u003e Poll{Poll Process List}\n    Poll -- \"Running\" --\u003e Poll\n    Poll -- \"Exited\" --\u003e Push[Post-Sync: Local to Remote]\n    Push --\u003e End([Cleanup \u0026 Exit])\n\n    classDef action fill:#00b894,color:#fff,stroke:#55efc4\n    class Pull,Push action\n```\n\n## Inspiration \u0026 Goals\n\nInspired by the **PortableApps** philosophy, OmniSave fixes the issue of modern games having \"hard-coded\" save paths. By using a Sync-Launch-Sync cycle, it allows you to carry your entire gaming session on a single folder/drive across different machines without manual file management.\n\n## Verified Compatibility\n\nOmniSave has been tested and verified across various hardware and software environments:\n- **Windows 10 Gaming PC**: Native performance and file system handling.\n- **MacBook Neo (macOS)**: Running via **CrossOver** and **Wine** translation layers.\n- **Samsung S25 Ultra**: Running through **GameHub** (Winlator/Box64) mobile environments.\n\n## Key Features\n\n- **Sync-Launch-Sync Architecture**: Ensures your local environment is up-to-date before playing and your remote backup is updated after.\n- **Process Polling**: Unlike standard wrappers that wait for a process handle, OmniSave polls the system memory. This allows it to stay alive even if the game launcher (like Rockstar Launcher) detaches or spawns background child processes.\n- **Launch Arguments Support**: Pass arbitrary boot flags (like `-nobattleye` or `-windowed`) directly to the game.\n- **Path Resolution**: Supports `~/` expansion for user profile directories and `./` for relative portable paths.\n- **Mutex Locking**: Prevents multiple instances from running simultaneously to avoid save corruption.\n\n## Configuration (`omnisave.ini`)\n\nPlace `omnisave.ini` in the same directory as `OmniSave.exe`.\n\n```ini\n[OmniSave]\n; The executable name to launch and monitor\nLaunch_Command=GTA5.exe\n\n; Optional command line arguments\nLaunch_Args=-nobattleye\n\n; The local path where the game expects saves (supports ~/)\nLocal_Path=~/Documents/Rockstar Games/GTA V\n\n; The remote path for backups (supports ./)\nRemote_Path=./portable_saves/GTA_V\n```\n\n## Roadmap\n\n- **Safety Enhancements**: Implementing atomic file writes and integrity checks during sync to prevent data loss on sudden power-off.\n- Linux/Steam Deck Support: Native Linux builds with automated Proton Prefix detection. Since each game on Linux/Proton lives in its own isolated folder (compatdata), OmniSave will automate the path discovery for these environments.\n\n## Testing\n\nOmniSave uses the [Unity](https://github.com/ThrowTheSwitch/Unity) test framework and a platform abstraction layer to allow unit testing on non-Windows systems.\n\n### Running Tests Locally\n\nTo run the unit tests on macOS or Linux:\n\n```bash\nmake test\n```\n\nThis will:\n1. Clone the Unity framework into `vendor/`.\n2. Compile the core logic with a mock platform layer.\n3. Run the test suite and report results.\n\n### CI/CD\n\nAll pushes and pull requests are automatically tested via GitHub Actions on Ubuntu, verifying both the unit tests and the MinGW cross-compilation for Windows.\n\n## Build Instructions\n\nBuilt using MinGW-w64 for cross-platform compatibility.\n\n```bash\nmake clean \u0026\u0026 make\n```\n\n## Changelog\n\n### v0.2.0\n- **Safety Fix**: Replaced `strncpy` with `snprintf` in path expansion to ensure proper null-termination.\n- **Robustness Fix**: Increased internal command-line buffer to 4096 characters to prevent truncation during launch.\n- **New Feature**: Atomic file writes via temporary `.omnitmp` files.\n- **New Feature**: Deletion propagation support (Local -\u003e Remote) during post-sync.\n- **Testing**: Added buffer safety and null-termination unit tests.\n\n### v0.1.0\n- Initial release with Sync-Launch-Sync architecture.\n- Process polling support for launcher compatibility.\n- Unit testing framework integration.\n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabduznik%2Fomnisave","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabduznik%2Fomnisave","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabduznik%2Fomnisave/lists"}