[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-112706":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":12,"openIssues":13,"contributorsCount":14,"subscribersCount":14,"size":14,"stars1d":15,"stars7d":16,"stars30d":17,"stars90d":14,"forks30d":14,"starsTrendScore":18,"compositeScore":19,"rankGlobal":9,"rankLanguage":9,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":23,"hasPages":21,"topics":24,"createdAt":9,"pushedAt":32,"updatedAt":33,"readmeContent":34,"aiSummary":35,"trendingCount":14,"starSnapshotCount":14,"syncStatus":36,"lastSyncTime":37,"discoverSource":38},112706,"infamous2-port","SamiEnazi\u002Finfamous2-port","SamiEnazi","inFAMOUS 2 (PS3) as a native PC program for Windows and Linux: Setup recompiles YOUR copy on your PC (static recompilation, Vulkan). No game files included.",null,"C",292,5,65,0,8,110,200,44,88.33,"MIT License",false,"main",true,[25,26,27,28,29,30,31],"infamous-2","linux","ps3","recompilation","static-recompilation","vulkan","windows","2026-11-23 19:39:44","2026-11-23 13:19:07","\u003Cdiv align=\"center\">\n\n![inFAMOUS 2 native PC port: native 1080p up to 4K, 2x the fps of RPCS3, any controller, cheats menu, enhanced lighting, HD fire and smoke, save manager](docs\u002Fsocial-preview.png)\n\n# ⚡ inFAMOUS 2: native PC port\n\n**Your own PS3 copy of inFAMOUS 2, recompiled into a real PC program for Windows and Linux.**\u003Cbr>\nNo emulator while you play.\n\n[![Latest release](https:\u002F\u002Fimg.shields.io\u002Fgithub\u002Fv\u002Frelease\u002FSamiEnazi\u002Finfamous2-port?label=latest&color=f2b200)](..\u002F..\u002Freleases\u002Flatest)\n[![Windows 10\u002F11](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FWindows-10%20%7C%2011-0078D6?logo=windows&logoColor=white)](#-what-you-need)\n[![Linux and Steam Deck](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FLinux-Steam%20Deck-FCC624?logo=linux&logoColor=black)](#-linux-and-steam-deck)\n[![Renderer: Vulkan](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Frenderer-Vulkan-AC162C?logo=vulkan&logoColor=white)](#-how-it-works)\n[![Native 1080p, up to 4K](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fnative-1080p%20%E2%80%A2%20up%20to%204K-6250d6)](#%EF%B8%8F-native-1080p-and-up)\n[![2.3x the frame rate of RPCS3](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fvs%20RPCS3-2.3%C3%97%20the%20fps-2a78d6)](#-performance-native-vs-rpcs3)\n[![Any controller](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fcontrollers-plug%20%26%20play-1baf7a?logo=steamdeck&logoColor=white)](#-full-controller-support)\n[![Status: released](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fstatus-released-1baf7a)](#-status)\n[![License: MIT](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-1baf7a)](LICENSE)\n[![Made with Claude Code](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fmade%20with-Claude%20Code-D97757?logo=claude&logoColor=white)](#-made-with-claude-code)\n[![Visitors](https:\u002F\u002Fkomarev.com\u002Fghpvc\u002F?username=SamiEnazi-infamous2-port&label=visitors&color=3fa9ff&style=flat)](https:\u002F\u002Fgithub.com\u002FSamiEnazi\u002Finfamous2-port)\n\n\u003Ca href=\"https:\u002F\u002Frecomplauncher.com\">\u003Cpicture>\u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"https:\u002F\u002Frecomplauncher.com\u002Fassets\u002Fpress\u002Flauncher\u002Fbadge-light.svg\">\u003Cimg alt=\"Get it on RecompLauncher\" src=\"https:\u002F\u002Frecomplauncher.com\u002Fassets\u002Fpress\u002Flauncher\u002Fbadge-dark.svg\" height=\"48\">\u003C\u002Fpicture>\u003C\u002Fa>\n\n\u003C\u002Fdiv>\n\n> ▶️ **How to play:** you need your own PS3 copy of inFAMOUS 2 (the Europe or US disc with the 1.04 update,\n> or the digital version 01.03) set up in [RPCS3](https:\u002F\u002Frpcs3.net) with the PS3 firmware. Download\n> **Setup.exe** from the [latest release](..\u002F..\u002Freleases\u002Flatest), run it and press **Install**: it builds the\n> game from your copy once (20–60 minutes), then **Play**. Details: [What you need](#-what-you-need) ·\n> [Install](#-install). On **Linux** and the **Steam Deck**: [Linux and Steam Deck](#-linux-and-steam-deck).\n\n## 🆕 What's new\n\n**v0.5.7**\n- 🐧 **Linux:** installing from a launcher (RecompLauncher and others) no longer stops with \"unknown option --prepare\" ([#44](..\u002F..\u002Fissues\u002F44)). Nothing changes in the game itself.\n\n**v0.5.6**\n- 🔴 **AMD Radeon RX 7000 \u002F 780M:** a new fix for the flickering black spots on faces in cutscenes ([#27](..\u002F..\u002Fissues\u002F27)): on AMD cards the game's shaders now handle invalid numbers (NaN) the way the PS3 does. Other graphics cards are unchanged. To turn it off, add `PS3RECOMP_AMD_NAN_FIX=0` to `settings.ini`.\n\n**v0.5.5**\n- 🌃 **Shadowed streets no longer turn pitch black after a long session.**\n- 🔴 **AMD Radeon RX 7000 \u002F 780M:** a fix for the black spots on faces in cutscenes ([#27](..\u002F..\u002Fissues\u002F27)). To\n  turn it off, add `RSX_FP_OWNPX=0` to `settings.ini`.\n\n**v0.5.4**\n- 🧊 **Far fewer freezes the first time you play:** new graphics shaders are now built in the background instead\n  of stopping the game. In first-session tests, freezes over 50 ms dropped from 13–25 per scene to one (the first\n  frame after loading). While a shader is being built, the last picture can stay on screen for a moment; the game,\n  sound and controls keep running.\n\n**v0.5.3**\n- 🎥 **Field of view slider:** F2 → Display → Camera → *Field of view*, 70–130% of the game's. Aiming, the mouse\n  and widescreen stay right, and cutscenes keep their framing.\n- 🌫️ **Depth of field setting:** F2 → Graphics → Game effects → *Depth of field*: On (the PS3 look), Off in\n  gameplay (cutscenes keep their focus effects), or Off everywhere.\n- 🖥️ **Ultrawide:** at 21:9 and 32:9 the red \"hurt\" overlay now covers the whole screen, not just the middle.\n- ⚡ **Faster again on 4–6 core CPUs:** the heaviest view at the cathedral spire runs about 14% faster on 4 cores\n  than in v0.5.2, with smoother slow frames (27 → 20 ms).\n- 🎮 **Steam Deck:** confirmed working by a player ([#24](..\u002F..\u002Fissues\u002F24)).\n\n**v0.5.2**\n- ⚡ **Faster on every PC:** native versions of the game's heaviest SPU jobs (+13–19% on 4-core CPUs, up to +26%\n  on fast ones), six job workers on CPUs with 10 or more cores, and less wasted waiting on 4–6 core CPUs.\n- 🚀 **Optimise for this PC:** Setup can train the build on your own PC for a few minutes, then build a faster game\n  (+5–11% more). It's a checkbox in Setup, on by default; it adds 10–25 minutes to the first install.\n- 🎮 **Steam, Playnite and other launchers:** add the game's own `Infamous2Recomp.exe`; Steam Input and the Steam\n  overlay work ([#29](..\u002F..\u002Fissues\u002F29)). [More](#-playing)\n- 🖱️ **Mouse:** \"look up\" in the opening tutorial works with the direct mouse camera ([#27](..\u002F..\u002Fissues\u002F27)).\n- 📁 Setup accepts game folders with `[ ]` in their name ([#19](..\u002F..\u002Fissues\u002F19)), and the Turkey disc (BCES01229) is tested.\n\n**v0.5.1**\n- ⚡ **Black lightning works:** F2 → Cheats → *Black lightning* now turns Cole's bolts black. Before, it was on but\n  changed nothing.\n- 📁 **Renaming or moving the port's folder is fine:** the game finds your game folder again instead of showing a\n  black screen after the intro logos ([#13](..\u002F..\u002Fissues\u002F13)).\n\n**v0.5.0**\n- 🔄 **Updates from inside the game:** a notice says when a new version is out, and **F2 → Update** installs it.\n  Later updates rebuild only what changed, so they take minutes. [More](#-updates)\n- 🐧 **Linux and Steam Deck:** builds and runs natively: unzip, run `.\u002Fsetup.sh`. [More](#-linux-and-steam-deck)\n- 🏆 **Trophies in Playnite and RecompLauncher:** the port writes its trophies the way RPCS3 does, and reports\n  them to Recomp Achievements. [More](#-trophies-in-playnite-and-recomplauncher)\n- ✨ **Glow at high resolutions fixed:** no more blocky or doubled glow around lightning and lamps above 720p\n  ([#12](..\u002F..\u002Fissues\u002F12)).\n- 🎥 **No more stutter at cutscene cuts and loading:** the graphics card's drawing programs are made in the\n  background and prepared ahead at the title screen.\n- 🗺️ **Minimap icons and world objects:** the map's icons show again, and objects no longer pop in and out\n  as the camera turns ([#7](..\u002F..\u002Fissues\u002F7)).\n- 🎮 **The right button pictures:** the game shows Xbox or keyboard prompts when you play with those\n  ([#10](..\u002F..\u002Fissues\u002F10)).\n- 💾 **The \"save game error\" of the digital (PSN) version is fixed.**\n- 📦 **One repository:** the engine and the port base are folders of this repository now, so Setup downloads one\n  thing instead of three.\n\nEvery version and its changes: [Releases](..\u002F..\u002Freleases).\n\n## 🚀 Performance: native vs RPCS3\n\n\u003Cpicture>\n  \u003Csource media=\"(prefers-color-scheme: dark)\" srcset=\"docs\u002Fperf-dark.svg\">\n  \u003Cimg alt=\"Frames per second at the same spot in the city: RPCS3 0.0.42 42.9 fps, this port 99 fps\" src=\"docs\u002Fperf-light.svg\" width=\"760\">\n\u003C\u002Fpicture>\n\n![The same spot from the same save: this port at 99 fps (left), RPCS3 at 43 fps (right)](docs\u002Fsame-spot.jpg)\n\n| Same PC, same save, same spot | RPCS3 0.0.42 | **This port** |\n|---|:-:|:-:|\n| 🏙️ City: the dock right after loading (720p) | 43 fps (39–46) | **99 fps** |\n| 🎥 Camera turned to three more views (720p) | not measured | **104 \u002F 132 \u002F 139 fps** |\n| 🖥️ The same four views at **native 1080p** with every picture extra on | | **99 \u002F 103 \u002F 133 \u002F 140 fps** |\n| 🔧 With profile-guided optimisation (*Optimise for this PC*) and the native SPU jobs, the same four views at 1080p with every extra | | 116 \u002F 126 \u002F 161 \u002F 166 fps |\n\n\u003Csub>\nThis port: measured on 10 Nov 2026 with the build Setup makes today. RPCS3: measured on 9 Nov 2026. Both on an\ni5-13600K, RTX 2070 Super and 32 GB RAM, Windows 11. The PC was a normal desktop with a browser open in the\nbackground. RPCS3 ran with its default settings: LLVM recompilers, Vulkan, 100% resolution (720p). Here the CPU\nsets the pace, so native 1080p with every extra runs as fast as 720p. Story videos and cutscenes run at 30 fps in\nboth, as on the PS3. \"Picture extras\" means soft shadows, full-resolution ambient occlusion, smooth light\ngradients and full-resolution effects.\n\u003C\u002Fsub>\n\n**v0.5.2 is faster again.** The build Setup makes now has native versions of the game's heaviest SPU jobs. In the same kind of player build on the test PC: **+14% to +26%** across the city, the dock, the opening fight and the cathedral spire, and **+13% to +19%** with the game held to 4 cores (in that fight, frames slower than 60 fps went from 770 to 121). Setup's *Optimise for this PC* adds about **5–11%** more. The table above is from the 10 Nov build, before these gains.\n\n## ✨ What you get\n\n### 🖥️ Native 1080p and up\n\nThe game draws natively at **1080p** instead of stretching the PS3's 720p, with sharper edges, a crisp HUD and finer\ndetail everywhere. F2 → Graphics → *Internal resolution*: 720p \u002F **1080p** \u002F 1440p \u002F 4K. Players play at 1440p too, and native\n4K runs at about 66 fps on the test PC's RTX 2070 Super. The game's glow and background blur keep the PS3's look\nat every resolution (F2 → Effects → *Glow and blur*).\n\n![720p upscaled (left) vs native 1080p (right)](docs\u002Ffeat-1080p.jpg)\n\n### 🎮 Full controller support\n\n**Plug in any controller and play.**\n- Xbox, DualShock 4, DualSense, Switch Pro, 8BitDo and every pad in the community\n  [SDL_GameControllerDB](https:\u002F\u002Fgithub.com\u002Fmdqinc\u002FSDL_GameControllerDB) work out of the box.\n- Turn it on before or during the game: it's picked up while you play.\n- Buttons work by position, as on a PlayStation pad (bottom = ✕, right = ○).\n- The game's button pictures follow what you play with: PlayStation, Xbox, or keyboard and mouse (F2 → Controls\n  says which one it shows).\n- **Remap any button in the game:** F2 → Controls → *Buttons and keys* lists every PS3 control, each with two\n  keys, a mouse button and a controller button. Click a cell (✕ on a controller) and press the new one;\n  right-click (□) clears it. An input that is already used asks first: *Swap* or *Cancel*. A change applies at\n  once and is saved in `input.toml`. *Reset to defaults* puts everything back.\n\n### 🖱️ Direct mouse aiming\n\nThe mouse turns the camera **directly**, by how far you move it, as in a PC game. Before, the mouse moved a\npretend stick, and the game's stick speed limit made quick turns and aiming feel slow.\n- F2 → Controls → *Mouse camera*: **Direct** (the default) or *Like a stick*\n- *Mouse sensitivity*, and a separate *Aiming sensitivity* for while you aim\n- in menus, the map and cutscenes the mouse still works like a stick; a controller plays as before\n\n### 💡 Enhanced lighting\n\nSoft sun shadows instead of stair-stepped ones, contact shadows (ambient occlusion) at full resolution instead\nof half, and smooth light gradients without banding. Every option is in F2 → Lighting, and **F3** flips\nbetween your picture and the original PS3 look.\n\nThe fine stripes on faces and clothes in the Kuo cutscene at the dock are fixed: the game's shadow offset now\nreaches the graphics card, as on the PS3.\n\n![The original PS3 look (left) vs the new lighting (right)](docs\u002Ffeat-lighting.jpg)\n\n### 🔥 HD fire, smoke and effects\n\nThe PS3 drew every fire, smoke, spark and explosion into a tiny 512×288 image and stretched it over the screen,\nwhich gave blocky edges and blobby flames. Here they're drawn at full resolution (F2 → Effects). The port also\nkeeps the glow around lightning, lamps and fire as the PS3 made it at any resolution (F2 → Effects → *Glow and blur*), and it\nloads **texture packs** (PNG\u002FDDS), so the community can make HD versions of any texture. Packs are made from your\nown game's textures, so none are included.\n\n![Fire and smoke: as the PS3 drew them (top), at full resolution (middle), plus an HD texture pack (bottom)](docs\u002Ffeat-effects.jpg)\n\n### 🧪 In-game cheats menu\n\nF2 → Cheats:\n- **Invincibility**, **infinite energy**, **max battery**\n- **super jump** (2× to 10×)\n- **karma rank**: pick any of the game's seven ranks (Hero to Infamous) and karma is set inside it when you close the menu, through the game's own karma setter\n- **karma lock** (blue\u002Fred only), a karma multiplier, **XP for karma**, *Add karma* \u002F *Add XP* buttons\n- **unlock all powers**: every power in the game is Cole's at once (rockets, Kinetic Pulse, the Ionic powers, every upgrade, hero and evil together), through the game's own power code, and the story can't take them back while it's on; *karma powers of both sides* alone lets hero and evil karma powers work together. The game saves the powers: try it in a New Save Data slot\n- **infinite ionic charges**: Cole always has 3, the game's most, and they refill the moment one is used\n- **one-hit kills**, enemy speed, enemies hold fire\n- **longer glide**: Cole sinks more slowly while gliding (R1, the Static Thrusters), so a glide lasts up to 3× as long and goes further\n- L_'s patches, re-made for the port: **black lightning** (electric arcs drawn with the game's evil-lightning shader), **Static Thrusters flight** (while gliding, Cross climbs, Circle dives, neither hovers; needs the Improved Static Thrusters upgrade) and a faster glide\n- **saved spots**: *Save this spot* remembers where Cole stands, which way he faces and the camera; *Go to saved spot* (or **F7**, menu open or closed) puts him back there, through the game's own placing code (two places in New Marais come with it)\n\nCheats can be remembered between sessions, with a short reminder at start.\n\n![The Cheats page](docs\u002Ffeat-cheats.jpg)\n\n### 🧩 Mods\n\nThe community's inFAMOUS 2 mods work as they are: the ones made for tiffsomniac's **inFAMOUS Mod Manager**\n(whole files, texture patches, xpps patches, and mods with options).\n- **F2 → Mods → Add a mod from a zip**: the zips in your Downloads folder, checked first (only mod files are\n  taken out, never a program), installed into the **`mods`** folder next to the game; or unzip a mod there yourself\n  (`mods\\\u003Cmod>\\mod.json`)\n- **no Unlocker** and nothing to install: your game files are never changed, the port hands the game the mod's\n  files in their place\n- **F2 → Mods**: every mod with its preview picture and what it changes, turn each on or off, pick its options;\n  the page shows at once what the next start will use, and **Restart to apply** restarts the game to its title\n  screen (Continue there to go on from your last save)\n- options that all change the same texture (a T-shirt in seven designs) are one at a time, as radio buttons;\n  options that change different things (a skin for the sword, the amp and the outfit) are check boxes\n- two mods that change the same file: **Use this one instead** picks the one that wins (the page says first what\n  the other loses), else the first by folder name\n- a texture patch made for another version of the game is never written beside its texture: the mod is left out\n  and the page says which option to untick (for example *\"15 textures were made for another version of\n  cole_gold_amp.xpps: untick Solid Gold Amp\"*)\n\nHow it works and the mod format: [`engine\u002Fdocs\u002FMODS.md`](engine\u002Fdocs\u002FMODS.md).\n\n### 💾 Save manager\n\nThe PS3's own \"choose a save\" screen, which the port didn't have before:\n- every save with its picture, mission, completion and date\n- **New Save Data**, so you never overwrite by accident\n- overwrite and delete, each asking first\n- real Yes\u002FNo answers to the game's questions, like \"save before loading?\"\n\n![The Load Game screen](docs\u002Ffeat-saves.jpg)\n\n### 🏆 Trophies, in Playnite and RecompLauncher\n\nThe game's 52 trophies unlock as on a PS3, the platinum with the last of the others, with a notice in your\nlanguage. The port keeps them in `game\\gamedata\\trophies\\NPWR01730.json` and also writes them the way RPCS3 does,\nin `game\\gamedata\\dev_hdd0\\home\\00000001\\trophy\\NPWR01730_00\\` (the names, the icons and `TROPUSR.DAT` with the\nunlock times), so trophy trackers made for RPCS3 can read them.\n\n**Playnite** ([Playnite Achievements](https:\u002F\u002Fgithub.com\u002Fjustin-delano\u002FPlayniteAchievements) or\n[SuccessStory](https:\u002F\u002Fgithub.com\u002FLacro59\u002Fplaynite-successstory-plugin)). Both look for an emulator with RPCS3 in\nits name, so the port gets one:\n1. Library → Configure Emulators → Add: name it `RPCS3 inFAMOUS 2 port`, installation folder\n   `\u003Cport folder>\\game\\gamedata`, and one custom profile whose executable is `\u003Cport folder>\\Play inFAMOUS 2.cmd`.\n2. Add the game by hand: installation folder `\u003Cport folder>\\game\\disc\\PS3_GAME` (the plugins find the game's\n   `TROPHY.TRP` there), and a play action of the Emulator type with that emulator and profile.\n3. Playnite Achievements: turn on its RPCS3 source. SuccessStory: Settings → RPCS3 → turn it on and add\n   `\u003Cport folder>\\game\\gamedata\\dev_hdd0\\home\\00000001` as a home user folder.\n4. Start the game once (the folder is made then), then refresh the game's achievements.\n\nAlready set up for RPCS3? Add `PS3_TROPHY_RPCS3_DIR=\u003Cyour RPCS3 folder>` to `settings.ini` and the port also\ncopies its unlocks into RPCS3's own trophy folder for the game. It never locks anything or moves a date later\nthere, and it keeps a copy of RPCS3's file once (`TROPUSR.DAT.port-backup`). With Playnite Achievements, the\ngame's Manage Achievements → Overrides → Platform Override: RPCS3, `NPWR01730_00` then finds them.\n\n**RecompLauncher:** started from RecompLauncher, the port reports each trophy to\n[Recomp Achievements](https:\u002F\u002Fgithub.com\u002Felripalda\u002FRecompAchievements). A cheat that changes play (F2 → Cheats)\nmakes the session's later unlocks Casual. Picking or saving a spot and Black lightning don't.\n\n### 🎨 A menu that looks like the game\n\nThe settings menu, the save list and the game's questions share an inFAMOUS-style theme: **Hero** (electric blue)\nor **Infamous** (ember red), in F2 → Display.\n\n![The menu in Hero and Infamous themes, the save list, and a Yes\u002FNo question](docs\u002Ffeat-menu.jpg)\n\n### ⚡ Smoother, too\n\nLooking out over the city from a rooftop used to drop the game to **4–10 fps**: the texture cache was too small\nand every frame rebuilt hundreds of textures. With a 4× larger cache and buffers that grow instead of stalling,\nthe same overflow, forced on purpose, went from **13 to 40 fps**. With normal settings the busy street in our\ntest ran at **75 fps with no frame over 37 ms**. That rooftop view now runs at **80–91 fps** at native 1080p with\nevery extra on.\n\nCutscene camera cuts and loading used to stutter while the graphics card's drawing programs (pipelines) were\nmade on the spot. They are made on helper threads now, and the ones the game used before are prepared ahead at\nthe title screen (`pipelines.rcp`), so the cuts stay smooth.\n\nEvery session also watches itself: a frame that takes longer than 80 ms is recorded together with what each\nof the game's threads was doing at that moment (`play\\\u003Cdate-time>\\hitches.tsv`, summed up in `summary.txt`), so a\nstutter you report comes with its cause.\n\n### 🎮 In the city on this port\n\n![Four camera views in the city at native 1080p with every picture extra on: 99, 103, 133 and 140 fps](docs\u002Fcity-views.jpg)\n\n## 🧭 What this is\n\nSetup translates the game's PS3 code into PC code **on your machine** and compiles it. The game then\nruns directly on your CPU, with its graphics drawn through Vulkan.\n\n> ✅ **Ready to play.** It boots, plays and saves, and players run it on Windows 10 and 11 PCs, on Linux and on the Steam Deck.\n> Found a bug? Please [report it](..\u002F..\u002Fissues) with the session's `play\\\u003Cdate-time>` folder.\n\n> 🔒 **No game content is included, and none is downloaded.** You need your own copy of the game,\n> and RPCS3 for Setup. Builds of the game (the `.exe`) are never shared, because they contain the\n> game's code. Each player builds their own.\n\n## 📋 Status\n\n| | |\n|---|---|\n| ✅ Tested copies | Played and confirmed by players: the **Europe** disc (**BCES01143**), the **Turkey** disc (**BCES01229**) and the **US** disc (**BCUS98125**), each with the **1.04** update, and the **digital (PSN)** version 01.03. |\n| 🖥️ Tested PCs | The test PC: i5-13600K, RTX 2070 Super, 32 GB, Windows 11, 1080p to 4K. Players: Windows 10 and 11 PCs, up to an RTX 5070 at 1440p. Linux: Ubuntu 22.04 with an AMD GPU, and the Steam Deck ([#24](..\u002F..\u002Fissues\u002F24)). |\n| ⚠️ Known issues | • Views over a big part of the city (the top of the cathedral spire) are the heaviest: about 83 fps there on the test PC with v0.5.2 (it was 67). On 4- and 6-core CPUs the game's SPU jobs set the pace there.\u003Cbr>• In one long session (about 90 minutes), a big fight had a few freezes of up to one second; the hitch catcher now records what causes them.\u003Cbr>• On AMD graphics cards, close-up faces in cutscenes could show black spots ([#27](..\u002F..\u002Fissues\u002F27)): v0.5.6 has a new fix. If you still see them, please report it in #27. |\n\n## 🧰 What you need\n\n- 💿 **Your copy of inFAMOUS 2**\n  - The disc's files: the folder that holds `PS3_GAME`.\n  - The **1.04 update**, installed in RPCS3.\n  - 🛒 **Digital (PSN) copy** (NPUA80638 \u002F NPEA00318, version 01.03, the same code as 1.04; works, tested\n    by players): install the game and its license in RPCS3. Then make a folder with a\n    `PS3_GAME` folder inside, copy the game's `PARAM.SFO`, `ICON0.PNG` and `USRDIR` from RPCS3's\n    `dev_hdd0\\game\\\u003CID>` into `PS3_GAME`, and choose that folder in Setup. No update is needed.\n- 🕹️ **[RPCS3](https:\u002F\u002Frpcs3.net)** with the **PS3 firmware** installed (*File > Install Firmware*, using\n  `PS3UPDAT.PUP` from playstation.com).\n  - It is needed **only during Setup**. Setup uses it to decrypt your game, then copies into the port's\n    folder the update, the firmware files the game reads (fonts, system data) and the game's HDD install.\n  - After Setup you can remove RPCS3. Keep your game disc folder where it is.\n  - Start the game once in RPCS3 until the main menu: that installs 2.4 GB of data that Setup copies.\n- 💻 **A PC with:**\n  - Windows 10\u002F11 64-bit (or Linux \u002F Steam Deck: [see below](#-linux-and-steam-deck))\n  - a CPU with AVX2 (Intel 4th gen \u002F AMD Ryzen or newer)\n  - a Vulkan graphics card\n  - 16 GB RAM\n  - about 15 GB free disk space while it builds (about 7 GB after: the game, and the build files Setup keeps so\n    updates take minutes)\n- 🌐 **Internet.** Setup downloads its build tools once (about 1.3 GB) and keeps them for updates.\n  **Nothing is installed on Windows**, nothing needs admin rights, and you need no Git, Python or Visual Studio.\n\n## 📦 Install\n\n1. ⬇️ Download **`Setup.exe`** from the [latest release](..\u002F..\u002Freleases\u002Flatest) and run it. Put it in a folder on\n   your PC's internal drive, for example `C:\\Games\\inFAMOUS2`. A USB stick or an exFAT\u002FFAT32 external disk can't\n   hold the link Setup makes to your game folder; Setup then installs into `%LOCALAPPDATA%\\inFAMOUS2-port` instead.\n2. ▶️ Press **Install**. That's all. Setup:\n   - 📥 downloads the port's files (about 40 MB) into a folder next to itself\n   - 🔎 finds RPCS3 and your game by itself (it asks only if it can't)\n   - 🛠️ downloads the build tools into that folder: Python, CMake, Ninja, LLVM and Microsoft's C++ headers and\n     libraries (portable copies, about 1.3 GB)\n   - 🏗️ builds the game from your copy: 20–60 minutes, one time only (about 15 minutes on the test PC)\n   - with **Optimise for this PC** ticked (the default), it then trains the build on your PC: the game opens and\n     plays by itself for about 6 minutes (sound off, don't touch it) and is compiled once more with what it\n     learned. That adds 10–25 minutes and gave 5–11% more fps in the city on the test PC. If it doesn't work\n     out, you get the normal build and Setup says why.\n   - 🧹 cleans up, keeps the build tools and build files for quick updates, and leaves a desktop shortcut. Its\n     icon is taken from your own copy.\n3. 🎮 Press **Play**.\n\n![Setup: one Install button, one progress bar, then Play](docs\u002Fsetup.png)\n\n> ⚠️ Windows may say *\"Windows protected your PC\"* the first time, more so while Setup.exe is not signed\n> (see [Code signing policy](#-code-signing-policy)): click **More info**, then **Run anyway**. A signed Setup.exe\n> names **SignPath Foundation** as its publisher (right-click > Properties > Digital Signatures).\n\n> 📜 Pressing Install accepts Microsoft's [Visual Studio Build Tools license](https:\u002F\u002Fgo.microsoft.com\u002Ffwlink\u002F?LinkId=2179911)\n> for the C++ headers and libraries Setup downloads from Microsoft.\n\n\u003Cdetails>\n\u003Csummary>🧰 Without Setup.exe (git)\u003C\u002Fsummary>\n\n```\ngit clone https:\u002F\u002Fgithub.com\u002FSamiEnazi\u002Finfamous2-port\n```\n\n(One repository since v0.5.0: the engine and the port base are its `engine\u002F` and `base\u002F` folders, no submodules.)\n\nThen run **`Setup.cmd`** (the PowerShell window), or straight from PowerShell:\n\n```\ntools\\setup_build.ps1 -Disc \u003Cyour game folder> -Rpcs3 \u003Cyour RPCS3 folder> -AcceptMsvcLicense -Cleanup\n```\n\nUpdating later is the same (`git pull` first), and quick: `-Cleanup` keeps the build tools\nand build files, so only what changed is built again. `-NoBuildCache` deletes them too.\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>🔓 Your own decryption tool (advanced)\u003C\u002Fsummary>\n\nThe port never decrypts anything itself. Setup hands the game's 1.04 `EBOOT.BIN` and three firmware modules to\na decryptor, by default RPCS3 (run hidden, nothing to do), and checks that what comes back is a decrypted\nprogram. To use another tool, put a line like this in `config.local.json` in the port's folder:\n\n```\n\"decryptor\": \"\\\"C:\\\\Tools\\\\mydecrypt.exe\\\" \\\"{in}\\\" \\\"{out}\\\"\"\n```\n\n`{in}` is the encrypted file and `{out}` where the decrypted one must go. A file that is already decrypted\nis passed through as it is.\n\u003C\u002Fdetails>\n\n## 🐧 Linux and Steam Deck\n\nThe port also builds and runs natively on Linux, with no Wine or Proton (tested on Ubuntu 22.04 with an AMD GPU).\nThere is no Setup.exe on Linux: `.\u002Fsetup.sh` does the same job. **It runs on the Steam Deck**: a player\nbuilt it inside an Ubuntu Distrobox container in Desktop Mode and plays it in Game Mode ([#24](..\u002F..\u002Fissues\u002F24));\nin Desktop Mode, start it from that container.\n\n**One script does everything:** download `inFAMOUS2-port-v…-Linux-x64.zip` from the\n[latest release](..\u002F..\u002Freleases\u002Flatest) (launchers such as Quiver pick it by itself), unpack it, and run\n`.\u002Fsetup.sh`. The first time, it finds your game folder in RPCS3's game list (or asks you), builds the game from\nyour copy (15–60 minutes), then starts it; after that, `.\u002Fsetup.sh` just plays. Or from a `git clone`:\n\n```\ngit clone https:\u002F\u002Fgithub.com\u002FSamiEnazi\u002Finfamous2-port\ncd infamous2-port\n.\u002Fsetup.sh                      # or: .\u002Fsetup.sh --disc \u003Cyour game folder>\n```\n\n(`tools\u002Fsetup.sh` and `tools\u002Fplay.sh` still work on their own, with the same options as before.)\n\n`tools\u002Fsetup.sh` lists what it needs from your distribution (a C\u002FC++ toolchain, python3 with venv, the\nVulkan loader, SDL2) and puts everything else in the port's own folder. Please [report](..\u002F..\u002Fissues) how it\nruns on your distribution and GPU.\n\n## 🔄 Updates\n\n- When the game starts it asks GitHub whether a new version is out: in the background, at most every 6 hours,\n  and offline it just starts. If there is one, a notice says *Update available: v0.5.1 - F2 > Update*.\n- **F2 → Update** shows your version, the new one and what's new. Press **Update when I quit** or **Quit and update\n  now**: Setup opens, gets the new version and builds it from your copy, then press **Play**. Your saves,\n  settings, mods and controls are kept (the saves are also copied to `%LOCALAPPDATA%\\inFAMOUS2-port\\save-backups`\n  first).\n- ⚡ An update that changes a few files takes minutes, not the 20-60 of an install: Setup keeps its build tools and\n  build files (about 2.6 GB), downloads no tools and compiles only what changed. `tools\\setup_cleanup.ps1` frees\n  that space (the next update then takes as long as an install).\n- **Check for updates automatically** (F2 → Update) turns the check off; **Check now** asks at once. Running\n  `Setup.exe` and choosing *Update to the latest version* still works too.\n- A copy installed by RecompLauncher is updated by RecompLauncher.\n\n## 🎮 Playing\n\n- **Start:** `Play inFAMOUS 2.cmd`, or the desktop shortcut. It starts at native 1080p with all the picture\n  extras on; F2 changes anything, and your choices are kept.\n- **Steam, Playnite and other launchers:** add the game itself, `work\\port\\build\\Infamous2Recomp.exe` in the\n  port's folder (in Steam: *Add a Non-Steam Game* → Browse). Started that way, it sets itself up exactly like\n  `Play inFAMOUS 2.cmd`, and Steam Input (the Steam Controller, or any controller set up in Steam) and the Steam\n  overlay work.\n- **Keys:**\n\n  | Key | Action |\n  |---|---|\n  | **F1** | fps counter |\n  | **F2** (or hold L3+R3) | PC settings: Display, Graphics (resolution, anti-aliasing, upscaling, sharpening), Audio (volume, language), Controls (mouse, buttons and keys), HUD, Lighting, Effects, Mods, Update, Cheats |\n  | **F3** | your picture vs the original PS3 look |\n  | **F7** | go to your saved spot (F2 → Cheats → Saved spots) |\n  | **F9** | mark a moment in the session log (a stutter, a glitch, an enemy missing from the minimap) |\n  | **Alt+Enter** | fullscreen |\n\n- **Keyboard and mouse:**\n  - WASD to move, mouse for the camera (direct by default; F2 → Controls → *Mouse camera*)\n  - right button to aim, left button to shoot\n  - Space = ✕, Shift = ○, F = □, Q = △\n  - To remap keys, mouse buttons or controller buttons: F2 → Controls → *Buttons and keys*.\n- **Language:** the game follows your Windows display language (English if the game doesn't have it).\n  F2 → Audio → Language picks another one, with the voice and the text set separately, from what your disc\n  has: the US disc also has a Latin-American Spanish dub, the Europe disc BCES01143 has English voices with\n  menus and subtitles in 16 languages. It applies at the next start.\n- **Widescreen:** F2 → Display → Aspect ratio: *Auto* follows your screen's shape, or pick 21:9, 32:9 or\n  16:10. 32:9 at 1440p draws 5120×1440 for a super-ultrawide monitor. You see more on the sides (nothing is stretched); the HUD stays in the middle 16:9 and movies get\n  black bars. It applies at the next start. 16:9 is the default.\n- **Your saves:** `game\\gamedata\\dev_hdd0\\home\\00000001\\savedata`, backed up to `saves-backup\\` before every session.\n- **Your settings:** F2's choices go to `%APPDATA%\\inFAMOUS2-port\\settings.ini` (with `mods.ini` and the saved spots\n  in `spots.ini`); your controls are in `input.toml` in the game's folder. With an empty `portable.txt` in the game's\n  folder, the settings stay in the game's folder too.\n- **Session logs:** each session writes `play\\\u003Cdate-time>\\`: frame times every second, your F9 marks, and every\n  frame over 80 ms with what the game was doing. Please attach the folder to bug reports.\n\n## 🗑️ Uninstall\n\nSetup installs nothing into Windows: no admin rights, no registry entries, no services. To remove the port:\n\n1. Copy your saves somewhere first if you want to keep them (`game\\gamedata\\dev_hdd0\\home\\00000001\\savedata`).\n2. Delete the desktop shortcut **inFAMOUS 2 (PC port)**.\n3. Delete the port's folder (the one with `Play inFAMOUS 2.cmd`). `game\\disc` inside it is only a link to your\n   game folder: Windows deletes the link, not your game.\n4. Delete `%APPDATA%\\inFAMOUS2-port` (the F2 settings) and `%LOCALAPPDATA%\\inFAMOUS2-port` (Setup's save backups,\n   and the port itself when Setup put it there).\n\nRPCS3 and your game are left as they were.\n\n## 🔬 How it works\n\n- [ps3recomp](https:\u002F\u002Fgithub.com\u002Fsp00nznet\u002Fps3recomp) translates the game's PowerPC (PPU) and SPU code, and\n  three PS3 firmware modules taken from **your** RPCS3, into C\u002FC++. clang-cl then compiles it.\n- The engine's runtime does the rest:\n  - stands in for the PS3 system: files, threads, audio, input, saves and the system dialogs\n  - draws the PS3 graphics chip's commands with Vulkan, at any internal resolution\n  - runs some SPU jobs on the GPU instead (the deferred lighting and SSAO)\n\nEverything is in this one repository (since v0.5.0; before, the engine and the port base were submodules):\n\n| Folder | What it is |\n|---|---|\n| [`engine\u002F`](engine\u002F) | The engine: the recompiler (`engine\u002Ftools\u002F`) and the runtime (`engine\u002Fruntime\u002F`, `engine\u002Flibs\u002F`). It started as [sp00nznet's ps3recomp](https:\u002F\u002Fgithub.com\u002Fsp00nznet\u002Fps3recomp) and is maintained here now, with the Windows, Vulkan and performance work of this port. MIT, [`engine\u002FLICENSE`](engine\u002FLICENSE). |\n| [`base\u002F`](base\u002F) | The port base: [Erik Martins' infamous2-recomp](https:\u002F\u002Fgithub.com\u002Ferikomis\u002Finfamous2-recomp) as he published it (commit 8077cda); the build uses its `infamous2-lle\u002F` folder. MIT, [`base\u002FLICENSE`](base\u002FLICENSE). |\n| `patches\u002Fport\u002F` | Our changes to the port base's files, applied to its copy in `work\\port\\` at build time (`base\u002F` itself stays as Erik published it). |\n| `port_src\u002F` | Files we add to the port. |\n| `cheats\u002F` | The game side of the cheats and of the mouse camera. |\n| [`natives\u002F`](natives\u002F) | Native versions of the game's heaviest SPU jobs, compiled into the game by default (each has an off switch). |\n| `tools\u002F` | The build (`tools\u002Frebuild_win.py`), Setup (`tools\u002Fsetup_exe\u002F`, `tools\u002Fsetup_build.ps1`), `tools\u002Fplay.ps1`, and the tools used to test it. |\n\n## 🤖 Made with Claude Code\n\nThis port was built in **2 days and 9 hours**, in one long conversation between **Sami** and\n**Claude** (Anthropic's Claude Opus 5.5, working in [Claude Code](https:\u002F\u002Fclaude.com\u002Fclaude-code)).\nThat's from the first message (6 Nov 2026, 22:42) to the first public release (9 Nov 2026, 07:15).\nThe same day added native 1080p, the cheats, the lighting, the effects, the save manager and the freeze fix.\n\n| | |\n|---|---|\n| 🧑 **Sami** | The idea, his own copy of the game, the direction, the playtesting and the feedback. |\n| 🤖 **Claude** | The Windows build, the performance work on the main CPU code, the SPU jobs and the graphics thread, the renderer features, the cheats, the save manager, the test and profiling tools, Setup, and this README. The lead worked with up to five sub-agents in parallel. |\n| ⏱️ **Time** | 2 days 9 hours, from the first message to public |\n| 💬 **Messages** | About 190 from Sami, and 9,560 model responses from the lead plus 32 sub-agents, up to the first release |\n| 🔤 **Tokens** | 7.8 million generated, 3.55 billion processed in total up to the first release (3.51 billion of those were re-reads of the cached project context) |\n\n## 💡 Ideas for the community: offline user-created missions\n\ninFAMOUS 2 shipped with a mission editor: players built their own missions (UGC) and shared them online.\nThe online service that stored and shared those missions is gone, so that part of the game is dead today.\n\nBecause this port runs the game's own code on your PC, there is a chance to bring it back offline:\n- point the game's mission upload\u002Fdownload at **local files** instead of the old servers\n- save, load and play your own created missions without a network\n- share missions as plain files, for example in this repository\n\nThis is an idea for the community; nothing is built for it. Open questions:\n- How does the game talk to the UGC service?\n- What format are created missions stored in?\n- How much of the editor works with no network at all?\n\nIf you know how inFAMOUS 2's UGC worked, have notes or captures from back then, or want to think it\nthrough with us, please open an [issue](..\u002F..\u002Fissues).\n\n## 🙏 Thanks and credits\n\nThis port stands on other people's work:\n\n- **[ps3recomp](https:\u002F\u002Fgithub.com\u002Fsp00nznet\u002Fps3recomp)** by Ned Heller \u002F sp00nznet and its\n  contributors, and **[Noah Peterson's fork](https:\u002F\u002Fgithub.com\u002FNoahBPeterson\u002Fps3recomp)**: the\n  recompiler and runtime this port is built on (MIT, Copyright (c) 2026 Ned Heller \u002F sp00nznet). This\n  project started from it and our fork of it ([SamiEnazi\u002Fps3recomp](https:\u002F\u002Fgithub.com\u002FSamiEnazi\u002Fps3recomp\u002Ftree\u002Finfamous2),\n  up to v0.4.2); since v0.5.0 that engine is the `engine\u002F` folder of this repository and is maintained here,\n  with its full license in [`engine\u002FLICENSE`](engine\u002FLICENSE) and its contributors in `engine\u002FCONTRIBUTORS.md`.\n- **[erikomis\u002Finfamous2-recomp](https:\u002F\u002Fgithub.com\u002Ferikomis\u002Finfamous2-recomp)** by Erik Martins: the\n  inFAMOUS 2 port this one started from, and the camera patch behind widescreen (MIT, Copyright (c) 2026 Erik\n  Martins). It is the `base\u002F` folder of this repository (his commit 8077cda, unchanged), with its license in\n  [`base\u002FLICENSE`](base\u002FLICENSE) and its credits in [`base\u002FCREDITS.md`](base\u002FCREDITS.md).\n- **[ThiagoFraga761\u002Finfamous2-pc](https:\u002F\u002Fgithub.com\u002FThiagoFraga761\u002Finfamous2-pc)**: the Vulkan SSAO and\n  lighting passes and Windows groundwork we adopted, the texture-cache and buffer-growth ideas behind the\n  freeze fix, and the idea of giving the game's Edge geometry code the real picture size (MIT). Also\n  the **native versions of the game's heaviest SPU jobs** in [`natives\u002Fspu\u002F`](natives\u002F): the Edge geometry\n  kernels (skinning, culling, vertex decompression), the BSP polygon clipper and the render-list builder are\n  ports of his `edge_kernels_native.c`, `job220_native.c` and `ec5f_native.c` to this game version (MIT,\n  Copyright (c) 2026 the infamous2-recomp contributors; his notice is kept in each file), with AVX2 paths\n  added here. They are what makes the port fast on 4- and 6-core CPUs.\n- **[SIMDe](https:\u002F\u002Fgithub.com\u002Fsimd-everywhere\u002Fsimde)** (MIT): the 68 headers the Edge kernels need are in\n  `natives\u002Fspu\u002Fsimde-0.8.2\u002F`, with its license.\n- **bungholio** and the [ArtemisPS3](https:\u002F\u002Fgithub.com\u002Fbucanero\u002FArtemisPS3) cheat-code collection: three of the\n  cheats (jump height, AI speed, enemies hold fire) are their codes for this exact game version, turned into\n  menu switches, their \"Hold L2 + X To Fly\" code led us to the game's glide physics, and their \"Have All Powers\" and\n  \"Can Use All Powers\" codes to the game's power state (see `cheats\u002FNOTES.md`).\n- **L_**: the RPCS3 patches \"Black Lightning\", \"Static Thrusters - Flight\" and \"Static Thrusters - Fast\" for this\n  exact game version. On the port they are re-made as run-time hooks with the same effect (F2 → Cheats; how in\n  `cheats\u002FNOTES.md`).\n- **tiffsomniac**: the **inFAMOUS Mod Manager** and its mod format (whole files, texture and xpps patches,\n  options). The port reads these mods as they are (F2 → Mods); its own code, written from the format.\n- **Yahfz**: the RPCS3 community patch \"Disable Mesh Trimming\" (one instruction word in the game's Edge\n  geometry SPU program), which first showed why faces get holes above 720p. F2 → Graphics → Triangle culling:\n  *At the render resolution* (the default) keeps the game's culling but at the real picture size, so no holes\n  and a little faster; *Off: whole meshes* is Yahfz's patch; *The PS3's 720p culling* is the original.\n- **[RPCS3](https:\u002F\u002Fgithub.com\u002FRPCS3\u002Frpcs3)** and its team. RPCS3 decrypts the game and firmware. It was\n  also our reference while building the port: we compared our output against it, and its research and\n  wiki taught us much of what we know about the PS3. **No RPCS3 code is included** here (RPCS3 is GPL).\n- Third-party libraries used by the build, each under its own license:\n  - [SDL2](https:\u002F\u002Flibsdl.org) (zlib)\n  - [Vulkan-Headers](https:\u002F\u002Fgithub.com\u002FKhronosGroup\u002FVulkan-Headers) (Apache-2.0)\n  - [glslang](https:\u002F\u002Fgithub.com\u002FKhronosGroup\u002Fglslang) (BSD-3 and others)\n  - [Dear ImGui](https:\u002F\u002Fgithub.com\u002Focornut\u002Fimgui) (MIT)\n  - [SMAA](https:\u002F\u002Fgithub.com\u002Firyoku\u002Fsmaa) (MIT)\n  - AMD FidelityFX FSR 1 \u002F CAS (MIT)\n  - NVIDIA FXAA 3.11\n  - [SDL_GameControllerDB](https:\u002F\u002Fgithub.com\u002Fmdqinc\u002FSDL_GameControllerDB) (zlib)\n  - at3_standalone (LGPL-2.1)\n  - [Recomp Achievements](https:\u002F\u002Fgithub.com\u002Felripalda\u002FRecompAchievements) (its own license: free for\n    games, not MIT; it bundles rcheevos and cJSON, both MIT)\n\n  Their license files are in `engine\u002Fthird_party\u002F`.\n\n## 🔏 Code signing policy\n\nFree code signing provided by [SignPath.io](https:\u002F\u002Fabout.signpath.io), certificate by [SignPath Foundation](https:\u002F\u002Fsignpath.org).\n\n- **What is signed:** `Setup.exe` only. GitHub Actions builds it from this repository\n  ([`.github\u002Fworkflows\u002Fsetup-exe.yml`](.github\u002Fworkflows\u002Fsetup-exe.yml) runs\n  [`tools\u002Fsetup_exe\u002Fbuild.cmd`](tools\u002Fsetup_exe\u002Fbuild.cmd)), and SignPath signs exactly that build after the\n  approver has approved it. The game itself is built on your PC from your own copy and is not signed.\n- **Committers and reviewers:** [SamiEnazi](https:\u002F\u002Fgithub.com\u002FSamiEnazi), the owner of this repository. Changes\n  from anyone else (pull requests) are reviewed by him before they are merged.\n- **Approvers:** [SamiEnazi](https:\u002F\u002Fgithub.com\u002FSamiEnazi). Every signing request is approved by hand.\n- **Privacy policy:** This program will not transfer any information to other networked systems unless\n  specifically requested by the user or the person installing or operating it.\n  - Setup.exe goes online only when you press **Install** or **Update** (or a launcher runs its setup step),\n    and only to download: the port's files from GitHub, the build tools from their GitHub releases (Python,\n    CMake, Ninja, LLVM, SDL), and Microsoft's C++ headers, libraries and Windows SDK from Microsoft. Those sites\n    see an ordinary download, under their own privacy statements:\n    [GitHub](https:\u002F\u002Fdocs.github.com\u002Fsite-policy\u002Fprivacy-policies\u002Fgithub-general-privacy-statement),\n    [Microsoft](https:\u002F\u002Fwww.microsoft.com\u002Fprivacy\u002Fprivacystatement).\n  - The update check (see [Updates](#-updates)): when the game starts, `tools\\play.ps1` asks GitHub's public API\n    which release is the newest (at most every 6 hours, in the background). That question carries no data about\n    you, your PC or your game; F2 → Update → *Check for updates automatically* turns it off. A copy installed by\n    RecompLauncher or from git never asks.\n  - Nothing about you, your PC or your game is sent anywhere: no accounts, no telemetry. The game itself makes\n    no network connections (its PSN stand-in stays offline unless you set `PS3_NET_ONLINE` and `PSNR_SERVER`\n    yourself). Your saves, settings and session logs stay on your PC; a bug report holds only what you attach.\n\n## ⚖️ Legal\n\nThis is a fan project for people who own the game. It is not affiliated with or endorsed by Sony\nInteractive Entertainment or Sucker Punch Productions. *inFAMOUS* is a trademark of Sony Interactive\nEntertainment LLC. The screenshots show the game running on this port and in RPCS3, for comparison.\n\nThis repository contains no game assets, firmware or keys, and no game code beyond the addresses and the few\ninstruction words the cheats switch, taken from public community codes. Everything else game-specific is read\nfrom your own copy on your own PC. Do not share builds of the game, or files taken from it.\n\nThe code in this repository is MIT-licensed (see `LICENSE`). The engine (`engine\u002F`, from sp00nznet's ps3recomp)\nand the port base (`base\u002F`, Erik Martins' infamous2-recomp) keep their own MIT licenses and copyright notices\n(`engine\u002FLICENSE`, `base\u002FLICENSE`). The libraries in `engine\u002Fthird_party\u002F` keep theirs;\n`engine\u002Fthird_party\u002Frl_achievements` is under the Recomp Achievements License 1.0, not MIT. The third-party\nlibraries the build downloads keep their own licenses.\n","这是一个将PS3游戏《inFAMOUS 2》通过静态重编译技术转换为原生Windows\u002FLinux可执行程序的开源项目，不依赖模拟器运行。核心采用C语言实现，基于Vulkan渲染，支持1080p至4K分辨率、帧率较RPCS3提升约2.3倍，并提供控制器即插即用、增强光照与粒子效果、内置作弊菜单及存档管理等功能。项目需用户自备正版PS3游戏镜像（含1.04固件更新），通过本地Setup工具一次性静态重编译生成专属PC版二进制文件，适用于追求高性能、低延迟和跨平台（含Steam Deck）运行经典主机游戏的技术型玩家及怀旧游戏爱好者。",2,"2026-11-24 04:43:55","CREATED_QUERY"]