GitHub Open Source
1.98K subscribers
3.13K photos
3.38K links
๐ŸŒŸ GitHub Open Source ๐ŸŒŸ

Discover fascinating projects from GitHub! We curate the best repositories, highlight innovative ideas, and share tips for developers. Join us to explore hidden gems and fuel your tech passion! ๐Ÿš€
Download Telegram
๐ŸŽฎ d2r-mobile ยท ๐Ÿ“ฆ jhaizhou-ops/d2r-mobile
Run Diablo II: Resurrected natively on iPhone, iPad, and Mac at a steady 60 fps using your own game files.
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
โญ 5 198 stars ยท ๐Ÿด 1 318 forks
๐Ÿ”ต C ยท ๐Ÿ“œ MIT ยท ๐ŸŸข commit 2d ago
๐Ÿ‘ฅ 16 contributors

You want to run your own copy of Diablo II: Resurrected on your phone, but you are stuck waiting for a streaming session to connect or dealing with heavy emulation lag.

Traditional cloud streaming drains bandwidth and introduces input latency, while standard emulation wastes cycles translating instructions on hardware that is fully capable of running the native ARM64 binary directly.

This compatibility layer executes the original game program directly on mobile hardware with a rebuilt touch interface, though online multiplayer is not supported.

๐Ÿงญ How it works
The compatibility layer executes the original game program directly on ARM64 processors without CPU emulation, while routing graphics straight to Metal on Apple platforms and Vulkan on Android. A lightweight host handles system calls, file access, and audio, using offline-translated shaders to eliminate runtime stutter.

Players supply their own game files to generate the required resources locally.

โœจ Key features
โ–ธ Executes original aarch64 game code natively without an emulated CPU
โ–ธ Translates shaders offline for ahead-of-time compilation and zero runtime stutter
โ–ธ Provides rebuilt touch controls with virtual sticks, gesture support, and automatic targeting
โ–ธ Supports full offline play with local save sync across devices
โ–ธ Runs at a steady 60 fps with whole-device power draw measured at about 3.8 W on supported hardware

๐ŸŽฏ Who should try it
Developers and players who want to run their owned copy of Diablo II: Resurrected offline on mobile devices.

๐Ÿ“Œ Why it matters now
Advances in native execution compatibility and ahead-of-time shader translation make it practical to run complex desktop and console game binaries smoothly on mobile hardware.

โœ… Verdict
An impressive engineering feat for running your own game files offline, best suited for single-player enthusiasts willing to bring their own assets.

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
๐Ÿ’ฌ Your take?
Which mobile platform would you prefer to run this compatibility layer on first?
๐Ÿ”– Save it for later โ€” and drop your use case in the comments.

๐Ÿ”— GitHub repository
๐Ÿ“– Full breakdown

๐Ÿ“ฃ @GitHub_Open_Source โ€” daily open-source picks

========================================
#opensource #c #devtools #android
๐ŸŽฎ MacNativeGames ยท ๐Ÿ“ฆ ly05010419/MacNativeGames
Run Tears of the Kingdom ARM64 code natively on Apple silicon with NVN graphics rebuilt on Metal.
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
โญ 7 320 stars ยท ๐Ÿด 1 092 forks
๐Ÿ”ต C ยท ๐Ÿ“œ MIT ยท ๐ŸŸข commit 2d ago
๐Ÿ‘ฅ 120 contributors

You sit at your desk with an Apple silicon Mac, a legal backup of your Nintendo Switch game cartridge, and a build script that needs to compile a native package.

Traditional emulation wastes CPU cycles translating foreign architectures and interpreting hardware layers, dragging down performance even on powerful desktop chips.

This project bypasses the emulator entirely by running the game's original ARM64 instructions directly on Apple silicon and mapping graphics calls straight to Metal.

๐Ÿงญ How it works
The project takes dumped Nintendo Switch ROMs and system keys, recompiles the native ARM64 game code to run directly on Apple silicon, and translates NVN graphics API calls into Apple Metal. A minimal host environment handles system services while the actual game binaries execute without hardware emulation.

Users supply their own game files and keys to build local macOS apps or iOS IPAs.

โœจ Key features
โ–ธ Executes game ARM64 code directly on Apple silicon without a full system emulator
โ–ธ Translates Nintendo NVN graphics calls into Apple Metal for native rendering
โ–ธ Builds local macOS applications or iOS IPAs using a provided build script
โ–ธ Supports running titles like Tears of the Kingdom up to 4K resolution on supported Macs
โ–ธ Includes experimental 6DoF VR streaming support for Meta Quest 3 via USB-C

๐ŸŽฏ Who should try it
Developers and enthusiasts with Apple silicon Macs who own physical Nintendo Switch game copies and want to explore native ARM-to-ARM execution.

๐Ÿ“Œ Why it matters now
Apple silicon shares the same ARM64 architecture family as the Switch's Tegra processor, making direct binary execution and graphics translation practical on modern macOS and iOS hardware.

โœ… Verdict
An impressive technical exploration of native game porting, best suited for developers with strong command-line patience and their own legally dumped game assets.

โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€
๐Ÿ’ฌ Your take?
Which Nintendo Switch title would you test first with a native ARM64 runtime?
โค๏ธ React if you want more C tools like this.

๐Ÿ”— GitHub repository
๐Ÿ“– Full breakdown

๐Ÿ“ฃ @GitHub_Open_Source โ€” daily open-source picks

========================================
#opensource #c #devtools #apple_silicon