[SOURCE] Remove Nostale Splash Screen

11/14/2016 19:37 atom0s#1
Here is a simple Detours hook to remove the splash screen. Again, this requires 0 editing of the main game file and is done via DLL injection.

Code:
/**
 * Detour Prototypes
 */
extern "C"
{
    FARPROC     /**/(WINAPI *Real_GetProcAddress)(HMODULE, LPCSTR) = GetProcAddress;
};


/**
 * kernel32!GetProcAddress Detour Callback
 */
FARPROC __stdcall Mine_GetProcAddress(HMODULE hModule, LPCSTR lpProcName)
{
    // Prevent the splash screen from showing..
    if (lpProcName != nullptr && ((DWORD)lpProcName & 0xFFF000) && strncmp("ShowNostaleSplash", lpProcName, 17) == 0)
        return nullptr;


    return Real_GetProcAddress(hModule, lpProcName);
}


// Apply the detour:
::DetourTransactionBegin();
::DetourUpdateThread(::GetCurrentThread());
::DetourAttach(&(PVOID&)Real_GetProcAddress, Mine_GetProcAddress);
::DetourTransactionCommit();
11/14/2016 19:39 Cryless~#2
Useless, you can just delete/rename EWSF.EWS and you have no SplashScreen anymore.
11/14/2016 19:41 atom0s#3
The point of this (and my other posts) are to not edit any client files.
11/14/2016 19:45 atom0s#4
Quote:
Originally Posted by SystemX64™ View Post
You are placing a detour so you are altering .text section. In short, you are editing main module.
Lol..................... wow you are retarded.
11/14/2016 19:48 Cryless~#5
Quote:
Originally Posted by atom0s View Post
Lol..................... wow you are retarded.
First of all maintain a correct attitude.
Yes, I read it wrong and I apologize. I thought one other thing.
11/14/2016 19:50 Pumba98#6
what is the advantage of removing the splash screen?
11/14/2016 19:51 Cryless~#7
Quote:
Originally Posted by Pumba98 View Post
what is the advantage of removing the splash screen?
Exactly, it makes no sense.
Also I do not think that renaming a file is a problem.
11/14/2016 19:54 Pumba98#8
Quote:
Originally Posted by SystemX64™ View Post
Exactly, it makes no sense.
Also I do not think that renaming a file is a problem.
Yes, tried renaming the file. Works, but doesn't load faster or anything else. So... :confused: :D
11/14/2016 20:00 atom0s#9
Quote:
Originally Posted by Pumba98 View Post
Yes, tried renaming the file. Works, but doesn't load faster or anything else. So... :confused: :D
I removed parts of the code to make the client load faster. Bits of the code I am sharing are in paid tools so not all the code can be shared.


That said there is enough info to point people in the right direction of where to look for where the client handles the splash screen and its delay for launching the client, those interested can find and remove the additional bits easily.
11/14/2016 20:07 Cryless~#10
@[Only registered and activated users can see links. Click Here To Register...] stop lie! You can also NOP the call to function loading SplashScreen but you will not notice 1-2ms difference.
11/14/2016 20:11 atom0s#11
Quote:
Originally Posted by SystemX64™ View Post
@[Only registered and activated users can see links. Click Here To Register...] stop lie! You can also NOP the call to function loading SplashScreen but you will not notice 1-2ms difference.
*sigh..* You really are retarded. Please stop posting in my threads, it's getting disappointing reading what you have to say.
11/14/2016 20:20 Cryless~#12
Quote:
Originally Posted by atom0s View Post
*sigh..* You really are retarded. Please stop posting in my threads, it's getting disappointing reading what you have to say.
I am sorry but you are the only retarded on this forum trying to appear in public.
Your mother did not teach you education?

You are detouring a function when you can only set 1 byte to 0xC3 without even execute it!

Here the proofs,

[Only registered and activated users can see links. Click Here To Register...]
11/14/2016 20:22 atom0s#13
And again you fail to read what I say and just make assumptions.

If you actually read what I said, I said that the info I posted was enough to point people in the proper direction to find the other bits of code needed to remove the delay. It said nothing about that code being inside of the detour or being part of the same function.


But again, you assume everything and act like you know everything about this game lol. What's the matter? This the first game you ever hacked so you gotta act like you are the best around? xD


Again, please leave my threads, you are doing nothing but making yourself look like an idiot.
11/14/2016 20:29 Cryless~#14
Quote:
Originally Posted by atom0s View Post
And again you fail to read what I say and just make assumptions.

If you actually read what I said, I said that the info I posted was enough to point people in the proper direction to find the other bits of code needed to remove the delay. It said nothing about that code being inside of the detour or being part of the same function.
Your method does not explain anything and by removing the Splash will not speed up as @[Only registered and activated users can see links. Click Here To Register...] can confirm.

Quote:
Originally Posted by atom0s View Post
But again, you assume everything and act like you know everything about this game lol. What's the matter? This the first game you ever hacked so you gotta act like you are the best around? xD
You do not need to know about this game to remove a window.