This dumps from parfait's .src files. {{{#!python #!python import sys, os, re def print_safe(string): sys.stdout.buffer.write((str(string)+"\n").encode("utf-8")) for fn in sys.argv[1:]: if not fn.endswith(".src"): continue with open(fn, "r", encoding="cp932") as f: for line in f.readlines(): line = re.sub(r"//.*", "", line).strip() if line == "": continue message = re.search(r'SetMessage[^\(]*\([^,]*,[^,]*,[^"]*"[^"]*"[^,]*,[^"]*"([^"]*)"[^\)]*\)', line) #message = re.search(r'(SetMessage)', line) if message: message = message.group(1) message = re.sub(r"@[vhstwmfio][0-9a-zA-Z_]*", "", message) message = re.sub(r"@[npkeag]", "", message) print_safe(message) if "@" in message: exit() allowed = ["Merry", "World", "Space", "blueberry", "strawberry", "pudding", "Excuse", "Later", "Wait", "Something", "Again", "cakes", "possible", "problem", "waiting", "Thank"] if re.search(r'[a-zA-Z_]', message) and not sum([term in message for term in allowed]): exit() }}}