Skip to content

About

Swaps the Game Porting Toolkit, DXMT and MoltenVK inside CrossOver for newer builds

Topics

Resources

Stars

42 stars

Watchers

0 watching

Forks

Repository files navigation

GPTK Patcher Tool

Swaps the Game Porting Toolkit, DXMT and MoltenVK inside CrossOver for newer builds, and routes DLSS to MetalFX.

Download (signed and notarized). DXMT and MoltenVK support is beta.

You need

  • macOS 14 or later, Apple Silicon.
  • CrossOver 25, 26, or Preview 27, launched once and set up.
  • A Game Porting Toolkit disk image from Apple's developer downloads.
  • Optional: a DXMT release. A MoltenVK build is already included.

Patching

  1. Quit CrossOver and any running bottles. Choose CrossOver when the app asks what you are patching.
  2. Drop CrossOver.app and the toolkit .dmg anywhere in the window, or on the Dock icon.
  3. Optional: add a DXMT or MoltenVK build. Anything left on Unchanged is not touched.
  4. Pick Duplicate CrossOver or Patch Existing, then click Patch CrossOver.

A duplicate is saved to /Applications under a name that lists what it carries, such as CrossOver (GPTK 4.0b3).app. Patching in place changes your installed CrossOver, and a CrossOver update wipes the patch, so a duplicate is the safer choice.

Originals are kept beside the replacements as .stock, and a failed or cancelled patch rolls back.

Settings

Patched copies appear under Already Patched Versions. The gear sets the frame rate cap, the Metal Performance HUD and Metal 4, for the whole app or for one bottle. A bottle's own setting wins. Quit that CrossOver first. If macOS ever calls a patched copy damaged, right-click it and choose Repair Launch.

Vulkan games

Doom (2016), Wolfenstein II and Detroit: Become Human run on MoltenVK, not the toolkit or DXMT. The included build covers Doom and Wolfenstein II. Detroit needs MoltenVK-Detroit: drop in the .zip as downloaded, and follow its instructions for the game-side fixes.

Doom also needs +r_renderapi 1 in its Steam launch options. The first launch after a swap can sit on a black screen for a few minutes while shaders compile.

NotProton

Set up a CrossOver in NotProton first, then choose NotProton when the app opens. The CrossOver NotProton uses is selected for you. Pick the versions and click Patch NotProton. NotProton's copy of CrossOver is updated as well, so there is no need to reinstall it there.

A MoltenVK build also sets up the launch options its games need, and D3DMetal Frame Rate Cap caps a game running on D3DMetal (toolkit 4.0 or later). Both edit Steam's launch options, so Steam restarts to save them. If Steam is open, you can paste the MoltenVK options in yourself instead. The DXMT cap is in NotProton's panel in Steam.

Patching can break games. Don't report those problems to the NotProton developers. To reset, use Remove Everything in NotProton and set it up again.

Undo

Trash a duplicate. For an in-place patch, download CrossOver again from CodeWeavers. Patching never touches your bottles.

Building it

Swift Package Manager, SwiftUI, no dependencies. Needs a full Xcode in /Applications.

scripts/run-app.sh      # build and launch
scripts/test.sh         # regression checks

scripts/build-moltenvk.sh standard builds the included MoltenVK library, and scripts/release.sh signs and notarizes. The command line interface is GPTK Patcher Tool.app/Contents/MacOS/GPTKPatcher --cli --help.

Licensing

MIT; see LICENSE. Most of what this installs was written by other people, and CREDITS says who. Apple's toolkit is not redistributed. CrossOver is CodeWeavers' software and they do not support a patched copy.

About

Swaps the Game Porting Toolkit, DXMT and MoltenVK inside CrossOver for newer builds

Topics

Resources

Stars

42 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages