Skip to content

Instantly share code, notes, and snippets.

@s3rgiosan
Created March 28, 2026 16:24
Show Gist options
  • Select an option

  • Save s3rgiosan/4dcd30e93216f906546f82e64882c451 to your computer and use it in GitHub Desktop.

Select an option

Save s3rgiosan/4dcd30e93216f906546f82e64882c451 to your computer and use it in GitHub Desktop.
C&C Tiberian Sun LAN on macOS via Porting Kit

C&C Tiberian Sun LAN on macOS via Porting Kit

Problem

Clicking the LAN button in the main menu does nothing. The screen flashes and returns to the menu.

Cause

The Porting Kit installer applies a LAN patch (wsock32.dll) that replaces the old IPX protocol with UDP. However, Wine is not configured to use it — it ignores the native DLL and falls back to its own built-in version.

Fix

  1. In Porting Kit, right-click the game and open the Wineskin app
  2. Click Advanced
  3. Go to the Tools tab
  4. Click Config Utility (winecfg)
  5. Go to the Libraries tab
  6. In "New override for library", type wsock32 and click Add
  7. Select wsock32 from the list and click Edit
  8. Set it to Native then Builtin
  9. Click OK, then Apply, then OK

Repeat on every Mac that will join the LAN game.

Notes

  • Tested on macOS Sequoia and Monterey
  • Porting Kit wrapper version 3.0.6_2, engine WineskinCX 22.1.1
  • Both Macs must be on the same local network subnet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment