Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Mabinogi
You last visited: Today at 05:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



what is dinput8.dll?

Discussion on what is dinput8.dll? within the Mabinogi forum part of the MMORPGs category.

Reply
 
Old 07/20/2012, 05:42   #16
 
PrettyButterfly's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 31
Received Thanks: 17
Quote:
Originally Posted by eternalankh View Post
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.
I wouldn't expect the OP to even see it, if you posted about it, at least not until he already broke his installation (y nubs no liek 2 reed all uf powsts?).

Don't you love derailing in the absence of a mod? I vote adam
PrettyButterfly is offline  
Old 07/20/2012, 05:52   #17
 
eternalankh's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 39
Received Thanks: 15
Quote:
Originally Posted by PrettyButterfly View Post
I wouldn't expect the OP to even see it, if you posted about it, at least not until he already broke his installation (y nubs no liek 2 reed all uf powsts?).

Don't you love derailing in the absence of a mod? I vote adam
*looks back over thread* Oh. That was mostly my fault... Well. I ran out of information to give the OP. I even ran out of made-up information, so I guess I'm no longer needed here.
eternalankh is offline  
Thanks
1 User
Old 07/20/2012, 05:53   #18
 
PrettyButterfly's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 31
Received Thanks: 17
Quote:
Originally Posted by eternalankh View Post
*looks back over thread* Oh. That was my mostly my fault... Well. I ran out of information to give the OP. I even ran out of made-up information, so I guess I'm no longer needed here.
Q.Q I just realized that the Mabi-Patch thread is... gone D:
PrettyButterfly is offline  
Old 07/20/2012, 05:59   #19
 
eternalankh's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 39
Received Thanks: 15
Quote:
Originally Posted by PrettyButterfly View Post
Q.Q I just realized that the Mabi-Patch thread is... gone D:
I was going to ask about that; I just noticed as well.
eternalankh is offline  
Old 07/20/2012, 15:41   #20
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,528
Received Thanks: 613
Quote:
Originally Posted by PrettyButterfly View Post
I wouldn't expect the OP to even see it, if you posted about it, at least not until he already broke his installation (y nubs no liek 2 reed all uf powsts?).

Don't you love derailing in the absence of a mod? I vote adam
Vote me for what? O.o
adam_j is offline  
Thanks
1 User
Old 07/21/2012, 06:47   #21
 
PrettyButterfly's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 31
Received Thanks: 17
Quote:
Originally Posted by adam_j View Post
Vote me for what? O.o
I'm just:

Quote:
Originally Posted by eternalankh View Post
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.
Ah, trying to sneak in edits, are we now?

MabiPatch actually isn't packed or encrypted, if it was; you wouldn't be able to clearly see the data-section where I hide all of my strings I've gone ahead and taken a screenie of it, just so you can see where they are:


I have to admit; the arrangement of it is kind of horrible, since I crammed the hell out of it, with 6237 hard-coded patches, but it does have a great UPX compression-ratio (; 11%).

The patches could have been avoided by using the corresponding Windows API functions to modify the form-resource in "Mabinogi.exe," but that would have resulted in a DLL/EXE under 10 KB, and people would question its authenticity immediately (at least; I would hope).

If you would like to see one of my encrypted-executables; I have gone ahead and made a pretty simple one for you to practice on, you can download it . I don't expect it to take you too long to decrypt, since its almost the easiest you can really go. I did apply a few tricks to it, so that might make it a bit more complex and screw with the arrangement of it, but its only 5 KB, meaning there's not much code to actually analyze.

EDIT:
Crap, I totally blanked-out and forgot to add the relevant part of my post :/
Quote:
Originally Posted by tliu0c View Post
VMInit=0
TermHooking=0
FixResponse=0

Can anyone tell me what these 3 things mean in mabinogi.ini?
Would it kill you to take a look yourself? All of the config-file reading is done in the same place, and its relatively low-level assembly (I mean easy, just a lame joke I had to toss in there).
PrettyButterfly is offline  
Old 07/21/2012, 18:20   #22
 
elite*gold: 0
Join Date: Sep 2009
Posts: 1,528
Received Thanks: 613
Quote:
Originally Posted by PrettyButterfly View Post
I'm just:
Oh you~

I'm pretty sure that Muddy Waters would shoot down any such application.
At least, he would if he has any sense, considering anything he locks, I've posted in multiple times..
adam_j is offline  
Old 07/21/2012, 22:21   #23
 
tliu0c's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 166
Received Thanks: 518
Quote:
Originally Posted by PrettyButterfly View Post
I'm just:
****, I totally blanked-out and forgot to add the relevant part of my post :/
Would it kill you to take a look yourself? All of the config-file reading is done in the same place, and its relatively low-level assembly (I mean easy, just a lame joke I had to toss in there).
Would it kill you to just tell me what it is? Sure I could see those but I still don't know what the virtual machine is. The fix response is supposed to fix some response bug and IDK what that is.

I took a look at the dinput8.dll. It was really a mess inside there. As if somebody has been updating it in olly without the source code. It's getting the base address of some old dlls that aren't used anymore, and it also has some absolute addresses in it. I guess the original version uses base+offest to get function address to hook and then somebody put in those absolute addresses in there to update it. I updated those addresses but I could get it to acutally hooks the function in game.(I did see some code inside there that do the hooking) I had to manually hook the function in olly to get packet logging to work.
tliu0c is offline  
Old 07/22/2012, 03:03   #24
 
jas161's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 875
Received Thanks: 103
Quote:
Originally Posted by tliu0c View Post
Would it kill you to just tell me what it is?
I don't think you understand the seriousness of the situation, but yes it would!!!!
jas161 is offline  
Old 07/24/2012, 13:04   #25
 
elite*gold: 0
Join Date: Nov 2009
Posts: 17
Received Thanks: 4
what is dinput8.dll?
what is breathing?
Kotakoni is offline  
Thanks
1 User
Old 07/25/2012, 18:16   #26
 
PrettyButterfly's Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 31
Received Thanks: 17
Quote:
Originally Posted by tliu0c View Post
Would it kill you to just tell me what it is? Sure I could see those but I still don't know what the virtual machine is. The fix response is supposed to fix some response bug and IDK what that is.
I pointed out the position where the junk you want is located in dinput8.dll (pake), all that's left for you to do is interpret the assembly using Brain.exe (which is hopefully present). The task (of interpreting it) should really take less than a few seconds, as it's just reading an INI, determining if set to a value other than null (0), and executing the corresponding action based on the result.

Sure, I could make you some nice psuedocode, but that really shouldn't be necessary, especially if you haz-teh-decryptz0rz-funktehn (i.e; possess some understanding of assembly).

Quote:
Originally Posted by tliu0c View Post
(I did see some code inside there that do the hooking) I had to manually hook the function in olly to get packet logging to work.
So you found the code that do the hooking? LUL

Oh, and sorry for the late reply, I was elsewhere.
PrettyButterfly is offline  
Old 07/28/2012, 08:31   #27
 
tliu0c's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 166
Received Thanks: 518
Quote:
Originally Posted by PrettyButterfly View Post

So you found the code that do the hooking? LUL

Oh, and sorry for the late reply, I was elsewhere.
lol what does that mean? Sounds like you know there isn't a function that does the hooking? IDK. I saw something that looks like it does the hooking.

The hooking isn't the hard part tho. I can write my own dll that does the hooking if i want. I feel the annoying part is updating new addresses after each update to client.exe. Cuz it seems to me the addresses in that dinput8_pake is hard-coded.

When i manually hooked the function, the client crashes when changing map. So after the last post, I switched my focuse to bypassing themida's integrity check and prevent crashing. I was able to write a little dll that bypasses the check. But after the bard update, I saw themida's Metamorphic engine at work...The code bascially became different and addresses and contants changed. Even the junk codes changed form lol. I had to change pretty much change all the source code of that dll to get it working again.

Tho the game's code that is not a part of themida is probably not protected by the Metamorphic engine but I guess all the function address will certainly change after each update And I would have to update tens of them each time. I'm thinking I might have to write something that searches the code section and finds the address on its own.

Anyways I won't be doing anything mabi related in the next 2 weeks cuz i got finals coming up lol. I really hope I don't fail the 2 math courses I got...
tliu0c is offline  
Reply


Similar Threads Similar Threads
S4 League Error!!! DINPUT8.dll
02/22/2012 - S4 League - 1 Replies
can anyone help me about this error?? <cannot find "DINPUT8.dll please reinstall this app> it pop out after hack shield was updated
[Question] Dinput8.dll
07/06/2011 - Mabinogi - 9 Replies
Hi, I wanted to use the original dinput8.dll instead of the pake.dll to start my pake. When I start with dinput as my mng injection setting, I got hackshield error after a while. when I use pake.dll to start my pake but with dinput in my mabi folder I got CRT runtime error. When I just inject dinput8.dll when client.exe started, it says can not locate dynamic libary dinput8.dll Any suggestion?



All times are GMT +1. The time now is 05:19.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.