View Full Version : wormkit modules from command line/shortcut?
b1llygo4t
25 Dec 2011, 13:17
can i run wormkit with specific modules activated from the command line or a short cut?
Pac-Man
25 Dec 2011, 13:19
Not that I know. Create a batch file renaming the modules you won't need
b1llygo4t
25 Dec 2011, 20:09
can yu give me an example?
Pac-Man
25 Dec 2011, 20:19
This batch file supports disabling of up to 9 modules. Just pass the names without the "wk" prefix and the ".dll" extension as arguments to it
(create a shortcut to the batch file and in its properties add the arguments in the "Target" textbox, for example:
WkStart.bat PX RubberWorm31 AntiLag
to DISABLE ProjectX, Rubberworm and Antilag modules).
You may have to modify the WA.EXE call to WORMKIT.EXE if you're not using WormKit DS.
@ECHO OFF
IF NOT "%1"=="" REN "wk%1.dll" "_wk%1.dll"
IF NOT "%2"=="" REN "wk%2.dll" "_wk%2.dll"
IF NOT "%3"=="" REN "wk%3.dll" "_wk%3.dll"
IF NOT "%4"=="" REN "wk%4.dll" "_wk%4.dll"
IF NOT "%5"=="" REN "wk%5.dll" "_wk%5.dll"
IF NOT "%6"=="" REN "wk%6.dll" "_wk%6.dll"
IF NOT "%7"=="" REN "wk%7.dll" "_wk%7.dll"
IF NOT "%8"=="" REN "wk%8.dll" "_wk%8.dll"
IF NOT "%9"=="" REN "wk%9.dll" "_wk%9.dll"
WA.EXE
IF NOT "%1"=="" REN "_wk%1.dll" "wk%1.dll"
IF NOT "%2"=="" REN "_wk%2.dll" "wk%2.dll"
IF NOT "%3"=="" REN "_wk%3.dll" "wk%3.dll"
IF NOT "%4"=="" REN "_wk%4.dll" "wk%4.dll"
IF NOT "%5"=="" REN "_wk%5.dll" "wk%5.dll"
IF NOT "%6"=="" REN "_wk%6.dll" "wk%6.dll"
IF NOT "%7"=="" REN "_wk%7.dll" "wk%7.dll"
IF NOT "%8"=="" REN "_wk%8.dll" "wk%8.dll"
IF NOT "%9"=="" REN "_wk%9.dll" "wk%9.dll"
b1llygo4t
25 Dec 2011, 21:44
wow ok! im new to this, i dont quite understand what exactly to edit, could you edit this to disable one of the modules for an example? thanks pac
Pac-Man
26 Dec 2011, 08:54
There's already an example :P I thought you wanted a command line / shortcut tool, you should know how to use that then.
Copy the code into a text editor like notepad.
Save the file in the Worms Armageddon folder as "WkStart.bat" and the selected filetype "All files (*.*)".
Go into your Worms Armageddon directory. Create a new shortcut from WkStart.bat (right click it, drag it anywhere and select "Create shortcut" from the appearing menu).
Right click the shortcut and select Properties.
In the window which appears, there's a textbox about the "Target".
There, keep the text which is already in it and append the names of the modules you want to disable seperated with spaces - without the "wk" prefix and the ".dll" postfix. For example, the text in the target looks like this:
"C:\Games\Worms Armageddon\WkStart.bat" PX RubberWorm31 AntiLag
Start Worms with the shortcut you created. That will disable the ProjectX, the Rubberworm and the antilag modules.
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.