Phantaruk

Phantaruk

Not enough ratings
Disable mouse acceleration
By Residents evil
Quick but feature complete guide on how to disable the obnoxious mouse acceleration/smoothing
   
Award
Favorite
Favorited
Unfavorite
How to
1) Download DNSpy from Github

2) Open DNSpy the press File » Open » YOURPATH\Steam\steamapps\common\Phantaruk\Data\Phantaruk_Data\Managed » "Assembly-CSharp.dll"

3) Left side of assembly explorer, expand "Assembly-CSharp (0.0.0.0)", in it "Assembly-CSharp.dll", in it "{} -", in it "MouseLook"

4) Select "MouseLook(): "
On the right side, right click » Edit method (CTRL+SHIFT+E)
Delete the selected text as seen on the screenshot below
Press "Compile"

5) Select "Update(): "
On the right side, right click » Edit method (CTRL+SHIFT+E)
Delete the selected text as seen on the screenshot below
Press "Compile"

6) If done correctly, now you should only see 4 lines of code in the right side when you select (on the left panel):
movementSmoothing: AnimationCurve
smoothingAmount: float
_smoothingDeltaX: float
_smoothingDeltaY: float

Select these four (on the left panel) and press your "Delete" key and "Yes" to the prompt that appears

7) Go to "File » Save Module"

8) Your hack is done. Enjoy NO MOUSE ACCELERATION :D
Closing notes
You can edit other things with this program with a little bit of patience and even if you are not a programmer (Which I am not). Just have to read a little to understand what is programmed.

My favorite modification was a hackjob for permanent sprint capability, just had to find the sprint section (PlayerMotorSprinting), find the part on the right that says "If your stamina is low then you have no stamina and can't sprint" and edit it. Literally just had to switch a "false" to a true and a "0f" to "1f" on the code lol

This modification was made possible by this gif I found while researching how to disable mouse acceleration in Unity: https://streamable.com/g8w8p


If you are interested in collecting all achievements, follow my guide below

https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=2686461528

Hit the like and favorite button if you found this guide helpful - It helps everyone!

1 Comments
Salva Stalker 12 Aug, 2024 @ 8:37am 
Very interesting!

Any other possible changes that we could make to make the game run better?