OpenXRay / OpenXRay/xray-16

CS - shaders from CGIM2 weather mod crashes the game

Open
#2,103 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Bug
Dominant language
C++
Stars
3.6k
Forks
536
Avg merge
6d 1h
Merged PRs (30d)
3

Description

Describe the bug
When I add shaders from CGIM2 mod the game crashes

clear sky gives error FATAL ERROR [error] Expression : I [error] Function : getFileCrc32 [error] File : D:\a\xray-16\xray-16\src\xrCore\FileCRC32.cpp [error] Line : 25 [error] Description : Can't find include file: [error] Arguments : ssao_hdao_new.ps

shaders.zip

Contributor guide

Open the contributing guide

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.

Research direction

Start by examining the attached shaders.zip and the missing ssao_hdao_new.ps reference, then inspect src/xrCore/FileCRC32.cpp at line 25 and reproduce the crash with the CGIM2 shaders under clear-sky conditions. Done means identifying and resolving the missing-include failure so the game launches without crashing with these shaders.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
computer-graphics, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.