Launcher forced to main.exe
My launcher ( ST Mu Launcher ) is forced to main.exe JMP to JNZ changed.But when i click on START GAME the launcher send me again to the launcher. Can i use the ST MU Launcher or one other or i need to use the GMO (Global MU Launcher) ? I need launcher with crc check and memory check.
Thanks!
Re: Launcher forced to main.exe
Check the parameter requeired for the main to start, and check if the launcher send it correctly.
Re: Launcher forced to main.exe
Code:
HWND hWnd = FindWindow(NULL,"MU"); //Launcher title
if(hWnd == 0)
{
// additional information
STARTUPINFOA si;
PROCESS_INFORMATION pi;
// set the size of the structures
ZeroMemory(&si, sizeof(si));
si.cb = sizeof(si);
ZeroMemory(&pi, sizeof(pi));
// start the program up
CreateProcessA
(
"mu.exe", // the path
NULL, // Command line
NULL, // Process handle not inheritable
NULL, // Thread handle not inheritable
FALSE, // Set handle inheritance to FALSE
CREATE_NEW_CONSOLE, // Opens file in a separate console
NULL, // Use parent's environment block
NULL, // Use parent's starting directory
&si, // Pointer to STARTUPINFO structure
&pi // Pointer to PROCESS_INFORMATION structure
);
// Close process and thread handles.
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
ExitProcess(0);
return;
}
Re: Launcher forced to main.exe