louis
10/04/2017, 02:16 AM
Essa DLL reduz o consumo de memória do Main.exe em aproximadamente 10x. No meu caso MuEmu s8 reduziu o consumo de 600mb para 50 ~ 60 mb.
Funciona incrivelmente bem em praticamente qualquer main.
[Only registered and activated users can see links]
Como hookar a dll em seu main.exe com StudPe:
[Only registered and activated users can see links]
[Only registered and activated users can see links]
Download do StudPe:
[Only registered and activated users can see links]
Código fonte da DLL:
#include <Windows.h>
//-------------------------------------------------------------
void StartAddress(LPVOID lpThreadParameter)
{
HANDLE v1;
HANDLE v2;
while ( TRUE )
{
Sleep(5000);
v1 = GetCurrentProcess();
SetProcessWorkingSetSize(v1, 0xFFFFFFFF, 0xFFFFFFFF);
v2 = GetCurrentProcess();
SetThreadPriority(v2, -2);
}
}
//-------------------------------------------------------------
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if ( fdwReason == 1 )
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)StartAddress, 0, 0, 0);
return 1;
}
Download da DLL para injetar no seu main:
[Only registered and activated users can see links]!v9AyBLxR!0figHagI8F2TyIhVZ00rvVG90NaesVA8Zh4RdrC rqB8
Download da DLL já compilada para MuEmu S4/S6/S8
[Only registered and activated users can see links]!T8xBHIYC!QuZfQ3h0omI27PsPc5ztNjDVZULdy6qjAXikCwQ oT-E
Créditos:
Não encontrado, se alguém souber me avise para editar o post.
Funciona incrivelmente bem em praticamente qualquer main.
[Only registered and activated users can see links]
Como hookar a dll em seu main.exe com StudPe:
[Only registered and activated users can see links]
[Only registered and activated users can see links]
Download do StudPe:
[Only registered and activated users can see links]
Código fonte da DLL:
#include <Windows.h>
//-------------------------------------------------------------
void StartAddress(LPVOID lpThreadParameter)
{
HANDLE v1;
HANDLE v2;
while ( TRUE )
{
Sleep(5000);
v1 = GetCurrentProcess();
SetProcessWorkingSetSize(v1, 0xFFFFFFFF, 0xFFFFFFFF);
v2 = GetCurrentProcess();
SetThreadPriority(v2, -2);
}
}
//-------------------------------------------------------------
BOOL APIENTRY DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
{
if ( fdwReason == 1 )
CreateThread(0, 0, (LPTHREAD_START_ROUTINE)StartAddress, 0, 0, 0);
return 1;
}
Download da DLL para injetar no seu main:
[Only registered and activated users can see links]!v9AyBLxR!0figHagI8F2TyIhVZ00rvVG90NaesVA8Zh4RdrC rqB8
Download da DLL já compilada para MuEmu S4/S6/S8
[Only registered and activated users can see links]!T8xBHIYC!QuZfQ3h0omI27PsPc5ztNjDVZULdy6qjAXikCwQ oT-E
Créditos:
Não encontrado, se alguém souber me avise para editar o post.