{"id":39785,"date":"2023-06-16T14:36:23","date_gmt":"2023-06-16T18:36:23","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=39785"},"modified":"2023-06-19T10:09:43","modified_gmt":"2023-06-19T14:09:43","slug":"game-porting-toolkit","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2023\/06\/16\/game-porting-toolkit\/","title":{"rendered":"Game Porting Toolkit"},"content":{"rendered":"<p><a href=\"https:\/\/www.inverse.com\/tech\/mac-directx-12-game-porting-toolkit-pc-games\">Christina Warren<\/a>:<\/p>\n<blockquote cite=\"https:\/\/www.inverse.com\/tech\/mac-directx-12-game-porting-toolkit-pc-games\"><p>But buried in the keynote was a macOS feature that Apple <em>should<\/em> have called out with more fanfare: DirectX 12 support for macOS. As PC gamers already know, this software support means the floodgates are open for some <em>real<\/em> games &mdash; not that casual <a href=\"https:\/\/www.inverse.com\/tech\/what-the-car-first-impressions-triband-apple-arcade\">Apple Arcade stuff<\/a> &mdash; on Mac. Maybe, just maybe, this is the beginning of the end to the old joke that Macs can&rsquo;t play AAA games.<\/p><p>It turns out that Apple added DirectX 12 support via something it is calling the <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2023\/10123\/\">Game Porting Toolkit<\/a>, a tool Apple is offering to developers to see how their existing x86 DirectX 12 games work on Macs powered by Apple silicon. That toolkit largely takes place as a <a href=\"https:\/\/github.com\/apple\/homebrew-apple\">20,000 line of code patch to Wine<\/a>, a <a href=\"https:\/\/www.winehq.org\/\">compatibility layer<\/a> designed to bring support for Windows games to platforms such as Linux, BSD, and macOS.<\/p><p>[&#8230;]<\/p><p>DirectX 12 support within the Game Porting Toolkit skips right over all of these translations. With zero need to modify any game code, games such as <em>Grand Theft Auto V, Diablo IV<\/em>, <a href=\"https:\/\/www.inverse.com\/gaming\/cyberpunk-2077-review\"><em>Cyberpunk 2077<\/em><\/a>, and <a href=\"https:\/\/www.inverse.com\/gaming\/hogwarts-legacy-unforgivable\"><em>Hogwart&rsquo;s Legacy<\/em><\/a> can now run on Apple silicon Macs <em>almost <\/em>as if they&rsquo;re native.<\/p><\/blockquote>\n\n<p>You see, Apple <em>did<\/em> <a href=\"https:\/\/mjtsai.com\/blog\/2023\/05\/29\/apple-intelligence\/\">talk about GPT<\/a> at WWDC.<\/p>\n\n<p><a href=\"https:\/\/sixcolors.com\/link\/2023\/06\/does-apples-porting-toolkit-change-the-game\/\">Dan Moren<\/a>:<\/p>\n<blockquote cite=\"https:\/\/sixcolors.com\/link\/2023\/06\/does-apples-porting-toolkit-change-the-game\/\">\n<p>Gaming on the Mac has been a fraught experience for decades, and it&rsquo;s certainly possible that this toolkit will follow in the footsteps of other failed appeals to the gaming market. But one significant difference is that all of this technology is here, now and already works. You can, as numerous YouTube videos prove, download and run a recent Windows title and have it play surprisingly well. Will this entice developers to the previously untapped Mac market? Unclear, of course, but you can&rsquo;t say Apple hasn&rsquo;t made it easy for them.<\/p>\n<\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.online\/@tclementdev\/110552642058605842\">Thomas Clement<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.online\/@tclementdev\/110552642058605842\"><p>I really don&rsquo;t think the game porting toolkit is going to be the big deal that some people make it to be. It&rsquo;s great that it exists and will help to port games but game developers and studios still need to care and want to invest in the Mac platform. There&rsquo;s still a relatively big cost involved, this is not &ldquo;Apple has implemented the DirectX API in macOS, ship your Windows game as-is&rdquo; as some seem to believe.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@colincornaby\/110551042296904891\">Colin Cornaby<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@colincornaby\/110551042296904891\"><p>GPT titles can&rsquo;t be redistributed through the DX12 translator. And they can&rsquo;t be distributed to any stores. No converted game is output.<\/p><p>[&#8230;]<\/p><p>The next step after GPT is &ldquo;Now do a real Metal port.&rdquo; It&rsquo;s a demo piece - that&rsquo;s it. There&rsquo;s no output, there&rsquo;s no starting point.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@stroughtonsmith\/110551048710795145\">Steve Troughton-Smith<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@stroughtonsmith\/110551048710795145\"><p>Apple&rsquo;s Game Porting Toolkit should be built into macOS, Proton-style, and Apple should provide a completely streamlined &lsquo;just check a checkbox&rsquo; wrapping tool\/SDK such that any Windows game developer can submit to the Mac App Store. If it&rsquo;s good enough for iOS games, it should be good enough for Windows games.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@Gte\/110551119592752578\">Guy English<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@Gte\/110551119592752578\"><p>If you&rsquo;re chasing compatibility with another platform then you&rsquo;re behind the play and you&rsquo;ll never achieve comparable results. That&rsquo;ll only serve to cement the Mac as a third rate platform. If a porting path is presented and, importantly, the games are met with market success, then the tide can start to shift.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/mastodon.social\/@stroughtonsmith\/110551134482071002\">Steve Troughton-Smith<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.social\/@stroughtonsmith\/110551134482071002\"><p>The Mac is 40 years old &#x1F605; Apple has burned every bridge with game developers it can. You can no longer buy a Mac you can put a graphics card into. Apple&rsquo;s not on speaking terms with the top game engine company of the era. What tide is going to turn? I want to live in that world.<\/p><\/blockquote>\n\n<p>See also: <a href=\"https:\/\/developer.apple.com\/videos\/play\/wwdc2023\/10123\/\">Bring your game to Mac<\/a>.<\/p>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/06\/06\/wwdc-2023-links\/\">WWDC 2023 Links<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/06\/05\/apple-vision-pro\/\">Apple Vision Pro<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/06\/05\/mac-pro-2023\/\">Mac Pro 2023<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2023\/03\/07\/cracking-the-mac-gaming-market\/\">Cracking the Mac Gaming Market<\/a><\/li>\n<\/ul>\n\n<p id=\"game-porting-toolkit-update-2023-06-19\">Update (2023-06-19): <a href=\"https:\/\/mastodon.online\/@tclementdev\/110558723065923777\">Thomas Clement<\/a>:<\/p>\n<blockquote cite=\"https:\/\/mastodon.online\/@tclementdev\/110558723065923777\"><p>The advent of cloud gaming might very well finish killing off native Mac games. I&rsquo;ve been testing GeForce NOW for a few days, this thing is insane, it just works. To the point where I even find myself playing Mac compatible games with it, better graphics and performance, 32-bit &amp; intel support, no installations needed. For the first time I&rsquo;m considering buying Windows-only games. But alas not all games are available so we still have a game availability problem.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Christina Warren: But buried in the keynote was a macOS feature that Apple should have called out with more fanfare: DirectX 12 support for macOS. As PC gamers already know, this software support means the floodgates are open for some real games &mdash; not that casual Apple Arcade stuff &mdash; on Mac. Maybe, just maybe, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2023-06-16T18:36:26Z","apple_news_api_id":"be4be649-e82b-4a44-ad16-53a1fc881a86","apple_news_api_modified_at":"2023-06-19T14:09:46Z","apple_news_api_revision":"AAAAAAAAAAAAAAAAAAAABQ==","apple_news_api_share_url":"https:\/\/apple.news\/AvkvmSegrSkStFlOh_Igahg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[2412,1969,418,2413,30,2385,906,1894],"class_list":["post-39785","post","type-post","status-publish","format-standard","hentry","category-technology","tag-directx","tag-epic","tag-game","tag-game-porting-toolkit","tag-mac","tag-macos-14-sonoma","tag-metal","tag-nvidia"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39785","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=39785"}],"version-history":[{"count":7,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39785\/revisions"}],"predecessor-version":[{"id":39797,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/39785\/revisions\/39797"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=39785"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=39785"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=39785"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}