SwARc

The Swiss Army Recompiler: static recompilation of PC and console games into native 64-bit programs for Linux and macOS: the scaffold that gets a game running natively while its code is replaced, piece by piece, with hand-written C++.

A game’s machine code is translated ahead of time into C++ and linked against a runtime that reimplements the parts of its operating system and middleware the game uses. There is no emulator, interpreter or Wine in the result, and no game code or data in any of the repositories: each port builds from your own copy of the game.

Recently updated

DS1-Rebuilt

PC

Dungeon Siege (2002)

Playable

Single player plays from a new game to Wesrin Cross, with sound, music, voices and movies. Where SwARc was developed.

Updated 2026-11-10

CoD1-Reissued

PC

Call of Duty (2003)

In game

The training level plays through to completion. Widescreen, Hor+ FOV, a scaled HUD and exact frame caps are in; the renderer's back end is native and draws on SwARc's graphics device.

Updated 2026-11-09

LSWTCS_Rebricked

PC

LEGO Star Wars: The Complete Saga (2009)

In game

Menus, the cantina and several levels load and play, with keyboard and Xbox pad, paced at the display's refresh rate. Past the first chapter untested. The first Direct3D 9 user.

Updated 2026-11-10

Q2E

PC

Quake II Enhanced (2023, x64)

Boots

The first 64-bit guest. Both binaries lift and pass their oracle tests; it runs from the entry point through engine startup.

Updated 2026-11-09

GravityRush-Reshifted

PlayStation 4

Gravity Rush Remastered (2015, x64)

In game

The first PS4 port, on the Orbis module. Plays from New Game into free play in episode 1's city, with sound and its characters drawn whole; autosaves, and Continue loads the save.

Updated 2026-11-10

Uncharted-Recharted

PlayStation 4

Uncharted: The Nathan Drake Collection (2015, x64)

Early

The second PS4 port, bringing more of the system onto the Orbis module. The first game plays its intro movies, reaches the title, starts a new game and saves, and stops in its opening cutscene.

Updated 2026-11-10

Gears1-ReCogged

Xbox 360

Gears of War (2006)

In game

Plays from a new game through the intro into gameplay, built on ReXGlue for now with an emulated GPU; moving onto SwARc's Xbox 360 module.

Updated 2026-11-10

All Ports →

Systems

PC (x86 and x86-64)

x86 (32-bit) and x86-64

Ports running platforms/win32

Windows games for 32-bit and 64-bit x86 PCs, on the x86 core and the Win32 module.

4 ports

PlayStation 4

x86-64 (AMD Jaguar, family 16h)

Module in progress platforms/orbis

PlayStation 4 games, on the x86-64 core and the Orbis module.

2 ports

Nintendo Switch

AArch64 (ARM Cortex-A57)

Groundwork platforms/horizon

Nintendo Switch games, on the AArch64 core and the Horizon module.

No ports yet

Xbox 360

PowerPC (Xenon, 64-bit in 32-bit mode) with VMX128

Groundwork platforms/xbox360

Xbox 360 games, on the PowerPC core and the Xbox 360 module.

1 port

What SwARc provides

Three layers, each building only on those below it: a base every guest shares, a CPU core per guest CPU, and platform modules (an operating system and its libraries) on a core. A game builds its own core and platform and nothing else: a PS4 game pulls in no Windows code, a Switch game no x86 code. All of it is on SwARc’s main branch, each core and module behind its own build option.

The lifted code is an exact oracle, not the end product: each port replaces lifted functions with native C++ one subsystem at a time, checked against the lifted original, until nothing lifted is left.

The repository has the build instructions and ARCHITECTURE.md, the design.