inFAMOUSreborn-AppleSilicon

inFAMOUSreborn-AppleSilicon is a native port of inFAMOUS for Mac and iPad running the game code natively with Metal graphics.

README

inFamous for Mac and iPad

inFamous on your Mac and iPad, running natively.
The PS3 game, recompiled ahead of time into native Apple Silicon code and drawn with Metal. Not an emulator.

Based on inFAMOUSreborn Uses ps3recomp

Install · Add your game · Playing · Status · Build it yourself · Credits

What is this?

This is a Mac and iPad port of inFAMOUSreborn, the native PC port of inFamous. The game's PS3 code is recompiled ahead of time into native ARM code, so it runs as a normal app. No emulator, no Rosetta, no JIT.

  • Works now: inFamous (Europe, BCES00220)
  • Not yet: other regions
  • Tested on: a Mac with an M5 Pro (60+ fps) and an iPad Pro 11-inch (M4, about 50–55 fps)
  • iPhone: runs on an iPhone 16 Pro, slower than on an iPad (about 25–30 fps)
  • Game files are not included. You choose your own copy of the game when the app first starts. The app copies what it needs from it

Install

There are two ways to get the app:

  • Download it from the Releases page. You don't need any developer tools. Steps below
  • Build it yourself on a Mac. See Build it yourself

Either way, you then add your game in the app.

Mac

You need a Mac with Apple Silicon (M1 or newer) and macOS 13 or newer.

  1. Download inFamous-<version>-mac.zip and open it
  2. Drag inFamous into your Applications folder
  3. Open it. The first time, macOS says it can't check the app. This is normal: the app isn't from the App Store
    • macOS 15 or newer: open System Settings → Privacy & Security. Scroll down and click Open Anyway
    • macOS 13 or 14: right-click the app, choose Open, then Open again

You only do this once.

iPad and iPhone

You need iPadOS or iOS 16 or newer, and:

  • iPad: an A14 or M1 chip or newer. That's iPad Air (4th generation), iPad (10th generation), iPad mini (6th generation), iPad Pro with M1, or newer. Tested on an iPad Pro with M4
  • iPhone: iPhone 12 or newer. Tested on an iPhone 16 Pro. It runs much slower than on an iPad, because the phone gets hot fast

On an older device the app shows a "too old" message instead of starting.

  1. Download inFamous-<version>-ios.ipa
  2. Install it with SideStore, AltStore or Sideloadly
    • With a free Apple ID you must refresh the app every 7 days. The tool does this for you
  3. Open it and add your game

The app needs two memory permissions from Apple ("Extended Virtual Addressing" and "Increased Memory Limit"). It has only been tested with a paid Apple Developer account. With a free Apple ID these may not be granted, and then the app can't start. If that happens to you, please open an issue.

Add your game

You need your own copy of inFamous (European release, BCES00220). One of these:

  • a disc image (.iso)
  • a game folder (the one with PS3_GAME inside)

The first time you open the app it asks for it:

  1. Click or tap Choose disc image or folder and pick your copy
  2. Wait while it unpacks the game onto your Mac, iPad or iPhone. It needs about 7.5 GB free and takes from under a minute to a few minutes
  3. The game starts. Next time it starts straight away

Your own file isn't changed. After this the app doesn't need it, so you can delete it.

  • On iPad and iPhone: put your copy on the device first, or on a USB drive. Use the Files app, or Finder → your device → Files. Then pick it in the app
  • Encrypted disc image (a 1:1 copy of the disc): it also needs the disc key (.dkey). Put the key next to the image with the same name and it's found by itself. If not, the app asks you for it
  • Built the app yourself? It can only take a game folder that already has PS3_GAME/USRDIR/EBOOT.elf. The installer makes this folder for you (see Build it yourself)
  • Wrong disc? It's probably a different region. Only the European release works for now

Playing

  • Connect a controller: MFi, Xbox, DualShock 4 and DualSense should all work
  • On Mac you can also use keyboard and mouse (same keys as the Windows build):
    • Move: W A S D. Hold Shift to run
    • Look: mouse. The pointer hides while you play
    • Jump: Space. Shock bolt: left click. Aim: right click
    • Triangle / Square / Circle: E / F / C. L2 / R2: Q / R. L3 / R3: V / middle click
    • Start (pause): Enter or Esc. Esc also frees the pointer. Click the game to grab it again
    • Map: Tab. In menus: W / S or arrows to move, Enter to pick, Backspace to go back
    • A connected controller still works and wins
  • On iPad and iPhone, touch controls show up when no controller is connected
  • In-game menu (iPad and iPhone): tap MENU on the touch controls, or press Home (or the touchpad on a DualSense) on a controller. It pauses the game and has two groups:
    • Saves and resolution: Save state, Load state and Resolution. These need a restart: tap Restart now. The app closes, and a notification lets you open it again with one tap (allow notifications the first time). Without it, open the app again from the Home Screen
    • Graphics: Shadows and Upscaling. These change straight away
  • Save states (iPad and iPhone): save anywhere from the menu. Going to the Home Screen also saves (the "Auto" save). A save only loads in the same app version it was made with
  • Your saves and settings are kept in the app's folder. Mac: ~/Library/Application Support/inFamous. iPad: Files → On My iPad → inFamous
  • The game runs in English

Controllers, touch and keyboard controls have only been lightly tested. If yours doesn't work, open an issue and say which one.

Status

Mac (M5 Pro)iPad Pro 11 (M4)iPhone 16 Pro
RunsYesYesYes
Speed60+ fpsabout 50–55 fpsabout 25–30 fps

Known issues:

  • 3D surfaces close to the camera look too bright
  • The iPad gets a little slower when it's hot
  • The iPhone gets hot and then slows down. A lower Resolution in the in-game menu helps
  • Only tested on one Mac so far. Older chips (M1, M2) will be slower

Please report bugs here, not on inFAMOUSreborn. This port isn't part of the original project.

For the nerdy stuff (what was changed for ARM and Metal, speed tests, every switch) see PORT_LOG.md.

Build it yourself

For developers. Most people should use the download instead.

You need a Mac with Apple Silicon, Xcode, Homebrew, your own disc image, and RPCS3 for Mac (used once, to unlock the game's program file). About 10 GB free and 16 GB of RAM.

Mac
  1. Install the tools
    brew install cmake ninja python@3.12 rust sdl3 glslang spirv-cross
    
  2. Get the code and build the installer
    git clone https://github.com/username-promised-to-me-3000-years-ago/inFAMOUSreborn-AppleSilicon.git
    cd inFAMOUSreborn-AppleSilicon
    cd installer && cargo build --release && cd ..
    
  3. Copy the game out of your disc image (add --dkey <file> for an encrypted image)
    installer/target/release/infamous-installer extract-iso --iso "/path/to/inFamous.iso" --out ~/inFamous/BCES00220
    
  4. Build the game. It checks your game, rebuilds the game code from it, then compiles it. If it stops, run it again
    installer/target/release/infamous-installer install --game ~/inFamous/BCES00220 \
      --rpcs3 /Applications/RPCS3.app/Contents/MacOS/rpcs3 \
      --python /opt/homebrew/bin/python3.12 -y
    
  5. Start the game
    ./play-infamous.sh
    
iPad and iPhone

You also need a paid Apple Developer account, signed in to Xcode (Xcode → Settings → Accounts). The app needs two memory permissions, and it has only been tested with a paid account.

  1. Do steps 1 to 3 of the Mac build. Then make the game code (skip this if you did Mac step 4)
    installer/target/release/infamous-installer install --game ~/inFamous/BCES00220 \
      --rpcs3 /Applications/RPCS3.app/Contents/MacOS/rpcs3 \
      --python /opt/homebrew/bin/python3.12 --no-build -y
    
  2. Build the libraries the app needs. You only do this once
    infamous-recomp/tools/ios_deps.sh
    
  3. Plug in your iPad or iPhone and unlock it. Find its id
    xcrun devicectl list devices
    
  4. Build the app and put it on your device. Your team id is on developer.apple.com → Membership details. The first build takes a long time
    infamous-recomp/tools/ios_build.sh <team id> <device id>
    
  5. Copy your game folder (~/inFamous/BCES00220) to the device or a USB drive. Then open the app and add your game

The build has save states when your game folder is at ~/inFamous/BCES00220 (set GAME=<folder> if it is somewhere else, or SAVE_STATES=0 to leave them out).

Want an .ipa file instead, to install with SideStore or AltStore? After step 4, run:

infamous-recomp/tools/release_apple.sh

The release apps are made with the same script. See PORT_LOG.md for the release build, the iPad build and every switch.

Credits

This is built on top of inFAMOUSreborn by whompay. The Windows port, the installer and the patches that make it possible are theirs. Go give them a star.

Also uses:

This is an unofficial fan project. It isn't affiliated with or endorsed by Sony Interactive Entertainment or Sucker Punch Productions. All trademarks belong to their owners.