<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: eztakesin</title>
    <description>The latest articles on DEV Community by eztakesin (@eztakesin).</description>
    <link>https://dev.to/eztakesin</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4266845%2Fed4b3597-476f-4804-ab91-879e3994a43c.jpg</url>
      <title>DEV Community: eztakesin</title>
      <link>https://dev.to/eztakesin</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/eztakesin"/>
    <language>en</language>
    <item>
      <title>Making 2011-era Windows games fast on Apple Silicon: x87, DXMT, and a native Steam window</title>
      <dc:creator>eztakesin</dc:creator>
      <pubDate>Thu, 26 Nov 2026 12:11:31 +0000</pubDate>
      <link>https://dev.to/eztakesin/making-2011-era-windows-games-fast-on-apple-silicon-x87-dxmt-and-a-native-steam-window-ihk</link>
      <guid>https://dev.to/eztakesin/making-2011-era-windows-games-fast-on-apple-silicon-x87-dxmt-and-a-native-steam-window-ihk</guid>
      <description>&lt;p&gt;SSF Play is a set of small Mac apps I built so I could play the Windows games in my own Steam library on my Apple Silicon Mac. Each app wraps one game — Counter-Strike 2, the three Black Ops II modes, Modern Warfare 3 (2011), MW2 Campaign Remastered — and all of them share a single runtime built on a Wine I compiled and patched myself: six patches, two of them mine, the rest from Gcenx, athei, and upstream Wine.&lt;/p&gt;

&lt;p&gt;This post is about three technical problems that turned out to matter more than the obvious one. The obvious one — graphics translation — was mostly solved by existing open-source work. The other three were not.&lt;/p&gt;

&lt;h3&gt;
  
  
  The bottleneck for old games is not graphics. It's x87.
&lt;/h3&gt;

&lt;p&gt;The four older titles in the set are 32-bit games from an era when floating-point math on PC meant the x87 FPU. Modern CPUs retired those instructions; Apple Silicon never had them. Under translation, every x87 instruction has to be emulated, and emulation of 80-bit extended-precision math is slow in a way that doesn't show up as GPU load — the game just crawls while the graphics side sits idle.&lt;/p&gt;

&lt;p&gt;SSF Play bundles an accelerator for exactly this: x87sidecar, an open-source component by athei (MIT licensed), integrated into the runtime with a Wine patch from the same author. I wired it in, built it, and put a switch on it (press F8 twice in the game window to toggle; changing it restarts Steam).&lt;/p&gt;

&lt;p&gt;The honest numbers: on a small loop of pure x87 code, the same work takes 3,419 ms without the accelerator and 215 ms with it — roughly 16×. I want to be precise about what that is: a micro-benchmark of one instruction family, not a frame rate. What it means in practice is narrower and more useful: the four legacy apps ship with the accelerator on by default, and both runs of the benchmark produce identical results, so the speedup doesn't come from sloppier math.&lt;/p&gt;

&lt;h3&gt;
  
  
  Choosing the graphics layer: DXMT by default, Apple's engine by the user's own hand
&lt;/h3&gt;

&lt;p&gt;Windows games draw with DirectX; Macs only speak Metal, so something has to translate. There are two realistic options, and SSF Play treats them very differently.&lt;/p&gt;

&lt;p&gt;The default is DXMT, an open-source Direct3D 10/11-to-Metal translator. It ships inside the apps, works for both 64-bit and 32-bit games, and needs nothing from the user. It's what everything uses out of the box.&lt;/p&gt;

&lt;p&gt;The alternative is Apple's D3DMetal, the graphics layer from the Game Porting Toolkit, which additionally covers DirectX 12. It's good technology with a licensing catch: Apple allows you to download it yourself, with your own Apple ID, for development and evaluation. It does not allow me to redistribute it. So SSF Play contains no part of it and never downloads it for you. If you want it, the app walks you through getting the Game Porting Toolkit DMG from Apple's developer site, shows you Apple's license in full, and installs it only after you accept. From then on, the 64-bit app (CS2) uses it automatically.&lt;/p&gt;

&lt;p&gt;Two design rules fell out of this. First, the choice is per-app and fixed — each app is configured for its game, and when a different layer is needed the app swaps the whole related file set at once, so there's no half-switched state. Second, 32-bit games are simply unaffected: D3DMetal does nothing for them, so the legacy titles always run on DXMT and Wine's own path for DirectX 9.&lt;/p&gt;

&lt;h3&gt;
  
  
  The Steam window is a native window, because the real one is black
&lt;/h3&gt;

&lt;p&gt;The Windows Steam client is a Chromium window, and on macOS 27 it renders as a black rectangle inside Wine. Rather than fight that, SSF Play presents Steam's interface in a native Mac window. Under the hood, Steam's own embedded browser exposes a debugging port; the native window connects to it and mirrors the UI.&lt;/p&gt;

&lt;p&gt;The details I cared about: the port is chosen at random on every launch and listens only on 127.0.0.1. The port number is written to a file only your user account can read, and the window verifies that the other end really is Steam before it sends any command. I'll state the limitation as plainly as the product page does: this is Steam's own port and I can't add a password to it, so another program running as you on the same Mac could in principle find it. That's true of any Chromium-based app with a debug port; the mitigations are the random port, loopback-only binding, and the identity check.&lt;/p&gt;

&lt;p&gt;While Steam is open you get a small set of function keys: F9 launches the app's game, F7 opens a "chain check" panel that reports every link in the run path — Rosetta, Wine version, which graphics layer each bitness is using, prefix state, Steam state — because when something breaks, "it doesn't work" is not a bug report I can act on.&lt;/p&gt;

&lt;h3&gt;
  
  
  Games don't get to see your Mac
&lt;/h3&gt;

&lt;p&gt;The runtime sets up a Windows environment (a prefix) inside your own Application Support folder, and the Z: drive — Wine's usual mapping of the host filesystem — is locked down, so a game sees its own environment and not your documents. Steam itself is the genuine client, downloaded from Valve's official address during first-run setup (about 1.4 GB, resumable if it drops). You sign in with your own account and install games you own; SSF Play includes no game content at all.&lt;/p&gt;

&lt;h3&gt;
  
  
  The limits, in writing
&lt;/h3&gt;

&lt;p&gt;Running under Wine means a low but non-zero risk of an anti-cheat ban. SSF Play doesn't bypass or disable any anti-cheat; kernel-level systems like FACEIT are not supported, and I'd test with a secondary account. For Black Ops II multiplayer I recommend bots and custom games only — public matchmaking there is a VAC environment, and the game's netcode has a publicly known, still-unpatched vulnerability.&lt;/p&gt;

&lt;p&gt;Everything is tested only on macOS 27, which is currently a beta, and only on my machine (MacBook Pro, M5 Max). On that machine, at 2560×1600 on the highest settings, BO2's three modes and MW3 run at about 90 fps; your Mac will differ. I also can't promise macOS 28: Apple has announced that from macOS 28, Rosetta survives only for a subset of older games.&lt;/p&gt;

&lt;h3&gt;
  
  
  Trying it
&lt;/h3&gt;

&lt;p&gt;The six apps are $10 once (¥1,500, hosted checkout), updates included, with a full refund in the first 14 days if Steam won't even launch on your machine. If you'd rather check first, the free Community Build on GitHub contains the CS2 app only — no x87 accelerator, no 32-bit engine — which is enough to answer "does this run on my Mac at all": &lt;a href="https://github.com/Starry-Sky-Federation/ssf-play/releases/latest" rel="noopener noreferrer"&gt;https://github.com/Starry-Sky-Federation/ssf-play/releases/latest&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;My Wine patches and the build scripts for the open-source parts are published, as their licenses require. The launcher and the Steam window are not open source. Product page: &lt;a href="https://play.ssf.network" rel="noopener noreferrer"&gt;https://play.ssf.network&lt;/a&gt;&lt;/p&gt;

</description>
      <category>macos</category>
      <category>wine</category>
      <category>gamedev</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
