ProjectsWhat's NewDownloadsCommunitySupportCompany
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
Restoring grass shadows

« Previous 10 events | 1 2 | All Messages
Posted by/on
Question/AnswerMake Newest Up Sort by Descending
  10:41:40  4 November 2012
profilee-mailreply Message URLTo the Top
Bangalore
Robberbaron
(Resident)

 

 
On forum: 02/17/2008
 

Message edited by:
Bangalore
11/04/2012 12:18:25
Messages: 1158

---QUOTATION---
the issues with 1.0006 were all MP-related, I believe.

Sorry, but that's absolutely wrong. I don't know why people keep stating that 1.0006 concerns MP only. Do you just believe what the devs said?

Fact is, there are many mods that won't work properly anymore under 1.0006 - I've tested it with some of my own mods, believe me!

"Issues" as in the reason the patch was recalled was what I was referring to.
---END QUOTATION---



As i know, security issues led to recall 1.0006 patch, not the mod-incompatibility issues. Otherwise gsc never cared about how they new patches affect the existing mods, just think about the 1.0004-1.0005 change. The 1.0005 patch changed absolutely unnecessarily some scripts, but this led to incompatibility with 1.0004 mods.

Indeed, the 1.0006 patch changed mp-only things regarding gamedata files, but the new engine binaries changed too much.
Among 1.0006 binaries gsc changed almost every binary, xrLUA.dll, xrGame.dll, xrXMLParser.dll etc. etc. Too much difference, and it's no wonder, that the mods written for 1.0004-1.0005 or former patches are not working properly on this allegedly mp-only patch.
  15:52:28  4 November 2012
profilee-mailreply Message URLTo the Top
SacriPan
Senior Resident
 

 
On forum: 09/20/2009
Messages: 319
Allright, 2 problems:

First the distance patch doesn't work for me on THIS dll. It gives me an error.

I tried to increase the R2_sun_near variable, it works but it's limited to 50m anyway and as I usually play with 201m grass distance, it wouldn't be enough, and it also creates some artefact lines on the ground, that's why I didn't use more than 25m in the first place in my game.

Any Ideas?
  17:54:31  4 November 2012
profilee-mailreply Message URLTo the Top
Darius6
The sound guy...
(Resident)

 

 
On forum: 04/05/2007
Messages: 2131

---QUOTATION---
Allright, 2 problems:

First the distance patch doesn't work for me on THIS dll. It gives me an error.

I tried to increase the R2_sun_near variable, it works but it's limited to 50m anyway and as I usually play with 201m grass distance, it wouldn't be enough, and it also creates some artefact lines on the ground, that's why I didn't use more than 25m in the first place in my game.

Any Ideas?
---END QUOTATION---



Don't exactly remember the values now, but using the launch option -smapXXXX (Where XXXX is the resolution, ex 1024, 2048 etc.) you can compensate the loss of shadow quality when increasing r2_sun_near.
Though, I think it's limited to some max value, which doesn't go well with the increased grass distance.
  23:05:58  4 November 2012
profilee-mailreply Message URLTo the Top
SacriPan
Senior Resident
 

 
On forum: 09/20/2009
Messages: 319
I already tried 1024 & 2048 but it didn't help. Though, it seems that 4096 works fine without too much fps loss (combined with R2_sun_near = 50). Thanks Darius.

However, I still can't patch this "new" DLL to increase the grass draw distance.

Has anyone got it working?
  23:20:24  4 November 2012
profilee-mailreply Message URLTo the Top
xRatx
Senior Resident
 

 
On forum: 06/18/2008
Messages: 1592
Just asking, did you edited the .bat file?
  23:52:41  4 November 2012
profilee-mailreply Message URLTo the Top
SacriPan
Senior Resident
 

 
On forum: 09/20/2009
Messages: 319
I did. Why?

Here's the content. It works to change the grass distance on the vanilla R2.dll, but not on the one with the grass shadow.


perl xrPatch.pl -f xrRender_R2.dll -g soc -p 6 -l 201
pause
  12:10:34  6 November 2012
profilee-mailreply Message URLTo the Top
Meltac
messing with code
(Resident)

 

 
On forum: 01/21/2010
Messages: 1519

---QUOTATION---
It works to change the grass distance on the vanilla R2.dll, but not on the one with the grass shadow.
---END QUOTATION---



That's what I suspected. The patcher is made for the different vanilla versions, but since modded DLLs have other binary structure the patcher probably won't be able to apply the required diff.

So best would be either have a version of the patcher which supports the grass shadows DLL as well, or a precompiled DLL containing both the shadows and the distance patch.

Don't know whether such exists, though.
 
Each word should be at least 3 characters long.
Search:    
Search conditions:    - spaces as AND    - spaces as OR   
 
Forum Index » S.T.A.L.K.E.R.: Shadow of Chernobyl Forum » Mod discussion
 

All short dates are in Month-Day-Year format.


 

Copyright © 1995-2020 GSC Game World. All rights reserved.
This site is best viewed in Internet Explorer 4.xx and up and Javascript enabled. Webmaster.
Opera Software products are not supported.
If any problem concerning the site functioning under Opera Software appears apply
to Opera Software technical support service.