Skip to content

ReCoF v0.2.3-beta.2 (test build)

Pre-release
Pre-release

Choose a tag to compare

@caixax caixax released this 14 Nov 18:47

Warning

Test build. These files have not all been confirmed in game yet. Use them 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.

This is a beta of 0.2.3, built from the multicore branch. It has everything planned for 0.2.3 plus the first multicore work and a performance log for players whose game stutters.

Stutters or low fps? Send a performance log

  1. Turn on Performance log in the launcher's ReCoF options (Performance section), or type rc_perflog 1 in the console after the game starts.
  2. Play the part that runs badly for a minute or two.
  3. Quit the game (or type rc_perflog 0).
  4. Send the newest file in cryoffear\perflogs\ (perflog_<date>.txt) to the ReCoF developers, with the map and what was happening.

The log has what the computer is (processor, graphics card and driver, Windows version, power plan, memory, the timer Windows gives the game, the ReCoF settings that change performance) and a line each second with the frame rate, the slowest frames and where the time went. Every stutter gets a line of its own with the map, the place, and whether the game was working or waiting. It changes nothing in the game. The launch options are written without the game's folder.

What changed since 0.2.3-beta.1

  • Particle effects cost less CPU over a long map (B342). Every picture, every particle effect (flares, blood on gibs, gun smoke, steam, fire) looked for its entity by going through all the entities before it, and the effects of a map are never removed until the map changes, so the work grew with every flare thrown and every fight. Each effect now finds its entity at once, with the same result. Original game behavior.
  • The performance log says more (B341, B344): the particle effects have their own time and count (particles drawn, effects in the list), each second gives the GPU time of every pass, and a menu, the inventory, a note or a load no longer shows up as a stutter of several seconds (it is a PAUSE line now).

What changed in 0.2.3 since 0.2.2

Performance

  • Bone setup on several cores (B339, rc_threads). The bones of the models in view are worked out on worker threads and the main thread together. The default (-1) uses up to 3 workers on processors with 8 or more threads and none below that. rc_threads 0 turns it off. Every model takes the result only if its inputs are the same as when the work started, so it draws exactly as before; on a test map with 64 monsters in view it saves about 8% of the frame.
  • Performance log (B340, rc_perflog), see above.
  • rc_prof times more (B337, B338): the local server's frame, the bone setup and the engine's model lighting, and it counts the monsters drawn. rc_svprof 1 times the game logic of the monsters.

Smooth frames (rc_smoothframes 1)

  • Cutscenes: the mouse no longer turns a cutscene camera and the picture no longer flickers to the player's view (B333).
  • Menus no longer stutter while one has the mouse (main menu, inventory, notes) (B335).
  • Monitors above 200 Hz: the pictures of each game frame are evenly spaced (B336).

Fixes

  • The inventory no longer leaks memory while the mouse points at an item (B334). It loaded the item's picture again on every frame.

Menus

  • Join Server opens ReCoF's server list (B331): ReCoF servers on the Internet and on the local network, a box to show ReCoF servers only, and a box to join an address. Cry of Fear's own browser listed none.
  • New options window (B332): seven tabs (Game, Controls, Graphics, HUD, Audio, Multiplayer, ReCoF) with every ReCoF option, a help line for each and a crosshair preview.

Multiplayer and dedicated servers (ReCoF Server)

Single player plays as in 0.2.2: these changes are about multiplayer games and what happens after one.

  • Multiplayer servers that run ReCoF take ReCoF players only (B319). The game tells the server its ReCoF version, and a server with ReCoF's game DLL turns away the original game and ReCoF 0.2.2 or older, with a message that links here. Server owners can let everyone in with rc_require_recof 0.
  • Leaving a co-op game no longer breaks the menu (B330). After playing on another machine's server, going back to the menu could stop the game with "Illegible server message - svc_bad" and the 3D menu did not load. Original game bug.
  • The iron sights toggle and the subtitle language are each player's own (B328), and the head shield and morphine sound effects reach the right player (B329).
  • Servers with nobody at the keyboard (B320 to B326): "the player" is the first player in the game rather than slot 1, no crashes when nobody is in the game, suit sounds play on a dedicated server, and a dedicated server writes no endings or unlockables, does not start Steam for the machine's own user and keeps players in at the end doors of the demo.

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

Downloads

  • ReCoF-v0.2.3-beta.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.3-beta.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: open Tools, Updates, and set the release channel to Beta. The launcher then offers 0.2.3-beta.2 as an update. Set it back to Stable to go back to stable releases when 0.2.3 is out. 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.3-beta.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: use the ReCoF Autosplitter; the published Cry of Fear autosplitter reads addresses that only follow the game in retail. 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): Smart App Control blocks ReCoF's unsigned files. Turn it off in Windows Security, App & browser control, Smart App Control settings (or Win+R, windowsdefender://smartapp/); see the 0.2.2 notes.
  • 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. In the launcher, setting the release channel back to Stable brings the stable releases again from 0.2.3 on.
  • 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 471bea0 on the multicore branch.