{"id":25613575,"url":"https://github.com/sajjon/tritium","last_synced_at":"2025-08-18T10:16:11.005Z","repository":{"id":87412697,"uuid":"407140781","full_name":"Sajjon/Tritium","owner":"Sajjon","description":"H3: Heroes of Might and Magic III Frontend (GUI) in pure Swift","archived":false,"fork":false,"pushed_at":"2023-11-24T11:26:13.000Z","size":798,"stargazers_count":5,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T19:17:48.053Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Sajjon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"COPYING","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},"funding":{"github":["Sajjon"]}},"created_at":"2021-09-16T11:37:19.000Z","updated_at":"2024-10-30T08:13:57.000Z","dependencies_parsed_at":"2023-11-24T12:30:12.479Z","dependency_job_id":"9ad8e2d8-8c67-4427-9a54-4edfc17a84fb","html_url":"https://github.com/Sajjon/Tritium","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Sajjon/Tritium","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sajjon%2FTritium","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sajjon%2FTritium/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sajjon%2FTritium/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sajjon%2FTritium/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Sajjon","download_url":"https://codeload.github.com/Sajjon/Tritium/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Sajjon%2FTritium/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270977459,"owners_count":24678709,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-18T02:00:08.743Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-02-22T01:36:09.984Z","updated_at":"2025-08-18T10:16:10.983Z","avatar_url":"https://github.com/Sajjon.png","language":"Swift","funding_links":["https://github.com/sponsors/Sajjon"],"categories":[],"sub_categories":[],"readme":"![Tritium: Heroes 3 in Swift](https://raw.githubusercontent.com/Sajjon/Tritium/main/Tritium/Assets.xcassets/AppIcon.appiconset/h3_icon_128.png)\n\n# Tritium\nTritium - H3 - is an open source frontend (GUI) for Heroes of Might and Magic III in pure Swift, powered by the Swift HoMM3 game engine [`Makt`](https://github.com/Sajjon/Makt)\n\u003e ⚠️ You MUST have the resources (DATA, Maps and Music files) from the original game in order to play this. See under [Copyright](#Copyright) on where and how to buy the game if you don't own it.\n\n# Status\n\n\u003e 🚨 Status NOT playable yet 🚨\n\nI've just managed to render maps, using original game resources that `Makt` extracts. But performance is terrible, since I've literally put zero effort into this. So next is to come up with a good solution. Maybe generate a PNG image for the whole map and use a **single** [SwiftUI `Image` View](https://developer.apple.com/documentation/swiftui/image) (instead of tens of thousands).\n\n## Progress\n\u003cimg src=\"https://raw.githubusercontent.com/Sajjon/Tritium/main/tritium_2021-10-05_map_freedom_commit_4866371bf8e7aae6ed41b1d7d62593afc4bcd123_each_image_its_own_view.jpg\"\u003e\nThis is the map called `\"Freedom\"` in Tritium, rendered using SwiftUI with a trivial completely non-optimized solution where each sprite is its own Image view. Performance is bad and scrolling in larger maps is unfeasibly bad.\n\n## Focus\nIn this repo - the frontend Tritium - I focus on rendering maps only. Nothing else such as menus or nice SwiftUI code. Because I suck at SwiftUI. But most work is really done in the repo for the backend [`Makt`](https://github.com/Sajjon/Makt). \n\n# Copyright\nAll rights for the original game and its resources belong to former [The 3DO Company](https://en.wikipedia.org/wiki/The_3DO_Company). These rights were transferred to [Ubisoft](https://www.ubisoft.com/). We do not encourage and do not support any form of illegal usage of the original game. We strongly advise to purchase the original game on [Ubisoft Store](https://store.ubi.com/eu/game?pid=575ffd9ba3be1633568b4d8c) or [GOG](https://www.gog.com/game/heroes_of_might_and_magic_3_complete_edition).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajjon%2Ftritium","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsajjon%2Ftritium","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsajjon%2Ftritium/lists"}