andrei-cebikin / xray-extensions

Automatically exported from code.google.com/p/xray-extensions
0 stars 0 forks source link

[Eng] Cannot change grass radius for render_r2 patch #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Change any of the constants in detail_radius_fix.asm
2. Run the batch files (make_src_dll.cmd, patch_diff.cmd, patch.cmd; in that 
order)
3. Copy the patched xrRender_R2.dll over

What is the expected output? What do you see instead?
I expect to see the game running without a hitch - instead, the game simply 
crashes when I try to load a level.

What version of the product are you using? On what operating system?
Latest xray extensions from SVN, Windows 7 64-bit, Shadow of Chernobyl build 
3312, US patch.

Please provide any additional information below.
I have tried several different det_size values (and yes, I know they are in 
hexadecimal) ranging from 53 to 201, following the comments for the other 
constants carefully, and it seems even changing any of them seems to break the 
patch.

Also, I must apologize for not posting in Russian or anything - I do not know 
the language, but I've been following the Возможности движка 
thread on gameru.net for a long time now. Saw the restoration of grass shadows 
and I just had to try it.

Original issue reported on code.google.com by jma...@gmail.com on 3 Jul 2012 at 12:40

GoogleCodeExporter commented 8 years ago
You can't change it that way. Any constants in detail_radius_fix.asm are not 
for edit. There is another way to change detail radius in stalker now: 
1) Download this perl patch and use it 
http://narod.ru/disk/54796842001.c394207cc0ddfac3c1d34a0858a32d64/xrpatch.v.0.8.
rar.html. It's for all renders. But you can't get any render fixes but detail 
radius fix.
2) If you want to get also sun details shadow fix, compile mydll.dll without 
changing source code, then apply diff to your xrRender_R2.dll and then patch 
it. After that, create diff from this dll and default. Then rename diff to 
soc_p6_r2.diff, put it in diff folder of xrPatch and use it as usual.

In future versions it will not require xrPatch, so stay tuned :)

Original comment by Kdemen...@gmail.com on 3 Jul 2012 at 9:53