Forums
December 06, 2021, 09:30 PM

Author Topic: wkToolAssist v. 0.1.0 released  (Read 885 times)

0 Members and 1 Guest are viewing this topic.

Offline nizikawa

wkToolAssist v. 0.1.0 released
« on: August 28, 2021, 11:01 AM »
wkToolAssist is a WormKit module that implements some features present in Tool Assisted WA Builds by Deadcode.

Features:
- Adjust game speed at any time
- Set checkpoints to rollback game state
- Step frame forward/backward
- Show trajectories of moving worms, projectiles and mines
- Show overlay info with worm position, speed and state
- Record .wagame replays in a format compatible with stock WA

Limitations:
- To prevent abuse, the module comes bundled with a special version of WA.exe with disabled network functionality. The module is closed source.
- Version 0.1.0 lacks the ability to edit existing replays. This feature is planned for version 0.2.0
- Recorded replays contain chat message about wkToolAssist being used
- Team flags are replaced with "TA" flag

Installation:
  • Extract ToolAssist.dll and TA_*.exe matching your WA version to your Worms Armageddon installation directory.
  • Launch TA_*.exe
  • Disable wkJellyWorm if you have it installed
  • The module does not work under WINE

Controls:
- Keys 0-9 - set game speed to predefined values:
   1: 1.0x,
   2: 0.5x,
   3: 0.25x
   4: 0.15x
   5: 0.1x
   6: 0.05x
   7: 0.025x
   8: 0.0125x
   9: 0.005x
   0: stop time
- Keys + - increase/decrease game speed by 0.01x
- Keys [ ]  step a single frame backward/forward
- Key S - save current frame as checkpoint
- Key R - restore game state to the last checkpoint
- Key Z - remove last checkpoint and restore state to the previous one
- Key ~ - revert game to frame 0 and start playing until the last checkpoint

Notes on keyboard inputs:
- Game controls in stock WA are buggy at game speeds 0.25x and below. To fix this problem the module implements it's own keyboard handling logic and uses it at speeds <= 0.25x
- The custom key logic does not respect custom mappings used in wkRemapKeys
- Some keys such as space or enter are set as sticky - pressing them once remembers the state until the next time the key state is read by the game, usually on the next logic frame.
- To "unpress" sticky key, hold shift and press the keyboard key you want to unpress.
- The list of active keys is displayed in the screen corner

Download: https://files.catbox.moe/cikkza.zip
« Last Edit: August 29, 2021, 11:33 AM by nizikawa »

Offline Albus

Re: wkToolAssist v. 0.1.0 released
« Reply #1 on: August 29, 2021, 02:12 PM »
Nizikawa, amazing work. It was much faster than I imagined!  :-*

Offline nizikawa

Re: wkToolAssist v. 0.1.0 released
« Reply #2 on: August 29, 2021, 09:25 PM »
Thanks.

I think it would be a really good idea to host a TA challenge on TUS since it's now possible. To develop the module i used this map: https://www.tus-wa.com/maps/map-1976/ and did some test runs, with the best being 122.4s - i'm sure it's fairly easy to beat this.

Re: wkToolAssist v. 0.1.0 released
« Reply #3 on: September 05, 2021, 02:04 PM »
Great stuff, thanks a lot!

Thanks.

I think it would be a really good idea to host a TA challenge on TUS since it's now possible. To develop the module i used this map: https://www.tus-wa.com/maps/map-1976/ and did some test runs, with the best being 122.4s - i'm sure it's fairly easy to beat this.
Yea, hope someone will host TA challenges. Got 125s in my test run on this map, not so easy to beat as u said!
Noticed some bug:
Key S (saving checkpoint) no longer work after instant replay and my game crashed soon after
« Last Edit: September 05, 2021, 05:09 PM by pavlepavle »

Offline nizikawa

Re: wkToolAssist v. 0.1.0 released
« Reply #4 on: September 06, 2021, 09:32 AM »
Noticed some bug:
Key S (saving checkpoint) no longer work after instant replay and my game crashed soon after
Thanks for using my module and reporting this bug. I will find a way to fix this bug for version 0.2.0, which should come within the next few weeks. I developed this module with roping schemes in mind and completely forgot that instant replays can be triggered automatically by some schemes. For now you can just disable instant replays in scheme settings. Sorry for inconvenience.

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 439
    • View Profile
Re: wkToolAssist v. 0.1.0 released
« Reply #5 on: September 07, 2021, 03:40 AM »
This works amazingly well. Very usable and no lag. Fantastic work! It's awesome that TA is now available for everyone.

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 439
    • View Profile
Re: wkToolAssist v. 0.1.0 released
« Reply #6 on: October 08, 2021, 07:12 PM »
How is this not getting any hype and attention?  So much focus on worm order, while this masterpiece quietly flies under the radar..

Offline Mo0k

Re: wkToolAssist v. 0.1.0 released
« Reply #7 on: October 08, 2021, 08:24 PM »
Holla!
Retired Worm Addict - 1999 -2009/10
Clans:
LoR(wwp)
UNI(wwp)
n00b(wwp)
xCx(wa)
CKC(wa)
SiX(wa)
Di(wa)
NBR(wa)
cT(wa)
b0R(wa)
mA(wa)
ruL(wa)
HoS(wa)
sL(wa)
Btk(wa)
tCs(wa)
GQ(wa)
------------------------------------------