English
Main Menu
My panel

  • Welcome to The Ultimate Site of Worms Armageddon. Please log in or sign up.
Active chat preview

This box automatically views your last visited chat.

wkToolAssist v. 0.1.0 released

Started by nizikawa, August 28, 2021, 11:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nizikawa

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://github.com/nizikawa-worms/wkToolAssist/releases/download/v.0.1.0/wkToolAssist.v.0.1.0.zip

Albus

Nizikawa, amazing work. It was much faster than I imagined!  :-*

nizikawa

#2
.

pavlepavle

#3
Great stuff, thanks a lot!

Quote from: nizikawa 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.
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

nizikawa

#4
.

j0e

This works amazingly well. Very usable and no lag. Fantastic work! It's awesome that TA is now available for everyone.

j0e

How is this not getting any hype and attention?  So much focus on worm order, while this masterpiece quietly flies under the radar..

Mo0k

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)
------------------------------------------

N7Kopper

Quote from: j0e 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..
I just want OP to know that I appreciated messing around with this. The fact that those water cheats are built in is actually good for a TAS tool. I could see it being good for training too. Practicing zook angles and all that. (Just need to use a wind cheat for more convenience than having a thousand schemes)
Political statements written like/this deserve respect only when they are written as parody.


Danger135

Do not work under Windows XP.  :(  When run TA_gog_steam.exe, it do error (see attached image).  When click OK, it take another window with "Failed to load WormKit module wkNakadashi.dll...". There was no wkNakadashi.dll file included with package, maybe that is the problem. Again click OK, and it start, but when try start game, it crash, and make ERRORLOG.TXT.
123  My teams use this, this, and this soundbanks.

King-Gizzard

I love this utility.  I'm not sure if there's an appetite to add new features to it but if so would it be possible to load an existing replay and continue from a particular point, as a read-only thing (no need to write out a new replay file)?