Difference between revisions of "FrontendKitWS"

From Worms Knowledge Base

Jump to: navigation, search
m (Move source code link to website in info box)
m (Module Development: Typo)
 
(3 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
}}
 
}}
  
[[FrontendKitDS]] is a [[WormKitDS]]-like module loader specifically made for changing the [[Worms 2]] frontend as opposed to  in-game logic.
+
[[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.
 
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.
 
FrontendKitDS 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 created 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}}

Latest revision as of 01:50, 9 March 2022

(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 created 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