Pathfinder : Kingmaker
  1 / 4    
This was just released today, and by enthusiasts of the party based RTWP rpg genre is being considered as a more meaty DND style offering than the recent releases of Pillars of eternity and dead-fire. Maybe finally a spiritual successor to the beloved Baldurs gate games. To make things better, the game renders in 3dvision from what I can gather almost perfectly. The game is using the Unity engine I think, and so far the only issue seems to be with HBAO. Which you can disable. I will try to fix the mouse and UI, if no one else is interested. [url]https://store.steampowered.com/app/640820/Pathfinder_Kingmaker/[/url]
This was just released today, and by enthusiasts of the party based RTWP rpg genre is being considered as a more meaty DND style offering than the recent releases of Pillars of eternity and dead-fire. Maybe finally a spiritual successor to the beloved Baldurs gate games.

To make things better, the game renders in 3dvision from what I can gather almost perfectly.
The game is using the Unity engine I think, and so far the only issue seems to be with HBAO. Which you can disable.

I will try to fix the mouse and UI, if no one else is interested.

https://store.steampowered.com/app/640820/Pathfinder_Kingmaker/

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#1
Posted 09/27/2018 04:12 AM   
[quote="Necropants"]This was just released today, and by enthusiasts of the party based RTWP rpg genre is being considered as a more meaty DND style offering than the recent releases of Pillars of eternity and dead-fire. Maybe finally a spiritual successor to the beloved Baldurs gate games. To make things better, the game renders in 3dvision from what I can gather almost perfectly. The game is using the Unity engine I think, and so far the only issue seems to be with HBAO. Which you can disable. I will try to fix the mouse and UI, if no one else is interested. [url]https://store.steampowered.com/app/640820/Pathfinder_Kingmaker/[/url] [/quote] good news We are waiting for a fix for the mouse
Necropants said:This was just released today, and by enthusiasts of the party based RTWP rpg genre is being considered as a more meaty DND style offering than the recent releases of Pillars of eternity and dead-fire. Maybe finally a spiritual successor to the beloved Baldurs gate games.

To make things better, the game renders in 3dvision from what I can gather almost perfectly.
The game is using the Unity engine I think, and so far the only issue seems to be with HBAO. Which you can disable.

I will try to fix the mouse and UI, if no one else is interested.

https://store.steampowered.com/app/640820/Pathfinder_Kingmaker/



good news
We are waiting for a fix for the mouse

#2
Posted 09/27/2018 07:48 AM   
There's more problems than I initially thought Some reason problems don't manifest in the first in game area but occur when you leave. Also the hud's doing some funny things and I haven't been able to find a graceful solution as yet. Unfortunately this might be one for the Unity games wishlist thread.
There's more problems than I initially thought

Some reason problems don't manifest in the first in game area but occur when you leave. Also the hud's doing some funny things and I haven't been able to find a graceful solution as yet. Unfortunately this might be one for the Unity games wishlist thread.

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#3
Posted 09/27/2018 08:40 AM   
Let LOSTI see what he can do here :-)
Let LOSTI see what he can do here :-)

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#4
Posted 09/28/2018 03:47 PM   
OK, here is the current state i am with this fix. [b]Tested with all Settings @ max, not tested lower settings !![/b] I used the new UNIVERSAL fix for unity Engine by DHR and correct the not matching shaders covered wrong by regex and manually fixed a hands of haloes not covered by regex.... i have only seen the first sceen, hence i need you again to test it and send me save games from broken effects. Ill check the regex ability for the new effects i manually fixed later... I cared about the mouse, and the UI mainly. it should be nice now. Only menues need some toggle key...read down below! Actually no big customization of DEPTH/CONVERGENCE avialable. I will care about this later. [b][u]TO GET IT WORKING:[/u][/b] - start the game with Kingmaker_3DV.cmd - press F7 in the game to enable 3D (if you ALT+TAB or switch to windows .... you have to press F7 in the game again to reenable 3D - no profile switches!!! - in the game the UI is broken hard, use the "." key to move it to 2D and navigate - in the game use "." again to get depth back ==> use "." in any UI situation that is broken hard, like the inventory/questbook etc.....i will care about this later !!! "." is a toggle key, switches from normal depth to now depth.... - you can customize the convergence but the mouse will be broken.... i need to set up several presets for it....its hard but possible but you have to go with the current settings so far until i have managed it. [url]https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V2.0.rar[/url]
OK, here is the current state i am with this fix.

Tested with all Settings @ max, not tested lower settings !!

I used the new UNIVERSAL fix for unity Engine by DHR and correct the not matching shaders covered wrong by regex and manually fixed a hands of haloes not covered by regex.... i have only seen the first sceen, hence i need you again to test it and send me save games from broken effects. Ill check the regex ability for the new effects i manually fixed later...

I cared about the mouse, and the UI mainly. it should be nice now. Only menues need some toggle key...read down below!

Actually no big customization of DEPTH/CONVERGENCE avialable. I will care about this later.

TO GET IT WORKING:
- start the game with Kingmaker_3DV.cmd
- press F7 in the game to enable 3D (if you ALT+TAB or switch to windows .... you have to press F7 in the game again to reenable 3D
- no profile switches!!!
- in the game the UI is broken hard, use the "." key to move it to 2D and navigate
- in the game use "." again to get depth back
==> use "." in any UI situation that is broken hard, like the inventory/questbook etc.....i will care about this later !!! "." is a toggle key, switches from normal depth to now depth....
- you can customize the convergence but the mouse will be broken.... i need to set up several presets for it....its hard but possible but you have to go with the current settings so far until i have managed it.

https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V2.0.rar

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#5
Posted 09/29/2018 02:36 PM   
Wow, thanks alot. I tired this out quickly and it's actually worse I am only at the beginning of the game you need to go to your room before the problems start, (it's no more than a couple of minutes in after the dialogue in the first room. It's weird because I don't need to do anything to get 3d to kick in on this game, it works and the first scene is completely fine apart from the UI with HBAO low. Your CMD did not start the game for me either. Once the game add's fog of war I think is where the problems begin. With your fix as soon as the game starts proper it looks the same without the fix apart from the player character now has broken shaders.
Wow, thanks alot.

I tired this out quickly and it's actually worse I am only at the beginning of the game you need to go to your room before the problems start, (it's no more than a couple of minutes in after the dialogue in the first room.

It's weird because I don't need to do anything to get 3d to kick in on this game, it works and the first scene is completely fine apart from the UI with HBAO low.

Your CMD did not start the game for me either.

Once the game add's fog of war I think is where the problems begin.
With your fix as soon as the game starts proper it looks the same without the fix apart from the player character now has broken shaders.

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#6
Posted 09/29/2018 05:09 PM   
[quote="Necropants"]Wow, thanks alot. I tired this out quickly and it's actually worse I am only at the beginning of the game you need to go to your room before the problems start, (it's no more than a couple of minutes in after the dialogue in the first room. It's weird because I don't need to do anything to get 3d to kick in on this game, it works and the first scene is completely fine apart from the UI with HBAO low. Your CMD did not start the game for me either. Once the game add's fog of war I think is where the problems begin. With your fix as soon as the game starts proper it looks the same without the fix apart from the player character now has broken shaders.[/quote] hm... there should be something completely different with your version.... the cmd will start the Kingmaker.exe ..... if this is not working.... you did something wrong because this is banal. it calls the Kingmaker.exe ....do you have copyed the fix to the wrong directory?? Is the depth changing if you are in game and use the "." key??? //EDITH: PS: I missed some AO shadows, this will be cured.....i will see if i can make a regex that will catch it without destroy other things ^^ PS2: i can see the problems out of the first sceene i will check this tomorrow but the first scene should be ok except 1 AO shadow. HUD, mouse should be fine and the rest
Necropants said:Wow, thanks alot.

I tired this out quickly and it's actually worse I am only at the beginning of the game you need to go to your room before the problems start, (it's no more than a couple of minutes in after the dialogue in the first room.

It's weird because I don't need to do anything to get 3d to kick in on this game, it works and the first scene is completely fine apart from the UI with HBAO low.

Your CMD did not start the game for me either.

Once the game add's fog of war I think is where the problems begin.
With your fix as soon as the game starts proper it looks the same without the fix apart from the player character now has broken shaders.


hm... there should be something completely different with your version....

the cmd will start the Kingmaker.exe ..... if this is not working.... you did something wrong because this is banal. it calls the Kingmaker.exe ....do you have copyed the fix to the wrong directory??

Is the depth changing if you are in game and use the "." key???

//EDITH: PS: I missed some AO shadows, this will be cured.....i will see if i can make a regex that will catch it without destroy other things ^^

PS2: i can see the problems out of the first sceene i will check this tomorrow but the first scene should be ok except 1 AO shadow. HUD, mouse should be fine and the rest
Attachments

Kingmaker001_050.jps

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#7
Posted 09/29/2018 05:53 PM   
Please find the new WIP here: [url]https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V2.0.rar[/url] You have to go with some broken player-shadow for the first time....i have had a choice ... AO or person shadow in some cases....i have to see how often it will appear....may be i will implement a toggle key so the decission is up to you ^^ There is some broken light/shadow of unexplored areas....may i will use a toggle key too for hhis... i cant fix it so far.... If you have problems starting the game, give it some time...and play with ALT+TAB until it works....You have to wait approx. 1-2 mins @ startup....than alt+tab, and get into the game, if it will not work...redo...F7 will toggle 3D...if this is not working....ALT+TAB and get back to the game and press F7 again...
Please find the new WIP here:

https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V2.0.rar

You have to go with some broken player-shadow for the first time....i have had a choice ... AO or person shadow in some cases....i have to see how often it will appear....may be i will implement a toggle key so the decission is up to you ^^

There is some broken light/shadow of unexplored areas....may i will use a toggle key too for hhis... i cant fix it so far....

If you have problems starting the game, give it some time...and play with ALT+TAB until it works....You have to wait approx. 1-2 mins @ startup....than alt+tab, and get into the game, if it will not work...redo...F7 will toggle 3D...if this is not working....ALT+TAB and get back to the game and press F7 again...

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#8
Posted 09/30/2018 12:34 AM   
I don't need to use any tricks to get the game to start in 3d it works for me. I definitely have the fix in the right directory, it is working. It tries to call the .exe but doesn't fire the game and looking at your cmd file all it is doing is putting game into exclusive full screen but mines already doing this anyway. /shrug. will try your new wip
I don't need to use any tricks to get the game to start in 3d it works for me. I definitely have the fix in the right directory, it is working.

It tries to call the .exe but doesn't fire the game and looking at your cmd file all it is doing is putting game into exclusive full screen but mines already doing this anyway. /shrug.

will try your new wip

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#9
Posted 09/30/2018 02:19 AM   
I could fix the person shadows and leave the AO enabled...hopefully the texture hashes are not PC individuall....we will see...Also implement some more automatic UI depths, [s]I am working on, will update today.[/s] Just a quick update as the state of the art for today...no time anymore until tomorrow...and i get stuck with the damn shadow posted below.....(currentyl dissabled): [url]https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V3.0.rar[/url] //AutDepth reset via WASD .... (dont implemented XB yet...is the game supporting controller ^^?? not tryed it ^^) ..... Capital letters @ main screen currently dissapeared...will care about it tomorrow.... @Necropants: Is the fix working in general??? (except some remaining issues in the WIP2)?? //EDITH: I have an issue left that bothers me and that effect is disabled in the WIP 2 .... This shader i cannot fix atm. DHR, any idea?? If i apply the standard stereo formula for the output register, it will disable the shadow. any other atteps failed.... no idea atm: [code] // ---- Created with 3Dmigoto v1.3.11 on Sun Sep 30 16:25:07 2018 cbuffer cb0 : register(b0) { float4 cb0[11]; } // 3Dmigoto declarations #define cmp - Texture1D<float4> IniParams : register(t120); Texture2D<float4> StereoParams : register(t125); void main( float4 v0 : POSITION0, float3 v1 : NORMAL0, out float4 o0 : SV_POSITION0, out float4 o1 : TEXCOORD0, out float2 o2 : TEXCOORD1) { const float4 icb[] = { { 0, 0, 0, 1.000000}, { 1.000000, 0, 0, 1.000000}, { 0, 1.000000, 0, 1.000000}, { 1.000000, 1.000000, 0, 1.000000} }; float4 r0,r1,r2,r3,r4,r5; uint4 bitmask, uiDest; float4 fDest; float4 stereo = StereoParams.Load(0); float4 ini = IniParams.Load(0); r0.xy = float2(-1,1) * cb0[10].xx; r0.zw = -cb0[10].zy + v1.yx; r1.x = dot(r0.zw, r0.zw); r1.x = rsqrt(r1.x); r1.xy = r1.xx * r0.wz; r1.zw = r0.yx * r1.yx + cb0[10].yz; r0.xy = r1.xy * r0.xy; r1.zw = r1.xy * v1.zz + r1.zw; r1.xy = r1.xy * v1.zz + v1.xy; r2.xy = float2(1,-1) * cb0[10].xx; r2.zw = -cb0[10].zy + v0.yx; r3.x = dot(r2.zw, r2.zw); r3.x = rsqrt(r3.x); r3.xy = r3.xx * r2.wz; r3.zw = r2.yx * r3.yx + cb0[10].yz; r2.xy = r3.xy * r2.xy; r3.zw = r3.xy * v1.zz + r3.zw; r3.xy = r3.xy * v1.zz + v0.xy; r1.zw = -r3.zw + r1.zw; r4.x = (uint)v0.z; r1.zw = icb[r4.x+0].xx * r1.zw + r3.zw; r3.zw = -r3.yx + r1.yx; r4.yz = icb[r4.x+0].xx * r3.wz + r3.xy; r3.zw = float2(1,-1) * r3.zw; r1.zw = -r1.zw * icb[r4.x+0].yy + r4.yz; r4.x = -icb[r4.x+0].y + 1; r5.xyzw = cb0[4].xyzw * r1.wwww; //kills shader //r5.x += stereo.x*(r5.w-stereo.y); r5.xyzw = cb0[2].xyzw * r1.zzzz + r5.xyzw; o0.xyzw = cb0[5].xyzw * r4.xxxx + r5.xyzw; //disables shader //o0.x += stereo.x*(o0.w-stereo.y); //o0.x -= stereo.x*(o0.w-stereo.y); //o0.x -= stereo.x*(o0.w+stereo.y); //o0.x += stereo.x*(o0.w+stereo.y); r4.w = r2.x * r2.w; r4.w = r2.y * r2.z + -r4.w; r5.xyzw = float4(1,-1,-1,1) * r2.zwxy; r2.xyzw = r5.xyzw / r4.wwww; r3.xy = -r3.xy * r4.xx + r1.zw; o1.x = dot(r2.xy, r3.xy); o1.y = dot(r2.zw, r3.xy); r2.x = r0.x * r0.w; r2.x = r0.y * r0.z + -r2.x; r5.xyzw = float4(1,-1,-1,1) * r0.zwxy; r0.xyzw = r5.xyzw / r2.xxxx; //ned to doo correcion before the output shader o0 //r0.x += stereo.x*(r0.w-stereo.y); //r5.x += stereo.x*(r2.x-stereo.y); r1.xy = -r1.xy * r4.xx + r1.zw; r1.zw = -r4.xx * r4.yz + r1.zw; o2.xy = dot(r3.zw, r1.zw); o1.z = dot(r0.xy, r1.xy); o1.w = dot(r0.zw, r1.xy); //ned to doo correcion before the output shader o0 //o0.x += stereo.x*(o0.w-stereo.y); return; } /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ // // Generated by Microsoft (R) D3D Shader Disassembler // // using 3Dmigoto v1.3.11 on Sun Sep 30 16:25:07 2018 // // // Input signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // POSITION 0 xyzw 0 NONE float xyz // NORMAL 0 xyz 1 NONE float xyz // // // Output signature: // // Name Index Mask Register SysValue Format Used // -------------------- ----- ------ -------- -------- ------- ------ // SV_POSITION 0 xyzw 0 POS float xyzw // TEXCOORD 0 xyzw 1 NONE float xyzw // TEXCOORD 1 xy 2 NONE float xy // vs_4_0 dcl_immediateConstantBuffer { { 0, 0, 0, 1.000000}, { 1.000000, 0, 0, 1.000000}, { 0, 1.000000, 0, 1.000000}, { 1.000000, 1.000000, 0, 1.000000} } dcl_constantbuffer cb0[11], immediateIndexed dcl_input v0.xyz dcl_input v1.xyz dcl_output_siv o0.xyzw, position dcl_output o1.xyzw dcl_output o2.xy dcl_temps 6 mul r0.xy, cb0[10].xxxx, l(-1.000000, 1.000000, 0.000000, 0.000000) add r0.zw, v1.yyyx, -cb0[10].zzzy dp2 r1.x, r0.zwzz, r0.zwzz rsq r1.x, r1.x mul r1.xy, r0.wzww, r1.xxxx mad r1.zw, r0.yyyx, r1.yyyx, cb0[10].yyyz mul r0.xy, r0.xyxx, r1.xyxx mad r1.zw, r1.xxxy, v1.zzzz, r1.zzzw mad r1.xy, r1.xyxx, v1.zzzz, v1.xyxx mul r2.xy, cb0[10].xxxx, l(1.000000, -1.000000, 0.000000, 0.000000) add r2.zw, v0.yyyx, -cb0[10].zzzy dp2 r3.x, r2.zwzz, r2.zwzz rsq r3.x, r3.x mul r3.xy, r2.wzww, r3.xxxx mad r3.zw, r2.yyyx, r3.yyyx, cb0[10].yyyz mul r2.xy, r2.xyxx, r3.xyxx mad r3.zw, r3.xxxy, v1.zzzz, r3.zzzw mad r3.xy, r3.xyxx, v1.zzzz, v0.xyxx add r1.zw, r1.zzzw, -r3.zzzw ftou r4.x, v0.z mad r1.zw, icb[r4.x + 0].xxxx, r1.zzzw, r3.zzzw add r3.zw, r1.yyyx, -r3.yyyx mad r4.yz, icb[r4.x + 0].xxxx, r3.wwzw, r3.xxyx mul r3.zw, r3.zzzw, l(0.000000, 0.000000, 1.000000, -1.000000) mad r1.zw, -r1.zzzw, icb[r4.x + 0].yyyy, r4.yyyz add r4.x, l(1.000000), -icb[r4.x + 0].y mul r5.xyzw, r1.wwww, cb0[4].xyzw mad r5.xyzw, cb0[2].xyzw, r1.zzzz, r5.xyzw mad o0.xyzw, cb0[5].xyzw, r4.xxxx, r5.xyzw mul r4.w, r2.w, r2.x mad r4.w, r2.y, r2.z, -r4.w mul r5.xyzw, r2.zwxy, l(1.000000, -1.000000, -1.000000, 1.000000) div r2.xyzw, r5.xyzw, r4.wwww mad r3.xy, -r3.xyxx, r4.xxxx, r1.zwzz dp2 o1.x, r2.xyxx, r3.xyxx dp2 o1.y, r2.zwzz, r3.xyxx mul r2.x, r0.w, r0.x mad r2.x, r0.y, r0.z, -r2.x mul r5.xyzw, r0.zwxy, l(1.000000, -1.000000, -1.000000, 1.000000) div r0.xyzw, r5.xyzw, r2.xxxx mad r1.xy, -r1.xyxx, r4.xxxx, r1.zwzz mad r1.zw, -r4.xxxx, r4.yyyz, r1.zzzw dp2 o2.xy, r3.zwzz, r1.zwzz dp2 o1.z, r0.xyxx, r1.xyxx dp2 o1.w, r0.zwzz, r1.xyxx ret // Approximately 0 instruction slots used ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/ [/code]
I could fix the person shadows and leave the AO enabled...hopefully the texture hashes are not PC individuall....we will see...Also implement some more automatic UI depths,

I am working on, will update today.


Just a quick update as the state of the art for today...no time anymore until tomorrow...and i get stuck with the damn shadow posted below.....(currentyl dissabled):

https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V3.0.rar
//AutDepth reset via WASD .... (dont implemented XB yet...is the game supporting controller ^^?? not tryed it ^^) ..... Capital letters @ main screen currently dissapeared...will care about it tomorrow....

@Necropants: Is the fix working in general??? (except some remaining issues in the WIP2)??

//EDITH:

I have an issue left that bothers me and that effect is disabled in the WIP 2 ....

This shader i cannot fix atm. DHR, any idea?? If i apply the standard stereo formula for the output register, it will disable the shadow. any other atteps failed.... no idea atm:

// ---- Created with 3Dmigoto v1.3.11 on Sun Sep 30 16:25:07 2018
cbuffer cb0 : register(b0)
{
float4 cb0[11];
}




// 3Dmigoto declarations
#define cmp -
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> StereoParams : register(t125);


void main(
float4 v0 : POSITION0,
float3 v1 : NORMAL0,
out float4 o0 : SV_POSITION0,
out float4 o1 : TEXCOORD0,
out float2 o2 : TEXCOORD1)
{
const float4 icb[] = { { 0, 0, 0, 1.000000},
{ 1.000000, 0, 0, 1.000000},
{ 0, 1.000000, 0, 1.000000},
{ 1.000000, 1.000000, 0, 1.000000} };
float4 r0,r1,r2,r3,r4,r5;
uint4 bitmask, uiDest;
float4 fDest;



float4 stereo = StereoParams.Load(0);
float4 ini = IniParams.Load(0);

r0.xy = float2(-1,1) * cb0[10].xx;
r0.zw = -cb0[10].zy + v1.yx;
r1.x = dot(r0.zw, r0.zw);
r1.x = rsqrt(r1.x);
r1.xy = r1.xx * r0.wz;
r1.zw = r0.yx * r1.yx + cb0[10].yz;
r0.xy = r1.xy * r0.xy;
r1.zw = r1.xy * v1.zz + r1.zw;
r1.xy = r1.xy * v1.zz + v1.xy;
r2.xy = float2(1,-1) * cb0[10].xx;
r2.zw = -cb0[10].zy + v0.yx;
r3.x = dot(r2.zw, r2.zw);
r3.x = rsqrt(r3.x);
r3.xy = r3.xx * r2.wz;
r3.zw = r2.yx * r3.yx + cb0[10].yz;
r2.xy = r3.xy * r2.xy;
r3.zw = r3.xy * v1.zz + r3.zw;
r3.xy = r3.xy * v1.zz + v0.xy;
r1.zw = -r3.zw + r1.zw;
r4.x = (uint)v0.z;
r1.zw = icb[r4.x+0].xx * r1.zw + r3.zw;
r3.zw = -r3.yx + r1.yx;
r4.yz = icb[r4.x+0].xx * r3.wz + r3.xy;
r3.zw = float2(1,-1) * r3.zw;
r1.zw = -r1.zw * icb[r4.x+0].yy + r4.yz;
r4.x = -icb[r4.x+0].y + 1;
r5.xyzw = cb0[4].xyzw * r1.wwww;

//kills shader
//r5.x += stereo.x*(r5.w-stereo.y);

r5.xyzw = cb0[2].xyzw * r1.zzzz + r5.xyzw;
o0.xyzw = cb0[5].xyzw * r4.xxxx + r5.xyzw;

//disables shader
//o0.x += stereo.x*(o0.w-stereo.y);
//o0.x -= stereo.x*(o0.w-stereo.y);
//o0.x -= stereo.x*(o0.w+stereo.y);
//o0.x += stereo.x*(o0.w+stereo.y);

r4.w = r2.x * r2.w;
r4.w = r2.y * r2.z + -r4.w;
r5.xyzw = float4(1,-1,-1,1) * r2.zwxy;
r2.xyzw = r5.xyzw / r4.wwww;
r3.xy = -r3.xy * r4.xx + r1.zw;
o1.x = dot(r2.xy, r3.xy);
o1.y = dot(r2.zw, r3.xy);
r2.x = r0.x * r0.w;
r2.x = r0.y * r0.z + -r2.x;
r5.xyzw = float4(1,-1,-1,1) * r0.zwxy;
r0.xyzw = r5.xyzw / r2.xxxx;

//ned to doo correcion before the output shader o0
//r0.x += stereo.x*(r0.w-stereo.y);
//r5.x += stereo.x*(r2.x-stereo.y);

r1.xy = -r1.xy * r4.xx + r1.zw;
r1.zw = -r4.xx * r4.yz + r1.zw;
o2.xy = dot(r3.zw, r1.zw);
o1.z = dot(r0.xy, r1.xy);
o1.w = dot(r0.zw, r1.xy);

//ned to doo correcion before the output shader o0
//o0.x += stereo.x*(o0.w-stereo.y);



return;
}

/*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
//
// Generated by Microsoft (R) D3D Shader Disassembler
//
// using 3Dmigoto v1.3.11 on Sun Sep 30 16:25:07 2018
//
//
// Input signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// POSITION 0 xyzw 0 NONE float xyz
// NORMAL 0 xyz 1 NONE float xyz
//
//
// Output signature:
//
// Name Index Mask Register SysValue Format Used
// -------------------- ----- ------ -------- -------- ------- ------
// SV_POSITION 0 xyzw 0 POS float xyzw
// TEXCOORD 0 xyzw 1 NONE float xyzw
// TEXCOORD 1 xy 2 NONE float xy
//
vs_4_0
dcl_immediateConstantBuffer { { 0, 0, 0, 1.000000},
{ 1.000000, 0, 0, 1.000000},
{ 0, 1.000000, 0, 1.000000},
{ 1.000000, 1.000000, 0, 1.000000} }
dcl_constantbuffer cb0[11], immediateIndexed
dcl_input v0.xyz
dcl_input v1.xyz
dcl_output_siv o0.xyzw, position
dcl_output o1.xyzw
dcl_output o2.xy
dcl_temps 6
mul r0.xy, cb0[10].xxxx, l(-1.000000, 1.000000, 0.000000, 0.000000)
add r0.zw, v1.yyyx, -cb0[10].zzzy
dp2 r1.x, r0.zwzz, r0.zwzz
rsq r1.x, r1.x
mul r1.xy, r0.wzww, r1.xxxx
mad r1.zw, r0.yyyx, r1.yyyx, cb0[10].yyyz
mul r0.xy, r0.xyxx, r1.xyxx
mad r1.zw, r1.xxxy, v1.zzzz, r1.zzzw
mad r1.xy, r1.xyxx, v1.zzzz, v1.xyxx
mul r2.xy, cb0[10].xxxx, l(1.000000, -1.000000, 0.000000, 0.000000)
add r2.zw, v0.yyyx, -cb0[10].zzzy
dp2 r3.x, r2.zwzz, r2.zwzz
rsq r3.x, r3.x
mul r3.xy, r2.wzww, r3.xxxx
mad r3.zw, r2.yyyx, r3.yyyx, cb0[10].yyyz
mul r2.xy, r2.xyxx, r3.xyxx
mad r3.zw, r3.xxxy, v1.zzzz, r3.zzzw
mad r3.xy, r3.xyxx, v1.zzzz, v0.xyxx
add r1.zw, r1.zzzw, -r3.zzzw
ftou r4.x, v0.z
mad r1.zw, icb[r4.x + 0].xxxx, r1.zzzw, r3.zzzw
add r3.zw, r1.yyyx, -r3.yyyx
mad r4.yz, icb[r4.x + 0].xxxx, r3.wwzw, r3.xxyx
mul r3.zw, r3.zzzw, l(0.000000, 0.000000, 1.000000, -1.000000)
mad r1.zw, -r1.zzzw, icb[r4.x + 0].yyyy, r4.yyyz
add r4.x, l(1.000000), -icb[r4.x + 0].y
mul r5.xyzw, r1.wwww, cb0[4].xyzw
mad r5.xyzw, cb0[2].xyzw, r1.zzzz, r5.xyzw
mad o0.xyzw, cb0[5].xyzw, r4.xxxx, r5.xyzw
mul r4.w, r2.w, r2.x
mad r4.w, r2.y, r2.z, -r4.w
mul r5.xyzw, r2.zwxy, l(1.000000, -1.000000, -1.000000, 1.000000)
div r2.xyzw, r5.xyzw, r4.wwww
mad r3.xy, -r3.xyxx, r4.xxxx, r1.zwzz
dp2 o1.x, r2.xyxx, r3.xyxx
dp2 o1.y, r2.zwzz, r3.xyxx
mul r2.x, r0.w, r0.x
mad r2.x, r0.y, r0.z, -r2.x
mul r5.xyzw, r0.zwxy, l(1.000000, -1.000000, -1.000000, 1.000000)
div r0.xyzw, r5.xyzw, r2.xxxx
mad r1.xy, -r1.xyxx, r4.xxxx, r1.zwzz
mad r1.zw, -r4.xxxx, r4.yyyz, r1.zzzw
dp2 o2.xy, r3.zwzz, r1.zwzz
dp2 o1.z, r0.xyxx, r1.xyxx
dp2 o1.w, r0.zwzz, r1.xyxx
ret
// Approximately 0 instruction slots used

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#10
Posted 09/30/2018 01:00 PM   
If you are trying to fix a shadows, you need to hunt a PS. And if that shader is the VS related, don't seems to be the correct one.....or maybe the effects is other, not a shadows one?
If you are trying to fix a shadows, you need to hunt a PS.
And if that shader is the VS related, don't seems to be the correct one.....or maybe the effects is other, not a shadows one?

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 09/30/2018 06:21 PM   
It is a shadow and the peer ps is realy short...definitively not the right one. Many fixes are in vs here. The most are 2d like this shadow vs. I can move it but not into depth...the game does not have cs and the ps is not long hence the fix is in this vs :-(
It is a shadow and the peer ps is realy short...definitively not the right one. Many fixes are in vs here. The most are 2d like this shadow vs. I can move it but not into depth...the game does not have cs and the ps is not long hence the fix is in this vs :-(

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#12
Posted 09/30/2018 07:02 PM   
It looks good so far losti. One thing I found strange is it seems by default the game had only UI issues in the first room other than AO then fog of war and blood in the second, then shadows are broken when you actually get out into the world outside. Between this, Divinity 2, and KC:D expect a donation from me in the next couple of days. Thanks alot.
It looks good so far losti. One thing I found strange is it seems by default the game had only UI issues in the first room other than AO then fog of war and blood in the second, then shadows are broken when you actually get out into the world outside.

Between this, Divinity 2, and KC:D expect a donation from me in the next couple of days. Thanks alot.

i7-4790K CPU 4.8Ghz stable overclock.
16 GB RAM Corsair
ASUS Turbo 2080TI
Samsung SSD 840Pro
ASUS Z97-WS3D
Surround ASUS Rog Swift PG278Q(R), 2x PG278Q (yes it works)
Obutto R3volution.
Windows 10 pro 64x (Windows 7 Dual boot)

#13
Posted 10/01/2018 11:49 AM   
....skip this
....skip this

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#14
Posted 10/01/2018 03:00 PM   
A damn....realy fucking damn ....REALY FUCKING DAMN CODE LINE in a sahder .... from tonight.....costs me the whole day.....DAMN !! Short: everything is ok EXCEPT one shadow.....but this is nearly ok using high convergence....BUT: we can disable it.....hence i will make a version that let you decide !!! .... i think i cant cure that one completely. //new WIP: - you HAVE TO GO with this convergence in this version..... separation is @ 40 ... feel free to rise but more noticable wrong shadow.... - use "." if something is wrong in the UI - use ALT (hold down) to correct UI while reading spell textes of the action bar [b]DELETE THE OLD SHADER CACHE FOLDER !!!!!![/b] [url]https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V4.0.rar[/url] not finished yet....
A damn....realy fucking damn ....REALY FUCKING DAMN CODE LINE in a sahder .... from tonight.....costs me the whole day.....DAMN !!

Short: everything is ok EXCEPT one shadow.....but this is nearly ok using high convergence....BUT: we can disable it.....hence i will make a version that let you decide !!! .... i think i cant cure that one completely.

//new WIP:

- you HAVE TO GO with this convergence in this version..... separation is @ 40 ... feel free to rise but more noticable wrong shadow....
- use "." if something is wrong in the UI
- use ALT (hold down) to correct UI while reading spell textes of the action bar

DELETE THE OLD SHADER CACHE FOLDER !!!!!!
https://s3.amazonaws.com/losti/PathfinderKingmaker_3DV-Fix_MadeWithDHR-UNITY-UF_LOSTI_V4.0.rar


not finished yet....

Like my work? Donations can be made via PayPal to: rauti@inetmx.de

#15
Posted 10/01/2018 06:20 PM   
  1 / 4    
Scroll To Top