Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editing shaders.xr #466

Open
AffectedOne opened this issue Nov 19, 2023 · 4 comments
Open

Editing shaders.xr #466

AffectedOne opened this issue Nov 19, 2023 · 4 comments

Comments

@AffectedOne
Copy link

Hello,

I'm trying to create new map for my mod and i need to add new shaders for terrain in SDK. I tried yurshat repack, lost alpha sdk, yaras sdk, vanilla 0.4 sdk and even 0.7 call of pripyat sdk, but everytime game crashes after editing shaders.xr file. I know it must be something obvious i'm missing. Do i need any particular SDK to work with this engine, or any SDK can be adapted? Tried to look for answers, but could not find anything in english speaking part of the internet. I can read and understand a little bit of russian, but writing is very hard and wonky google translate does not help in searching russian forums. Sorry to bother you guys, but can someone point me in the right direction on what to do or where to look for more info.

@joye-ramone
Copy link
Member

Engine support all assets from original game and can be edited in original SDK
there is not special SDK for it
so if game crash - mostly like you either delete some necessary shaders or compile new file in wrong way

@AffectedOne
Copy link
Author

I'll try it again today after get back home from work and report back.

@xrSimpodin
Copy link
Member

this shaders.xr is a hybrid of the file from Shadow of Chernobyl and Call of Pripyat. Perhaps that's why you have problems with him. You can delete it and use the original shaders.xr from Shadow of Chernobyl.

The hybrid shaders.xr is needed only to support models from Call of Pripyat.

@AffectedOne
Copy link
Author

Hello again,

Just to be sure, i made a fresh "instal" of engine, tested it, worked fine. Then i tried to use vanilla 1.0006 shaders.xr file as xrSimpodin suggested, and it crashed. Here is the log:
xray_affectedone_21-11-23_17-46-42.log
What's interesting is that it's the same log as the one i got when i tried to edit engines shaders.xr

Is it possible to fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants