what is dinput8.dll?

07/19/2012 14:37 tliu0c#1
hello pros. I am new to modding and this is a real question. please don't troll here. :handsdown:

Like I said i'm new to this modding stuff. I've never used the mabipake thing or any other kind of dll mods. So i don't really know how they work.

I see that the hs bypass and the pake thing both use dinput8.dll. I searched dinput8 and it turned out to be something related with directX and some IO stuff such as using a gamepad. Why is it playing a role in HS bypass and pake? I am very coufused.

I have 2 versions of dinput8 one is 20kb and it is the hs bypass one. The other one is 194kb and it is supposed the pake one(but doesn't work. It ignores the hs bypass and still loads hs and then gets detected)

I spent the night in ollydbg and found where the unencrypted packets are generated in client.exe. I've yet to find the exact place where the packet get encrypted. Though i did see a very suspicious string of arithmetic intructions right after the place where i found the unencrypted packet. However, when I talked to someone who is supposed to be the pro haxor in mabi, he told me a bunch of nonsense and he also said that the encryption/decryption functions are also in dinput8. What? Seriously? Why would they be inside dinput8? Is he just trolling me?
07/19/2012 15:44 thothing#2
I am new too, i am learning alone, because this forum is full of "superior" people. Just stupid people..

Sorry friend, no one will help you. The pro's of here don't help people :FuckLogic:
07/19/2012 16:07 eternalankh#3
Quote:
Originally Posted by thothing View Post
I am new too, i am learning alone, because this forum is full of "superior" people. Just stupid people..

Sorry friend, no one will help you. The pro's of here don't help people :FuckLogic:
Do you always register to insult the site you've been lurking on?

Quote:
Originally Posted by tliu0c View Post
hello pros. I am new to modding and this is a real question. please don't troll here. :handsdown:

Like I said i'm new to this modding stuff. I've never used the mabipake thing or any other kind of dll mods. So i don't really know how they work.

I see that the hs bypass and the pake thing both use dinput8.dll. I searched dinput8 and it turned out to be something related with directX and some IO stuff such as using a gamepad. Why is it playing a role in HS bypass and pake? I am very coufused.

I have 2 versions of dinput8 one is 20kb and it is the hs bypass one. The other one is 194kb and it is supposed the pake one(but doesn't work. It ignores the hs bypass and still loads hs and then gets detected)

I spent the night in ollydbg and found where the unencrypted packets are generated in client.exe. I've yet to find the exact place where the packet get encrypted. Though i did see a very suspicious string of arithmetic intructions right after the place where i found the unencrypted packet. However, when I talked to someone who is supposed to be the pro haxor in mabi, he told me a bunch of nonsense and he also said that the encryption/decryption functions are also in dinput8. What? Seriously? Why would they be inside dinput8? Is he just trolling me?
As far as getting both dinput8's to work. You have to edit some things in your pake's mabinogi.ini. Rename the 20kb crackshield dinput8 to something else and add 1=newdllname.dll to the end of it. This will chainload the bypass. Unfortunately, all the public dinput8's are out of date, so it won't work at the moment.

As for what dinput8 is...you'd have to open it up and figure it out yourself. If you were able to do what you say you were, you should get some measure of an idea of what's going on.
07/19/2012 17:09 tliu0c#4
Quote:
Originally Posted by eternalankh View Post
Do you always register to insult the site you've been lurking on?



As far as getting both dinput8's to work. You have to edit some things in your pake's mabinogi.ini. Rename the 20kb crackshield dinput8 to something else and add 1=newdllname.dll to the end of it. This will chainload the bypass. Unfortunately, all the public dinput8's are out of date, so it won't work at the moment.

As for what dinput8 is...you'd have to open it up and figure it out yourself. If you were able to do what you say you were, you should get some measure of an idea of what's going on. From what I gather, it is used because the client will still recognize an external dinput8 as opposed to all the other dlls that were modded in the past.
The chainload works. thanks alot of the info. I already took a look at those dinput8s in IDA. I find it hard to fully understand what's going on especially since I never used the pake thing or any other dll mods. I got bored looking at them very quickly lol.

For now, bypass works with the pake dinput8(thanks to you). But client crashes on start up if I set any of the send or recv hooks to 1. I will look into this. Maybe updating new function address to hook would fix this.
07/19/2012 17:26 eternalankh#5
Quote:
Originally Posted by tliu0c View Post
The chainload works. thanks alot of the info. I already took a look at those dinput8s in IDA. I find it hard to fully understand what's going on especially since I never used the pake thing or any other dll mods. I got bored looking at them very quickly lol.

For now, bypass works with the pake dinput8(thanks to you). But client crashes on start up if I set any of the send or recv hooks to 1. I will look into this. Maybe updating new function address to hook would fix this.
Yea. It's something like that. If you dig around the site long enough you can probably find a few more hints. But updating the hook is supposed to be the idea.
07/19/2012 18:11 tliu0c#6
VMInit=0
TermHooking=0
FixResponse=0

Can anyone tell me what these 3 things mean in mabinogi.ini?
07/20/2012 02:27 PrettyButterfly#7
Quote:
Originally Posted by eternalankh View Post
Do you always register to insult the site you've been lurking on?

...

From what I gather, it is used because the client will still recognize an external dinput8 as opposed to all the other dlls that were modded in the past.
What the... what?

ERRRDIT:
Quote:
Originally Posted by tliu0c View Post
However, when I talked to someone who is supposed to be the pro haxor in mabi, he told me a bunch of nonsense and he also said that the encryption/decryption functions are also in dinput8. What? Seriously? Why would they be inside dinput8? Is he just trolling me?
Guess what: MabiPake decrypts packets as well. Soo... If you compare the result of the inverse of the function you found (in Client.exe), with the result of the decryption function in MabiPake, and they are the same; you have the decryption (and encryption) function. However, I am almost completely sure that what you have found is not the decryption/encryption-function (of course, it may very well be, and IF it is; please do not leak it).

[Only registered and activated users can see links. Click Here To Register...]

In addition, if I may inquire; who were you talking to?
07/20/2012 02:31 eternalankh#8
Quote:
Originally Posted by PrettyButterfly View Post
What the... what?
READ: I have no idea. Thanks.
07/20/2012 03:24 PrettyButterfly#9
Quote:
Originally Posted by eternalankh View Post
READ: I have no idea. Thanks.
Yes, of course I know that, but you could have tried to prove yourself wrong before posting the little part at the end, especially in this case, as doing so is quite easy (and would benefit you).

I'm honestly not making a big deal about it, I simply know that your theory is incorrect, and I tried to say that in just three words.
07/20/2012 03:39 eternalankh#10
Quote:
Originally Posted by PrettyButterfly View Post
you could have tried to prove yourself wrong before posting the little part at the end, especially in this case, as doing so is quite easy (and would benefit you).

I'm honestly not making a big deal about it, I simply know that your theory is incorrect, and I tried to say that in just three words.
Right. Honestly, my brain isn't working 100% from playing with codes and pakes and dinputs and dlls and mods. I think by the time I figure all this out for myself I won't even care about the game anymore.

EDIT: I'm actually not sure I care about the game NOW...
07/20/2012 03:45 .Potzi™#11
Its a Configurated File *.dll
07/20/2012 04:24 PrettyButterfly#12
Quote:
Originally Posted by .Potzi™ View Post
Its a Configurated File *.dll
Oh really? We all thought that it was a .ELF, but you really cleared that up for us, I mean seriously; we couldn't just look at the file's extension.

ToggleSarcasm(0) /* No need for ToggleSarcasm(1), as my Brain.exe compiler auto-assumes it upon thought-compilation, and therefore appends the call to the assembly. */

Quote:
Originally Posted by eternalankh View Post
Right. Honestly, my brain isn't working 100% from playing with codes and pakes and dinputs and dlls and mods. I think by the time I figure all this out for myself I won't even care about the game anymore.

EDIT: I'm actually not sure I care about the game NOW...
I've been feeling that way for quite a while.
07/20/2012 04:28 eternalankh#13
Quote:
Originally Posted by PrettyButterfly View Post
You could have tried to prove yourself wrong before posting the little part at the end, especially in this case, as doing so is quite easy (and would benefit you).
Quote:
Originally Posted by PrettyButterfly View Post
I have uploaded my copy of "Mss32.dll" for you, go ahead and [Only registered and activated users can see links. Click Here To Register...], then copy it to your Mabinogi installation-directory.

~PrettyButterfly
I decided to try that one out, for the lulz. You proved your point, indirectly. xP
07/20/2012 05:30 PrettyButterfly#14
Quote:
Originally Posted by eternalankh View Post
I decided to try that one out, for the lulz. You proved your point, indirectly. xP
Cross-post quoting, OMFGZ!?!? I Q.Q Cryh NAO!

But yeah; I was too lazy-to update Mabi-Patch to the latest version (even though I already made an auto-patcher for it xD) AND compile it as a DLL, so I just did the latter. Whoever uses it will be temporarily effed either way, but of course it does essentially solve the issue, by forcing a re-install.
07/20/2012 05:33 eternalankh#15
Quote:
Originally Posted by PrettyButterfly View Post
Cross-post quoting, OMFGZ!?!? I Q.Q Cryh NAO!

But yeah; I was too lazy-to update Mabi-Patch to the latest version (even though I already made an auto-patcher for it xD) AND compile it as a DLL, so I just did the latter. Whoever uses it will be temporarily effed either way, but of course it does essentially solve the issue, by forcing a re-install.
Well, would you rather I addressed the issue of the "haha you're screwed" dll in the other post 8D?

I just reverted to a backup, myself. Been keeping several on hand in case I overwrite something critical and eff my entire installation.

EDIT: LOL. I was trying to get some information from your code (I couldn't, because I don't know how you encrypted or packed it or whatever) and I noticed that you also deleted my movies and music xP had those backed up too though.