Hey Guys,
I was looking at the newer release of Migoto and seen it had the ability to disable the Hardware Cursor and insert a Software Cursor..
So since I had these issues with LOTRO I decided to take a look and try it in LOTRO, well it did not work..
Is this feature supposed to work with any DX11 Game or is it a hit or miss type thing??
Thnx Guys and Merry Christmas..
So far, the software cursor feature has worked in every game I've tried it in. In the d3dx.ini file, set
"[i]hide_cursor = 1[/i]" and uncomment "[i]run = CustomShaderSoftwareMouse[/i]".
Open [i]mousevs.hlsl[/i] (located in the ShaderFixes directory) and edit it like this:
[code]#define cursor_pass IniParams[5].w
#define cursor_window IniParams[6].xy
#define cursor_hotspot IniParams[6].zw
#define cursor_showing IniParams[7].y
#define window_size IniParams[7].zw
Texture2D<float4> StereoParams : register(t125);
Texture1D<float4> IniParams : register(t120);
Texture2D<float4> cursor_mask : register(t100);
Texture2D<float4> cursor_color : register(t101);
void main(
out float4 pos : SV_Position0,
out float2 texcoord : TEXCOORD0,
uint vertex : SV_VertexID)
{
uint mask_width, mask_height;
uint color_width, color_height;
float2 cursor_size;
// For easy bailing:
pos = 0;
texcoord = 0;
if (!cursor_showing)
return;
cursor_color.GetDimensions(color_width, color_height);
cursor_mask.GetDimensions(mask_width, mask_height);
if (color_width) {
// Colour cursor, bail if we are in the black and white / inverted cursor pass:
if (cursor_pass == 2)
return;
cursor_size = float2(color_width, color_height);
} else {
// Black and white / inverted cursor, bail if we are in the colour cursor pass:
if (cursor_pass == 1)
return;
cursor_size = float2(mask_width, mask_height / 2);
}
pos.xy = cursor_window - cursor_hotspot;
// Not using vertex buffers so manufacture our own coordinates.
switch(vertex) {
case 0:
texcoord = float2(0, cursor_size.y);
break;
case 1:
texcoord = float2(0, 0);
pos.y += cursor_size.y;
break;
case 2:
texcoord = float2(cursor_size.x, cursor_size.y);
pos.x += cursor_size.x;
break;
case 3:
texcoord = float2(cursor_size.x, 0);
pos.xy += cursor_size;
break;
default:
pos.xy = 0;
break;
};
// Scale from pixels to clip space:
pos.xy = (pos.xy / window_size * 2 - 1) * float2(1, -1);
pos.zw = float2(0, 1);
// Adjust stereo depth of pos here using whatever means you feel is
// suitable for this game, e.g. with a suitable crosshair.hlsl you
// could automatically adjust it from the depth buffer:
//float2 mouse_pos = (cursor_window / window_size * 2 - 1);
//pos.x += adjust_from_depth_buffer(mouse_pos.x, mouse_pos.y);
//NEW LINES-----------------------------
float4 stereo = StereoParams.Load(0);
float4 iniParams = IniParams.Load(0);
pos.x += stereo.x * 0.1; //pushes mouse cursor further into the screen
}
[/code]
If the mouse cursor looks weird, try editing this line in the [i]mouseps.hlsl[/i] file:
[code]if (!result.w)
result.w = 1;[/code]
Change 1 to 0.
Let me know if you have any other questions.
So far, the software cursor feature has worked in every game I've tried it in. In the d3dx.ini file, set
"hide_cursor = 1" and uncomment "run = CustomShaderSoftwareMouse".
Open mousevs.hlsl (located in the ShaderFixes directory) and edit it like this:
if (color_width) {
// Colour cursor, bail if we are in the black and white / inverted cursor pass:
if (cursor_pass == 2)
return;
cursor_size = float2(color_width, color_height);
} else {
// Black and white / inverted cursor, bail if we are in the colour cursor pass:
if (cursor_pass == 1)
return;
cursor_size = float2(mask_width, mask_height / 2);
}
pos.xy = cursor_window - cursor_hotspot;
// Not using vertex buffers so manufacture our own coordinates.
switch(vertex) {
case 0:
texcoord = float2(0, cursor_size.y);
break;
case 1:
texcoord = float2(0, 0);
pos.y += cursor_size.y;
break;
case 2:
texcoord = float2(cursor_size.x, cursor_size.y);
pos.x += cursor_size.x;
break;
case 3:
texcoord = float2(cursor_size.x, 0);
pos.xy += cursor_size;
break;
default:
pos.xy = 0;
break;
};
// Adjust stereo depth of pos here using whatever means you feel is
// suitable for this game, e.g. with a suitable crosshair.hlsl you
// could automatically adjust it from the depth buffer:
//float2 mouse_pos = (cursor_window / window_size * 2 - 1);
//pos.x += adjust_from_depth_buffer(mouse_pos.x, mouse_pos.y);
OK that worked thank you, I guess you need to add the extra line you said to in the hlsl file??
I do have 1 more question, how can I make the mouse variable depth like the Param Z??
I set the UI/chat window as Param z and have 4 presets, I would like to match the mouse depth with the UI depth??
Change line 83 in mousevs.hlsl, where it says: [code]pos.x += stereo.x * 0.1; //pushes mouse cursor further into the screen[/code]
Change it to:
[code]pos.x += stereo.x * iniParams.z; //pushes mouse cursor based on the value of 'z' in d3dx.ini file[/code]
OK I had to reinstall Win 1 and I installed LOTRO and the newer fix with the mouse but now the mouse does not get seperation even tho I specified the Y Param and inserted the line 4everawake told me to.. it worked before and now it does not..
Do I need to run as admin the lotroclient.exe??
OK I had to reinstall Win 1 and I installed LOTRO and the newer fix with the mouse but now the mouse does not get seperation even tho I specified the Y Param and inserted the line 4everawake told me to.. it worked before and now it does not..
I have been toiling with this last 2 hours. I installed Win 7 SP! and the mouse does not go into Stereo, I do not even think the hardware mouse goes away..
I have tried several configs to get it working nothing seems to work ????
I have been toiling with this last 2 hours. I installed Win 7 SP! and the mouse does not go into Stereo, I do not even think the hardware mouse goes away..
I have tried several configs to get it working nothing seems to work ????
OK I had the hardware mouse there from another program.. now when I try to enable the new software mouse it does not even show up with the new fix..
I guess that is why the mouse last time was not going into stereo as it was still the hardware mouse.. the only thing different is that I am using Win 7 SP1 on this build.. I was using Win 10 and it worked fine weird..
OK I had the hardware mouse there from another program.. now when I try to enable the new software mouse it does not even show up with the new fix..
I guess that is why the mouse last time was not going into stereo as it was still the hardware mouse.. the only thing different is that I am using Win 7 SP1 on this build.. I was using Win 10 and it worked fine weird..
Hi,
I'm using the DX11 fix from Helixblog but there are still many broken shaders (skies, spells FX, some grounds,...). The fix is correctly installed (HUD convergence works) and I've followed recommendations.
Is it just me or the author is aware of this problems?
I wanted a fix mainly for wrong depth skies, I can live with other minors broken things.
I'm using the DX11 fix from Helixblog but there are still many broken shaders (skies, spells FX, some grounds,...). The fix is correctly installed (HUD convergence works) and I've followed recommendations.
Is it just me or the author is aware of this problems?
I wanted a fix mainly for wrong depth skies, I can live with other minors broken things.
Well not many used this fix and I could not fix everything and some things like the skies may have been broken on new updates as that happens a lot in MMo's
I Only had a Champion in the game and most of the spells like for a mage or something I could not check..
So if you want them fixed I would suggest you learn how to hunt the shaders of the broken effects. You can upload the files here just rename it to a JPG Extension to upload it here on the forums I can injuect the code and you can test it too see if it worked..
Currently I don't have the gasme installed but I will reinstall it and if you tell me what skies are broke I can fix those. But probally the spell effects you would have to as I ONLY have a Champion level 95..
Let me know how you would like to procede and shader hunting is easy so don't me intimidated byt that.. All you have to do is enable Hunting in the INI file and with the numpad keys 4,5, & 6 will hunt and mark the Vertex shaders these are what we need to fix the stero problems of the spells and skies.. If you need to find Pixel shaders to disable shaders use the numpad 1,2 goes forward and back through the pixel shaders & 3 MArks them, it saves the HLSL file so we can input the code and fix that shader..
I am reinstalling now
Well not many used this fix and I could not fix everything and some things like the skies may have been broken on new updates as that happens a lot in MMo's
I Only had a Champion in the game and most of the spells like for a mage or something I could not check..
So if you want them fixed I would suggest you learn how to hunt the shaders of the broken effects. You can upload the files here just rename it to a JPG Extension to upload it here on the forums I can injuect the code and you can test it too see if it worked..
Currently I don't have the gasme installed but I will reinstall it and if you tell me what skies are broke I can fix those. But probally the spell effects you would have to as I ONLY have a Champion level 95..
Let me know how you would like to procede and shader hunting is easy so don't me intimidated byt that.. All you have to do is enable Hunting in the INI file and with the numpad keys 4,5, & 6 will hunt and mark the Vertex shaders these are what we need to fix the stero problems of the spells and skies.. If you need to find Pixel shaders to disable shaders use the numpad 1,2 goes forward and back through the pixel shaders & 3 MArks them, it saves the HLSL file so we can input the code and fix that shader..
OK I just finished installing LOTRO. I had similar issues with the ground being Broke and narrowed it dows to "Specular Lighting" You need to turn that off in the options.. I will recheck and make a list of what can and cannot be on in the options menu..
When you read this let me know what area the sky is broke and I can have a look and get them fixed ASAP.. As for the Spells FX you will need to hunt the shaders for those and upload them here and I will inject the code and you can see if that fixed it..
I also noticed the Mouse is not in Stereo does your mouse cursor go into stereo?? IF not I may try and update what version of Migto we use to get the new mouse implemented and working ingasme..
OK I just finished installing LOTRO. I had similar issues with the ground being Broke and narrowed it dows to "Specular Lighting" You need to turn that off in the options.. I will recheck and make a list of what can and cannot be on in the options menu..
When you read this let me know what area the sky is broke and I can have a look and get them fixed ASAP.. As for the Spells FX you will need to hunt the shaders for those and upload them here and I will inject the code and you can see if that fixed it..
I also noticed the Mouse is not in Stereo does your mouse cursor go into stereo?? IF not I may try and update what version of Migto we use to get the new mouse implemented and working ingasme..
Skies should all be fixed now, but if you have a specific location or time of day to check let me know.. Once I get some more fixed I will upload the new fix..
Skies should all be fixed now, but if you have a specific location or time of day to check let me know.. Once I get some more fixed I will upload the new fix..
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
I was looking at the newer release of Migoto and seen it had the ability to disable the Hardware Cursor and insert a Software Cursor..
So since I had these issues with LOTRO I decided to take a look and try it in LOTRO, well it did not work..
Is this feature supposed to work with any DX11 Game or is it a hit or miss type thing??
Thnx Guys and Merry Christmas..
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
"hide_cursor = 1" and uncomment "run = CustomShaderSoftwareMouse".
Open mousevs.hlsl (located in the ShaderFixes directory) and edit it like this:
If the mouse cursor looks weird, try editing this line in the mouseps.hlsl file:
Change 1 to 0.
Let me know if you have any other questions.
Dual boot Win 7 x64 & Win 10 (1809) | Geforce Drivers 417.35
I do have 1 more question, how can I make the mouse variable depth like the Param Z??
I set the UI/chat window as Param z and have 4 presets, I would like to match the mouse depth with the UI depth??
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
Change it to:
Dual boot Win 7 x64 & Win 10 (1809) | Geforce Drivers 417.35
Have a Happy New YEar..
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
Do I need to run as admin the lotroclient.exe??
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
I have tried several configs to get it working nothing seems to work ????
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
I guess that is why the mouse last time was not going into stereo as it was still the hardware mouse.. the only thing different is that I am using Win 7 SP1 on this build.. I was using Win 10 and it worked fine weird..
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
I'm using the DX11 fix from Helixblog but there are still many broken shaders (skies, spells FX, some grounds,...). The fix is correctly installed (HUD convergence works) and I've followed recommendations.
Is it just me or the author is aware of this problems?
I wanted a fix mainly for wrong depth skies, I can live with other minors broken things.
I Only had a Champion in the game and most of the spells like for a mage or something I could not check..
So if you want them fixed I would suggest you learn how to hunt the shaders of the broken effects. You can upload the files here just rename it to a JPG Extension to upload it here on the forums I can injuect the code and you can test it too see if it worked..
Currently I don't have the gasme installed but I will reinstall it and if you tell me what skies are broke I can fix those. But probally the spell effects you would have to as I ONLY have a Champion level 95..
Let me know how you would like to procede and shader hunting is easy so don't me intimidated byt that.. All you have to do is enable Hunting in the INI file and with the numpad keys 4,5, & 6 will hunt and mark the Vertex shaders these are what we need to fix the stero problems of the spells and skies.. If you need to find Pixel shaders to disable shaders use the numpad 1,2 goes forward and back through the pixel shaders & 3 MArks them, it saves the HLSL file so we can input the code and fix that shader..
I am reinstalling now
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
When you read this let me know what area the sky is broke and I can have a look and get them fixed ASAP.. As for the Spells FX you will need to hunt the shaders for those and upload them here and I will inject the code and you can see if that fixed it..
I also noticed the Mouse is not in Stereo does your mouse cursor go into stereo?? IF not I may try and update what version of Migto we use to get the new mouse implemented and working ingasme..
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit
Intel i5 7600K @ 4.8ghz / MSI Z270 SLI / Asus 1080GTX - 416.16 / Optoma HD142x Projector / 1 4'x10' Curved Screen PVC / TrackIR / HOTAS Cougar / Cougar MFD's / Track IR / NVidia 3D Vision / Win 10 64bit