Skip to content

WormsSpeedrunning/LiveSplit.WormsWMD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

69 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LiveSplit.WormsWMD

Worms W.M.D autosplitter for LiveSplit written in ASL (Auto-Splitter Language).

Issues MIT License Status

First Usage

This script is automatically detected by LiveSplit as part of https://github.com/LiveSplit/LiveSplit.AutoSplitters/blob/master/LiveSplit.AutoSplitters.xml

The layout and splits files are somewhat personal and meant to be created from scratch, but can still be imported:

  • .lss file (LiveSplit splits): keeps your own or someone else's splits times
    • import from speedrun.com
  • .lsl file (LiveSplit layout): your preferred layout
    • import from a URL

Installation

  1. Go to the releases page and download the Worms-WMD-Autosplitter-<version>.zip from the latest release
  2. Extract the archive into your desired location
  3. Open up LiveSplit
  4. Right click on the timer
  5. Click on Edit Layout
  6. Click on the + icon
  7. Control > Scriptable Auto Splitter
  8. Double click on the Scriptable Auto Splitter component
  9. Click browse and select the .asl file from the extracted folder (step 2)
  10. Select the missions you want
  11. Create or download the splits (Right click on the timer > Edit Splits), You can also copy and paste the levels from here
  12. Done. You should now be able to open up a level and the timer should automatically start

TODO:

  • Pause the timer when the in game timer stops for example when taking damage or when the game ends

Finetuning:

  • Fix Bug: When exiting level the timer starts and stops for a second

Development

Import

Can be manually imported via the Scriptable Auto Splitter component on your layout. (look Installation)

Changes

Main doc for auto splitters: https://github.com/LiveSplit/LiveSplit.AutoSplitters/

To apply changes to the script just edit the script and save it, there is no need to re-run the game or LiveSplit.

Memory values

To find memory values, their base address and offsets, this technique is very efficient: https://www.unknowncheats.me/forum/programming-for-beginners/110375-cheat-engine-finding-base-address-pointer-scan.html

Debugging

To view logs/prints, download DebugView. To view errors, use Event Viewer already on Windows.