https://github.com/sajjon/tritium
H3: Heroes of Might and Magic III Frontend (GUI) in pure Swift
https://github.com/sajjon/tritium
Last synced: 11 months ago
JSON representation
H3: Heroes of Might and Magic III Frontend (GUI) in pure Swift
- Host: GitHub
- URL: https://github.com/sajjon/tritium
- Owner: Sajjon
- License: other
- Created: 2021-09-16T11:37:19.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2023-11-24T11:26:13.000Z (over 2 years ago)
- Last Synced: 2025-04-13T19:17:48.053Z (over 1 year ago)
- Language: Swift
- Size: 779 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: COPYING
Awesome Lists containing this project
README

# Tritium
Tritium - 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)
> ⚠️ 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.
# Status
> 🚨 Status NOT playable yet 🚨
I'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).
## Progress
This 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.
## Focus
In 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).
# Copyright
All 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).