Difference between revisions of "FrontendKitWS"
From Worms Knowledge Base
(Create page.) |
m (→Module Development: Typo) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 8: | Line 8: | ||
| language = C++ | | language = C++ | ||
| license = MIT | | license = MIT | ||
− | | | + | | website = [https://gitlab.com/Syroot/Worms GitLab repository] |
− | + | | download = [https://gitlab.com/Syroot/Worms/uploads/6a8dc0d3d238cf5a52c7184c28e4e709/wsock32.dll 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. | 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 == | == 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
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.