This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
English | |
#version 3.8.1 | |
# Generic | |
BLANK " " | |
CUSTOM "\1" | |
YES "Yes" | |
NO "No" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# based on https://github.com/elfoor/armabuddy/blob/master/wa_encoder.py | |
# char table detailed here: https://worms2d.info/WA_character_table | |
# pyinstaller exe version: | |
# https://cdn.discordapp.com/attachments/863028348351807488/898253659601797190/wa_character_encoding.exe | |
import os | |
import argparse | |
WA_CHAR_TABLE = ( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
from datetime import timedelta | |
from subprocess import run, DEVNULL | |
from mmap import mmap, ACCESS_READ | |
import os, re | |
# CHANGE ME | |
WA_DIR = r'C:\PATH\TO\WA\INSTALL\CHANGE\ME' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/data/data/com.termux/files/usr/bin/bash | |
echo "getting wake lock state" | |
termux-notification-list | jq -r '.[] | select(.id == 1337).content' | grep -qF 'wake lock held' && locked="true" || locked="false" | |
if [ "$locked" = "false" ]; then | |
echo "wake lock not set, setting for duration of script" | |
termux-wake-lock | |
else | |
echo "wake lock set, Will not alter wake lock state." | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import json | |
import datetime | |
CHANNELS = { | |
506442111084920845: 'about', | |
733402345316286464: 'members', | |
497469150881513472: 'news', | |
497471609553158164: 'worms-faq', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# adapted from https://github.com/bulbipop/ytwlstats/blob/master/cmd.py | |
from bs4 import BeautifulSoup as bs | |
from datetime import datetime, timedelta | |
from argparse import ArgumentParser | |
from filecmp import cmp as compare | |
import requests | |
import browser_cookie3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'Define desired variables | |
exe_directory = "C:\Program Files (x86)\Steam\steamapps\common\Worms Armageddon" | |
exe_filename = "WA.exe" | |
res_x = 800 | |
res_y = 600 | |
'======== Script start ======== | |
'Quit with error return (1) if not a .WAgame file | |
replay_file = WScript.Arguments(0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import spotipy | |
import dateutil.parser | |
USERNAME = 'XXX' | |
CLIENT_ID = 'XXX' | |
CLIENT_SECRET = 'XXX' | |
REDIRECT_URI = 'http://localhost/' |