Skip to content

ReCoF v0.2.2

Latest

Choose a tag to compare

@caixax caixax released this 11 Nov 21:59

Warning

Not every change has been confirmed in game yet. Use these files in a copy of the game, never in your Steam installation. If you use them anyway, you do so at your own risk and with your own consent.

ReCoF is Cry of Fear 1.6a rebuilt from the DeCoF source with bug fixes and improvements. Speedrun techniques are kept, and the balance fixes can be switched back to retail with rc_retail_gameplay 1. The zips only contain binaries; no game assets are included.

What changed since 0.2.1

Sound

  • Weapon sounds can keep the same pitch on every shot (B318). Cry of Fear 1.6a plays your own gun sounds at a random speed between 0.9 and 1.1, so the pitch changes from shot to shot, which makes replacement sounds (for example the gun sounds of Cry of Fear 1.5, put in sound/weapons_new with the same names as the 1.6a ones) sound wrong. rc_omgbruh_sound 1 plays every shot as it was recorded; the default 0 keeps the original game's variation. It is also in the launcher's options, under Other.

Windows 11 "Bad Image" error

  • ReCoF's files are not digitally signed yet, so on a PC where Windows 11 Smart App Control is on, Windows refuses to load them and the game stops with a "Bad Image" error that names hw.dll (error status 0xc0e90002). To play ReCoF, turn it off: Windows Security, App & browser control, Smart App Control settings, Off (or press Win+R and run windowsdefender://smartapp/). On many versions of Windows 11 it cannot be turned back on without resetting Windows; Microsoft Defender keeps protecting the PC. Windows 10, and Windows 11 with Smart App Control off or in evaluation mode, are not affected. The ReCoF Launcher 1.0.4 warns about this before it starts the game.

The main menu shows ReCoF-v0.2.2. Everything from 0.2.1 is still in; every option is listed in docs/speedrun.md ("ReCoF cvars").

Downloads

  • ReCoF-v0.2.2.zip: everything, to install by hand. It mirrors the game folder, so extracting it into a copy of the game puts every file in place.
  • recof-0.2.2.zip, recof-manifest.json and recof-manifest.json.sig: the same build for the ReCoF Launcher, which checks the signed manifest (every file and its SHA-256) before it installs anything.
File in the game folder What it is
cof.exe engine launcher
CoFLaunchApp.exe settings launcher
hw.dll, sw.dll GoldSrc engine (sw.dll is the same file, as in retail)
opengl32.dll Paranoia OpenGL wrapper
cryoffear/cl_dlls/hl.dll game logic (server DLL)
cryoffear/cl_dlls/client.dll client DLL and renderer
cryoffear/cl_dlls/GameUI.dll menus
Play ReCoF.bat test launch: the launcher's settings plus -condebug; open it in Notepad to set the resolution, windowed mode or extra options such as -novid or -noborder
recof-cvars.json the ReCoF options, for the launcher's options screen
README-ReCoF-TEST.txt the warning and instructions, the new options, and the SHA-256 of every file

How to test

With the ReCoF Launcher: it offers 0.2.2 as an update on the stable channel. Or use Maintenance, Install from a file, with the three launcher files in one folder.

By hand:

  1. Copy your Cry of Fear game folder to another place (for example Cry of Fear ReCoF test).
  2. Extract ReCoF-v0.2.2.zip into that copy and let it replace the existing files.
  3. Start Steam, then double-click Play ReCoF.bat in the copy. The console goes to qconsole.log next to cof.exe.
  4. Report problems with the map name and what you did, and attach qconsole.log if you can. After a crash, the files in crashes\ help too.

Before you play

  • Do not load RebuiltSimon with this build: its hl.dll patch lands on other code. ReCoF has its options built in, its information panel and HUD numbers included.
  • Retail saves load.
  • LiveSplit: the published Cry of Fear autosplitter reads addresses that only follow the game in retail, so it is not reliable on ReCoF. rc_hud_timer 1 shows the run's time in game.
  • The Linux patcher does not apply to these files.
  • Windows 11 "Bad Image" error naming hw.dll (0xc0e90002): see above, Smart App Control.
  • On a laptop with two GPUs, make sure the game runs on the discrete one: Windows Settings, System, Display, Graphics, add cof.exe from the game folder and choose High performance. gl_dump in the console names the GPU in use.

How to go back

  • Delete the test copy, or restore your backup.
  • If you replaced files in your Steam installation, Steam can restore them: Library, right-click Cry of Fear, Properties, Installed Files (Local Files in older clients), Verify integrity of game files.

Requires Cry of Fear 1.6a, the current Steam version. Built from the source at commit 802193e.