Loading...

Quicksilver [.NET] - Crash Fix 1.1

3

Quicksilver [.NET] has been broken on modern GTA V builds for years. You install it, you press F10, and nothing happens. No menu, no powers, no error. Until now the only workaround was to downgrade your entire ScriptHookVDotNet install to v2.10.9, which breaks every other modern mod you have.

This is a small patch that fixes it at runtime. You do NOT need to downgrade ScriptHookVDotNet. The original QuickSilver.dll is not modified and is not redistributed here.

WHAT IS FIXED

The mod contains a routine that scans GTA5.exe for two byte signatures taken from game build 1180.1 in 2017. Neither signature exists on a modern build, and the scan then fails in two separate ways. It reads past the end of the executable into unmapped memory, and it also ends up dereferencing a null pointer.

That throws an AccessViolationException out of a static constructor. The .NET runtime permanently marks the type as failed, so ScriptHookVDotNet aborts the whole script. That is why the mod dies silently instead of showing a crash, and why F10 never responds.

This patch redirects the mod away from that broken code path so it never runs. 23 methods are redirected and 6 more are guarded. Crash guards are also added to all four tick handlers, so a single bad frame can no longer kill the script.

Verified by reproducing the exact crash and confirming it no longer occurs.

KNOWN LIMITATIONS

The optional CanOverrideWeaponInfo setting in the profile INI is disabled by this fix. It reads raw weapon data through the same failed memory scan, and the mod's own INI already notes that it requires game version 1290. It could never work on a modern build. It used to crash the entire mod. Now it simply declines.

The camera glitch when MinimumTimescale is set below 0.01 is NOT fixed. That is a behaviour issue rather than a crash. Keep MinimumTimescale at 0.02 or higher to avoid it.

REQUIREMENTS

The original Quicksilver [.NET] by sollaholla, still installed
ScriptHookV
ScriptHookVDotNet, any modern version including v3
.NET Framework 4.8

INSTALLATION

1. Install the original Quicksilver [.NET] first and leave it exactly as it is.
2. Copy the included QuickSilver crash-fix DLL and 0Harmony.dll into your scripts folder, next to the original QuickSilver.dll.
3. IMPORTANT. Right-click both new DLL files, choose Properties, and tick Unblock if you see it. Windows blocks DLLs downloaded from the internet and ScriptHookVDotNet will skip a blocked DLL without telling you.
4. Fully restart the game.

A green "Quicksilver Crash Fix loaded" message appears shortly after the game starts. Then press F10.

If you see "0Harmony.dll is missing or failed to load", that file is not in the scripts folder or it is blocked. If you see "loaded but could not patch", the original QuickSilver.dll is not in the scripts folder or it is blocked.

CREDITS THIS RELEASE

Crash fix by Chris22622. This release contains only a compatibility patch. All credit for Quicksilver itself belongs to the original authors.

Original mod: https://www.gta5-mods.com/scripts/quick-silver-net by sollaholla and Unknown Modder

MORE FROM ME

I fix abandoned GTA V script mods that modern game builds broke. If this one helped, my other crash fixes are on my profile.

I also make OnTheBlock, a street life roleplay mod for single player. Patreon: patreon.com/cw/Chris22622
Show Full Description

First Uploaded: 3 horas
Last Updated: 2 horas
Last Downloaded: 43 minuto

All Versions

 1.1 (current)

3 downloads , 800 KB
3 horas

2 Comments