PDA

View Full Version : [BETA] WormKit Loader


AlternaX
28 Mar 2013, 12:33
OFFICIAL WORMS2D ARTICLE: http://worms2d.info/Advanced_WormKit

yes... i was boring in 10 hours of my life and i coded this app.

SCREENS (pls don't see for any wk Modules that you dont know...):
- http://prntscr.com/y6w8q [START SCREEN] [OUTDATED]
- http://prntscr.com/y6wb8 [ABOUT SCREEN] [OUTDATED]
- http://prntscr.com/y6we3 [ERROR RUNNING WORMKIT SCREEN] [OUTDATED]

- http://prntscr.com/ychj5 [START SCREEN]

WHAT IT DOES:
- Select wk*.dll to be loaded
- erm... it checks for application update
- AutoClose if WA is runned
- Detect WA Version
- [NEW] it now have Dropdown like WormKIT plugins selector :D


TODO LIST:
- WormKit Module Downloader.
- Dropdown Select Worms:Armageddon version [Suggested by LTKiller] [ALREADY DID ON NEW VERSION]
- (your suggestion)

HOW TO INSTALL:
- Download This (http://alternax.tk/) and put it into WA Directory
- Include your WA files naming it WA.exe, WA2.exe, WA3.exe ....... WA6.exe

CHANGELOG:

v1.0:
-Initial Version

v1.1:
- Restored support for WormKIT.exe
- Disabled support for WormKitDS [check StepS post (http://forum.team17.co.uk/showpost.php?p=792126&postcount=8)]
- Before running WormKIT Modules, it check if WA version is prior to 3.7.0.0 (3.6.31.0, 3.6.29.0, 3.6.25.0, ....... everythink containing 3.6), if WA version is 3.6.*.*, then running WormKit.exe with WA#.exe, if is 3.7.*.*, just launch WA.exe

v1.2
- Installer made
- Graphical part changes
- Support for Worms 2 and Worms World Party was added
- WA 3.6 will run WormKit.exe, WA 3.7 will run WA, Worms2 and WWP will load dsound.dll

v1.3 (current)
- Offline mode support
- Minor bug fixes

Have fun ;)

LTKiller
28 Mar 2013, 15:48
Fi. Nal. Ly.

Thanks a lot for that. :)

Edit: But I wonder if it would be possible to let us choose the W:A executable to run afterwards (for example, if one has several versions in his directory like 3.6.31.0 (along with the latest version), all he'd have to do in order to use ProjectX again would be moving the appropriate DLLs around and selecting his exe). Of course it would probably sound annoying to ask every time you press the Worms Armageddon button, but maybe it could be a drop-down list with the regular "WA.exe" selected by default.

AlternaX
28 Mar 2013, 19:31
Nice idea, will work for it now :D

LTKiller
28 Mar 2013, 19:38
(Sweet, I'll finally be able to try out wkMagic. :D)

Good luck with it!

AlternaX
29 Mar 2013, 13:10
NEW VERSION: http://www3.zippyshare.com/v/64447985/file.html

INCLUDE: Selection of your WA Version

PS: files need to be named as WA.exe, WA2.exe, WA3.exe, WA4.exe, WA5.exe and WA6.exe

Require dsound.dll (WormKIT DS)

StepS
29 Mar 2013, 13:12
what's the programming language?
Require dsound.dll (WormKIT DS)

why?

AlternaX
29 Mar 2013, 14:00
what's the programming language?

Require dsound.dll (WormKIT DS)


why?

1. Programming language is Basic (writted in Visual Basoc 2010)
2. Because i dont implemented yet the wormkit classes inside the file, and for run all wormkit modules, it require hacked dsound.dll file

StepS
29 Mar 2013, 14:13
with wormkit dsound in folder, D3D9Wnd will refuse to start ;)

AlternaX
29 Mar 2013, 14:42
with wormkit dsound in folder, D3D9Wnd will refuse to start ;)

Is only needed for WA 3.6.*.*...... i think 3.7 will not be affected by it

LTKiller
29 Mar 2013, 15:05
Great work!

But I wonder if it is possible for you to let the user select the WA executable himself by entering a path/the executable's name (or at least detect the WA-3.x.x.x.exe format).

Also, maybe the software could remember these executables and the modules the user selected for them, if the user ticks a certain checkbox. For example, when I select the 3.7.2.1 executable, I'd like the FileOverride, IndiMask, LobbyCmd, MapGEN, RandomMap and RubberWorm modules to be automatically activated; and when selecting 3.6.26.5 (since I mentioned wkMagic earlier), FileOverride, Magic, MapGEN and RandomMap would be automatically loaded. How does that sound?

Edit: Do you mind if I create an article about this program on Worms Knowledge Base (http://worms2d.info/Main_Page)?

AlternaX
29 Mar 2013, 16:20
Edit: Do you mind if I create an article about this program on Worms Knowledge Base (http://worms2d.info/Main_Page)?

If you want
I am working on your request now... thinking how to save sessions... is INI file, or Registry or VirtualStore Folder.....

LTKiller
29 Mar 2013, 17:42
Okay.

Btw, if you were to restore compatibility with WormKit.exe, you can use an argument to specify the WA executable if it's not called "WA.exe". Syntax is:

"<path>\WormKit.exe" <executable_basename>.exe
(for example, "C:\Team17\Worms Armageddon\WormKit.exe" WA-3.6.26.5.exe)

Also, here is the WKB article I've just written (http://worms2d.info/Advanced_WormKit). The program's icon still has to be added to that page.

AlternaX
29 Mar 2013, 18:41
Thanks LTKiller :)

PS: i added to worms2d.info the RAR File that contains the Source code of this application :)

StepS
29 Mar 2013, 19:39
Is only needed for WA 3.6.*.*...... i think 3.7 will not be affected by it

of course it will, as dsound will be in memory and thus it will cause the modules to be preloaded.
unless you automatically rename the file or make it inaccessible when running 3.7

AlternaX
29 Mar 2013, 20:32
of course it will, as dsound will be in memory and thus it will cause the modules to be preloaded.
unless you automatically rename the file or make it inaccessible when running 3.7



So thanks for this info... will update the application tommorow

--------------------

UPDATED:
- Restored support for WormKIT.exe
- Before running WormKIT Modules, it check if WA version is prior to 3.7.0.0 (3.6.31.0, 3.6.29.0, 3.6.25.0, ....... everythink containing 3.6), if WA version is 3.6.*.*, then running WormKit.exe with WA#.exe, if is 3.7.*.*, just launch WA.exe

LTKiller
30 Mar 2013, 15:32
Updated the WKB article accordingly.

(Still wondering about the ability to let the user select the exe by himself via its path.)

AlternaX
31 Mar 2013, 18:10
And again updated to v1.2:

- Installer made
- Graphical part changes
- Support for Worms 2 and Worms World Party was added
- WA 3.6 will run WormKit.exe, WA 3.7 will run WA, Worms2 and WWP will load dsound.dll

PLEASE NOTE: dont delete dsound.dll and/or dsound.ren (application will shutdown!!)