Skip to content
프로젝트

소개

Official repo: github.com/whompay/inFAMOUSreborn. Only download the Setup from the Releases page here. Forks are not supported, and bugs from forks won't be fixed.

게임 및 에뮬레이션

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
+3
in 7 days
+19
in 15 days
+41
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

inFamous PC

Official repo: github.com/whompay/inFAMOUSreborn. Only download the Setup from the Releases page here. Forks are not supported, and bugs from forks won't be fixed.

An unofficial native Windows port of inFamous (PlayStation 3, 2009, European release BCES00220). The game's PowerPC (PPU) and SPU code is statically recompiled to x86-64 C/C++ with ps3recomp, so it runs as a normal Windows program rather than under an emulator.

This repository contains no game code or data. You build the game yourself, on your own PC, from your own copy of the game.

Easy install

Download inFamous Setup.exe from the latest release, run it, choose your .iso (an encrypted image works with its .dkey next to it) or your game folder (the one with PS3_GAME in it), pick an install location and press Install.

Setup checks for Python and the C++ build tools and offers to install them, copies the game out of the disc image, regenerates the recompiled code from your copy, builds it and adds an inFamous shortcut. Running Setup again on the same folder updates or repairs the install and only redoes what changed.

Updating

When a new version is published here, players update in place instead of reinstalling: Update now in Setup (it finds the existing install), the Update inFamous shortcut in the Start menu, or Update inFamous.cmd in the install folder. The updater compares every file with this repository, downloads only what changed, regenerates the game code only if the port's patches changed, and recompiles only the affected parts. Installs made with an older Setup need one run of the new Setup on the same folder first.

Requirements

  • Your own inFamous disc dump, European release (BCES00220).
  • Windows 10 or 11 (64-bit) and a GPU with Direct3D 12 support.
  • A CPU with SSE4.1 (2008 or newer). On CPUs without AVX2 (Intel before 2013, Pentium/Celeron without AVX, AMD before 2015) Setup builds a slower compatibility version automatically. On PCs with 16 or fewer CPU threads the game uses fewer threads and less CPU (tested down to 4 threads). On CPUs with more than 4 and fewer than 8 threads the per-workload thread cap is skipped: with the cores saturated, running every lane of a parallel pass on its own thread finishes the pass faster (bench on a 6/6 i5-9400 without a frame limiter: 50.2 -> 54.2 fps average in the same run, p99 frame time 25.4 -> 24.0 ms, task wait 11.4 -> 9.3 ms).
  • Python 3.10+ with "Add python.exe to PATH" ticked.
  • Visual Studio 2022 Build Tools with the Desktop development with C++ workload and the C++ Clang Compiler for Windows component.
  • RPCS3, only if your PS3_GAME\USRDIR has EBOOT.BIN but no decrypted EBOOT.elf. Setup uses it to decrypt the executable.
  • About 10 GB of free disk space and 16 GB of RAM.

Building manually

cd installer
cargo build --release
target\release\infamous-installer --game "D:\Dumps\inFamous"

infamous-installer doctor checks the requirements only. Finished steps are skipped when you run it again, so an interrupted install continues where it stopped. See installer/README.md for every step and the maintainer commands.

Playing

Run inFamous (the shortcut Setup made). It opens a small options window first (vsync, frame cap, resolution, language and more, saved to settings.ini); Play starts the game. The same settings are in the game's pause menu under Settings. Controllers work as on the console, and keyboard and mouse are supported.

The distance blur that hides pop-in is upsampled smoothly instead of showing blocks at high resolution (DEPTH_BLUR_SMOOTH=0 for the original). In blackout areas the game starts it about four times closer; DEPTH_BLUR=2 keeps it at the powered-area distance there, and DEPTH_BLUR=0 turns it off entirely.

Parked cars and wrecks are placed by a spawner that fills parking spots in a region around the camera, so they appear and vanish a few car lengths away. CAR_PARK_SCALE=2 doubles that region (cars appear and vanish twice as far out). It only scales the spawner that places cars; LOD_DIST_SCALE above 1 breaks the street lights, so keep that one at 1.

Frames with more draws than the renderer records at once (28672, reached with a high LOD_CLASS_SCALE in the city) are split into parts. That used to hang the GPU ("device lost") and now only costs some speed.

F10 opens the in-game trainer: God Mode, Infinite Energy, Refill Health, Max Health x2/x5/x10, Add XP, Karma +/-, Kill Enemies / Civilians, Super Speed and Player Model (play as Zeke, Trish, Kessler, Alden or John). Set TRAINER=0 to turn it off.

DLSS and FSR (optional)

The game can use NVIDIA DLSS / DLAA or AMD FSR for upscaling, and AMD FSR frame generation. They are not included in the download because NVIDIA and AMD distribute their SDKs themselves, but both are free and take a few minutes to add.

  • DLSS needs an NVIDIA RTX graphics card.
  • FSR works on any modern GPU (NVIDIA, AMD or Intel). FSR 4 needs a Radeon RX 9000 card; other cards get FSR 3.1 automatically.

1. Download the SDK(s) you want. You need the source code, not a Windows or Linux demo. On the page, click the green Code button, then Download ZIP. If you go through the Releases page instead, pick Source code (zip), not the files with "demo" or "samples" in the name.

For Download Rename the extracted folder to
DLSS / DLAA github.com/NVIDIA/DLSS dlss-sdk
FSR and frame generation github.com/GPUOpen-LibrariesAndSDKs/FidelityFX-SDK fsr-sdk

2. Put the folder(s) in your inFamous install folder, next to infamous-recomp and ps3recomp:

inFamous\
  dlss-sdk\        <- contains include\ and lib\
  fsr-sdk\         <- contains Kits\
  infamous-recomp\
  ps3recomp\
  ...

Make sure you don't end up with a folder inside a folder (dlss-sdk\DLSS-main\include). include (DLSS) or Kits (FSR) must be directly inside.

3. Rebuild the game once. Open a Command Prompt in the install folder and run:

type nul > .installer\update.pending
"Update inFamous.cmd"

This rebuilds the game with the SDK(s), which takes a while. Any later update also picks them up automatically, so you only do this once.

4. Turn it on in game: pause, then Settings, then Upscaling (DLAA, DLSS Quality / Balanced / Performance, FSR Native AA / Quality / Balanced / Performance) and Frame Generation. The same options are in the launcher's options window. Upscaling and frame generation apply after a restart.

If the Upscaling row is missing, the build didn't find the SDK: check the folder names and layout from step 2, then repeat step 3.

How it works

Path Contents
ps3recomp The recompiler toolkit and runtime: PPU and SPU lifters, HLE system libraries, RSX on Direct3D 12, audio and input
infamous-recomp The inFamous-specific parts: program entry, game stubs and fixes, asset tools
installer Setup and the command-line installer: reads the disc, regenerates the code from your game, applies installer/patches, builds
installer/infamous.toml Everything about the game and the port: pipeline steps, generated files, build and launch settings
installer/generated.lock Hashes of each generated file before and after the port's patches

Credits

관련 프로젝트 살펴보기

불러오는 중…