The Ultimate Site of Worms Armageddon

Worms: Armageddon => General discussion => Wormkit Modules => Topic started by: nizikawa on August 28, 2021, 11:01 AM

Title: wkToolAssist v. 0.1.0 released
Post by: nizikawa 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:
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
Title: Re: wkToolAssist v. 0.1.0 released
Post by: Albus on August 29, 2021, 02:12 PM
Nizikawa, amazing work. It was much faster than I imagined!  :-*
Title: Re: wkToolAssist v. 0.1.0 released
Post by: nizikawa on August 29, 2021, 09:25 PM
.
Title: Re: wkToolAssist v. 0.1.0 released
Post by: pavlepavle 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
Title: Re: wkToolAssist v. 0.1.0 released
Post by: nizikawa on September 06, 2021, 09:32 AM
.
Title: Re: wkToolAssist v. 0.1.0 released
Post by: j0e 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.
Title: Re: wkToolAssist v. 0.1.0 released
Post by: 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..
Title: Re: wkToolAssist v. 0.1.0 released
Post by: Mo0k on October 08, 2021, 08:24 PM
Holla!
Title: Re: wkToolAssist v. 0.1.0 released
Post by: N7Kopper on March 28, 2022, 08:40 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)
Title: Re: wkToolAssist v. 0.1.0 released
Post by: TheRandomSurfboard on May 31, 2022, 04:50 AM
9 times out of 10 when I press R to reload a save state, it just goes to my first attack instead of the save state.
Title: Re: wkToolAssist v. 0.1.0 released
Post by: Danger135 on January 05, 2023, 12:09 AM
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.
Title: Re: wkToolAssist v. 0.1.0 released
Post by: King-Gizzard on March 09, 2023, 03:15 PM
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)?