![inFAMOUS 2 native PC port for Windows and Linux](docs/social-preview.png) # inFAMOUS 2: native PC port **Your own PS3 copy of inFAMOUS 2, rebuilt as a real PC game for Windows and Linux.**
No emulator. Native resolution up to 4K, DLSS, FSR, mods, cheats and any controller. [![Latest release](https://img.shields.io/github/v/release/SamiEnazi/infamous2-port?label=latest&color=f2b200)](../../releases/latest) [![Windows 10/11](https://img.shields.io/badge/Windows-10%20%7C%2011-0078D6?logo=windows&logoColor=white)](#what-you-need) [![Linux and Steam Deck](https://img.shields.io/badge/Linux-Steam%20Deck-FCC624?logo=linux&logoColor=black)](#install-on-linux-and-steam-deck) [![DLSS + DLAA](https://img.shields.io/badge/NVIDIA-DLSS%20%2B%20DLAA-76B900?logo=nvidia&logoColor=white)](#new-in-v064) [![AMD FSR](https://img.shields.io/badge/AMD-FSR-ED1C24?logo=amd&logoColor=white)](#new-in-v064) [![Older CPUs welcome](https://img.shields.io/badge/CPU-no%20AVX2%20needed-6250d6)](#new-in-v064) [![Any controller](https://img.shields.io/badge/controllers-plug%20%26%20play-1baf7a?logo=steamdeck&logoColor=white)](#what-you-get) [![License: MIT](https://img.shields.io/badge/license-MIT-1baf7a)](LICENSE) [![Visitors](https://komarev.com/ghpvc/?username=SamiEnazi-infamous2-port&label=visitors&color=3fa9ff&style=flat)](https://github.com/SamiEnazi/infamous2-port) Download Setup.exe Get it on RecompLauncher Support the port on PayPal
## New in v0.6.4 ### NVIDIA DLSS and DLAA NVIDIA's AI upscaling for a sharp, clean picture, or **DLAA** for the smoothest edges at full resolution. On every NVIDIA RTX card. ### AMD FSR Sharp upscaling and anti-aliasing on **any** graphics card: FSR 3.1, and FSR 4 on AMD cards that support it. Pick **Auto** and the game chooses the best one for your card. ### HD Texture Pack support Turn on the HD texture pack for sharper, more detailed surfaces everywhere. The pack is a separate download ([HD texture pack, 894 MB](https://drive.google.com/file/d/19hss_ldQopYeGIXAQNuyZIBQpf29qCXW/view?usp=sharing)): unzip it into the port's folder (the one with `Play inFAMOUS 2.cmd`), then turn on F2 → Graphics → *HD texture pack*. ### Older CPUs are welcome **No AVX2 needed any more.** Sandy Bridge, Ivy Bridge, AMD FX and other older processors now run the game: Setup sees your CPU and builds the right version for it. ### Up to 14% faster **Up to 14% more frames per second and up to 16% smoother** than v0.6.3 on the same PC, plus less input lag and steadier frame pacing. ### And much more - **Detail distance:** buildings and streets stay detailed much farther away. - **Change resolution and upscaler while you play,** no restart. - **Trophy popups** in the game, and a trophy page in the menu. - **Lightning colours:** paint Cole's lightning in any colour, even black. - **New cheats:** all karmic boosts at once, and unlocked powers that stay unlocked. - **Skip cutscene movies:** hold START or ✕. - **Less input lag,** smoother frame pacing and no more shader stutter when the cache saves. - **Discord status:** your friends see your karma rank and time played. - **Big fixes:** the freeze after the karma movies, wrong colours in Japanese, Korean and Chinese, "Save failed" on autosaves, the ultrawide HUD blink, black floors after long sessions, and more. [Every change in v0.6.4](#every-change-in-v064) ## See the difference **Upscalers:** native 1080p, FSR, DLSS and DLAA, close up on the same frame. ![Native 1080p, FSR, DLSS and DLAA on the same frame](docs/v064-upscalers.jpg) **HD textures:** the original textures (left) and the HD pack (right). ![Original textures (left) and the HD texture pack (right)](docs/v064-hd.jpg) **Detail distance:** Low (left) and Ultra (right): the far buildings keep their full detail. ![Detail distance Low (left) and Ultra (right)](docs/v064-detail.jpg) **Resolution:** the PS3's 720p (left) and native 4K (right). ![720p (left) and native 4K (right)](docs/v064-resolution.jpg) ## Faster than ever Frames per second: v0.6.3 against v0.6.4 The slowest 1% of frames: v0.6.3 against v0.6.4 Measured on the test PC (i5-13600K, RTX 2070 Super) with the same save and the same route through the opening, the build Setup makes for you, alternating runs. At 1080p this PC's graphics card sets the pace, so the gain there is smaller. > **No game content is included, and none is downloaded.** You need your own copy of the game: Setup builds the PC > version from it, on your PC. Builds of the game are never shared. ## Install in 3 steps 1. Download **`Setup.exe`** from the [latest release](../../releases/latest) and put it in a folder on a local drive, for example `C:\Games\inFAMOUS2`. 2. Run it and pick **your game**: its folder, a disc image (`.iso`) or a PSN package (`.pkg`). Use the button or drop it on the window. Setup says which game it is before anything is downloaded. 3. Press **Install**, wait, press **Play**. That's all. No RPCS3, no Git, no Python, no Visual Studio, no admin rights, and nothing is installed into Windows. Setup downloads about 150 MB from GitHub (the port and its own tools) and 433 MB from Sony's servers (the game's 1.04 update and the PS3 system software, the same files a PS3 downloads), copies your game into the port's folder and builds it once. On the test PC the whole install took 12 to 15 minutes. ![Setup: pick your game, one progress bar, then Play](docs/setup.png) Linux and the Steam Deck: [the next section](#install-on-linux-and-steam-deck). More detail on copies and keys: [FAQ](#faq). ## Install on Linux and Steam Deck It is meant to work the same on any 64-bit Linux (SteamOS, Bazzite, Ubuntu, Fedora, Arch, ...; tested on a Steam Deck and Ubuntu 22.04), with nothing to install first and no password: everything the build needs is downloaded into the port's own folder. Your PC needs a 64-bit CPU (with AVX2 for the faster build; without it the version for older processors is built, new and not yet tried on Linux), a graphics driver with Vulkan (Mesa or NVIDIA's; desktops have it already) and a Linux from 2022 or later (glibc 2.35: Ubuntu 22.04, Debian 12, Fedora 36, SteamOS 3.5 and newer). On a Steam Deck, switch to Desktop Mode first. 1. Download **`inFAMOUS2-port-v…-Linux-x64.zip`** from the [latest release](../../releases/latest) and unpack it where the game should live, for example `~/Games/inFAMOUS2` (on a Deck: the internal storage, with about 10 GB free). 2. Double-click the program **Install inFAMOUS 2** in that folder. If the desktop asks whether to run it, choose Execute / Run. **GNOME** (Ubuntu, Fedora Workstation): if the file manager does not start it, right-click it and choose **Run as a Program**, or open a terminal in the folder and type `bash tools/install_gui.sh`. Without zenity or kdialog the installer asks its questions in a terminal window. 3. The first window says what the install does, with two boxes, both ticked: **Optimise for this PC** (see below) and **Add to Steam** (shown when Steam is installed). With Add to Steam you can change the name the game gets in your Steam library. Press **Install**. 4. **Your game folder.** The one in RPCS3's game list is offered (EmuDeck: `Emulation/roms/ps3/…`, also on the SD card); press **Use it**, or **Choose another** and pick the folder that holds `PS3_GAME`. 5. **How to use it:** - **Use the game from its folder** (the default): nothing is copied, which saves about 14 GB. The game only reads that folder and never changes it, so it has to be there whenever you play: keep the SD card in. If it is missing, Play says so; put the card back in and start again. - **Copy the game into this folder**: about 14 GB more and a few minutes longer. Afterwards the port needs nothing outside its folder, the SD card can go, and the folder can be moved anywhere. 6. Wait while it builds. A window shows each step and the minutes so far. On a Steam Deck the whole install takes about 25 minutes, or about 40 with Optimise (copying the game adds about 4). With Optimise, a game window opens in the middle and plays by itself for about 7 minutes, with the sound off: don't touch it or close it. 7. With Add to Steam: Steam has to be closed for a moment, because it rewrites its list of games when it exits. The installer asks to close it (or waits until you have), adds the shortcut, and tells you to start Steam again. 8. Press **Play now**. Later, double-click the program **Play inFAMOUS 2** in the same folder (no Steam needed), start **inFAMOUS 2 (PC port)** from the application menu, or, with Add to Steam, start it from your Steam library, also in Game Mode. Before the game is built, Play inFAMOUS 2 starts the installer. **Add to Steam** adds one non-Steam game that starts this folder's `tools/play.sh`, with artwork made from your game's own icon and background (`PS3_GAME/ICON0.PNG`, `PIC1.PNG`). It only ever adds an entry: your other shortcuts are not changed, a name that is already taken gets another one (you are asked), and Steam's list is copied to `shortcuts.vdf.bak-