Skip to content

Instantly share code, notes, and snippets.

@shenef
shenef / compare.py
Created May 31, 2025 09:21
Compare two videos side by side. Intended to compare speedrun strategies.
import vapoursynth as vs
import vstools
core = vs.core
# Configuration
# Target width for the final side-by-side clip
target_width = 1280
# Paths to input files, need to be absolute paths
left = "path/to/input1.mp4"
@shenef
shenef / splitter.bat
Last active February 21, 2025 11:51
Splits video files into segments less than 12 hours
@echo off
setlocal
REM Configuration:
set "ffmpeg_path=ffmpeg.exe" REM Path to ffmpeg
set "ffprobe_path=ffprobe.exe" REM Path to ffprobe
set "max_duration=43190" REM Max segment duration (12 hours = 43200 sec)
set "overlap=30" REM Overlap duration. To account for keyframes and help with verification.
set "output_prefix=split_video_part"
set "output_ext=.mp4" REM Set the file extension for your output file. Not using .mp4 or .mkv may result in re-encoding!
@shenef
shenef / HideTREZStreams.user.js
Last active June 12, 2023 16:34
Hide streams on therockmanexezone.com/livenow. By default all non-boktai streams are hidden. Notifications still happen.
// ==UserScript==
// @name Filter Streams by Game
// @version 1.0.19
// @author shenef
// @description Hides streams of certain games on the TREZ livenow page
// @match https://www.therockmanexezone.com/livenow/
// @downloadURL https://gist.github.com/shenef/8c1b8a0d0a4182aac80c54c8d507297e/raw/HideTREZStreams.user.js
// @updateURL https://gist.github.com/shenef/8c1b8a0d0a4182aac80c54c8d507297e/raw/HideTREZStreams.user.js
// ==/UserScript==
@shenef
shenef / hyperbolica_any.md
Last active March 22, 2022 22:07
Hyperbolica Any% Beginner Guide

Hyperbolica Any% Beginner Guide

About

This guide is meant to be beginner friendly so will might not contain the latest strategies and won't go too in-depth about optimizations.
If you are new to speedrunning, make sure you give the notes a full read through or slowly play through the game while following the notes. That should give you a general feel for route.
If you want to go for top times it is recommended to watch the WR and join our Discord (https://discord.gg/rR5mYAMfVv).

Due to the curvature of the levels, walking is faster than jumping. The only exception for that are the De Sitter Farms where jumping is faster than walking.

Q/C = Quit to the title screen and then hit Continue. Since the game doesn't save your position, this will put you at the entrance of a level or into the center if you are in the hub. This is often used to skip cutscenes or walking sections.

/* how to use this:
1. install the stylus extension for chrome or firefox
https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne
https://addons.mozilla.org/firefox/addon/styl-us/
2. open speedrun.com, click on the extension and in "write a style for" select "speedrun.com"
3. copy/paste the contents of this gist: https://gist.github.com/shenef/3dd4b99e74882873d7fb45cb5549f5b1
if you have any suggestions or issues you can contact me on discord (shenef#1269), speedrun.com or comment on this gist */
/* SETTINGS - change only the numbers */

Update dates and changelog is copied from the Google Play Store.
If no Date is available the date the update arrived is used or the date provided by an external changelog. If the changelog is empty, there was no changelog supplied or it was the same as for the last changelog.


2020-06-25 - Resources
http://www.resources-game.ch/en/game-info/changelog


/echo *Sources to follow:*
1. Preregister! [Official Website](https://catanworldexplorers.com/)
2. [Official YouTube channel](https://www.youtube.com/c/CatanWorldExplorers)
3. [Official Community Forums](https://community.catanworldexplorers.com/)
4. [Official Telegram Channel](http://t.me/CatanWorldExp)
7. [Subreddit](https://www.reddit.com/r/catanworldexplorers/)
*Downloads*
- [Play Store](https://play.google.com/store/apps/details?id=com.nianticlabs.catanwe)
- [Apple store](https://apps.apple.com/nz/app/catan-world-explorers/id1495003617)