Universal Fixes
  1 / 9    
I decided to make a post of this because now i made more than 1 working Universal Fixes, so we can talk about how works in some games and to encourage people to post they results and of course post the working fix in the blog!...sometimes is better to remove 1 or 2 shader than throw away a working fix.....[b]so please SHARE your results![/b] This Universal Fixes are made thanks to DarkStarSword, who add ShaderRegex to 3Dmigoto, for me the TOP1 feature. This feature have an incredible potencial and is very very consistent....i use this feature in every game i fixed since the feature was released. I mainly do this Universal Fixes because the time spending on fixing games is HUGE, so this save A LOT OF TIME. End results: More time to play and less time spending on fixing a game. And second i made this because there are a lot of games that are not fixed (not catch the attention of a Shaderhacker, or they are very niche....so sadly, not fix for them)....this add a new possibility if those games are using one of this engines :) I will updating this Universal Fixes to include more cases and more broken patterns. And also i will add more Universal Fixes for more engines, like LEGO Engine (i already have an Universal Fix but i still don't test properly). The effects that are "not fixed" are related to shaders that DON'T have a common pattern, so add a universal fix can cause others effects broke that originaly are working correctly....is too risky! and can make the game looks worst. In any case this should always be the starting point to fix a game using this engines. [b]*** UE4 UNIVERSAL FIXES ***[/b] [url="http://helixmod.blogspot.com/2018/04/ue4-universal-fix.html"]Go to Helixmod to Download UE4 Universal Fix[/url] [b]*** UNITY UNIVERSAL FIXES ***[/b] [url="http://helixmod.blogspot.com/2018/09/unity-universal-fix.html"]Go to Helixmod to Download Unity Universal Fix[/url] [b]*** FROSTBITE3 UNIVERSAL FIXES ***[/b] This Univeral Fix should fix any Frostbite3 game about 80 - 90%. If devs change or tweak the vanilla engine, the fix may not work properly in some effects. Read the README.txt for more info. [url="http://dstats.net/download/http://s3.amazonaws.com/dhr/Universal_Fixes/Universal.Fixes-3Dmigoto.1.3.11.x64-3DFix.Frostbite3.Engine.zip"]Download Frostbite3 Universal Fix[/url] [u]Fix on the Fly:[/u] - CS Lights cliping and one eye issue --> By DarkStarSword - Cube Map Reflections --> By DarkStarSword - Tile Light Structured Buffers --> By DarkStarSword - PS Shadows - PS Lights - PS Reflections - CS Lights - CS Reflections [b]Thanks to Helifax and Mike_ar69 for making the first fixes for Frostbite3 Engine that lead to create some of the ShaderRegex used in this universal tool.[/b] [u]Not Fixed:[/u] - HUD elements - Lensflares - Skybox/Sun/Moon - Planar Shadows (Used in FIFA 18 for example) Thanks to everyone involve in 3Dmigoto!!! This tool rocks!!!
I decided to make a post of this because now i made more than 1 working Universal Fixes, so we can talk about how works in some games and to encourage people to post they results and of course post the working fix in the blog!...sometimes is better to remove 1 or 2 shader than throw away a working fix.....so please SHARE your results!

This Universal Fixes are made thanks to DarkStarSword, who add ShaderRegex to 3Dmigoto, for me the TOP1 feature. This feature have an incredible potencial and is very very consistent....i use this feature in every game i fixed since the feature was released.

I mainly do this Universal Fixes because the time spending on fixing games is HUGE, so this save A LOT OF TIME. End results: More time to play and less time spending on fixing a game. And second i made this because there are a lot of games that are not fixed (not catch the attention of a Shaderhacker, or they are very niche....so sadly, not fix for them)....this add a new possibility if those games are using one of this engines :)

I will updating this Universal Fixes to include more cases and more broken patterns. And also i will add more Universal Fixes for more engines, like LEGO Engine (i already have an Universal Fix but i still don't test properly).

The effects that are "not fixed" are related to shaders that DON'T have a common pattern, so add a universal fix can cause others effects broke that originaly are working correctly....is too risky! and can make the game looks worst. In any case this should always be the starting point to fix a game using this engines.


*** UE4 UNIVERSAL FIXES ***
Go to Helixmod to Download UE4 Universal Fix


*** UNITY UNIVERSAL FIXES ***
Go to Helixmod to Download Unity Universal Fix


*** FROSTBITE3 UNIVERSAL FIXES ***
This Univeral Fix should fix any Frostbite3 game about 80 - 90%. If devs change or tweak the vanilla engine, the fix may not work properly in some effects. Read the README.txt for more info.

Download Frostbite3 Universal Fix

Fix on the Fly:
- CS Lights cliping and one eye issue --> By DarkStarSword
- Cube Map Reflections --> By DarkStarSword
- Tile Light Structured Buffers --> By DarkStarSword
- PS Shadows
- PS Lights
- PS Reflections
- CS Lights
- CS Reflections

Thanks to Helifax and Mike_ar69 for making the first fixes for Frostbite3 Engine that lead to create some of the ShaderRegex used in this universal tool.

Not Fixed:
- HUD elements
- Lensflares
- Skybox/Sun/Moon
- Planar Shadows (Used in FIFA 18 for example)


Thanks to everyone involve in 3Dmigoto!!!
This tool rocks!!!

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

#1
Posted 01/29/2018 09:51 PM   
Amazing work, thanks a lot DHR and DarkStarSword. Great news one after another, 3DV fix development and fixes are at their peak thanks to awesome guys who continuously make it greater.
Amazing work, thanks a lot DHR and DarkStarSword.

Great news one after another, 3DV fix development and fixes are at their peak thanks to awesome guys who continuously make it greater.

Asus Deluxe Gen3, Core i7 2700k@4.5Ghz, GTX 1080Ti, 16 GB RAM, Win 7 64bit
Samsung Pro 250 GB SSD, 4 TB WD Black (games)
Benq XL2720Z

#2
Posted 01/29/2018 10:30 PM   
Pleas ignore me!
Pleas ignore me!

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

#3
Posted 01/29/2018 10:36 PM   
Thanks DHR Helifax DSS and others for this!!! Helifax ALL we know your INCREDIBLE work in this community and with frostbite engine ... I think it's a mistake by DHR for the rush. Plase give him the benefit of the doubt. PD: DHR In Battlefonrt 2 the universal fix dont work :((
Thanks DHR Helifax DSS and others for this!!!

Helifax ALL we know your INCREDIBLE work in this community and with frostbite engine ... I think it's a mistake by DHR for the rush. Plase give him the benefit of the doubt.

PD: DHR In Battlefonrt 2 the universal fix dont work :((

i7 4970k@4.5Ghz, SLI GTX1080Ti Aorus Gigabyte Xtreme, 16GB G Skill 2400hrz, 3*PG258Q in 3D surround.

#4
Posted 01/29/2018 10:46 PM   
[quote="murdavs"]Thanks DHR Helifax DSS and others for this!!! Helifax ALL we know your INCREDIBLE work in this community and with frostbite engine ... I think it's a mistake by DHR for the rush. Plase give him the benefit of the doubt. PD: DHR In Battlefonrt 2 the universal fix dont work :(([/quote] Right... ofc! Maybe I should ask for my ME:A fix 1£ per hour testing/fixing and so on? (Like DHR?) Oh well that would be only 480£ target... -_- (OFC DHR can "swoop in" and make his fix in 5 minutes now! 'cause he has "the magic potion"! I really hate it when a so-called "community" can't cooperate! I expressly ASKED HIM NOT TO RELEASE THIS ONE before I got a preview and that HE CREDITS EVERYONE: [quote] Also, before you post the Frostbite3 Universal fix, can I have a look at it? :) [/quote] [url]https://forums.geforce.com/default/topic/939389/3d-vision/mirrors-edge-catalyst-3d-vision/post/5281178/#5281178[/url]) This post (and his missing reply) proved one thing!
murdavs said:Thanks DHR Helifax DSS and others for this!!!

Helifax ALL we know your INCREDIBLE work in this community and with frostbite engine ... I think it's a mistake by DHR for the rush. Plase give him the benefit of the doubt.

PD: DHR In Battlefonrt 2 the universal fix dont work :((


Right... ofc! Maybe I should ask for my ME:A fix 1£ per hour testing/fixing and so on? (Like DHR?) Oh well that would be only 480£ target... -_- (OFC DHR can "swoop in" and make his fix in 5 minutes now! 'cause he has "the magic potion"! I really hate it when a so-called "community" can't cooperate! I expressly ASKED HIM NOT TO RELEASE THIS ONE before I got a preview and that HE CREDITS EVERYONE:


Also, before you post the Frostbite3 Universal fix, can I have a look at it? :)

https://forums.geforce.com/default/topic/939389/3d-vision/mirrors-edge-catalyst-3d-vision/post/5281178/#5281178)

This post (and his missing reply) proved one thing!

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

#5
Posted 01/29/2018 10:57 PM   
[quote="Helifax"]Cool... Massive thanks for me "not" being in the credits! But, is to be expected! Let DHR take all the "glory" for other's work! (Remember who made the FIRST Frosbite3 FIX? (Mike_ar69 and me) on Dragon Age: Inquisition! Remember who told you who tested and told you what to do for the CubeMapTextures? Remember WHO "fixed to a degree the Tile Lights"? Remember who found out and experimented with DX Flags so DarkStarSword could FIND AND FIX the Compute Lights? Sure, none of that matters! BUT DUDE, GIVE CREDIT WHERE CREDIT IS DUE!) With all possible respect: FUCK THIS SHIT! (I'll be like FLUGAN now, because he is right! Maybe too much caring and sharing is wrong!) [/quote] Helifax, i don't know what is your problem man, i think you have some problems... i just add you and mike in the credits (i can't put colors in the post, damn forum....otherwise i will putting in red so everyone see it) This Universal Fixes are make using MY PERSONAL TIME, THAT WAS A LOT..there are a lot of testing to make this universal (i need to test different scenarios)...in UE4 i test more than 20+ games and in Frostbite3 i test like 5+ games and that take time... ShaderRegex is WAY MORE THAN using the PATTERNS, that already we all know...at the end all uses the canonical formula. This Universal Fixes are for Anyone!!! not just for me!! that's why i posted and share.
Helifax said:Cool... Massive thanks for me "not" being in the credits!

But, is to be expected! Let DHR take all the "glory" for other's work! (Remember who made the FIRST Frosbite3 FIX? (Mike_ar69 and me) on Dragon Age: Inquisition!
Remember who told you who tested and told you what to do for the CubeMapTextures?
Remember WHO "fixed to a degree the Tile Lights"?
Remember who found out and experimented with DX Flags so DarkStarSword could FIND AND FIX the Compute Lights? Sure, none of that matters! BUT DUDE, GIVE CREDIT WHERE CREDIT IS DUE!)

With all possible respect: FUCK THIS SHIT! (I'll be like FLUGAN now, because he is right! Maybe too much caring and sharing is wrong!)

Helifax, i don't know what is your problem man, i think you have some problems... i just add you and mike in the credits (i can't put colors in the post, damn forum....otherwise i will putting in red so everyone see it)

This Universal Fixes are make using MY PERSONAL TIME, THAT WAS A LOT..there are a lot of testing to make this universal (i need to test different scenarios)...in UE4 i test more than 20+ games and in Frostbite3 i test like 5+ games and that take time... ShaderRegex is WAY MORE THAN using the PATTERNS, that already we all know...at the end all uses the canonical formula.

This Universal Fixes are for Anyone!!! not just for me!! that's why i posted and share.

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

#6
Posted 01/29/2018 10:59 PM   
Please Ignore me!
Please Ignore me!

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

#7
Posted 01/29/2018 11:03 PM   
[quote]Also, before you post the Frostbite3 Universal fix, can I have a look at it? :)[/quote] I reply this: [quote]About the Universal Fix i'm still testing (i want to test in a couple of games more)...so i prefer to share something i have test a little more. I will probably release tomorrow or tuesday.[/quote] i was testing the Universal Fix, not the pattern....testing the Regex and the override part of the Regex and that how i found a bug in 3DMigoto. This Regex take more than 3 days... And why i have to wait to release so you have to look first? you are my boss? I told you that i will be released in 1 or 2 days. Now is released and [b]YOU ARE IN THE CREDITS[/b]. Talking about RIP OFF....in your Mass Effect Andromeda fix 1.19 and 1.21 you put my ShaderRegex in the ini that i post in the first version of the Universal Fix....and you don't put my name in the credits!! I ask you to put my name in the fix? NO...personally i don't give a damn if my name is show or not. if i share something here is to everyone use it...that´s the main idea of a Community.
Also, before you post the Frostbite3 Universal fix, can I have a look at it? :)


I reply this:
About the Universal Fix i'm still testing (i want to test in a couple of games more)...so i prefer to share something i have test a little more. I will probably release tomorrow or tuesday.

i was testing the Universal Fix, not the pattern....testing the Regex and the override part of the Regex and that how i found a bug in 3DMigoto. This Regex take more than 3 days...

And why i have to wait to release so you have to look first? you are my boss?

I told you that i will be released in 1 or 2 days. Now is released and YOU ARE IN THE CREDITS.


Talking about RIP OFF....in your Mass Effect Andromeda fix 1.19 and 1.21 you put my ShaderRegex in the ini that i post in the first version of the Universal Fix....and you don't put my name in the credits!!
I ask you to put my name in the fix? NO...personally i don't give a damn if my name is show or not. if i share something here is to everyone use it...that´s the main idea of a Community.

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

#8
Posted 01/29/2018 11:25 PM   
Nevermind... (the awesome part of the internet where you can edit your posts).
Nevermind... (the awesome part of the internet where you can edit your posts).

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

#9
Posted 01/29/2018 11:29 PM   
[quote="murdavs"]PD: DHR In Battlefonrt 2 the universal fix dont work :(([/quote] You have a crash??
murdavs said:PD: DHR In Battlefonrt 2 the universal fix dont work :((

You have a crash??

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

#10
Posted 01/29/2018 11:31 PM   
@Helifax In your last update, this is what i copy-paste of the ini....this is the only REGEX the ini have. And that is my Regex. I also use Regex for a long time....since i start fixing. Doing it batch. [code];****************************************************************************************************************************************** ;FROSTBITE3: SHADOWS, LIGHTS AND REFLECTIONS 1 ;ShaderRegex made by DHR [ShaderRegexObjectsShadowsLightsReflections1] shader_model = ps_4_0 ps_5_0 cs_4_0 cs_5_0 temps = stereo tmp1 tmp2 [ShaderRegexObjectsShadowsLightsReflections1.Pattern] dp4 (?P<pos3>r\d+)\.x, (?P<pos1>r\d+)\.xyzw, cb0\[[012]\]\.xyzw\n \s*dp4 (?P=pos3)\.y, (?P=pos1)\.xyzw, cb0\[[123]\]\.xyzw\n \s*dp4 (?P=pos3)\.z, (?P=pos1)\.xyzw, cb0\[[234]\]\.xyzw\n \s*dp4 (?P<pos2>r\d+)\.(?P<swizzle>[xyzw]), (?P=pos1)\.xyzw, cb0\[(?P<number>[345])\]\.xyzw\n \s*div (?P=pos2)\.(?P=swizzle), l\(1\.000000, 1\.000000, 1\.000000, 1\.000000\), (?P=pos2)\.(?P=swizzle)\n [ShaderRegexObjectsShadowsLightsReflections1.Pattern.Replace] \n ; Frostbite3 Pattern Fix for Shadows, Lights and Reflections 1:\n ld_indexable(texture2d)(float,float,float,float) ${stereo}.xyzw, l(0, 0, 0, 0), t125.xyzw\n dp4 ${tmp2}.${swizzle}, ${pos1}.xyzw, cb0[${number}].xyzw\n mul ${tmp1}.x ${stereo}.y, ${tmp2}.${swizzle}\n add ${tmp1}.x, ${tmp1}.x, l(-1.0)\n mul ${tmp1}.x, ${stereo}.x, ${tmp1}.x\n add ${pos1}.x, ${pos1}.x, ${tmp1}.x\n \n ${0} [ShaderRegexObjectsShadowsLightsReflections1.InsertDeclarations] dcl_resource_texture2d (float,float,float,float) t125[/code]
@Helifax

In your last update, this is what i copy-paste of the ini....this is the only REGEX the ini have.
And that is my Regex.

I also use Regex for a long time....since i start fixing. Doing it batch.

;******************************************************************************************************************************************
;FROSTBITE3: SHADOWS, LIGHTS AND REFLECTIONS 1
;ShaderRegex made by DHR
[ShaderRegexObjectsShadowsLightsReflections1]
shader_model = ps_4_0 ps_5_0 cs_4_0 cs_5_0
temps = stereo tmp1 tmp2

[ShaderRegexObjectsShadowsLightsReflections1.Pattern]
dp4 (?P<pos3>r\d+)\.x, (?P<pos1>r\d+)\.xyzw, cb0\[[012]\]\.xyzw\n
\s*dp4 (?P=pos3)\.y, (?P=pos1)\.xyzw, cb0\[[123]\]\.xyzw\n
\s*dp4 (?P=pos3)\.z, (?P=pos1)\.xyzw, cb0\[[234]\]\.xyzw\n
\s*dp4 (?P<pos2>r\d+)\.(?P<swizzle>[xyzw]), (?P=pos1)\.xyzw, cb0\[(?P<number>[345])\]\.xyzw\n
\s*div (?P=pos2)\.(?P=swizzle), l\(1\.000000, 1\.000000, 1\.000000, 1\.000000\), (?P=pos2)\.(?P=swizzle)\n

[ShaderRegexObjectsShadowsLightsReflections1.Pattern.Replace]
\n
; Frostbite3 Pattern Fix for Shadows, Lights and Reflections 1:\n
ld_indexable(texture2d)(float,float,float,float) ${stereo}.xyzw, l(0, 0, 0, 0), t125.xyzw\n
dp4 ${tmp2}.${swizzle}, ${pos1}.xyzw, cb0[${number}].xyzw\n
mul ${tmp1}.x ${stereo}.y, ${tmp2}.${swizzle}\n
add ${tmp1}.x, ${tmp1}.x, l(-1.0)\n
mul ${tmp1}.x, ${stereo}.x, ${tmp1}.x\n
add ${pos1}.x, ${pos1}.x, ${tmp1}.x\n
\n
${0}

[ShaderRegexObjectsShadowsLightsReflections1.InsertDeclarations]
dcl_resource_texture2d (float,float,float,float) t125

MY WEB

Helix Mod - Making 3D Better

My 3D Screenshot Gallery

Like my fixes? you can donate to Paypal: dhr.donation@gmail.com

#11
Posted 01/29/2018 11:33 PM   
Please, no fights here. I know everyone is capable of posting their ideas and corrections without shouting or insulting each other. About regexes, I haven't done anything yet other than the PCSX2 ones. Which are only for PCSX2 (and may be affected by graphics plugin updates that may alter the shader code).
Please, no fights here. I know everyone is capable of posting their ideas and corrections without shouting or insulting each other.

About regexes, I haven't done anything yet other than the PCSX2 ones. Which are only for PCSX2 (and may be affected by graphics plugin updates that may alter the shader code).

CPU: Intel Core i7 7700K @ 4.9GHz
Motherboard: Gigabyte Aorus GA-Z270X-Gaming 5
RAM: GSKILL Ripjaws Z 16GB 3866MHz CL18
GPU: MSI GeForce RTX 2080Ti Gaming X Trio
Monitor: Asus PG278QR
Speakers: Logitech Z506
Donations account: masterotakusuko@gmail.com

#12
Posted 01/29/2018 11:39 PM   
[quote="DHR"]@Helifax In your last update, this is what i copy-paste of the ini....this is the only REGEX the ini have. And that is my Regex. I also use Regex for a long time....since i start fixing. Doing it batch. [code];****************************************************************************************************************************************** ;FROSTBITE3: SHADOWS, LIGHTS AND REFLECTIONS 1 ;ShaderRegex made by DHR [ShaderRegexObjectsShadowsLightsReflections1] shader_model = ps_4_0 ps_5_0 cs_4_0 cs_5_0 temps = stereo tmp1 tmp2 [ShaderRegexObjectsShadowsLightsReflections1.Pattern] dp4 (?P<pos3>r\d+)\.x, (?P<pos1>r\d+)\.xyzw, cb0\[[012]\]\.xyzw\n \s*dp4 (?P=pos3)\.y, (?P=pos1)\.xyzw, cb0\[[123]\]\.xyzw\n \s*dp4 (?P=pos3)\.z, (?P=pos1)\.xyzw, cb0\[[234]\]\.xyzw\n \s*dp4 (?P<pos2>r\d+)\.(?P<swizzle>[xyzw]), (?P=pos1)\.xyzw, cb0\[(?P<number>[345])\]\.xyzw\n \s*div (?P=pos2)\.(?P=swizzle), l\(1\.000000, 1\.000000, 1\.000000, 1\.000000\), (?P=pos2)\.(?P=swizzle)\n [ShaderRegexObjectsShadowsLightsReflections1.Pattern.Replace] \n ; Frostbite3 Pattern Fix for Shadows, Lights and Reflections 1:\n ld_indexable(texture2d)(float,float,float,float) ${stereo}.xyzw, l(0, 0, 0, 0), t125.xyzw\n dp4 ${tmp2}.${swizzle}, ${pos1}.xyzw, cb0[${number}].xyzw\n mul ${tmp1}.x ${stereo}.y, ${tmp2}.${swizzle}\n add ${tmp1}.x, ${tmp1}.x, l(-1.0)\n mul ${tmp1}.x, ${stereo}.x, ${tmp1}.x\n add ${pos1}.x, ${pos1}.x, ${tmp1}.x\n \n ${0} [ShaderRegexObjectsShadowsLightsReflections1.InsertDeclarations] dcl_resource_texture2d (float,float,float,float) t125[/code] [/quote] Yes, you are right on that one! I must have taken your Regex at some point! (Sorry, if I didn't realise or said otherwise! But, I can clearly see that is yours:) And I will update the fix description with this!)
DHR said:@Helifax

In your last update, this is what i copy-paste of the ini....this is the only REGEX the ini have.
And that is my Regex.

I also use Regex for a long time....since i start fixing. Doing it batch.

;******************************************************************************************************************************************
;FROSTBITE3: SHADOWS, LIGHTS AND REFLECTIONS 1
;ShaderRegex made by DHR
[ShaderRegexObjectsShadowsLightsReflections1]
shader_model = ps_4_0 ps_5_0 cs_4_0 cs_5_0
temps = stereo tmp1 tmp2

[ShaderRegexObjectsShadowsLightsReflections1.Pattern]
dp4 (?P<pos3>r\d+)\.x, (?P<pos1>r\d+)\.xyzw, cb0\[[012]\]\.xyzw\n
\s*dp4 (?P=pos3)\.y, (?P=pos1)\.xyzw, cb0\[[123]\]\.xyzw\n
\s*dp4 (?P=pos3)\.z, (?P=pos1)\.xyzw, cb0\[[234]\]\.xyzw\n
\s*dp4 (?P<pos2>r\d+)\.(?P<swizzle>[xyzw]), (?P=pos1)\.xyzw, cb0\[(?P<number>[345])\]\.xyzw\n
\s*div (?P=pos2)\.(?P=swizzle), l\(1\.000000, 1\.000000, 1\.000000, 1\.000000\), (?P=pos2)\.(?P=swizzle)\n

[ShaderRegexObjectsShadowsLightsReflections1.Pattern.Replace]
\n
; Frostbite3 Pattern Fix for Shadows, Lights and Reflections 1:\n
ld_indexable(texture2d)(float,float,float,float) ${stereo}.xyzw, l(0, 0, 0, 0), t125.xyzw\n
dp4 ${tmp2}.${swizzle}, ${pos1}.xyzw, cb0[${number}].xyzw\n
mul ${tmp1}.x ${stereo}.y, ${tmp2}.${swizzle}\n
add ${tmp1}.x, ${tmp1}.x, l(-1.0)\n
mul ${tmp1}.x, ${stereo}.x, ${tmp1}.x\n
add ${pos1}.x, ${pos1}.x, ${tmp1}.x\n
\n
${0}

[ShaderRegexObjectsShadowsLightsReflections1.InsertDeclarations]
dcl_resource_texture2d (float,float,float,float) t125



Yes, you are right on that one! I must have taken your Regex at some point! (Sorry, if I didn't realise or said otherwise! But, I can clearly see that is yours:) And I will update the fix description with this!)

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

#13
Posted 01/29/2018 11:40 PM   
[quote="masterotaku"]Please, no fights here. I know everyone is capable of posting their ideas and corrections without shouting or insulting each other.[/quote] You are right:) Is always easier to insult one another then wait a bit to "clear-off". In the end, I don't really care about it, I was just a bit disappointing that neither me, Mike_ar69 or Kaimasta was mentioned in the "creation" of this Universal fix. (We all had our parts, some smaller than others, but it was a joint effort).
masterotaku said:Please, no fights here. I know everyone is capable of posting their ideas and corrections without shouting or insulting each other.


You are right:) Is always easier to insult one another then wait a bit to "clear-off".
In the end, I don't really care about it, I was just a bit disappointing that neither me, Mike_ar69 or Kaimasta was mentioned in the "creation" of this Universal fix. (We all had our parts, some smaller than others, but it was a joint effort).

1x Palit RTX 2080Ti Pro Gaming OC(watercooled and overclocked to hell)
3x 3D Vision Ready Asus VG278HE monitors (5760x1080).
Intel i9 9900K (overclocked to 5.3 and watercooled ofc).
Asus Maximus XI Hero Mobo.
16 GB Team Group T-Force Dark Pro DDR4 @ 3600.
Lots of Disks:
- Raid 0 - 256GB Sandisk Extreme SSD.
- Raid 0 - WD Black - 2TB.
- SanDisk SSD PLUS 480 GB.
- Intel 760p 256GB M.2 PCIe NVMe SSD.
Creative Sound Blaster Z.
Windows 10 x64 Pro.
etc


My website with my fixes and OpenGL to 3D Vision wrapper:
http://3dsurroundgaming.com

(If you like some of the stuff that I've done and want to donate something, you can do it with PayPal at tavyhome@gmail.com)

#14
Posted 01/29/2018 11:45 PM   
[quote="DHR"][quote="murdavs"]PD: DHR In Battlefonrt 2 the universal fix dont work :(([/quote] You have a crash??[/quote] Yes seems the same problem the game dont launch...CTD... Fu.. game xD
DHR said:
murdavs said:PD: DHR In Battlefonrt 2 the universal fix dont work :((

You have a crash??


Yes seems the same problem the game dont launch...CTD... Fu.. game xD

i7 4970k@4.5Ghz, SLI GTX1080Ti Aorus Gigabyte Xtreme, 16GB G Skill 2400hrz, 3*PG258Q in 3D surround.

#15
Posted 01/29/2018 11:55 PM   
  1 / 9    
Scroll To Top