[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-111357":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":14,"stars7d":16,"stars30d":17,"stars90d":15,"forks30d":15,"starsTrendScore":12,"compositeScore":18,"rankGlobal":9,"rankLanguage":9,"license":19,"archived":20,"fork":20,"defaultBranch":21,"hasWiki":22,"hasPages":20,"topics":23,"createdAt":9,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":15,"starSnapshotCount":15,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},111357,"tutankhamun","dalerank\u002Ftutankhamun","dalerank","Open-source re-implementation of Pharaoh + Cleopatra (Impressions Games, 2000) in C: same game logic, original saves, needs the original game files",null,"C",74,6,3,1,0,5,23,49.34,"MIT License",false,"main",true,[24,25,26,27,28,29,30,31],"c","city-builder","cleopatra","game-engine","impressions-games","pharaoh","reimplementation","sdl2","2026-11-22 15:59:38","2026-11-22 18:46:09","# Tutankhamun [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_windows.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_windows.yml) [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_linux.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_linux.yml) [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_android.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_android.yml) [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_macos.yml\u002Fbadge.svg)](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_macos.yml)\n\n[![Discord](res\u002Fbadges\u002Fdiscord.svg)](https:\u002F\u002Fdiscord.gg\u002FHS4njmBvpb)\n[![Windows](res\u002Fbadges\u002Fwindows.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_windows\u002Fmain\u002Fwindows_build.zip)\n[![Windows x64](res\u002Fbadges\u002Fwindows_x64.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_windows\u002Fmain\u002Fwindows_build_x64.zip)\n[![Linux](res\u002Fbadges\u002Flinux.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_linux\u002Fmain\u002Flinux_appimage.zip)\n[![Android](res\u002Fbadges\u002Fandroid.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_android\u002Fmain\u002Fandroid_apk.zip)\n[![macOS arm64](res\u002Fbadges\u002Fmacos.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_macos\u002Fmain\u002Fmacos_arm_build.zip)\n[![macOS x64](res\u002Fbadges\u002Fmacos_x64.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_macos\u002Fmain\u002Fmacos_x64_build.zip)\n\nTutankhamun is an open-source re-implementation of **Pharaoh + Cleopatra 2.1** (Impressions Games, 2000) in C: the\ngame written again as a program of its own, `tutankhamun`, that plays on the files of your own copy of the game\nin a window (SDL2) on modern Windows, Linux and macOS, and on Android. It is also a readable reference for the game's\nbehaviour, mainly to support [Akhenaten](https:\u002F\u002Fgithub.com\u002Fdalerank\u002FAkhenaten).\n\n![Tutankhamun: a city of the Pharaoh campaign](res\u002Fscreenshots\u002Ftutankhamun.png)\n\nTutankhamun will not run without the original Pharaoh + Cleopatra files. You can buy a digital copy from\n[GOG](https:\u002F\u002Fwww.gog.com\u002Fgame\u002Fpharaoh_cleopatra) or\n[Steam](https:\u002F\u002Fstore.steampowered.com\u002Fapp\u002F564530\u002FPharaoh__Cleopatra\u002F), or use an original CD-ROM version updated to\n2.1.\n\nThe goal of the project is to have exactly the same game logic as Pharaoh + Cleopatra, with the same look and feel.\nThis means that the saved games are compatible with the original game, and any gameplay bugs present in the original\nare also present in Tutankhamun. No game assets are part of this repository.\n\n## Running the game\n\n| Platform | Unstable build | How to run and build |\n| -------- | -------------- | -------------------- |\n| Windows (32-bit) | [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_windows.yml\u002Fbadge.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_windows\u002Fmain\u002Fwindows_build.zip) | [docs\u002Fwindows.md](docs\u002Fwindows.md) |\n| Windows x64 | [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_windows.yml\u002Fbadge.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_windows\u002Fmain\u002Fwindows_build_x64.zip) | [docs\u002Fwindows.md](docs\u002Fwindows.md) |\n| Linux | [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_linux.yml\u002Fbadge.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_linux\u002Fmain\u002Flinux_appimage.zip) | [docs\u002Flinux.md](docs\u002Flinux.md) |\n| macOS arm64 | [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_macos.yml\u002Fbadge.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_macos\u002Fmain\u002Fmacos_arm_build.zip) | [docs\u002Fmacos.md](docs\u002Fmacos.md) |\n| macOS x64 | [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_macos.yml\u002Fbadge.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_macos\u002Fmain\u002Fmacos_x64_build.zip) | [docs\u002Fmacos.md](docs\u002Fmacos.md) |\n| Android | [![Github Actions](https:\u002F\u002Fgithub.com\u002Fdalerank\u002Ftutankhamun\u002Factions\u002Fworkflows\u002Ftutankhamun_android.yml\u002Fbadge.svg)](https:\u002F\u002Fnightly.link\u002Fdalerank\u002Ftutankhamun\u002Fworkflows\u002Ftutankhamun_android\u002Fmain\u002Fandroid_apk.zip) | [docs\u002Fandroid.md](docs\u002Fandroid.md) |\n\nThe unstable build is the latest build of `main`:\n\n- **Windows**: a zip with `tutankhamun.exe` and its `config` folder, unpack it anywhere;\n- **Linux**: `Tutankhamun-x86_64.AppImage`, one file for 64-bit distributions with glibc 2.34+;\n- **macOS**: a disk image with `Tutankhamun.app` for Apple silicon (11.7+) or Intel (10.15+), signed ad hoc;\n- **Android**: `app-release.apk` for Android 5.0+, played with touch.\n\nYou need an installed Pharaoh + Cleopatra 2.1; only its data is used. The game finds the installation itself (the\nSteam and GOG folders, the folder it remembers, then a folder picker) or takes it on\n[the command line](docs\u002Fcommand-line.md). Like the original it writes the players and the saved games into the game\nfolder, in the original format.\n\n**Free play**: the main menu's second button asks for the family, whose folder keeps the saved games, then lists\nevery Pharaoh and Cleopatra mission; its end returns to the main menu without changing the campaign progress, records\nor high scores.\n\n**Resolutions**: any size from 640x480 up to the display's; F7 \u002F F8 \u002F F9 and F6 (full screen) work as in the\noriginal.\n\n**Discord**: on the desktop the game shows the current mission in your Discord status (`config\u002Fdiscord.json` turns\nit off).\n\n## Building from source\n\nEvery platform builds from the same CMake project, with SDL2 and SDL2_mixer fetched and linked statically:\n`build.bat` on [Windows](docs\u002Fwindows.md#building), presets and an AppImage script on [Linux](docs\u002Flinux.md#building),\npresets and a disk image script on [macOS](docs\u002Fmacos.md#building), Gradle on [Android](docs\u002Fandroid.md#building)\n(and [Google Play](docs\u002Fandroid.md#google-play)). [BUILD.md](BUILD.md) has the details.\n\n## Contributing\n\nThis project is not meant for further development: it exists only to preserve the heritage of the original game and\nto port it to other platforms. Pull requests are accepted only for minimal fixes. See\n[CONTRIBUTING.md](CONTRIBUTING.md).\n\n## Credits\n\nParts of the code come from other projects (details: [LICENSES\u002FREADME.md](LICENSES\u002FREADME.md) and each file's\nheader):\n\n- [Akhenaten](https:\u002F\u002Fgithub.com\u002Fdalerank\u002FAkhenaten): the Bink video decoder (src\u002Fthird_party\u002Fakhenaten_bink), the SDL\n  build scripts (cmake\u002F), the Discord presence, the mouse cursors, the Discord and Patreon pictures of the main menu's\n  link buttons, the model of the resolution list and of the link buttons;\n- [Julius](https:\u002F\u002Fgithub.com\u002Fbvschaik\u002Fjulius): src\u002Fplatform\u002Fsound_device.c and src\u002Fplatform\u002Fscreen.c, the cursors'\n  pixel art, and the select list that the resolution list draws like (src\u002Fgame\u002Fwindow\u002Fdisplay_resolution_list.c);\n- the GitHub picture of the link buttons is the Simple Icons mark (CC0-1.0).\n\nThird-party libraries: SDL2 2.32.10 (zlib), SDL2_mixer 2.8.0 (zlib) with minimp3 (CC0-1.0), parson 1.5.3 (MIT,\nsrc\u002Fthird_party\u002Fparson); their licence texts are in LICENSES\u002F.\n\n## License\n\nThe project's own code is under the MIT License ([LICENSE](LICENSE)); the files taken from Julius and Akhenaten keep\ntheir AGPL-3.0 ([LICENSES\u002FAGPL-3.0.txt](LICENSES\u002FAGPL-3.0.txt), listed in LICENSES\u002FREADME.md with the libraries'\nlicences). A program built with those files, as every build of tutankhamun is, is distributed under AGPL-3.0 as a\nwhole.\n\nTutankhamun is not affiliated with or endorsed by the owners of Pharaoh and Cleopatra. The game's data, names and\ntrademarks belong to their owners; you need your own copy of the game to play.\n","Tutankhamun 是一款开源的《法老王》+《克娄巴特拉》（Impressions Games, 2000）游戏逻辑重实现项目，使用 C 语言编写，完全兼容原版 2.1 版本的游戏文件与存档。其核心功能包括精确复现原版城市建造、经济模拟、人口管理等游戏机制，依赖 SDL2 实现跨平台渲染，支持 Windows、Linux、macOS 和 Android。项目不包含任何游戏资源，需用户自备正版原版数据文件。适用于怀旧玩家在现代系统上运行原版游戏，或开发者研究经典城市建造游戏逻辑与存档格式。",2,"2026-11-24 04:40:55","CREATED_QUERY"]