Desktop Melee

Desktop Melee is a native PC port of Super Smash Bros. Melee that runs the game over your desktop with a transparent overlay.

README

Desktop Melee

Super Smash Bros. Melee on your Mac's desktop. The fighters stand on top of the Dock, the screen edges are the blastzones, and your apps keep working underneath. Set up the match from the menu bar, plug in a controller, and play.

Desktop Melee on a Mac desktop

Beta (0.1.3), for macOS, Linux and Windows.

You need your own Melee disc image (USA 1.02). No game data is included. Desktop Melee is a fan project. It is not affiliated with or endorsed by Nintendo or HAL Laboratory.

What it is

  • The real game. It runs Melee's own code, built from the community decompilation, so movement, hitboxes and knockback are exactly Melee's. It is not an emulator.
  • A see-through overlay. One transparent, click-through window covers the screen. Only the fighters, effects and HUD are drawn.
  • Your desktop is the stage. Final Destination's floor is stretched to the width of your Dock, the screen edges are the blastzones, and stocks and percents sit in a black "island" around the MacBook notch.
  • A menu bar app. Pick characters and costumes (with Melee's own portraits and announcer), CPU levels, controller ports, button maps, tap jump, fighter size, HUD placement and more.
  • Pause and hide. One shortcut (⌃⌥M by default) pauses the match and hides the fighters, for when someone walks by.

How it works, in one picture

flowchart LR
    disc[("your disc<br/>Melee USA 1.02")] --> game["Melee's game code<br/>(decompiled C, built with GCC)"]
    game --> port["melee-pc + aurora<br/>GameCube hardware → Metal, SDL3"]
    port --> desktop_melee["Desktop Melee<br/>transparent window, Dock floor,<br/>menu bar app"]
    desktop_melee --> desk["your desktop"]

The full explanation, layer by layer, with diagrams: How Desktop Melee works. It covers decompilation versus emulation, how the window becomes see-through, the math that maps your screen into Melee's world, the menu bar app, and every file.

Download

Each release has:

  • Desktop-Melee-<version>-macOS-arm64.zip: a Mac with Apple silicon and macOS 27 or later.
  • Desktop-Melee-<version>-linux-x86_64.AppImage: a 64-bit PC with Linux, Ubuntu 24.04 or newer (Debian 13, Mint 22, Fedora 40, Arch...). See On Linux.
  • Desktop-Melee-<version>-windows-x86_64.zip: a 64-bit PC with Windows 10 or 11. See On Windows.

None contains game data; you still need your own disc (see Requirements).

On macOS

The app isn't notarized by Apple, so macOS stops it the first time:

  1. Unzip it and move Desktop Melee to /Applications.
  2. Open it. macOS says it can't check the app for malware; click Done.
  3. Open System Settings → Privacy & Security, scroll down to "Desktop Melee was blocked", and click Open Anyway. Confirm with your password.

You only do this once per version. If you granted Accessibility (see Permissions), macOS forgets it with each new version: remove Desktop Melee from the Accessibility list and add it again.

On Linux

Make the AppImage executable and run it:

chmod +x Desktop-Melee-*-linux-x86_64.AppImage
./Desktop-Melee-*-linux-x86_64.AppImage

The fighters play over your desktop in a transparent, click-through window, on the panel at the bottom of the screen, and the tops of your other windows are platforms. That needs a compositor (KDE Plasma, GNOME and most desktops run one); without it the game plays in a normal window. A tray icon starts matches, pauses and opens the settings; GNOME shows it only with the AppIndicator extension, and otherwise the settings window opens instead. Pause and hide is Ctrl+Alt+M: the desktop may ask you to confirm it once.

On Windows
  1. Right-click the zip and choose Extract All.
  2. Open the Desktop Melee folder and run Desktop Melee.exe (the game itself is in the game folder; start it from here). The app isn't signed, so Windows may say "Windows protected your PC": click More info, then Run anyway.

The fighters stand on the taskbar, your stocks and percents sit on the taskbar beside its buttons, and the tops of your other windows are platforms. An icon in the notification area starts matches, pauses and opens the settings. Pause and hide is Ctrl+Alt+M.

If Steam is running, its Desktop Layout can turn your controller into a mouse and keyboard while you play, since Desktop Melee never takes the focus from your other apps. Turn it off in Steam's Settings → Controller.

Disc setup

On first launch, a welcome window asks for your disc image and checks it, then shows what Desktop Melee is, has you pick up a controller, and shows where it lives in the menu bar:

The welcome window: the disc is checked and verified, then what Desktop Melee is, Grab a controller with a PS4 controller as P1 and the keyboard keys, Accessibility, and You're set

Requirements

  • A Mac with Apple silicon. Tested on macOS 27 only. If you build the app yourself, it runs on the macOS of the Mac that built it; older versions and Intel Macs are untested. Building needs Xcode 26 or later, for the Icon Composer app icon.
  • Or a 64-bit PC with Linux, Ubuntu 24.04 or newer (glibc 2.39), with Vulkan graphics drivers. Tested on KDE Plasma 6.8 (Wayland) with an AMD GPU only; GNOME, X11 sessions and NVIDIA are untested. Building on Linux is in porting.md section 2.
  • Or a 64-bit PC with Windows 10 or 11. Tested on Windows 11 only. Building on Windows (MSYS2) is in porting.md section 2.
  • Xcode (for Swift, actool and the macOS SDK) and these Homebrew packages: brew install gcc cmake ninja sdl3 zstd libpng freetype. GCC is required: the game code uses a GCC-only feature (see how it works).
  • Your own Super Smash Bros. Melee disc image: USA, revision 2 (1.02), unmodified (.iso, .gcm, .ciso or .rvz). Desktop Melee checks it on first launch and refuses other versions.
  • A controller is recommended: an official GameCube controller with a USB adapter, or any gamepad macOS supports. The keyboard works too.

Build and run

git clone https://github.com/Mwrnk/desktop-melee.git
cd desktop-melee
desktop-melee/package.sh

desktop-melee/package.sh builds everything, makes Desktop Melee.app, signs it and installs it in /Applications (set DESKTOP_MELEE_INSTALL=0 to keep it in build/macos). The first build downloads dependencies and takes a while.

Open Desktop Melee from /Applications. On first launch the welcome window asks for your disc, checks it, has you press a button on each controller, and shows how to play.

The first launch takes several minutes ("Getting Melee ready…"): the game builds all of its graphics shaders once, so matches never stutter. Later launches take a few seconds. Then click the stage icon in the menu bar and press Start. To start matches with Start on a controller too, turn on Start starts a match in the Match tab.

To run it from a terminal with the log visible:

desktop-melee/run-overlay.sh path/to/melee.iso
Permissions
  • Accessibility (optional): lets Desktop Melee read the Dock's exact size and position, so the floor matches it to the point. Without it, the Dock's width is estimated from its settings. It is used for nothing else.
  • No network access. Desktop Melee itself makes no network requests. It doesn't use melee-pc's online play or updater.

Project layout

PathWhat
desktop-melee/Desktop Melee: overlay, game mode, menu bar app, packaging.
src/melee/, src/sysdolphin/Melee's decompiled game code (from doldecomp/melee).
src/pc/melee-pc's platform layer.
extern/aurora/aurora: GameCube SDK → WebGPU/SDL3.
docs/desktop-melee/Desktop Melee's documentation.
MELEE-PC.mdmelee-pc's own README: the port Desktop Melee is built on.
docs/melee-pc/melee-pc's docs, roadmap and coding style, kept as they were.

Before you share anything

  • Never share an app from a plain desktop-melee/package.sh. It copies Melee's font from your disc into the app so the welcome window can use it, so that app (or a zip of it) contains Nintendo's data. To make an app you can hand out, run DESKTOP_MELEE_RELEASE=1 desktop-melee/package.sh: it leaves the font out, stops if any other game file is inside, signs ad hoc and writes the zip to dist/.
  • Never commit game data: no disc images, no extracted textures, no DESKTOP_MELEE_DUMP output.
  • Bug reports: don't attach or link disc images.

Legal

This is not legal advice.

  • Game code (src/melee/, src/sysdolphin/) is not licensed. It is a decompilation of a Nintendo game, from doldecomp/melee. Neither this project nor melee-pc can grant a license to it. This is the same position as doldecomp and melee-pc.
  • Port code and Desktop Melee (src/pc/, desktop-melee/, tools, build files) are GPL-3.0-or-later. Third-party parts keep their own licenses (MIT, zlib, BSD, OFL).
  • No game assets are in this repository. Everything is read from your disc at runtime.
  • "Super Smash Bros." and "Melee" are trademarks of Nintendo.

The details are in licenses/LICENSE.md.

Credits

Desktop Melee stands on the work of:

Status

Version 0.1.3, a beta: download the app or build it yourself. macOS, Linux and Windows.

Works: two-player VS matches (human or CPU) on the Dock, every character and costume, the menu bar app, the welcome window, the notch island and Pause and hide.

Known issues
  • The first launch takes about 5 minutes while the game builds its graphics shaders. Later launches take a few seconds.
  • Tested on one Mac (Apple silicon, macOS 27) with one screen. You can pick another screen in the Display tab, but that is untested.
  • Timer details: with the timer at the top, the clock shows during a pause (Melee hides it). With the timer hidden, Melee's last-5-seconds countdown sound is silent too.
  • Player tags switched on or off during a pause change only when the match resumes.
  • The Pause and hide shortcut can fire while the welcome window is open.

They are tracked in the issues.

Roadmap
  • Window tops as platforms you can drop through.
  • More than two players.
  • Other stages.

Bug reports and pull requests are welcome: see CONTRIBUTING.md for the scope and how to test.