Repository navigation
ReCoF v0.1.3 (test build)
Pre-releaseWarning
For testing only. These files have not been confirmed to work 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.
What changed since 0.1.2
- Dynamic lights out of view are skipped. A dynamic light whose sphere lies outside the view no longer gets its own pass over the world, and no longer makes every non bumped surface of the visible world draw twice (B291). Such a light cannot reach anything on screen, so the picture is the same.
rc_dlightcull 0brings back the retail behavior, for comparison. - Fewer OpenGL calls in the world passes. The texture matrix is kept instead of being reloaded for every surface (B292), the second pass sets its state once per texture instead of once per surface (B293), and the world model is read once a frame instead of at every node of the map tree (B295).
- Performance study. docs/feasibility/multicore.md measures where the frame goes in c_doc_city: almost all of it is OpenGL draw calls (about 9000 for the world), which more CPU threads cannot share, while sound and the game logic cost next to nothing. Batching the world (B195) is the next step.
- Laptops with two GPUs (B296): the game can end up on the integrated GPU, which on the test laptop meant 40 to 50 fps with the night vision mask instead of 119. Until
cof.exeasks for the discrete GPU itself, set it by hand (see Before you play).
Everything from 0.1.2 is still in; every option is listed in docs/speedrun.md ("ReCoF cvars").
Downloads
ReCoF-v0.1.3.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.1.3.zip,recof-manifest.jsonandrecof-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 |
recof-cvars.json |
the ReCoF options, for the launcher's options screen |
README-ReCoF-TEST.txt |
these warnings and instructions, the new options, and the SHA-256 of every file |
How to test
With the ReCoF Launcher: it offers 0.1.3 as an update on the beta channel. Or use Maintenance, Install from a file, with the three launcher files in one folder.
By hand:
- Copy your Cry of Fear game folder to another place (for example
Cry of Fear ReCoF test). - Extract
ReCoF-v0.1.3.zipinto that copy and let it replace the existing files. - Start Steam, then double-click
Play ReCoF.batin the copy. The console goes tocryoffear/qconsole.log. - Report problems with the map name and what you did, and attach
qconsole.logif you can.
Before you play
- Do not load RebuiltSimon with this build: its hl.dll patch lands on other code. ReCoF has its options built in.
- Retail saves load.
- LiveSplit: the hw.dll values are where the script expects them, but the client.dll values moved. The script addition is in docs/speedrun.md.
- 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.exefrom the game folder and choose High performance.gl_dumpin 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 b7da267.