Fix drop fps after surge Clear Sky and Call of Pripyat

Open
#2,098 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
55/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
cpp

Research direction

Start by reading xr_effects.script and locating start_small_reject(), then verify how vibros_p.ppe is packaged for Clear Sky and Call of Pripyat. Compare the official archives with the Shadow of Chernobyl archive and inspect the gamedata\anims\ location. Done means the surge event no longer hangs on the missing file and the FPS drop does not persist.

Written by the indexing model from the issue text.

Description

Performance Vanilla Bug

File vibros_p.ppe is missing from official Call of Pripyat and Clear Sky game archives but is
referenced in xr_effects.script -> start_small_reject():

level.add_pp_effector("vibros_p.ppe", 1974, false)

This causes engine to hang when loading missing file during surge event,
resulting in permanent FPS drop that doesn't recover after surge ends.

File exists in Shadow of Chernobyl archives. Copying it to CoP
gamedata\anims\ fixes the issue.

Possible cause: missing file in original CoP release or corrupted repacks.

Dominant language
C++
Stars
3.6k
Forks
565
Avg merge
9h 54m
Merged PRs (30d)
3

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from OpenXRay/xray-16

All issues in OpenXRay/xray-16

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.