Image: Apple If you’re hoping to see more Windows games on Mac then those dreams might finally come true soon. Apple has dropped some big news for game developers at
All of the Macs capable of running games
Image: Apple

If you’re hoping to see more Windows games on Mac then those dreams might finally come true soon. Apple has dropped some big news for game developers at its annual Worldwide Developers Conference (WWDC) this week, making it far easier and quicker to port Windows games to Mac thanks to a Proton-like environment that can translate and run the latest DirectX 12 Windows games on macOS.

Apple has created a new Game Porting Toolkit that’s similar to the work Valve has done with Proton and the Steam Deck. Apple’s tool will instantly translate Windows games to run on macOS, allowing developers to launch an unmodified version of a Windows game on a Mac and see how well it runs before fully porting a game.

Mac gaming has been a long running meme among the PC gaming community, despite Resident Evil Village and No Man’s Sky ports being some rare recent exceptions to macOS gaming being largely ignored.

“The new Game Porting Toolkit provides an emulation environment to run your existing unmodified Windows game and you can use it to quickly understand the graphics feature usage and performance potential of your game when running on a Mac,” explains Aiswariya Sreenivassan, an engineering project manager for GPUs and graphics at Apple, in a WWDC session earlier this week.

 Image: Apple
The Game Porting Toolkit can just run Windows games on macOS.

This Game Porting Toolkit even supports DirectX 12 games like The Medium, with Sreenivassan demonstrating running the game through Apple’s translation layer. Much like how Wine and Proton combine to create a software layer to translate Windows API calls to Linux, Apple is doing something similar here to convert these Windows API calls to its Metal API.

Apple’s new Game Porting Toolkit translates Intel-based x86 instructions and Windows APIs to Apple Silicon instead. APIs related to keyboard, mouse, controller input, audio playback, networking, the file system, and Direct3D are all translated to the corresponding APIs in macOS.

The result is Windows games running on macOS without any porting or modification. Apple says this is more for evaluating games right now before they’re ported across to macOS, but there’s nothing stopping macOS users from installing this Game Porting Toolkit and trying games out.

 Image: Apple
Apple’s Game Porting Toolkit lets developers instantly run DirectX 12 Windows games on macOS.

The big issue will be exactly how games run in this environment. Most won’t be optimized through this tool and there are bound to be performance issues and bugs until developers create their own ports. Reddit users have already got Cyberpunk 2077 up and running on an M1 MacBook Pro, alongside Diablo IV on an M1 Max MacBook Pro and Hogwarts Legacy on an M2 Max. The early results look promising despite some obvious performance limitations, but there could be potential bugs from running games on Mac this way.

CodeWeavers announced its own highly-anticipated DirectX 12 support for CrossOver Mac (a similar Windows compatibility layer) earlier this month. But it also warned that despite its advancement “there was no single magic key” that unlocked DirectX 12 support on macOS.

“To get just Diablo II Resurrected running, we had to fix a multitude of bugs involving MoltenVK and SPIRV-Cross,” explained CrossOver Product Manager Meredith Johnson in a blog post. “We anticipate that this will be the case for other DirectX 12 games: we will need to add support on a per-title basis, and each game will likely involve multiple bugs.”

Apple’s own translation layer is still significant, though. Apple has often talked up how high performance its GPU cores are on its M1 and M2 chips, even announcing an M2 Ultra chip this week with a 76-core GPU that’s 30 percent faster than the M1 Ultra. We just haven’t seen that GPU performance in games on Mac because so few get ported across.

Porting Windows games to Mac hasn’t been easy for developers, and typically involves a complex process of recompiling source code, converting custom shaders, reimplementing the graphics subsystem, and converting audio, input, and HDR rendering. Developers can use a cross-platform game engine to cut down on all that complexity if they’re targeting multiple platforms, but they still have to debug a game and optimize the performance on macOS.

Apple now has a tool to let developers understand how much porting work will be required to fix bugs and optimize their games on macOS, and it also has a new Metal Shader Converter to automatically convert existing GPU shaders to Metal. Both of these tools significantly cut down the time and work to port games from Windows to Mac.

Apple’s Mac gaming push also includes a new game mode in macOS Sonoma and game developer Hideo Kojima appearing during Apple’s WWDC keynote to announce that Death Stranding Director’s Cut will be coming to macOS.

If Apple continues with this work on its translation layer, maybe one day it’ll be good enough for end users to run Windows games on macOS just like they do on a Steam Deck. That dream is still a ways off, but Apple has showed this week that it might eventually become reality.

Update, June 9th 9:25AM ET: Article updated with Reddit users running a variety of games on Apple Silicon Macs.

original link


You may also be interested in this

The M4 MacBook Pro’s spea…

Macworld Apple gets a lot of grief about its products being difficult to repair, but the company is showing a few signs of addressing the issue. The latest involves the

Sihoo Doro C300 Ergonomic…

If you suffer from aches and pains from sitting at your desk all day, the Sihoo Doro C300 may be the fix you're looking for — provided you're the right

Future iPhones may be so …

Apple has been researching how to make an iPhone chassis that looks as good, and feels as smooth, as its current ones, but which can stand up to more wear

Apple Vision Pro and Mac …

Apple Vision Pro has finally been announced, but there was so much more at WWDC — and it's all on the AppleInsider podcast.It seems as if the Vision Pro is

Report: 2.6 billion recor…

Today Apple published an independent study that shows an increasing number of data breaches worldwide.

BandWerk introduces first…

BandWerk has emerged as one of the first producers of accessories for the Apple Vision Pro, with Leather Head Bands for the headset set to ship in early 2024.BandWerk leather

Leagues Cup returns to ML…

Leagues Cup, the first in-season club tournament in North America across men’s professional sports, returns to MLS Season Pass on Apple TV July 26.

Tim Cook Responds to Rise…

Apple CEO Tim Cook today provided some commentary surrounding artificial intelligence amid the surging popularity of ChatGPT and other chatbots. Speaking on Apple's quarterly earnings call today, Cook said artificial
X

A whimsical homage to the days in black and white, celebrating the magic of Mac OS. Dress up your blog with retro, chunky-grade pixellated graphics to evoke some serious computer nostalgia. Supports a custom menu, custom header image, custom background, two footer widget areas, and a full-width page template. I updated Stuart Brown's 2011 masterpiece to meet the needs of the times, made it responsive , got dark mode, custom search widget and more.You can download it from tigaman.com, where you can also find more useful code snippets and plugins to get even more out of wordpress.