Skip to content
This repository has been archived by the owner on Dec 13, 2024. It is now read-only.

InputSoldatcc/madness-handfix

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Scrapeface bug;

This fork is aimed to fix the very infamous studio-minus#38.

How to install the fork

THIS IS NOT INSTALLED LIKE A MOD! Download the fork from the releases tab (win64). Once downloaded, extract it and open the exe. Same with MIR

Debug versions may require downloading and installing the .NET sdk for the debug console to work and open correctly.

Releases only need the .NET runtime.

The cause of the bug;

.NET 8.0.8 causes Vector2.Normalize() (and some other methods) on older CPU's that do not support SSE41 or SSE42 to not. This may be fixed in the future with .NET 9, but for now here's this fork

What the fork does;

The fork replaces all instances of Vector2.Normalize and other faulty (yet to be discovered) methods with custom Vector2.Normalize methods at minimum performance losses.

It also uses a fork of Walgelijk.Physics (Muqazziz) instead of the actual NuGet package to replace the parts of the code where Walgelijk.Physics uses Vector2.Normalize with MadnessVector2.

How it accomplishes that;

The fork includes a Vector2 (MadnessVector2) class utility that can probably run on your kitchen microwave. It replaces 2 methods that would only work on newer CPUs with offbrand one. The methods in the MadnessVector2 class do not take advantage of Hardware Acceleration to ensure it doesn't cause issues.

What it currently fixes;

This fork fixes all things related to the bug caused by Vector2.Normalize, which is of course the hands bug.

What it does NOT fix;

Your mom