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
# Cheats need to be on for this to work | |
# Will output whenever an achievement would be earned | |
# "A Good Listener", "Last Stable Version", "QR Reader", and "Thorough Researcher" will not output due to a game bug | |
# Make sure the variable LOG_FILE points to your log file | |
import time | |
LOG_FILE = "C:\Program Files (x86)\Steam\steamapps\common\The Talos Principle\Log\Talos.log" | |
with open(LOG_FILE, "w"): pass | |
log = open(LOG_FILE, "rb") |
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
https://github.com/apple1417/Autosplitters/blob/master/talos_qrs.asl |
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
import xml.etree.ElementTree as xml | |
hints = {} | |
for tetro in xml.parse("TetrominoInstances.xml").getroot().iter("TetrominoInstanceData"): | |
world = tetro.find("Level").text | |
puzzle = tetro.find("PuzzleTitle").text | |
hint = tetro.find("PuzzleHint").text | |
if not puzzle or not hint: | |
continue | |
puzzle = puzzle.split("=")[-1][:-1] |
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
https://github.com/apple1417/Autosplitters/blob/master/talos_principle.asl |
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
https://github.com/apple1417/Autosplitters/blob/master/serious_sam_3_bfe.asl |
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
import sys | |
import xml.etree.ElementTree as ET | |
root = ET.parse(sys.argv[1]).getroot() | |
game = root.find("GameName").text | |
cat = root.find("CategoryName").text | |
# Not using AttemptCount because that can be edited | |
attempts = len(root.find("AttemptHistory").findall("Attempt")) |
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
import os | |
import re | |
import shutil | |
import zipfile | |
EXTRACT_FILES = False | |
if EXTRACT_FILES: | |
if os.path.isdir("tmp"): | |
shutil.rmtree("tmp") |
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
import re | |
import os | |
import shutil | |
import zipfile | |
if not os.path.exists("tmp"): | |
os.makedirs("tmp") | |
all_gros = [f for f in os.listdir("Talos Workshop Backup") if f.endswith(".gro")] | |
all_levels = {} |
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
<Structures> | |
<Structure Name="Gamemode Info" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="1" RLECompression="1" AutoCreateStructsize="4096"> | |
<Elements> | |
<Element Offset="0" Vartype="Pointer" Bytesize="4" Description="File Location" DisplayMethod="Unsigned Integer"/> | |
<Element Offset="4" Vartype="Pointer" Bytesize="4" Description="Gamemode Name" DisplayMethod="Unsigned Integer"/> | |
<Element Offset="8" Vartype="4 Bytes" Bytesize="4" Description="Menu Sort Priority" DisplayMethod="Unsigned Integer"/> | |
<Element Offset="12" Vartype="Pointer" Bytesize="4" Description="Level Type" DisplayMethod="Unsigned Integer"/> | |
<Element Offset="16" Vartype="Pointer" Bytesize="4" Description="Username" DisplayMethod="Unsigned Integer"/> | |
<Element Offset="20" Vartype="Pointer" Bytesize="4" Description="Short Username" DisplayMethod="Unsigned Integer"/> |
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
#include "pch.h" | |
#include <iostream> | |
#include <windows.h> | |
#include <psapi.h> | |
int main() | |
{ | |
/*HANDLE current_token = 0; | |
bool found_token = OpenProcessToken( | |
GetCurrentProcess(), |
OlderNewer