Skip to content

Instantly share code, notes, and snippets.

@YaLTeR
YaLTeR / LiveSplit.TheTalosPrinciple.asl
Last active September 18, 2016 16:24 — forked from jbzdarkid/LiveSplit.TheTalosPrinciple.asl
Autosplitter for The Talos Principle
state("Talos") {}
init {
var gameDir = Path.GetDirectoryName(modules.First().FileName);
var path = "";
if (game.Is64Bit()) {
path = gameDir.TrimEnd("\\Bin\\x64".ToCharArray()) + "\\Log\\Talos.log";
} else {
path = gameDir.TrimEnd("\\Bin".ToCharArray()) + "\\Log\\Talos.log";
}
try { // Wipe the log file in case there's leftover messages from last time