Forums
April 16, 2024, 09:52 AM

Author Topic: wkToolAssist v. 0.1.0 released  (Read 4026 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://github.com/nizikawa-worms/wkToolAssist/releases/download/v.0.1.0/wkToolAssist.v.0.1.0.zip
« Last Edit: January 04, 2023, 05:52 AM by nizikawa »

Offline Albus

  • Sr. Member
  • ****

  • Brazil Brazil
  • Posts: 370
    • View Profile
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 »
.
« Last Edit: July 25, 2023, 05:24 AM by nizikawa »

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 »
.
« Last Edit: July 25, 2023, 05:23 AM by nizikawa »

Offline j0e

  • Sr. Member
  • ****

  • Canada Canada
  • Posts: 445
    • 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: 445
    • 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!
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)
------------------------------------------

Offline N7Kopper

  • New Member
  • *

  • United Kingdom United Kingdom
  • Posts: 15
  • Find me on Xbox Live and Steam too!
    • View Profile
Re: wkToolAssist v. 0.1.0 released
« Reply #8 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)
Political statements written like/this deserve respect only when they are written as parody.

Re: wkToolAssist v. 0.1.0 released
« Reply #9 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.

Offline Danger135

  • Sr. Member
  • ****

  • Slovakia Slovakia
  • Posts: 418
  • People are stupid!
    • View Profile
Re: wkToolAssist v. 0.1.0 released
« Reply #10 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.
123  My teams use this, this, and this soundbanks.

Offline King-Gizzard

Re: wkToolAssist v. 0.1.0 released
« Reply #11 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)?