Skip to content

Instantly share code, notes, and snippets.

View Puyodead1's full-sized avatar
Sparks F L Y when I type! 😂

Puyodead1 Puyodead1

Sparks F L Y when I type! 😂
View GitHub Profile
@Puyodead1
Puyodead1 / extract.py
Created March 7, 2024 05:31
Kilohearts Content Bank File extractor
# Kilohearts Content Bank Extractor
# Puyodead1
#
# Why? idk, because I can
import argparse
import os
import pathlib
from binreader import BinaryReader
@Puyodead1
Puyodead1 / main.py
Created February 22, 2024 15:30
international trucks
you ever wanted to download the models from international trucks? no? well here you go anyways
@Puyodead1
Puyodead1 / unpack.py
Created November 11, 2023 22:46
FTL.dat unpacker
from pathlib import Path
from typing import List
from binreader import BinaryReader
class PkgEntry:
path_hash: int
path_offset: int
data_deflated: bool
@Puyodead1
Puyodead1 / features.md
Last active December 11, 2022 14:43 — forked from Techy/features.md
Discord Guild Features

This is an unofficial list of all Discord guild features, for an official list refer to the Discord Developer documentation.

Guild Feature Description
ANIMATED_ICON Allows the server to set an animated icon. Used in server boosting, level 1
BANNER Allows the server to set a banner which is shown at the top of all the channels. Used in server boosting, level 2
COMMERCE Given to servers with a developer license, allows them to create and use store channels
COMMUNITY Given to servers that enable community in server settings, also gives access to the news feature which allows servers to create announcement channels
DISCOVERABLE Given to servers that enabled discovery guidelines
ENABLED_DISCOVERABLE_BEFORE Given to servers that enabled discovery at any point
@Puyodead1
Puyodead1 / README.md
Last active July 11, 2023 20:27
Unofficial Run8 V3 File Format Specifications

Notice

This is outdated, please see my Run8 V3 Reverse Engineering Repo for up-to-date specs, blender scripts, a POC C# library and more.

Overview

Run8 V3 is a train simulator that strives for realistic physics and operations. My intensions for doing any of this reverse engineering is soley for personal modding of the game, I am making it public only for others who wish to do the same.

All of the information is unofficial and may not be 100% correct. This has been a learning experience for me also as I really didn't know what I was doing, and I've learned a lot about 3d graphics from this.

@Puyodead1
Puyodead1 / facts.json
Created December 10, 2019 20:21
Facts List for PyBot
[
"11% of people are left handed",
"August has the highest percentage of births",
"unless food is mixed with saliva you can't taste it",
"the average person falls asleep in 7 minutes",
"a bear has 42 teeth",
"an ostrich's eye is bigger than its brain",
"lemons contain more sugar than strawberries",
"8% of people have an extra rib",
"85% of plant life is found in the ocean",
@Puyodead1
Puyodead1 / CancellationDetector.java
Created August 28, 2019 22:42 — forked from aadnk/CancellationDetector.java
A class that allows you to detect which plugin cancelled a given event.
package com.comphenix.example;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.EnumMap;
import java.util.Iterator;
import java.util.List;
import org.bukkit.event.Cancellable;