PDA

View Full Version : Creating a WormKit module


DarkLord22
12 Jul 2010, 20:39
I hope this is in the right section...

I was wondering if there were any guidelines on how to create a WormKit module (dll)? Does it have to be written in a specific language? Does it need a specific format?

Any help would be appreciated.

Pac-Man
12 Jul 2010, 21:18
Isn't the sourcecode of the preinstalled modules shipped with WormKit? Looks like Pascal to me.

Undefined
12 Jul 2010, 22:17
Isn't the sourcecode of the preinstalled modules shipped with WormKit? Looks like Pascal to me.

It's a well deformed pascal (delphi).

CyberShadow
12 Jul 2010, 22:26
A WormKit module is just a DLL with a filename that starts with "wk". It will be loaded into W:A before any W:A code is ran. Programming language doesn't matter.

Pac-Man
12 Jul 2010, 22:28
Oh, that makes it interesting for me too... so I got the same question like DarkLord22 :D
I know C(++), but I have no idea how a loaded / injected (however you call it) DLL interacts with the game?

DarkLord22
12 Jul 2010, 23:14
Isn't the sourcecode of the preinstalled modules shipped with WormKit? Looks like Pascal to me.
Ok, I downloaded the official WormKit package off CyberShadow's site and I see the source code. I guess because I installed WormKit with RubberWorm a while back, I didn't see this.

I know C(++), but I have no idea how a loaded / injected (however you call it) DLL interacts with the game?
Exactly, I am a C++/C# guy. Pascal is somewhat foreign to me. From what I can tell, the module is just a function, no classes. There are other functions defined globally that are called within the "main" function. However, I have no idea what this code is actually doing and how it is interacting with the game... :confused:

pisto
13 Jul 2010, 15:02
I can help you on this subject. Add me on msn or skype and I'll explain everything you need to create a wormkit module. Anyway, you have to learn a bit of assembly language and do some reverse engineering of the game executable to do something original. Don't worry, I learnt these two things just for RubberWorm and it hasn't been very difficult, neither boring.

Pac-Man
13 Jul 2010, 16:04
Thank you very much! I added you ;)
Luckily, I know some basic ASM commands since I messed around with CheatEngine years ago :D

Plutonic
15 Jul 2010, 11:08
Howdy! Not sure what language pisto uses for his wormkit stuff but if it's not C++ then feel free to find me on IRC (gamesurge, #worms). Knowledge of cheat engine will be a big help.