This file contains hidden or 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 sys | |
import time | |
import user_storage_pb2 | |
# from assets\global.wad\bikes\levels | |
levels = { | |
"entry": { | |
"distance": [100000, 130000, 160000, 190000, 220000], | |
"elevation": [1000, 1250, 1500, 1750, 2000], |
This file contains hidden or 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
# Requires https://github.com/oldnapalm/zwift-offline/raw/refs/heads/master/scripts/wad_unpack.exe | |
import os | |
import xml.etree.ElementTree as ET | |
import re | |
import json | |
import subprocess | |
worlds = 'C:\\Program Files (x86)\\Zwift\\assets\\Worlds' |
This file contains hidden or 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 | |
name = 'ZwiftApp.exe' | |
find = b'\x48\x8b\xc4\x53\x55\x56\x57\x41\x54\x41\x55\x41\x56\x41\x57\x48\x81\xec\xd8\x00\x00\x00' | |
repl = b'\x0f\x57\xc0\xc3\x35\x56\x57\x41\x54\x41\x55\x41\x56\x41\x57\x48\x81\xec\xd8\x00\x00\x00' | |
if os.path.isfile(name): | |
with open(name, 'rb') as f: | |
orig = f.read() | |
patched = orig.replace(find, repl) |
This file contains hidden or 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 sys | |
import platform | |
import time | |
import math | |
import signal | |
import threading | |
import xml.etree.ElementTree as ET | |
from urllib3 import PoolManager | |
from binascii import crc32 |
This file contains hidden or 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 sys | |
import argparse | |
import fitdecode | |
import json | |
import math | |
import folium | |
parser = argparse.ArgumentParser() | |
parser.add_argument('--input', '-i', type=str, required=True) |
This file contains hidden or 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
using System; | |
using GTA; | |
using GTA.Math; | |
using GTA.Native; | |
namespace LoadCayoPerico | |
{ | |
public class LoadCayoPerico : Script | |
{ | |
private Blip island; |
This file contains hidden or 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
{ | |
"Name": "Mount Chiliad climb", | |
"StartPoint": { | |
"X": -842.4644, | |
"Y": 5442.768, | |
"Z": 34.16289 | |
}, | |
"Props": [ | |
{ | |
"Name": "prop_tri_start_banner", |