inFAMOUS 2 on Linux, Steam Deck & macOS

Native ELF and Mach-O Multi-core x86 processor socket and heatsink binaries with zero Wine or Proton translation layer.

Instead of routing Windows executables through Wine, SamiEnazi/infamous2-port compiles a native Linux x86_64 Vulkan binary via ./setup.sh for desktop distros and SteamOS, while erikomis/infamous2-recomp ships a self-updating Apple Silicon (aarch64) macOS Tauri app backed by Metal and MetalFX.

38.31 MBinFAMOUS2-port-v0.5.7-Linux-x64.zip
7.02 MBinfamous2-recomp_0.2.23_aarch64.dmg
38-40 FPSApple Silicon M4 Pro borderless Metal
M.2 NVMe solid-state storage drive used for local recompilation caches
Keep at least 3 GB to 8 GB of free NVMe space during initial C/C++ static recompilation on Linux, Steam Deck, or Apple Silicon macOS.

Linux x64 and Apple Silicon release archives

Switch to the Linux & Steam Deck (x64) or macOS Apple Silicon (.dmg) tab to copy the verified 64-character SHA-256 checksum before installing.

Release binarySetup.exe
Release tagv0.5.7
Verified byte size125,952 B (123.00 KiB)
GitHub repositorySamiEnazi/infamous2-port

SignPath-signed Windows 10/11 x64 Vulkan installer. Downloads portable C++/LLVM build tools (~1.3 GB), runs PGO training (+5-11% FPS), and links F2 Cheats, Mods, and 52 trophies.

SHA-256 digest

d2bbad2de3dac8f1eba059396eae145dbcc223488466e3986cbff4ee36d76776

Install or build sequence

Place Setup.exe in C:\Games\inFAMOUS2 -> Press Install -> Builds from your RPCS3 1.04 / 01.03 copy -> Press Play

Native Linux x64 and Steam Deck setup workflow

SamiEnazi/infamous2-port introduced native Linux compilation in v0.5.0 and restored third-party launcher CLI compatibility in v0.5.7 (fixing issue #44).

Linux Family / HandheldRequired Host PackagesInstall Command & Notes
Ubuntu 22.04+ / Debian / Mintbuild-essential, clang, lld, cmake, ninja-build, python3-venv, libvulkan1, libsdl2-devTested upstream on Ubuntu 22.04 with AMD Radeon Mesa RADV. Run chmod +x setup.sh && ./setup.sh.
Fedora / Nobara / Bazziteclang, lld, cmake, ninja-build, python3, vulkan-loader, SDL2-develOn immutable Bazzite or SteamOS images, run initial compilation inside a distrobox Ubuntu container, then launch the resulting binary directly.
Arch Linux / CachyOS / EndeavourOSbase-devel, clang, lld, cmake, ninja, python, vulkan-icd-loader, sdl2Native x86_64 ELF binary links against system Vulkan ICD and SDL2 gamepad mappings without Proton overhead.
Steam Deck (SteamOS 3.x)Ubuntu 22.04 / 24.04 container via distrobox in Desktop ModeVerified in issue #24: compile once inside Distrobox, add the compiled launcher or binary as a Non-Steam Game, and play in Game Mode.

Running setup.sh on desktop Linux

Extract inFAMOUS2-port-v0.5.7-Linux-x64.zip (38,311,007 bytes, SHA-256 e91cf389cf58c4eaf52d9f0d551bd58682e910a6d92124077198e6eeddfd459e) into a clean folder containing no spaces or non-ASCII characters. Make sure your legally owned copy of inFAMOUS 2 (disc + 1.04 update or PSN 01.03) and PS3 firmware 4.92+ are already installed inside RPCS3 on the same user account so libsre.sprx and game archives are readable.

mkdir -p ~/Games/infamous2-port
unzip ~/Downloads/inFAMOUS2-port-v0.5.7-Linux-x64.zip -d ~/Games/infamous2-port
cd ~/Games/infamous2-port
chmod +x setup.sh
./setup.sh

In v0.5.6, external Linux frontends such as RecompLauncher failed with unknown option --prepare (issue #44) when driving headless setup. Updating to v0.5.7 restores full --prepare, --build, and --play argument parsing on Linux.

Steam Deck Desktop Mode to Game Mode

Because SteamOS mounts a read-only root partition without system C/C++ headers, Steam Deck owners confirmed in issue #24 that compiling inside an Ubuntu Distrobox container produces a clean native binary:

# In Steam Deck Desktop Mode (Konsole):
distrobox create --name ubuntu-recomp --image ubuntu:24.04
distrobox enter ubuntu-recomp
sudo apt update && sudo apt install -y build-essential clang lld cmake ninja-build python3-venv libsdl2-dev libvulkan-dev
cd ~/Games/infamous2-port && ./setup.sh

Once compilation completes, return to Steam Desktop, click Add a Non-Steam Game, select the compiled executable inside work/port/build/ (or launcher script), leave Proton unchecked so SteamOS runs the native Linux Vulkan build, and switch back to Game Mode. Lower internal resolution to 720p (1280x800 frame) in F2 -> Graphics for smooth handheld battery life.

Apple Silicon macOS Metal alpha (erikomis)

erikomis/infamous2-recomp targets aarch64 Apple Silicon Macs exclusively using Metal and MetalFX spatial upscaling, built atop sp00nznet/ps3recomp and NoahBPeterson's LLE firmware layer.

Release Asset (v0.2.23)Byte SizeSHA-256 DigestUse Case
infamous2-recomp_0.2.23_aarch64.dmg7,022,339 B543c2dc94f824f0181559a1589840b5118f6cbb20d8b7aa9214a7d6c840857bdStandard drag-to-Applications disk image for M1, M2, M3, and M4 Macs.
infamous2-recomp-0.2.23-macos-arm64.zip6,976,146 B5aa9147c0a5ddc0a4d5cfeb299dbfef7ad561a884092ee564b88be42c1df8829Portable archive for RecompLauncher or custom directory placement.
infamous2-recomp_0.2.23_aarch64.app.tar.gz7,124,134 B3178c9971048b829b8eedea5624f83d17ce65413c1a989bb6781f870a505928aSigned Tauri auto-updater bundle (paired with 436 B .sig file).
infamous2-recomp_0.2.23_aarch64.app.zip6,973,100 Bb21e64f7b52e2dd3128dc33e9ab9926896bfe665415d494cc8970172514e4c00Zipped macOS .app bundle for manual extraction.

Requirements, Gatekeeper & 01.03 update

The macOS alpha requires an Apple Silicon Mac (M1 through M4; Intel x86_64 Macs are not supported), Xcode Command Line Tools (xcode-select --install), at least 3 GB of free disk space, and your legally owned PSN digital copy NPUA80638 updated to version 01.03 alongside PS3 system software.

Critical note from issue #8: attempting to compile against unpatched 01.00 game files stops during SPU lifting at jobs: relift_jobmod.py. Always install the 01.03 title patch first. On first launch, if macOS Gatekeeper warns that the developer is unverified, Right-click (or Control-click) the app in Applications and choose Open, or clear the quarantine attribute via xattr -cr "/Applications/inFAMOUS 2.app".

Metal performance, F1 menu & save locations

On an M4 Pro Mac running borderless at native 1280x720, early New Marais missions hold 38-40 fps (the engine has no 30 fps gameplay cap, while 2D comic cutscenes and menus run at 30 fps as authored). Internal 1080p runs near 37 fps after the v0.2.11 framebuffer-fetch optimization, and 21:9 / 32:9 ultrawide keeps the 16:9 HUD centered.

  • In-game overlay: press F1, Cmd+,, or L3+R3 on DualSense to adjust resolution, MetalFX, audio, language (PT-BR default or any language on your copy), and performance HUD live.
  • Clean exit: use F1 -> Quit Game or Cmd+Q so active save writes finish cleanly before process exit.
  • Save & trophy path: stored under ~/Library/Application Support/ with a built-in save manager inside the Tauri launcher and automatic self-updates since v0.2.7.

Linux, Steam Deck & macOS path generator

Select Steam Deck / Linux Mesa RADV or Apple Silicon M1-M4 (MetalFX) below to generate exact save paths, shader environment flags, and CLI commands.

Verified INI settings & directory paths
# SamiEnazi/infamous2-port (Vulkan v0.5.7)
# Settings Path: %APPDATA%\inFAMOUS2-port\settings.ini (or portable.txt in port root)
Disc / Edition:   BCUS98125 + Update 1.04
Saves Directory:  <port>\game\gamedata\dev_hdd0\home\00000001\savedata\
Trophies JSON:    <port>\game\gamedata\trophies\NPWR01730.json
RPCS3 Trophies:   <port>\game\gamedata\dev_hdd0\home\00000001\trophy\NPWR01730_00\TROPUSR.DAT
Mods Directory:   <port>\mods\<mod_name>\mod.json

# settings.ini (Desktop Vulkan 1080p / 1440p / 4K)
Internal Resolution: 1080p / 1440p / 4K (F2 -> Graphics)
Soft Shadows & AO:   Full-Res SSAO + HD Fire/Smoke (F3 compares PS3)
PS3_TROPHY_RPCS3_DIR=C:\Emulators\RPCS3
PowerShell, Bash & CLI helper commands
# Copy existing RPCS3 inFAMOUS 2 save folders into SamiEnazi port:
$rpcs3 = 'C:\Emulators\RPCS3\dev_hdd0\home\00000001\savedata'
$port  = 'C:\Games\inFAMOUS2\game\gamedata\dev_hdd0\home\00000001\savedata'
Copy-Item "$rpcs3\BCUS98125*" -Destination $port -Recurse -Force

# Sync earned trophies back into RPCS3 & Playnite Achievements:
Add-Content "$env:APPDATA\inFAMOUS2-port\settings.ini" 'PS3_TROPHY_RPCS3_DIR=C:\Emulators\RPCS3'

SamiEnazi backs up saves before every launch and writes TROPUSR.DAT.port-backup once before syncing NPWR01730 trophies into your RPCS3 folder.

Controllers for native PC, Deck & Mac builds

All four recompilation ports support hot-plugged USB and Bluetooth gamepads, dynamic PlayStation or Xbox button prompts, and virtual-pad deduplication when Steam Input or DS4Windows is active.

8BitDo Ultimate 2C Wireless Controller

Hall-effect sticks and analog triggers with low-latency 2.4G dongle and Bluetooth, auto-detected in SDL_GameControllerDB and XInput for New Marais aiming.

Check on Amazon

GameSir Super Nova Hall-Effect Gamepad

Drift-free Hall sensors, swappable face layout, and Switch/XInput modes supporting six-axis motion sensors and hotplug in bhuiyah D3D12 and SamiEnazi Vulkan.

Check on Amazon

8BitDo Pro 2 Bluetooth Gamepad

Symmetrical PlayStation-style dual sticks matching DualShock 3 thumb placement, plus rear paddles ideal for Static Thrusters hovering and Kinetic Pulse.

Check on Amazon

GuliKit KK3 Max Wireless Controller

TMR electromagnetic sticks and 1000 Hz polling rate built for 120+ FPS rooftop traversal across Windows 11, SteamOS Linux, and Apple Silicon macOS.

Check on Amazon

Affiliate disclosure: As an Amazon Associate, infamous2recomp.wiki earns from qualifying purchases at no added cost to you.

Linux, Steam Deck & macOS FAQ

Direct answers on native ELF builds, Distrobox compilation, and Apple Silicon Metal.

Does SamiEnazi/infamous2-port need Proton or Wine on Linux?

No. Extracting inFAMOUS2-port-v0.5.7-Linux-x64.zip and running ./setup.sh builds a native Linux x86_64 ELF executable that talks directly to Vulkan (Mesa RADV or NVIDIA proprietary drivers) and SDL2.

Why did RecompLauncher fail with unknown option --prepare on Linux?

Version v0.5.6 had a CLI flag regression on Linux reported in issue #44. Updating to v0.5.7 (released 2026-11-15) restores the --prepare flag so RecompLauncher installs cleanly.

Can I finish the entire campaign on Apple Silicon macOS right now?

erikomis/infamous2-recomp v0.2.23 is explicitly labeled an early alpha: it boots through logos, 3D menus, Bink comics, the Empire City Beast prologue, and early New Marais missions at 38-40 fps on M4 Pro, but later story chapters remain untested.

Does bhuiyah/infamous2-recomp run on Linux or Steam Deck?

bhuiyah/infamous2-recomp targets Windows 10/11 x64 Direct3D 12 natively. While experimental Proton/VKD3D-Proton runs are possible after compiling on Windows, Linux and Steam Deck players get higher stability and native Vulkan performance from SamiEnazi/infamous2-port.