Skip to content
项目

关于

通过 HUD 缩放、高帧率优化、手柄支持及其他体验改进,让 F.E.A.R. 及其扩展内容焕发现代感

其他项目

这些数字如何统计

实测星标增长

24小时
+2
7天
+6
15天
+12
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Modernizes F.E.A.R. and its expansions with HUD scaling, high-framerate optimizations, controller support, and other quality-of-life enhancements. It aims to be as non-intrusive as possible, applying runtime patches only, with no gameplay changes by default.

How to Install

[!NOTE]
Compatible with F.E.A.R. Ultimate Shooter Edition (Steam) and F.E.A.R. Platinum (GOG).
All features are compatible with Extraction Point and Perseus Mandate.

Download: EchoPatch.zip
Extract the contents of the zip file into the game's folder, in the same directory as the FEAR.exe file.
On first launch, EchoPatch will prompt to apply a LAA patch if needed to prevent loading issues.
This prompt will not appear for the GOG version, as the LAA patch is already applied there.

[!WARNING] The GOG version defaults to a 60 FPS cap.
To unlock higher framerates, modify the dxwrapper.ini file by setting LimitPerFrameFPS from 60 to 0.
This change enables compatibility with the HighFPSFixes optimizations.

[!WARNING] Windows Defender Controlled Folder Access (rare): If saves or settings are not persisting, Windows Defender may be blocking access to the save folder. Go to Windows Defender > Controlled Folder Access > Add an allowed app and add the game executable.

Steam Deck/Linux Specific Instructions (Windows users can skip this)

[!WARNING] On Steam Deck, change the controller configuration to Gamepad With Joystick Trackpad for controller support.

Features

HUD Scaling

  • Dynamically scales HUD elements (texts, crosshair, icons) relative to screen resolution.
  • Adjust HUDCustomScalingFactor in EchoPatch.ini to customize overall HUD scaling.
  • Adjust SmallTextCustomScalingFactor for independent scaling of smaller text (e.g., subtitles).
4K Vanilla 4K EchoPatch

Note: The base resolution (1024×768) is used as the reference for scaling, ensuring the HUD retains its original proportions and appearance on all higher resolutions.

High FPS Fixes

Resolves multiple issues at high framerates (particularly when using Slow-Mo):

  • Havok ragdoll physics instability.
  • Water physics instability.
  • Excessive water splash effect repetitions.
  • Frozen FX effects.
  • Oversized particles.
  • Overly dampened velocity when jumping out of water.
  • Velocity dampening when jumping and landing.
  • Walking animation prematurely reverting to idle, causing camera stutter.
  • Inability to perform a jump kick.
  • Excessive sliding on sloped surfaces.
  • Slow-motion charge and timer desynchronization.
  • Degraded AI reactions.
  • Turning barely affecting weapon accuracy.
  • Explosions pushing the player too far.
  • Repeated damage effects from fire and other hazards.

Optimized Save Performance

Dramatically reduces save times by buffering file operations in memory instead of writing directly to disk.
The game performs hundreds of thousands of individual WriteFile calls per save (over 220,000 for a typical 2MB save file), causing multi-second delays even on high-end hardware.

Fast VRAM Detection

Replaces the slow legacy DxDiag VRAM scan with instant DXGI detection, speeding up startup and performance settings access.

Shader Validation Caching

Speeds up level loading by validating each shader technique only once instead of every time its shader is loaded.

Reduced Texture Memory

Reduces memory usage by keeping textures in video memory only, instead of also storing a copy of them in the game's memory.
Disabled by default, set ReduceTextureMemory = 1 in EchoPatch.ini to enable.

Note: This option is experimental.

Input & Frame Drop Fixes

  • FPS Drop Fix: Prevents framerate drops by stopping the game from initializing all HID devices as controllers.
  • Input Lag Fix: Disables the SetWindowsHookEx call to reduce input lag.

Nvidia Rendering Fix

Resolves rendering issues such as shadow flickering and inversion on Nvidia GPUs.
The engine draws its world geometry with vertex indices too large for these drivers, the fix moves that offset to where they handle it.

Framerate Limiter

Adds an FPS Limit setting to Options → Display.

Display Options Menu

The framerate can also be capped to any value with OverrideMaxFPS in EchoPatch.ini, whether VSync is enabled or not.

Weapon Fixes

Addresses several weapon-related issues:

  • Fix Aim/Zoom not working when loading a save during a cutscene.
  • Automatic weapons stuck in firing animation when loading a save made mid-fire.
  • Weapon cycling not working when there's an empty slot between two weapons.
  • Weapon model position not updating correctly after reloading a save with the same weapon equipped.

Note: These issues were partially fixed in the Extraction Point and Perseus Mandate expansions.

Controller Support

Supports Xbox, PlayStation, and Nintendo Switch controllers via SDL3.

Controller Input Action
Left Analog Stick Move
Right Analog Stick Aim
Left Analog Stick (Press) Use Health Kit
Right Analog Stick (Press) Toggle Flashlight
South (A / Cross) Jump
East (B / Circle) Crouch
West (X / Square) Reload / Interact
North (Y / Triangle) Toggle Slow-Motion
RT / R2 / ZR Fire
LT / L2 / ZL Aim / Zoom
RB / R1 / R Melee
LB / L1 / L Throw Grenade
D-Pad Up Next Weapon (Hold: Drop Weapon)
D-Pad Down Next Grenade (Hold: Holster Weapon)
D-Pad Left Lean Left
D-Pad Right Lean Right
Back / Share / − Mission Status (Hold: Quick Save)
Start / Options / + Pause Menu (Hold: Quick Load)
Share / Capture Holster Weapon
Right Paddle 1 Center View

Note: Buttons support hold actions for secondary commands. Configure the button mapping, hold bindings and duration in-game (see below) or via EchoPatch.ini. See COMMANDS.md for the full list of command IDs.

Rumble

Supports controller vibration feedback.
Enable with RumbleEnabled = 1 in EchoPatch.ini.

Gyro Aiming

Enables motion-controlled aiming using the controller's gyroscope for supported controllers (DualShock 4, DualSense, Switch Pro Controller).

Configurable in the [Controller] section of EchoPatch.ini:

  • GyroEnabled: Set to 1 to enable gyro aiming.
  • GyroAimingMode: Determines when gyro is active (0 = Always On, 1 = Aiming Only, 2 = Hip Fire Only).
  • GyroCalibrationPersistence: Set to 1 to save calibration data for automatic loading on reconnect if the controller has a unique serial number.

Note: If you experience gyro drift, place the controller on a stable surface for a few seconds to calibrate.

Additional Feature (PlayStation controllers)

  • Touchpad: Mouse cursor control (DualShock 4/DualSense)

Customizable alongside sensitivity settings within the [Controller] section of EchoPatch.ini.

Note: Hotplugging is supported, connect or disconnect controllers at any time without restarting the game.

Some controller settings from EchoPatch.ini can also be adjusted directly in-game via a custom menu accessible from Options → Controls → Configure joystick/gamepad.

The Button Mapping sub-menu of this screen assigns a press action and a hold action to every button, grouped by face buttons, shoulders & triggers, D-Pad, sticks & menu buttons, and extra buttons (Share/Capture and back paddles). It also sets the hold duration and restores the default mapping. Changes apply immediately and are saved to EchoPatch.ini.

Controller Settings Menu

Keyboard Input Fix

Corrects key mapping on non-English layouts by using hardware scan codes and fixing misreported DirectInput key names. Prevents "[unassigned]" entries on first launch, after resetting controls, or when reassigning keys.

Widescreen Resolution Support for Extraction Point

Removes 4:3 restriction so all widescreen resolutions are available.

LAA Patcher

Applies a Large Address Aware patch to allow up to 4 GB of memory (default 2 GB), which can resolve loading issues such as the "Disconnected from server" error.
The behavior of this option can be edited by setting CheckLAAPatch in the [Fixes] section of EchoPatch.ini.

Note: The patch is not offered when the game can already use 4 GB of memory, which is the case with Proton (Steam Deck/Linux).

Note: The Steam version cannot start when Windows forces the randomization of its executable (Mandatory ASLR), as the Steam DRM does not support it.
EchoPatch detects this problem and offers to patch the executable and restart the game.
The other solution is to turn off Force randomization for images (Mandatory ASLR) for FEAR.exe in Windows Security > App & browser control > Exploit protection settings > Program settings.

Persistent World State

Keeps objects (bodies, blood stains, debris, bullet holes, shell casings, glass shards…) from despawning.

With SavePersistentWorldState, the blood stains, bullet holes, debris, shell casings and the blood on the bodies are also saved in a .pws file next to each save file and restored when the save is loaded.

The number of shell casings and bullet holes kept in the world can be raised with MaxShellCasings and ExtraBulletHoles in EchoPatch.ini.

Supersampling (SSAA)

Renders the 3D scene at a higher internal resolution and downscales it to the display resolution, providing high-quality anti-aliasing.
Unlike the in-game FSAA option, which cannot be combined with soft shadows, SSAA is fully compatible with them, allowing both to be enabled at the same time.

  • SSAAScale (SSAAScale in EchoPatch.ini): Internal resolution scale factor. The default value of 1.0 renders at native resolution (equivalent to disabled), any other value enables supersampling.
Vanilla SSAA 2.0

Note: FSAA is automatically turned off when supersampling is enabled, as the two are incompatible. Supersampling has a significant performance cost, a value of 2.0 renders 4x as many pixels.

HD Reflections & Displays

Improves resolution quality of reflective surfaces and displays.

Vanilla HD Display

Aspect Ratio Blur Fixes

Corrects post-process blur effects that were hardcoded for a 4:3 aspect ratio.
On the original shaders the blur kernel size does not scale with the display resolution, so the effect stretches horizontally as the aspect ratio widens, becoming increasingly smeared at 16:9 and severe at ultrawide resolutions. The fixed shaders derive the kernel from the actual resolution, keeping the blur consistent at any aspect ratio.

This applies to:

  • Soft shadow blur: the blur pass used to soften dynamic shadows.
  • Screen blur: the blur material applied to objects seen through blurred surfaces.
Vanilla 32:9 Fixed Soft Shadow Blur
Vanilla 32:9 Fixed Screen Blur

Translucent Rendering Fixes

  • Glass Lighting: Blood and smoke behind a glass no longer look too bright when lit by the flashlight.
  • Smoke & Decals: Blood marks no longer show through the smoke in front of them, and decals on walls and floors are lit correctly.
Vanilla Fixed Translucent Rendering

No Model LOD Bias

Disable LOD bias to render models at full quality at any distance.

Vanilla No Model LOD Bias

Improved Mipmap Bias

Improves texture sharpness at a distance by reducing mipmap bias. Certain textures such as characters, FX effects, and vehicles are rendered at higher detail, while textures that appear blurry at a distance like fences are selectively rendered at maximum quality. Other textures use a moderate bias to prevent shimmering artifacts.

Mouse Aim Multiplier

Multiplier applied to mouse aiming to compensate for high sensitivity (does not affect profile settings).
Set MouseAimMultiplier in EchoPatch.ini (default 1.0).

Custom FOV

Overrides the default 70° field of view and applies automatic viewmodel correction to preserve proper viewmodel proportions at wider FOVs.
Set CustomFOV in EchoPatch.ini (0 = disabled).

FOV 95 (No Correction) FOV 95 (Corrected)

Disable Letterboxing

Disables cutscene letterboxing when DisableLetterbox = 1 in EchoPatch.ini.

Vanilla Letterbox Disabled

Skip Intro

Bypasses startup content for faster game launch.

  • SkipSplashScreen: Skips the developer splash screen.
  • SkipAllIntro: Skips all intro videos.

Individual videos can also be skipped via the [SkipIntro] section in EchoPatch.ini.

Save Folder Redirection

Redirects the save folder from %PUBLIC%\Documents\ to %USERPROFILE%\Documents\My Games\.
Disabled by default, set RedirectSaveFolder = 1 in EchoPatch.ini to enable.

Infinite Flashlight

Removes battery limit and hides HUD indicator.
Enable with InfiniteFlashlight = 1.

Developer Console

Restores the in-game developer console with a reimplemented frontend using ImGui, providing access to engine commands, variables and logging messages. Toggle with the Home key, configurable with ConsoleKey.

  • ConsoleEnabled: Set to 1 to enable the console.
  • ConsoleKey: Key that toggles the console, as a decimal virtual-key code (36 = Home).
  • DebugLevel: Controls the verbosity of debug messages (0–15).
  • ConsoleBufferLen, ConsoleHistoryLen, ConsoleAlpha, MoveConsole: Default values of the console settings.
  • LogOutputToFile: Set to 1 to log all console output to a timestamped text file.
Developer Console

EAX Audio Fix

Allows local DirectSound wrappers like DSOAL to load correctly, enabling EAX and hardware audio mixing. The game normally uses COM to initialize DirectSound, which bypasses local DLLs and loads the system version instead. This fix intercepts that call and redirects it to the local wrapper.

Weapon Capacity Editor

Customize max weapon capacity via MaxWeaponCapacity (0–10).
Enable with EnableCustomMaxWeaponCapacity = 1.

Note: Weapon capacity is tied to the save data. Lowering the capacity will not take effect on an existing save. Start a new save file to apply a reduced limit.

Door Bashing

Lets melee attacks and explosions bash doors open, like in the expansions.
Enable with DoorBashing = 1.

Note: Only available for F.E.A.R., as Extraction Point and Perseus Mandate already have it.

Uncap Dismemberment

Removes the limits on dismemberment. By default, the next 7 kills after a dismemberment cannot dismember, and no body gets dismembered while 2 dismembered bodies are in the level.
The chance of severing a limb is unchanged.
Enable with UncapDismemberment = 1.
It also lets GibFrequencyCap (0–10, 5 by default like the game) change how many kills have to pass after a body gibs before another body can gib, 0 removes the limit.

Disable PunkBuster Initialization

Disables initialization of PunkBuster, the deprecated online anti-cheat service that shipped with the original game.
This prevents the game from loading unused background components.

ASI Plugin Loading

Loads .asi plugins from a plugins folder next to the game.
Extraction Point and Perseus Mandate use the same plugins folder, next to FEAR.exe.

Configuration

All features can be customized via the EchoPatch.ini file. Each setting includes detailed comments explaining its function and acceptable values. The patch uses sensible defaults that work for most users, but allows fine-tuning of every aspect.

EchoPatch Menu

Adds an EchoPatch menu to Options to change several settings in-game, sorted into the Graphics, Display, Mouse, Memory and Extra categories.
Changes are saved to EchoPatch.ini. When a setting requires a restart, the game offers to restart once the menu is closed.
The menu can be disabled by setting EchoPatchMenu = 0 in EchoPatch.ini.

EchoPatch Menu

Credits

  • SDL3 for controller support.

  • MinHook for hooking.

  • mINI for INI file handling.

  • ImGui for the console interface.

  • Methanhydrat for identifying the FPS drop root cause.

  • Vityacv for identifying the extra latency caused by SetWindowsHookEx.

  • CRASHARKI for the logo.

探索相关项目

加载中…