SILENT HILL 2

SILENT HILL 2

Vis statistikk:
paulo 11. okt. 2024 kl. 20.07
2
2
Temporary fix for the controller vibration issue
This is a powershell script that simulates a mouse event every 300 seconds, for some reason, when you move the mouse or press a key on your keyboard, the vibration is restored.

1. Create a file named vibration_fix.ps1 with the following content:
Add-Type -TypeDefinition @" using System; using System.Runtime.InteropServices; public class MouseMover { [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, UIntPtr dwExtraInfo); private const uint MOUSEEVENTF_MOVE = 0x0001; public static void MoveMouse(int x, int y) { mouse_event(MOUSEEVENTF_MOVE, (uint)x, (uint)y, 0, UIntPtr.Zero); } } "@ while ($true) { [MouseMover]::MoveMouse(0, 0) Start-Sleep -Seconds 300 }
2. Save the file in any directory (eg: Documents)
3. Shift + Right Click inside the directory "Open powershell windows here"
4. Run the script:
.\vibration_fix.ps1
5. Don't close the window, minimize it and run the game.

If you run into execution policy issues while trying to execute the script, open a powershell terminal as admin with Win + X and run:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force;

If the vibration isn't working at all, go to the game settings > controller > change the vibration intensity and/or disconnect and connect the controller from the USB/Bluetooth.
< >
Viser 115 av 15 kommentarer
Frozt 11. okt. 2024 kl. 23.02 
Thanks man!
SplitCoreGaming 12. okt. 2024 kl. 4.40 
Just to advise you really should use -
Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "RemoteSigned"
instead for permissions (for long term safety sake).
Otherwise you are allowing any script to run without prompts, not just your user created locals.
Either way many thanks and will happily test later that this script work over a few hours of game play.
Sist redigert av SplitCoreGaming; 12. okt. 2024 kl. 4.45
乇ㄥ丨Ҝ乇尺 12. okt. 2024 kl. 5.36 
Will this script show me the skip the cutscene button, if I set it to 10 seconds?
I noticed the bug when I open the map longer than 10 seconds vibration becomes off
paulo 12. okt. 2024 kl. 7.56 
Opprinnelig skrevet av 乇ㄥ丨Ҝ乇尺:
Will this script show me the skip the cutscene button, if I set it to 10 seconds?
I noticed the bug when I open the map longer than 10 seconds vibration becomes off
You can try with a lower timeout.

Opprinnelig skrevet av SplitCoreGaming:
Just to advise you really should use -
Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "RemoteSigned"
instead for permissions (for long term safety sake).
Otherwise you are allowing any script to run without prompts, not just your user created locals.
Either way many thanks and will happily test later that this script work over a few hours of game play.
Thanks for pointing that out, that's a really better way for the average user.
乇ㄥ丨Ҝ乇尺 12. okt. 2024 kl. 12.37 
Opprinnelig skrevet av 乇ㄥ丨Ҝ乇尺:
Will this script show me the skip the cutscene button, if I set it to 10 seconds
I checked this and I've got no prompt.

For those who wants to reset this policy:
Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "RemoteSigned"

Use this code in the powershell as admin:
Set-ExecutionPolicy -Scope "CurrentUser" -ExecutionPolicy "Undefined"

To check that the policy is reset, enter this command, it should say “Undefined” everywhere. Code:
Get-ExecutionPolicy -List
Sist redigert av 乇ㄥ丨Ҝ乇尺; 12. okt. 2024 kl. 12.40
Shaggy Kris 13. okt. 2024 kl. 10.23 
I'm unfortunately finding this does not help. Are you running in Full Screen or Borderless? I also changed it to 30 seconds instead of 300 and still I'm finding Dualsense Adaptive Trigger dropout after only 2 minutes. Only thing that seems to fix it is moving the mouse through chorded actions.
Shaggy Kris 13. okt. 2024 kl. 11.58 
I seem to have discovered the triggering cause: if you go to any menu-type screen (pause, map, puzzle, items, etc) for 10 seconds or more, you lose haptics and triggers.

This seems to work:

dualsense_features_fix_sh2r.ps1
# Load the required assembly for SendKeys Add-Type -AssemblyName System.Windows.Forms # Define the interval in seconds $interval = 10 $counter = 0 # Define key you want to simulate $keypress = "9" while ($true) { # Simulate pressing the defined key [System.Windows.Forms.SendKeys]::SendWait("{$keypress}") # Increment the counter $counter++ # Print the current count, overwriting the same line Write-Host "Key $keypress pressed $counter times.`r" -NoNewline # Wait for the defined interval Start-Sleep -Seconds $interval }

Experimenting with various keys, it seems that only keys that actually appear on the keyboard will work. I was trying F13 at first and that was not working. If you do not need to use the 9 key, maybe this will work for you. Just make sure to keep it running while you play the game and exit the script once done.
Sist redigert av Shaggy Kris; 13. okt. 2024 kl. 12.01
Nimbo 13. okt. 2024 kl. 14.13 
OR

You can just download this software called Auto Mouse Mover and set to 1 pixel every 30 seconds.

Works great.

Https:/www.Murgee.Com/auto-mouse-mover/
Hungarde 14. okt. 2024 kl. 1.28 
Opprinnelig skrevet av Nimbo:
OR

You can just download this software called Auto Mouse Mover and set to 1 pixel every 30 seconds.

Works great.

Https:/www.Murgee.Com/auto-mouse-mover/

I will try this now. Thanks a lot.
Hungarde 14. okt. 2024 kl. 5.22 
Opprinnelig skrevet av Nimbo:
OR

You can just download this software called Auto Mouse Mover and set to 1 pixel every 30 seconds.

Works great.

Https:/www.Murgee.Com/auto-mouse-mover/

I don't know if it's because 1 pixel is not enough or because of the program, but sometimes the vibration doesn't come back. but when I move the mouse manually, it comes back.
Nimbo 14. okt. 2024 kl. 5.27 
Opprinnelig skrevet av Hungarde:
Opprinnelig skrevet av Nimbo:
OR

You can just download this software called Auto Mouse Mover and set to 1 pixel every 30 seconds.

Works great.

Https:/www.Murgee.Com/auto-mouse-mover/

I don't know if it's because 1 pixel is not enough or because of the program, but sometimes the vibration doesn't come back. but when I move the mouse manually, it comes back.

Yes same, try 2 pixels and lemme know. Maybe even lower the seconds
iLockAlot 14. okt. 2024 kl. 5.31 
Opprinnelig skrevet av paulo:
This is a powershell script that simulates a mouse event every 300 seconds, for some reason, when you move the mouse or press a key on your keyboard, the vibration is restored.

1. Create a file named vibration_fix.ps1 with the following content:
Add-Type -TypeDefinition @" using System; using System.Runtime.InteropServices; public class MouseMover { [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, UIntPtr dwExtraInfo); private const uint MOUSEEVENTF_MOVE = 0x0001; public static void MoveMouse(int x, int y) { mouse_event(MOUSEEVENTF_MOVE, (uint)x, (uint)y, 0, UIntPtr.Zero); } } "@ while ($true) { [MouseMover]::MoveMouse(0, 0) Start-Sleep -Seconds 300 }
2. Save the file in any directory (eg: Documents)
3. Shift + Right Click inside the directory "Open powershell windows here"
4. Run the script:
.\vibration_fix.ps1
5. Don't close the window, minimize it and run the game.

If you run into execution policy issues while trying to execute the script, open a powershell terminal as admin with Win + X and run:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force;

If the vibration isn't working at all, go to the game settings > controller > change the vibration intensity and/or disconnect and connect the controller from the USB/Bluetooth.


even though i dont believe we should have to do this it is much appreciated. I have been moving my mouse every few mins over the course of my gameplay(40hrs so far) and it is completely immersion breaking. This is truly helpful.
Shaggy Kris 14. okt. 2024 kl. 8.37 
I've done a bit more experimenting, and it seems that the 10 seconds I mentioned earlier is 10 seconds of no controller input. If you wiggle the right stick while on the map screen for example, after the 10 seconds you'll still have vibrations and adaptive triggers.

Perhaps a mod can be made to simulate controller presses while in menus to alleviate this issue.
Sist redigert av Shaggy Kris; 14. okt. 2024 kl. 8.37
Nimbo 15. okt. 2024 kl. 0.40 
Okay I found this software that works flawlessly from windows store called Move Mouse. It does exactly what OP mentions without all the hassle. I tested it myself and it works with no issues

Here's the link: https://www.Microsoft.Com/store/productId/9NQ4QL59XLBF?Ocid=pdpshare

Just make sure you RUN AS ADMIN OTHERWISE WILL NOT WORK
Sist redigert av Nimbo; 15. okt. 2024 kl. 0.40
Thortazo 15. okt. 2024 kl. 14.48 
Opprinnelig skrevet av iLockAlot:
Opprinnelig skrevet av paulo:
This is a powershell script that simulates a mouse event every 300 seconds, for some reason, when you move the mouse or press a key on your keyboard, the vibration is restored.

1. Create a file named vibration_fix.ps1 with the following content:
Add-Type -TypeDefinition @" using System; using System.Runtime.InteropServices; public class MouseMover { [DllImport("user32.dll", CharSet = CharSet.Auto, CallingConvention = CallingConvention.StdCall)] public static extern void mouse_event(uint dwFlags, uint dx, uint dy, uint dwData, UIntPtr dwExtraInfo); private const uint MOUSEEVENTF_MOVE = 0x0001; public static void MoveMouse(int x, int y) { mouse_event(MOUSEEVENTF_MOVE, (uint)x, (uint)y, 0, UIntPtr.Zero); } } "@ while ($true) { [MouseMover]::MoveMouse(0, 0) Start-Sleep -Seconds 300 }
2. Save the file in any directory (eg: Documents)
3. Shift + Right Click inside the directory "Open powershell windows here"
4. Run the script:
.\vibration_fix.ps1
5. Don't close the window, minimize it and run the game.

If you run into execution policy issues while trying to execute the script, open a powershell terminal as admin with Win + X and run:
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force;

If the vibration isn't working at all, go to the game settings > controller > change the vibration intensity and/or disconnect and connect the controller from the USB/Bluetooth.


even though i dont believe we should have to do this it is much appreciated. I have been moving my mouse every few mins over the course of my gameplay(40hrs so far) and it is completely immersion breaking. This is truly helpful.
This worked for me for a while but after a cutscene, lost adaptative triggers, vibration again...After pressing CTRL key it was restored again.
Shame that Konami hasn't fixed this issue yet.
< >
Viser 115 av 15 kommentarer
Per side: 1530 50

Dato lagt ut: 11. okt. 2024 kl. 20.07
Innlegg: 15