|
1 |
| -Since it took me a while to figure out how to add a DLL to the Ragexe or Ragexe_RE client, I will explain it now in under 5 minutes. |
| 1 | +# DLL Import |
2 | 2 |
|
3 |
| -[http://imgur.com/a/Ak0Ws#0 All Screenshots] |
| 3 | +Since it took me a while to figure out how to add a DLL to the Ragexe or Ragexe_RE client, I will explain it now in under 5 minutes. |
4 | 4 |
|
5 | 5 | At first we need 2 things to get it working.
|
6 |
| -1. [http://www.cgsoftlabs.ro/zip/Stud_PE.zip Stud_PE], which we need to import the DLL. |
7 |
| -2. An [http://www.xup.in/dl,10633471/example.dll/ example DLL] to find out if it worked out well. |
| 6 | + |
| 7 | +1. [Stud PE](http://www.cgsoftlabs.ro/zip/Stud_PE.zip), which we need to import the DLL. |
| 8 | +2. An [example DLL](http://www.xup.in/dl,10633471/example.dll/) to find out if it worked out well. |
8 | 9 |
|
9 | 10 | When you finished downloading these two files, extract the setup from the Stud_PE.zip and install it to your computer.
|
10 | 11 |
|
11 | 12 | After you installed it and started it, there should be a window popping up, which look like this:
|
12 |
| -[http://i.imgur.com/ENpdGyv.png|framed|StudPE-Startup] |
| 13 | +<center></center> |
13 | 14 |
|
14 | 15 | Then click on File in the top menu and then on Open PE File. Then there will show up a File Open Dialog where you choose your RagnarokExe.
|
15 |
| -[http://i.imgur.com/26uMnoT.png|framed|Ragexe-File-Open-Dialog] |
| 16 | +<center></center> |
16 | 17 |
|
17 | 18 | After that the PE File gets loaded and you switch to the Function Tab in the Program, like here:
|
18 |
| -[http://i.imgur.com/fqBNiTp.png|framed|Functions-Tab] |
| 19 | +<center></center> |
19 | 20 | There you see all DLL's which get actually loaded and what functions exactly get loaded.
|
20 | 21 |
|
21 | 22 | In Order to add our own DLL to the list of the DLL's which get loaded, rightclick into the window where the DLL Files are listed and choose "Add New Import".
|
22 | 23 | A new windows is opening which looks like this:
|
23 |
| -[http://i.imgur.com/xq73A56.png|framed|Import-Adder] |
| 24 | +<center></center> |
24 | 25 |
|
25 | 26 | There you choose your own DLL with the File Open Dialog which you open with "DLL Select" and then you choose the function which should get loaded.
|
26 | 27 | A DLL has a startup routin which we load from our example.dll which you downloaded before. It looks like this:
|
27 |
| -[http://i.imgur.com/u1Ye7Fc.png|framed|DLL-Main] |
| 28 | +<center></center> |
28 | 29 |
|
29 | 30 | And if you choose the DllMain@12, it has a blue background and then click on Ok.
|
30 | 31 | Your Import Adder should look like this:
|
31 |
| -[http://i.imgur.com/hWCRezs.png|framed|Function-Added] |
| 32 | +<center></center> |
32 | 33 | Then click on "ADD" and it's done, your Client.exe loads the DLL from now on.
|
33 | 34 |
|
34 | 35 | Just close the program, move the dll to your client's folder and start the client.
|
35 | 36 | Then there should be a MessageBox when your Client starts, which looks like this.
|
36 |
| -[http://i.imgur.com/ZSlM1C4.png|framed|DLL-Message] |
| 37 | +<center></center> |
37 | 38 |
|
38 |
| -Congratulations, you added a DLL to your Client. |
| 39 | +Congratulations, you added a DLL to your Client. |
0 commit comments