banner
Rating
Voted0

Disable VRAM warning message

2
Mod version:1.0.0
Game version:all
The mod has been successfully tested for the absence of viruses
16049.38K363.91K

Report mod

  • image
modalImage

About This Mod

Removes the annoying VRAM message in the game.

 

WARNING: This mod does not unload when switching from story mode to network mode, as it does not use scripthook. In any case, don't use this mod online, even if it's not cheating. It is recommended that you remove all mods before using network mode, rather than assume that scripthook unloads all mods.


If a virus is detected in the program, this is a false positive. Refer to your antivirus documentation to learn how to exclude a file.

 

Code (requires minhook and template scanner to work):

static const char* (*g_origGetText)(void* theText, int a2, uint32_t* hash, int* a4);


static const char* GetText(void* theText, int a2, uint32_t* hash, int* a4)

{

if (*hash == 0xA3774AB6){

return "";

}


return g_origGetText(theText, a2, hash, a4);

}


//Place this in the initialization code. CreateHookAndNotifyAnyError is MH_CreateHook, but it is a wrapper that warns the user.

//using the message box if something went wrong.


CreateHookAndNotifyAnyError(hook::get_pattern("48 81 C1 D0 00 00 00 E8 ? ? ? 48 8B CE 83 FB FF 74 ? 44 8B 44 24 50", -57), GetText, (void**)&g_origGetText);

Similar Mods/Addons

Game Version *

all (No VRAM Warning Messages-1828-1-0-0-1670371151.zip)