Difference between revisions of "FrontendKitWS"

From Worms Knowledge Base

Jump to: navigation, search
m (The DS / WS stuff becomes confusing...)
(Add Module Development section to mention available utility library.)
Line 15: Line 15:
  
 
It is required for patching the frontend as it does not load the WormKitDS ''dsound.dll'' library, which is why FrontendKitWS consists of ''wsock32.dll'', a library only loaded by the frontend, giving it the "WS" suffix. This also prevents issues with WormKitDS modules unaware of having been loaded into the frontend rather than the in-game process.
 
It is required for patching the frontend as it does not load the WormKitDS ''dsound.dll'' library, which is why FrontendKitWS consists of ''wsock32.dll'', a library only loaded by the frontend, giving it the "WS" suffix. This also prevents issues with WormKitDS modules unaware of having been loaded into the frontend rather than the in-game process.
 
FrontendKitWS modules use an ''fk'' file name prefix.
 
  
 
== Installation ==
 
== Installation ==
  
 
Click the DLL download link in the info box on the right, and place the downloaded ''wsock32.dll'' in your Worms 2 directory, besides ''frontend.exe''. Then, download any [[WormKit#Non-W:A modules|Worms 2 frontend related modules]] and place them there aswell.
 
Click the DLL download link in the info box on the right, and place the downloaded ''wsock32.dll'' in your Worms 2 directory, besides ''frontend.exe''. Then, download any [[WormKit#Non-W:A modules|Worms 2 frontend related modules]] and place them there aswell.
 +
 +
== Module Development ==
 +
 +
Modules are creates just like WormKit ones, but require an ''fk'' file name prefix. A ''FrontendKitLib'' can be statically linked to, which provides some common functionality like detecting the game version, accessing a configuration file, or patching code. The code was based on some utilities available in [[ReSolution]].
  
 
{{OSS}}
 
{{OSS}}

Revision as of 14:12, 16 July 2020

(Up to Software, WormKit)
icon FrontendKitWS
Developer: Pac-Man
Latest version: 1.0.0 / 12 July 2020
Supported games: W2
Language: C++
License: MIT
Website: GitLab repository
Download: DLL

FrontendKitWS is a WormKitDS-like module loader specifically made for changing the Worms 2 frontend as opposed to in-game logic.

It is required for patching the frontend as it does not load the WormKitDS dsound.dll library, which is why FrontendKitWS consists of wsock32.dll, a library only loaded by the frontend, giving it the "WS" suffix. This also prevents issues with WormKitDS modules unaware of having been loaded into the frontend rather than the in-game process.

Installation

Click the DLL download link in the info box on the right, and place the downloaded wsock32.dll in your Worms 2 directory, besides frontend.exe. Then, download any Worms 2 frontend related modules and place them there aswell.

Module Development

Modules are creates just like WormKit ones, but require an fk file name prefix. A FrontendKitLib can be statically linked to, which provides some common functionality like detecting the game version, accessing a configuration file, or patching code. The code was based on some utilities available in ReSolution.

Personal tools