Skip to content

ReCoF v0.2.0

Choose a tag to compare

@caixax caixax released this 10 Nov 23:30

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.1.6

Crashes no longer freeze the game

  • Crash and hang reports (B314, confirmed in game). Most crashes used to leave the game frozen on its last frame while Steam wrote a dump in the background. Now a crash closes the game with a message box that says what happened and where; Ctrl+C copies its text. A report and a dump go to crashes\ next to cof.exe. A game that stops responding for 30 seconds gets the same and asks whether to close it. -rc_nocrashhandler keeps the old behavior; rc_crashtest 1 (crash) and rc_crashtest 2 (hang) show the reports on purpose.

Smooth frames (experimental)

  • Extra pictures between the game's frames (B315), off by default. The game runs 100 frames a second. On a monitor faster than 100 Hz, rc_smoothframes 1 draws extra pictures in between: the mouse turns the view at once, and the view moves ahead with your speed. The game itself still runs 100 frames a second, so movement and timing do not change. Monsters, doors, animations and the HUD still move 100 times a second. With cl_showfps 1 the counter shows both rates, for example 300 fps (100 logic). rc_smoothframes_debug prints why pictures are left out. It is experimental and can look odd at times; it works best with rc_vsync 0.

Run timer

  • The run timer starts only by hand (B312). It no longer starts or resets on its own when a campaign's first map loads: rc_timer_start, rc_timer_stop and rc_timer_reset work it, for example bind DEL "map c_nightmare;rc_timer_reset;rc_timer_start". It still stops by itself at the endings. rc_timer_auto is gone.

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

Downloads

  • ReCoF-v0.2.0.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.0.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.0 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.0.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.
  • 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 9ba17c8.