Skip to content

Instantly share code, notes, and snippets.

View C-ffeeStain's full-sized avatar

C_ffeeStain C-ffeeStain

  • Florida, United States
View GitHub Profile
import cv2
import numpy as np
import pyautogui
import time
def find_image_on_screen(template_path):
# Load the template image
template = cv2.imread(template_path, cv2.IMREAD_GRAYSCALE)
template_height, template_width = template.shape
@C-ffeeStain
C-ffeeStain / apoth_all_setups.md
Last active January 5, 2025 11:43
Apotheosis 1.20.1 Entire Setup from Zero - Hero

Apotheosis Starting Setup (JEI REQUIRED)

Requirements

Recipes for the shelves in this guide WILL NOT BE PROVIDED. Please use JEI. Other requirements include a brain and some sort of sensory organ to perceive this with.

Seashelf Method

To start, make 17 of the Seashelf and place down all but 1 in a formation like the one below.

@C-ffeeStain
C-ffeeStain / mob_masher.md
Created October 1, 2023 01:58
Mob Masher + Sharpness & Looting Upgrades - All the Mods 9 - Total Cost

Mob Masher

  • 38 Iron Ingots
  • 10 Sticks
  • 3 Diamonds
  • 9 Redstone

Sharpness Upgrades

This is the total cost for 10 Sharpness Upgrades.

  • 80 Iron Ingots
import requests,os,winreg,shutil
from pprint import pprint
from pathlib import Path
if not os.path.exists('.files'):
os.mkdir('.files')
count = requests.get('https://spelunky.fyi/api/mods', headers = {'Authorization': 'Token e0d3a9d49771c1d98273e9e1b209d44d50146c4f'}).json()['count']
def check_registry_for_spel2():
import requests, urllib.request, shutil, os
from pprint import pprint
import winreg
from pathlib import Path
from subprocess import Popen
def check_registry_for_spel2():
if winreg is None:
return None
@C-ffeeStain
C-ffeeStain / crate_chances.md
Last active March 7, 2021 20:13
Crate chances for the game Spelunky 2.

Crate Chances

I have created a python script that generates a item or list of items that could be in a crate with their respective properties from the Spelunky 2 fandom. Thanks to Cloppershy for the crate chances.

Code

from random import choices
import sys
items = {
    "Bomb Bag": 34.06,
    "Rope Pile": 34.06,
 "Parachute": 7.57,
@C-ffeeStain
C-ffeeStain / glitchy_entities.md
Last active January 11, 2021 13:25
A list of glitchy entities for Spelunky 2.

Liquids

Usually crash your game.

895: LIQUID_COARSE_WATER
896: LIQUID_IMPOSTOR_LAKE
897: LIQUID_LAVA
898: LIQUID_STAGNANT_LAVA

Items

Crash your game.