Skip to content

About

Call of Duty 2 multiplayer, native on Apple silicon. CoD2x 1.4 compatible.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Repository files navigation

CoD2 Unbound: Call of Duty 2 multiplayer, on every platform

CoD2 Unbound

Call of Duty 2 multiplayer, native on Apple silicon Macs today. CoD2x 1.4 compatible.

CoD2 Unbound ports the reconstructed opencod2 engine to native macOS arm64. It runs directly on Apple silicon, with raw mouse input, native audio and a Metal renderer. Bring a licensed copy of Call of Duty 2: no game content is included. Windows, Linux and the browser are on the roadmap, which is where the name comes from; until 0.3.6 the app was called CoD2 Silicon.

To play: download the disk image from cod2unbound.com or Releases, drag the app to Applications, open it, and point it at your Call of Duty 2 folder. Setup does the rest. A Windows 1.3 install's folder works as it is.

Status

Version 0.4.4 is playable on original 1.3 and CoD2x 1.4 servers, with a native launcher, server browser and Config Studio. Movement, firing, grenades, mounted turrets, HTTP mod downloads and round restarts have been tested, and every menu is opened by an automated sweep. The picture is compared with the original Windows game frame by frame in replayed demos. The game draws with Metal; OpenGL stays as a choice. Active Game Mode remains a goal. See the verified results below for compatibility coverage, rendering comparisons, fullscreen limits and measured performance.

Requirements and game data

  • An Apple silicon Mac; Intel Macs are not supported by this port.
  • macOS 26 or later.
  • Your own licensed Call of Duty 2 1.3 game data and CD key.
  • No Mac copy of the game is needed: the app builds the original shaders from the game's own files.

Keep the game outside this repository. The data folder must contain main/iw_00.iwd through main/iw_15.iwd and matching localized archives. Existing Windows 1.3 data works as it is. If you own the game on Steam and have it installed nowhere, setup can download it for you. See getting your game data.

Install

Prebuilt app

  1. Open GitHub Releases.

  2. Download CoD2-Unbound-0.4.4-macos-arm64.dmg. To check it first, download SHA256SUMS into the same folder and run:

    shasum -a 256 --ignore-missing -c SHA256SUMS
    
  3. Open the disk image and drag CoD2 Unbound to Applications, then open it from there.

The app and the disk image are signed with a Developer ID and notarized by Apple, so they open like any other download. The ZIP beside the disk image holds the same app; it is what the app's own Install Update downloads.

Coming from CoD2 Silicon: 0.3.5 and earlier cannot install this update by themselves, because it has a new name. Install CoD2 Unbound as above, once, and delete CoD2 Silicon from Applications. Your settings, loadouts, configs and match summaries come along the first time CoD2 Unbound opens; your game data and CD key stay where they are.

From source

git clone https://github.com/cod2unbound/cod2-unbound && cd cod2-unbound && ./scripts/install.sh

The installer needs Swift 6 (Xcode 26 or later), the Xcode Command Line Tools, CMake and Rust and explains how to get them. It downloads and builds the pinned SDL release and the Metal library itself, compiles the client and installs ~/Applications/CoD2 Unbound.app. No original game binary is needed to build. A locally built app is not quarantined, so Gatekeeper does not block it.

First run and playing

Open CoD2 Unbound.app to use Home, Servers, Library and Configs (⌘1–⌘4). Setup walks through your game data, CD key, shaders, name and display mode, asks whether to send crash reports, then shows a Ready summary. It finds a game folder, lets you choose or drop one, or downloads your copy from Steam with a QR code you scan in the Steam app. A CD key can be skipped; servers need one. A verified key is stored in ~/.cod2/preferences. Never share that file or your key.

The app builds original shaders from your own game files. If that fails, you can choose a Steam Mac copy or continue with approximate shaders. Configs, logs, demos, screenshots and the shader cache live in ~/Library/Application Support/CoD2 Unbound.

Launch (⌘↩) rejoins the last server, or the selected server when Servers is showing one. Open Game Menu (⇧⌘↩) opens the multiplayer menu. Servers has All, Favorites and Recent views, saved filters, and Connect to Address… (⌘L). A server using the other game version asks to switch for that match; your default version stays in Settings. While playing, the launcher keeps its Dock icon and can hide its windows. Home offers Return to Game and Quit Game.

Servers → Hosting runs your own server on this Mac, with CoD2x or the original 1.3, for people on your network or listed publicly. Choose the maps and rules, start it, and the page shows who is playing, the address to share and the server's log. Competitive rules use zPAM, which the launcher downloads from the zPAM project's releases when you ask for it; it is not bundled. Export for Another Machine writes server.cfg and start commands for a Linux or Windows server instead. See the server guide.

Three things worth knowing before friends try to join:

  • Ports. The game's own local-server list only asks ports 28960 to 28963 (original 1.3) or 28960 to 28991 (CoD2x). Hosting keeps to them; on any other port friends connect by address, and the page says so.
  • Firewall. The first start may bring up macOS's question about incoming connections for the server. Deny means nobody else can see or join it.
  • Wi-Fi. A Mac hosting over Wi-Fi can make players freeze and jump while AirDrop or Handoff is in use. A network cable is steadier; the guide's Wi-Fi section has the other remedies.

Settings is a separate window, reached from the sidebar, app menu or ⌘,. Its seven panes cover the launcher, display, game data, privacy, updates, advanced launch options and About. Changes save automatically. The game draws with Metal; Display has a Graphics row to choose OpenGL instead, and a Render scale for 4K and 5K displays. New installs start borderless at the display’s native size up to 3840 × 2160, or half its width and height above that (2560 × 1440 on a 5K panel). The resolution and vertical sync belong to each loadout: change them in Configs or in the game’s own Graphics menu and they stay as you set them. Configs lists the sizes your display offers; a size it can’t show is replaced by the largest that fits, and Home tells you beforehand. Settings › Display keeps the display and the mode: Borderless stretches the picture to the desktop, Full Screen shows it pixel for pixel. The other defaults are a 250 fps cap, vertical sync off and raw mouse input.

Configs holds loadouts: frame cap, mouse, audio, graphics and binds, plus Check-up and History. Create, duplicate, rename, export or delete an unused loadout with Undo; Use for Next Game selects the one the game will read. Home also has a loadout picker. Configs is read-only during a game.

Configs opens on its own home page: your loadouts, and player setups from a public catalogue. The catalogue collects configs that were published on the open web, credits each to the page it came from, and leaves out names, chat lines, passwords, server settings and timed key macros. It does not claim a player approved a listing, and removes one on request. You see what a setup would change and review every line before anything is imported. Add a Config brings in one of your own from a file, a link, the clipboard or a Windows install, with the same review.

Check a Config reads any config on this Mac, for CoD2x or the original 1.3 and optionally a set of server rules such as zPAM's. It marks, line by line, settings that don't exist, values the game refuses, settings that only change with cheats on, repeats and stored passwords, and offers a fix for each. Fixes change a copy; the file you checked is never written.

Library keeps Matches, Demos and Screenshots. Match summaries stay on this Mac and open Check-up for that match. Check-up shows freezes over 0.1 s, the longest and the recorded times; older summaries still show the worst frame. Each game session also keeps a private, filtered output log under logs beside main: the last 10 sessions, at most 4 MiB each and 20 MiB total. Passwords and CD keys are filtered before writing. Settings → Advanced → Logs → Show in Finder selects the latest session. These logs are never sent automatically. Demos can be played, renamed, copied or moved to the Trash with Undo. Screenshots support Quick Look, Copy Image and Share. Jump to… (⌘K) finds servers, loadouts, Settings and actions; in Configs it finds game settings.

A cod2x:// join link opens Connect to Address for review before Launch; pasted cod2:// links work too. For example:

open -a "/Applications/CoD2 Unbound.app" 'cod2x://connect/127.0.0.1:28960'

Replace the address with your server. For a source install, use the app under ~/Applications. For direct CLI launch, run the executable with --play; append --exit-after-game to close the launcher when the game quits, or pass trusted engine arguments after --.

Reporting a problem

Settings → About → Report a Problem opens a new issue on GitHub in your browser, filled in with the app version, the game versions installed, your macOS version and Mac model, and the shader and display modes. You can edit all of it before you post.

  • Include the last game log copies the end of the last game session's log to the clipboard for you to paste into the issue. Include the last server log does the same for the last server you hosted, when there is one.
  • Logs are filtered as they are written: lines with a password or a CD key are left out, and your user name is replaced in paths. A log can still hold server names and player names, so read what you paste.
  • The game's logs are under logs in ~/Library/Application Support/CoD2 Unbound (Settings → Advanced → Logs → Show in Finder); a hosted server's are in its own folder (Show in Finder on its page).

What the app sends

  • Online play. As in the original game, the game sends your CD key, a hash of it and the anonymous-play setting to Activision’s key server when it checks your key. A server you join gets the key hash, your player name, game settings, any server password used and what you do in the match, including any chat you send. CoD2x also sends the server its IDs for this Mac. A server can point the game at another address for map and mod downloads or, with CoD2x, for an upload of the match recording.
  • With CoD2x on, the game's update check uses HTTPS and can fall back to plain UDP. It sends the CoD2x version, a hash of your CD key, CoD2x's hardware-derived IDs, the macOS version and build, the country from the language setting if available, and whether the game runs in a virtual machine or as administrator. zPAM files a server needs can come from the CoD2x project's site.
  • Original 1.3 uses the original game protocol. Settings → General → Game version sets your default. Joining a server can use the other version for that match.
  • The launcher asks GitHub when you check for updates (once a day while it is open, unless you turn off Settings → Updates → Check for updates automatically) and fetches the news on Home. The fallback addresses are https://cod2unbound.com/update/releases.json for the check and https://cod2unbound.com/update/news.json for news. If you choose to install an update, its files can come from GitHub Releases or https://cod2unbound.com/releases/. The CoD2x files come from GitHub. The launcher asks both master servers when you refresh the server list or enable refresh on opening Servers, and asks a single server when you type its address in Connect to Address. Passwords you choose to remember stay in your keychain on this Mac and are sent only to that server. Settings → Privacy lists these contacts.
  • Downloading the game from Steam, only if you choose it in setup: the launcher fetches the download tool (DepotDownloader) from its release page on GitHub, and that tool then talks to Steam's servers to sign in with the QR code you approve on your phone and to download the game. The launcher never sees a Steam name or password, and the tool's stored sign-in is deleted when the download ends, stops or is cancelled.
  • Configs fetches the player setups catalogue from GitHub when its home page opens, and a setup's config when you look at it.
  • Sharing a setup. When you choose Share Setup, cod2unbound.com gets the cleaned config, the name you typed, the game and app versions, and the number of lines removed and why. The launcher filters out things like your player name, chat commands, passwords, server addresses and file paths. It posts the setup as a public request on GitHub. Stop Sharing sends the request number and a private token to take it back.
  • A server you host lists itself on the master servers when set to The Internet. It sends status with server settings and the names, scores and pings of its players. A CoD2x server can check for updates even on My Network, sending its CoD2x version, platform and installed zPAM version if present. Getting zPAM downloads it from GitHub.
  • Report a Problem opens GitHub in your browser with app and game versions, macOS version, Mac model, shader status and display details filled in. You choose whether to post the issue.
  • CoD2 Unbound crash reports go to this project's Sentry service in the EU if you turn them on. Setup asks with neither answer chosen for you. A report includes the reason, game and app versions, macOS version and Mac model, the report number, when it was written and sent, and the game’s report and its filename. The launcher shortens home folder paths to ~, removes command-line entries and holds back reports that may contain a CD key. It asks the service to leave out your network address. Builds with no Sentry receiver offer no Sentry switch.
  • CoD2x crash reports have their own switch, read when CoD2x starts. Errors go to the CoD2x project with the CoD2x version, system details and recent CoD2x log text. A fatal error can include a stack trace. A crash or freeze in CoD2x’s code also includes the time, server and process details, command line, paths, loaded modules, and the affected thread’s stack, registers and memory samples. CoD2x can send pending reports on a later start.
  • Usage data goes to PostHog in the EU only if you say yes. Recording starts when you agree. See What’s Sent in Settings → Privacy lists the events and fields and shows a real example. The events use an install number, a random event number and a time rounded down to the minute. A game’s end and duration are sent only if the launcher recorded its start under the same install number. Switching usage data off clears the local number and unsent events. Read the full privacy notice.

Known limitations

  • The CoD2x game and server run as CoD2x's latest stable release, 1.4.6.8, so players on that release for Windows and Linux can join a server you host. This was tested against the server's own version rules, not yet with a person on the released Windows CoD2x. A CoD2x server still hosted from CoD2 Unbound 0.3.0 turns 0.3.1 players away until it updates. A server on the original 1.3 takes any 1.3 player.
  • Voice chat works with the original 1.3 only; CoD2x turns it off, as CoD2x does on Windows. It records from your microphone only while you hold the voice chat key on a server that has voice on, and follows a change of input device, even mid-sentence. The sound path was tested with a recording in place of a microphone, not yet with a real one. There is no choice of microphone in the launcher; the game uses the system's input. A server started from the launcher's Hosting page does not offer voice chat yet.
  • PunkBuster is not part of the app, so a server that requires it will not let you stay.
  • On Wi-Fi, macOS pauses the connection for a moment now and then while AirDrop or Handoff is in use, which shows as freezes and jumps, whether you host or just play. A network cable avoids it; the server guide's Wi-Fi section has the other remedies.
  • Everything here was checked on one Apple silicon Mac with a 5K display. A MacBook's 16:10 screen, a 120 Hz display, a second display and a Mac with 8 GB of memory have not been tried with the Metal engine.
  • The intro videos play once, the first time a new player launches to the game menu, as in the original; any key skips each part. cinematic cod_intro in the console plays the intro film again.
  • Whether macOS Game Mode turns on for the game has not been confirmed, and restoring the display after it sleeps in exclusive full screen has not been retested.
  • Some rendering and mod edge cases remain. A map change or map restart during an HTTP download can leave the download waiting on a server that does not run this project's dedicated server, and a fast_restart during a download from the game server itself (no web redirect) can do so on any server; reconnecting recovers.
  • This engine inherits security-sensitive networking, file parsing and memory behavior from an old reconstruction. It is not hardened. Use trusted content and servers; see SECURITY.md.

Verified results

The following historical measurements retain their original scope; they are not new performance claims for every release. Verified development results include:

  • Online stock 1.3 (protocol 118) and CoD2x 1.4 (protocol 120) play: movement, firing, reloading, round restart and respawn; HTTP mod downloads also worked. The sessions were short and mostly on empty servers. Online report
  • The CoD2x layer follows CoD2x 1.4.6.8 for players and for hosted servers, including the match service, zPAM handling, script web requests and vMix. This is implementation coverage checked against local stand-ins, not live acceptance of every feature. CoD2x updates are announced, never installed, and certificates are always checked. An earlier inventory counted 41 of 68 behaviors. Earlier compatibility report
  • In 0.3.0, a demo replayed in the original Windows 1.3 game and in this port differs by a mean of 0.02 to 0.30 out of 255 per colour value, view by view on Toujane, Trainstation, Rhine and Harbor at 1920x1080 with the shaders built from the game's files. Thin anti-aliased edges alone account for 0.1 to 0.3. Every stock map was compared during the cycle, and the port was audited against the original: 119 of 173 findings are fixed and 12 are still open. The original ran under Wine with DXVK, not on a Windows machine. What was tested, and what still differs
  • 0.3.1 fixed two of the differences 0.3.0 listed (menu panel edges, and fog in the Direct3D 7 renderer) and measured a third, the near clip plane, as not a difference. What was tested for 0.3.1
  • 0.4.1 adds sharing a setup from the launcher and fixes what going over 0.4.0 turned up, on Metal and in the launcher. What was tested for 0.4.1
  • 0.4.2 asks whether you want to send usage data, which stays off unless you say yes. What was tested for 0.4.2
  • 0.4.3 gets updates and news from cod2unbound.com when GitHub cannot be reached. What was tested for 0.4.3
  • 0.4.4 checks game input more strictly and keeps LAN-only dedicated servers off public services. What's new in 0.4.4
  • 0.4.0 moves the game from OpenGL to Metal and adds a render scale. What was tested for 0.4.0
  • 0.3.7 gives every launcher screen one look and changes nothing in the game. What was tested for 0.3.7
  • 0.3.6 renames the app to CoD2 Unbound and changes nothing in the game. What was tested for 0.3.6
  • 0.3.5 adds the Steam download and the crash reports question to setup and changes nothing in the game. What was tested for 0.3.5
  • 0.3.4 adds the switch that sends crash reports to this project and changes nothing in the game. What was tested for 0.3.4
  • 0.3.3 moves the project to github.com/cod2unbound and changes nothing in the game. What was tested for 0.3.3
  • 0.3.2 enlarges the in-game console above 1080 lines and changes what the launcher shows first. What was tested for 0.3.2
  • Before 0.3.0, with the original Mac shaders, three matched Toujane views had RGB mean absolute errors of 2.0050, 1.8726 and 0.5856 out of 255 against Windows. Rendering report
  • Fullscreen rendering up to 6016×3384 (6K), with desktop-fullscreen fallback when an exclusive mode is unavailable. Fullscreen report
  • A ten-minute combat soak completed without a crash after fixing the first-shot stencil-clear fault. Playable-app report

See the roadmap.

Building for development

Read CONTRIBUTING.md for the complete merge gate and data requirements. Development builds need SDL2-compatible development libraries (the port was tested with SDL3 + sdl2-compat; scripts/build-sdl.sh builds the pinned versions) and Python 3.9+. No proprietary input is needed: arm64 builds compile the committed typed-data snapshot in build/lp64_gen/, described in typed-data generation.

cmake -S . -B build-macos -DCOD2_X64=ON -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
cmake --build build-macos --target cod2_macos --parallel 3
cmake -S . -B build-macos-codx -DCOD2_X64=ON -DCMAKE_BUILD_TYPE=Release \
  -DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
  -DCOD2_FEATURE_CFLAGS=-DCOD2_CODX=1
cmake --build build-macos-codx --target cod2_macos --parallel 3

COD2_CODX=ON is not a CMake option: use the feature flag shown above. The original i386 Linux and Windows paths retain their build instructions in the upstream README; WebAssembly has its own build guide.

Path Contents
src/PC, src/Mac Reconstructed engine and renderer
src/platform Native macOS display, input, audio and system adapters
cmake, tools, tests Build definitions, verification and test fixtures
docs/macos-port Development log and report index, compatibility and parity research

Credits and license

Built on opencod2, with behavior research from CoD2x, cod2engine, CoD2rev_Server and KisakCOD, and native support from SDL, Apple frameworks, libcurl and zlib. Most port code and analysis was written by OpenAI Codex and Anthropic Claude Code agents, then verified with test suites and live server play. Full credits and provenance

MIT covers this project's own changes after opencod2 410342a. Upstream opencod2 declares no license and retains its authors' rights; third-party licenses remain applicable. Read NOTICE.md for scope.

“Call of Duty” is a trademark of Activision. CoD2 Unbound is not affiliated with Activision, Infinity Ward, Aspyr or the CoD2x project.

About

Call of Duty 2 multiplayer, native on Apple silicon. CoD2x 1.4 compatible.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages