Repository navigation
Releases
v0.6.3: hotfix for the Flood Town freeze, Optimise for this PC, controller freezes, Esc pauses
Windows: download Setup.exe, run it, pick your game, press Install.
Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept. This update took 3 minutes on the test PC: it downloads the port and the new engine (about 40 MB), translates the game's small helper programs once more (half a minute) and compiles the game again. The long translation of the game's code is not repeated.
Linux / Steam Deck: download inFAMOUS2-port-v0.6.3-Linux-x64.zip, unzip it and run ./setup.sh.
The engine file attached below (Infamous2-engine-win-x64.zip) is downloaded by Setup by itself. You don't download it.
A hotfix.
Freezes
- The freeze in "Powering Up Flood Town" is fixed (#87, #88). The picture stopped and the sound went on: the game threw one of its job managers away and made it again in the same place, and the port kept looking at the old one. Other freezes of this kind are fixed with it.
- A safety net for the next one. If the game waits for work that nobody is doing, the port notices after one second, hands the work out again and writes a line into the log.
PS3_NATIVE_JOBS_HEAL=0insettings.initurns it off. - No more freezes of up to a second when the game checks the controllers. They came with Bluetooth controllers, most of all when one reconnected (0.5 to 0.8 seconds each time). The controllers are now read on a thread of their own.
PS3_PAD_THREAD=0insettings.inibrings the old way back.
Setup
- "Optimise for this PC" works again (#90). In v0.6.2 its training run ended after 40 seconds and Setup built the game without it. To get it now: tick the box in Setup and press Update.
- Setup no longer stops with "Cannot bind argument to parameter 'Path'" (#89). That happened when the RPCS3 folder an older install took the game from had been removed. Pick your game again and Setup copies it in.
Keyboard
- Esc pauses the game (the game's own menu, START) and F2 alone opens the port's menu. Enter no longer pauses and is free to bind in F2 → Controls. Your
input.tomlfollows by itself, once, and a notice in the game says so. If you had put pause on another key, it stays there. F2 or Alt+Tab frees the mouse.
Good to know
Setup.exeis the same file as in v0.6.1 and v0.6.2 (its Properties say 0.6.1): nothing in it changed, so I did not rebuild it. It installs v0.6.3.Setup.exeis not code-signed, because signing a program costs money. So Windows SmartScreen or an antivirus may warn about a new, unsigned file (on the Windows message: More info, then Run anyway). The source is open, and here is the VirusTotal scan of thisSetup.exe: https://www.virustotal.com/gui/file/756d6f24fa0eba885f12a8d5993db466578f3189bf7674d09b9aae9372f5e233- Not tested by me: the Flood Town mission itself (the fix was proven on a stand-in that reproduces the freeze from your reports), and a real Bluetooth controller that reconnects (it was tested with a simulated slow controller). Please tell me how they go.
Everything else is as in v0.6.2.
If something breaks, please open an issue and attach the newest play\<date-time> folder (or Setup's log: Details → Copy log).
v0.6.2: Linux window on Wayland, no VC++ runtime needed, 1:1 mouse flicks
Windows: download Setup.exe, run it, pick your game, press Install.
Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept. This update takes about 5 minutes: it downloads the port and the new engine (about 40 MB) and translates the game once more.
Linux / Steam Deck: download inFAMOUS2-port-v0.6.2-Linux-x64.zip, unzip it and run ./setup.sh.
The engine file attached below (Infamous2-engine-win-x64.zip) is downloaded by Setup by itself. You don't download it.
A stability update.
Windows
- No Visual C++ runtime needed. On a PC without the Visual C++ 2015-2022 runtime the game did not start ("MSVCP140.dll was not found"). The game now carries what it needs.
Linux
- The game's window opens on Wayland (#54, #44). If it still can't, the launcher starts it again through X11 by itself.
- Setup's folder question no longer becomes the folder (#54).
- Setup stops when the game would be built without its shader translator and says what to do (#61, #69). Before, the build went through and the game showed a blank picture.
Mouse and keyboard
- Direct mouse: a fast flick turns the camera 1:1 (#59). Outside aiming, a quick flick used to turn only a little at once and kept turning after the mouse had stopped. Now the whole turn happens at once and nothing follows. Aiming is unchanged.
PS3_MOUSE_VIEW_LIMIT=1insettings.inibrings the old behaviour back. - The Alt keys can be bound in F2 → Controls (#68).
Low-end PCs
- The notice at the start names the 720p picture it chose, and F2 → Graphics → Internal resolution says what it is (#73).
Good to know
Setup.exeis the same file as in v0.6.1 (its Properties say 0.6.1): nothing in it changed, so I did not rebuild it. It installs v0.6.2.Setup.exeis not code-signed, because signing a program costs money. So Windows SmartScreen or an antivirus may warn about a new, unsigned file (on the Windows message: More info, then Run anyway). The source is open, and here is the VirusTotal scan of thisSetup.exe: https://www.virustotal.com/gui/file/756d6f24fa0eba885f12a8d5993db466578f3189bf7674d09b9aae9372f5e233- Not tested by me: Wayland (I have no Wayland PC: the fix comes from players' logs), a PC without the Visual C++ runtime, and the mouse fix with a real hand (it was measured with a scripted mouse). Please tell me how they go.
Everything else is as in v0.6.1.
If something breaks, please open an issue and attach the newest play\<date-time> folder (or Setup's log: Details → Copy log).
Linux zip updated on 18 Nov: ./setup.sh now builds on a stock Steam Deck (SteamOS) without installing anything first (#81), and checks the compiler with a small test program before the build. Nothing changed for Windows.
v0.6.1: Setup works on Windows 10 again, DLC picked up from RPCS3
Windows: download Setup.exe, run it, pick your game, press Install.
Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept.
Linux / Steam Deck: download inFAMOUS2-port-v0.6.1-Linux-x64.zip, unzip it and run ./setup.sh.
The compiler file attached below (llvm-22.1.8-slim-win-x64.tar.xz) is downloaded by Setup by itself. You don't download it.
Windows 10: Setup installs again
v0.6.0 stopped on Windows 10 with "unpacking llvm-22.1.8-slim-win-x64.7z failed: tar.exe: LZMA codec is unsupported" (#62, #70). Setup used Windows' own tar.exe to unpack its compiler, and only Windows 11's can read that file. I only tested on Windows 11. Sorry about that.
- Setup now unpacks its compiler with its own Python and needs nothing from Windows for it.
- If v0.6.0 stopped there for you: download this
Setup.exe, put it in the same folder and run it (or just press Try again in the old one: it gets the fix by itself). Nothing has to be deleted first. - If you already play v0.6.0 (Windows 11), the update is quick: nothing is downloaded again and the game is not rebuilt.
I could not test this on a real Windows 10 PC. I tested it on Windows 11 with tar.exe replaced by one that fails the same way, and without 7-Zip. If Setup still stops on your Windows 10, please send me its log (Details → Copy log).
DLC is picked up (#56, #48)
- Setup now copies your DLC's unlock files from RPCS3 when it has them, on a new install and on every update. Its check list shows what it found ("DLC: 26 files found in RPCS3").
- The port's folder has a
dlcfolder: put your DLC's*.edatfiles there and they are used the next time the game starts. - The DLC must be for the same version (region) of the game as your copy.
- Not yet: dropping a DLC
.pkgon Setup, and DLC that needs a license (.rap).
Good to know
- Setup's own tools are now about 48 MB (the new compiler file is 4 MB larger than the old one).
Setup.exeis not code-signed, because signing a program costs money. So Windows SmartScreen or an antivirus may warn about a new, unsigned file (on the Windows message: More info, then Run anyway). The source is open, and here is the VirusTotal scan of this release'sSetup.exe: https://www.virustotal.com/gui/file/756d6f24fa0eba885f12a8d5993db466578f3189bf7674d09b9aae9372f5e233
Everything else is as in v0.6.0.
If something breaks, please open an issue and attach the newest play\<date-time> folder (or Setup's log: Details → Copy log).
v0.6.0: one-pick install with no RPCS3, new in-game menu, sharper shadows, faster
Windows: download Setup.exe, run it, pick your game, press Install.
Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept.
Linux / Steam Deck: download inFAMOUS2-port-v0.6.0-Linux-x64.zip, unzip it and run ./setup.sh.
The four tool files attached below (the engine, the compiler, Python and pycryptodome) are downloaded by Setup by itself. You don't download them.
A new install
- No RPCS3 needed. Setup gets the game's 1.04 update and the PS3 system software from Sony's servers itself.
- One pick: your game as a 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 it downloads anything. - Small and quick: about 81 MB from GitHub (before: 1.3 GB of build tools) plus 433 MB from Sony. The whole install took 12 to 15 minutes on my PC, instead of 15 to 60. No Microsoft license to accept any more.
- You can see it working: each long step says in plain words what it is, how far it is and about how many minutes are left.
- Fully portable: your game is copied into the port's folder (about 9 GB; you need about 16 GB free), and settings, mods and the shader cache are there too. Copy the folder to another drive or PC and it plays.
- Any folder name works:
&,%,!,',( ),[ ], other alphabets, very long paths (#34, #19, #41). - Encrypted disc images are supported (new): put its disc key file (
.dkeyor.ird) beside the.isowith the same name, or Setup asks for it. - PSN (digital) copies are supported (new): put your
<CONTENT_ID>.raplicense beside the game, or Setup asks for it.
A new F2 menu
- The game stays visible behind a panel on the left.
- An icon for each page, and Standard / Low-end PC presets on the Graphics page.
- One short line of help per setting: what it costs, and whether it applies at once or after a restart.
- A PS3 | YOURS line you can drag across the picture to compare. Hold F3 for the whole PS3 look.
- A new About page with the people who support the port.
- Every old setting is still there.
Picture
- Sharper shadows: the sun's shadows are drawn at twice the PS3's resolution by default. F2 → Lighting → Shadow quality: PS3 (1024), High (2048), Ultra (4096).
- MSAA 2x / 4x as an option in F2 → Graphics → Anti-aliasing. Off by default, because it costs a lot: 4x takes about 40% of the frame rate at 1080p on my PC.
- Mesh trimming is off by default: whole meshes are drawn, so nothing small goes missing. Turning it back on is about 5% faster in the heaviest views.
Faster
More of the game's work now runs as plain PC code on all cores. Measured on my PC (i5-13600K, RTX 2070 Super, 32 GB, Windows 11) on 17 Nov, at 720p internal on both sides, uncapped, medians of 3 runs:
- Against RPCS3: 3.4x at the same spot. Same save, the city dock right after loading: RPCS3 0.0.42 (default settings, frame limit and VSync off) runs at 43 fps, v0.6.0 at 147 fps. In the three lighter views from that spot it is 3.6x to 4.9x.
- Small CPUs gain the most. With the game held to 4 cores / 4 threads, the same spot went from 63 fps in the previous version to 110 fps: +75%. RPCS3 is not playable there on this PC (6 fps). With 4 cores / 8 threads: 84 to 109 fps (+30%). Whole CPU: 120 to 147 fps (+23%).
- The "4 cores" rows are my i5-13600K held to 4 of its fast cores, not a real old 4-core PC. I have not measured a real low-end PC: if you play on one, tell me your numbers.
- 1080p with the default picture settings: the city is 9% and 12% faster than the previous version in its two heaviest views, and the opening fight 2.5% to 19%.
- The average is higher everywhere, but the slowest 1% of frames is not better than before, so I don't claim it is smoother.
Linux
./setup.shnow works on distributions that keep libraries inlib64(Fedora, openSUSE), stops with a clear message when glslang could not be built (before, the game started and drew nothing), and NixOS has its own environment file,tools/nixos/fhs-env.nix. This is the first community pull request (#64). Thank you, @ANewJanuary.- No RPCS3 needed on Linux either. Linux still builds with your system's tools: there are no prebuilt Linux tools yet.
Also fixed
- The digital (PSN) version's own folder is taken directly (#40).
- 16:9 on an ultrawide screen keeps its shape with black bars instead of stretching (#35).
- The wide picture no longer flickers to 16:9 for a moment (#47).
- The window can be resized, and F2 → Display → Capture-friendly window helps Lossless Scaling and OBS (#51).
- The game's first-start HDD install now finishes properly (it was made again at every start).
- A black screen after the logos when the old game folder was gone (#53): the game is copied now, not linked.
- AMD Radeon RX 7000 / 9000 with an Adrenalin driver older than 26.6.1: the game says so once.
- When RPCS3 is used, its folders are found where its
vfs.ymlputs them, and the Flatpak / AppImage folders on Linux (#50, #46). - Clearer build errors (#41).
Updating from v0.5.x
F2 → Update moves your install to the new layout: it deletes the old 2 GB of build tools and copies your game folder into the port's folder (it asks once and shows the size; your own folder is not changed). Saves, settings, mods and controls are kept.
Good to know
- AMD graphics cards: the new GPU-side optimisations are off on AMD until they are tested there, so AMD keeps the earlier graphics path. The CPU-side gains still apply.
- Linux: I built and ran this version on one Linux PC (Ubuntu 22.04, Radeon RX 550, RADV). Other distributions and graphics cards: please tell me how it goes.
Setup.exeis not code-signed, because signing a program costs money. So Windows SmartScreen or an antivirus may warn about a new, unsigned file (on the Windows message: More info, then Run anyway). The source is open, and here is the VirusTotal scan of this release'sSetup.exe: https://www.virustotal.com/gui/file/8dcea7a49d85a43d5ff91f8264f0779e361ddc9ac07adfe734262447d848eded
PSN and encrypted-image installs are new and were made without such a copy on my PC: if Setup stops with one, please send me its log.
If something else breaks, please open an issue and attach the newest play\<date-time> folder (or Setup's log: Details → Copy log).
v0.5.7: Linux launchers can install the port again
Download Setup.exe (the zip is for RecompLauncher and other launchers). Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept.
Linux / Steam Deck: download inFAMOUS2-port-v0.5.7-Linux-x64.zip, unzip it and run ./setup.sh (it sets everything up, then starts the game).
Fixed
- Linux: installing from a launcher (RecompLauncher and others) no longer stops with "unknown option --prepare" (#44). The launcher's setup step now builds the game, and a failed build leaves
setup.login the Logs folder.
Nothing changed in the game itself. Windows players don't need to update for this one. Everything from v0.5.6 is included (the AMD fix for the face spots).
v0.5.6: AMD fix for the black spots on faces
Download Setup.exe (the zip is for RecompLauncher and other launchers). Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept.
Linux / Steam Deck: download inFAMOUS2-port-v0.5.6-Linux-x64.zip, unzip it and run ./setup.sh (it sets everything up, then starts the game).
Fixed
- AMD Radeon RX 7000 / 780M: a new fix for the flickering black spots on faces in cutscenes (#27). On AMD cards, the game's shaders now handle invalid numbers (NaN) the way the PS3 does, so AMD's driver can't turn them into black spots. Other graphics cards get exactly the same shaders as before.
- On AMD, the first start after updating rebuilds the shaders once, so it may stutter for a moment.
- To turn it off, add
PS3RECOMP_AMD_NAN_FIX=0tosettings.ini, and please tell us in #27.
Everything from v0.5.5 is included (shadowed streets no longer turn black after a long session).
v0.5.5: no more black streets after long sessions, AMD face-spot fix
Download Setup.exe (the zip is for RecompLauncher and other launchers). Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept.
Linux / Steam Deck: download inFAMOUS2-port-v0.5.5-Linux-x64.zip, unzip it and run ./setup.sh (it sets everything up, then starts the game).
Fixed
- Shadowed streets no longer turn pitch black after a long session (#38). After a while in the city, everything outside direct light could go completely black. The light the game adds to shadows was being swapped for an empty one; it now always comes from the game itself, as on the PS3.
- AMD Radeon RX 7000 / 780M: a fix for the black spots on faces in cutscenes (#27). It turns on by itself on AMD cards; other cards are unchanged. If something looks wrong with it, add
RSX_FP_OWNPX=0tosettings.inito turn it off, and please tell us in #27.
Also
- The README no longer calls Linux experimental: it builds with
./setup.shand runs on the Steam Deck. - 1440p and 4K are no longer marked "untested" in the F2 menu.
Everything from v0.5.4 is included.
Known issues
- If cube reflections (water, wet ground, glass) look wrong, add
PS3RECOMP_ENG_CUBE_GUEST=0tosettings.iniand tell us where.
v0.5.4: far fewer freezes the first time you play
Download Setup.exe (the zip is for RecompLauncher and other launchers). Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept.
Linux / Steam Deck: download inFAMOUS2-port-v0.5.4-Linux-x64.zip, unzip it and run ./setup.sh (it sets everything up, then starts the game).
Smoother
- Far fewer freezes the first time you play. The first time the game shows something new, the graphics card has to build a shader for it, and the game used to stop until that was done: those were the 0.2–0.5 second freezes in a fresh session (#4, #20). Now shaders are built in the background. In first-session tests, freezes over 50 ms went from 13–25 per scene to one (the first frame after loading), and the time the game stood still went from 6–13 seconds to under half a second.
- While a shader is still being built, the last picture can stay on screen for a moment, or an object can appear a frame late. The game, sound and controls keep running. Once a shader has been built it's kept, so later sessions don't see this at all.
- The first frame after loading a save no longer stalls on uploading its textures.
Everything from v0.5.3 is included (field of view slider, depth of field setting, faster on 4–6 core CPUs).
Known issues
v0.5.3: FOV slider, depth of field setting, faster on 4-6 core CPUs
Download Setup.exe (the zip is for RecompLauncher and other launchers). Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept.
New
- Field of view slider: F2 → Display → Camera → Field of view, 70–130% of the game's own. Aiming, the mouse and widescreen stay right, nothing pops in at the screen edges, and cutscenes keep their framing.
- Depth of field setting: F2 → Graphics → Game effects → Depth of field: On (the PS3 look), Off in gameplay (no blur on distant things while you play; cutscenes keep their focus effects), or Off everywhere.
- Ultrawide (21:9 / 32:9): the red "hurt" overlay now covers the whole screen instead of stopping at the middle 16:9.
Faster
- Again faster on 4–6 core CPUs: the heaviest view at the top of the cathedral spire runs about 14% faster on 4 cores than in v0.5.2, and slow frames are smoother (27 → 20 ms). Together with v0.5.2 that's about 30% faster than v0.5.1 there.
Also
- Steam Deck: confirmed working by a player (#24): built in an Ubuntu Distrobox, plays in Game Mode.
Known issues
- On AMD Radeon RX 7000 cards, close-up faces in cutscenes can show black spots (#27). I'm narrowing it down with players' help; tests are in #27.
- Setup.exe is not signed, so Windows may show "Windows protected your PC" (More info → Run anyway), and a few antivirus scanners guess wrong about it, as they do with most new unsigned programs.
v0.5.2: faster on every PC, Steam support, mouse fix
Updating: in the game, F2 → Update (or run Setup.exe on your folder). Your saves, settings, mods and controls are kept. This update translates the game's code again once, so it takes longer than usual (20–60 minutes, plus a few more if Optimise for this PC is ticked).
Faster
- Native versions of the game's heaviest SPU jobs. On the test PC the game runs 14–26% faster across the city, the dock, fights and the cathedral spire, and 13–19% faster when held to 4 CPU cores (in the opening fight, frames slower than 60 fps went from 770 to 121). Thanks to ThiagoFraga761's inFAMOUS 2 project, which several of these are based on.
- Optimise for this PC. A new Setup checkbox, on by default: Setup plays a training version of the game by itself for a few minutes (muted, in a window), then builds a game tuned on your own PC, about 5–11% faster again. It adds 10–25 minutes to the first install; later updates reuse it. If anything goes wrong, Setup simply builds the normal game.
- Six job workers on CPUs with 10 or more cores, and less wasted waiting on 4–6 core CPUs.
New
- Steam, Playnite and other launchers (#29): add the game's own
work\port\build\Infamous2Recomp.exe. Started that way it sets itself up likePlay inFAMOUS 2.cmd, and Steam Input (Steam Controller) and the Steam overlay work.
Fixed
- Mouse look-up in the opening tutorial (#27): "look up" now works with the direct mouse camera.
- Game folders with
[ ]in their name (#19), likeinFamous 2 [BCES01229], are accepted by Setup. The Turkey disc (BCES01229) is now tested.
Known issues
- On AMD graphics cards, close-up faces in cutscenes can show black spots (#27). A fix is being worked on.
- The top of the cathedral spire is the heaviest view (about 83 fps on the test PC, was 67); on 4–6 core CPUs it can still drop below 60.
- Setup.exe is not signed, so Windows may show "Windows protected your PC" (More info → Run anyway), and a few antivirus scanners guess wrong about it (VirusTotal: 2 of 71, the same as any new unsigned program).