OGSR / OGSR-Engine

OGSR Project - Evolution of X-Ray Engine for S.T.A.L.K.E.R.: Shadow of Chernobyl
https://discord.gg/Q6QDxbNcfR
Other
456 stars 86 forks source link

Editing shaders.xr #466

Open AffectedOne opened 8 months ago

AffectedOne commented 8 months ago

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 commented 8 months ago

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 commented 8 months ago

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

xrSimpodin commented 8 months ago

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 commented 8 months ago

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?