Skip to content

Instantly share code, notes, and snippets.

View Chase-san's full-sized avatar

Chase-san

  • Detroit, USA
View GitHub Profile
@Chase-san
Chase-san / base_stats.csv
Created October 24, 2024 03:58
Infinite Fusion script for determing the fusion with the best combined BST.
Arceus 120 120 120 120 120 120
Kyurem 120 90 95 170 100 125
Dialga 120 120 90 150 100 100
Palkia 120 100 100 150 120 90
Giratina 120 100 90 120 100 150
Reshiram 120 100 90 150 120 100
Ho-Oh 130 90 90 110 154 106
Zekrom 150 120 90 120 100 100
Mewtwo 110 90 130 154 90 106
Rayquaza 150 90 95 150 90 105
@Chase-san
Chase-san / result.csv
Last active December 31, 2023 07:17
This is the result of me checking the best fusion for each pair of pokemon. This is the list of pokemon with a BST higher than either component pokemon. The delta is how much more BST the fusion has than the highest of the two component pokemon.
Delta Fusion BST Fusion ID Fusion Name
85 625 242.368 Blissey/Haxorus
83 623 242.91 Blissey/Cloyster
83 623 242.333 Blissey/Aggron
79 619 242.271 Blissey/Leafeon
76 526 113.328 Chansey/Doublade
75 615 242.265 Blissey/Rhyperior
72 528 113.356 Chansey/Ninjask
71 611 242.169 Blissey/Crobat
70 520 113.28 Chansey/Sandslash
@Chase-san
Chase-san / modifiers.md
Last active January 18, 2024 18:29
Starbound Armor/Weapon Modifiers

Equipment Mods

Slots with a given mod slot are mutually exclusive. The slot names are arbitrary. The same mods on different items do not stack. So two resource hauler or two O2 boosted do not give additional benefits.

Slot A

Ablative [13369c] suit

  • -15% incoming Energy damage.
@Chase-san
Chase-san / nmssavetool.py
Created September 5, 2021 22:08
A tool for de/compressing No Man's Sky save files.
#!/usr/bin/python3
# Copyright 2021, Robert Maupin
# Copying and distribution of this file, with or without modification, are
# permitted in any medium without royalty, provided the copyright notice and
# this notice are preserved. This file is offered as-is, without any warranty.
import io
import os
import lz4.block
@Chase-san
Chase-san / decode.py
Created September 5, 2021 21:25
A python script to decode the hello games no man's sky save files. (The newer compressed kind)
#!/usr/bin/python3
import io
import os
import lz4.block
from glob import glob
FILE_PATH = os.path.dirname(os.path.realpath(__file__))
def uint32(data):
"""Convert 4 bytes to a little endian unsigned integer."""
@Chase-san
Chase-san / JRIAC.cs
Last active December 25, 2020 14:22
Space Engineers
/**
* Jackrabbit Industries Automation Controller (JRIAC)
* Version 1.1
*/
// CONSTANTS
const string BlockPrefix = "[Automated]";
//const string GroupPrefix = "[Automated]"; //TODO
// Set Programmable Block screen to 0.4 font size, recommend Monospace font.
@Chase-san
Chase-san / utf8.c
Last active October 13, 2019 10:32
A poor man's conversion from UCS-2/UTF-32 to UTF-8. Has limited support for UTF-16. As it uses wchar_t, this cannot easily be fixed.
/*
Copyright (c) 2014, Robert Maupin <chasesan>
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
@Chase-san
Chase-san / Makefile
Last active August 29, 2015 14:05
Simple Project Makefile (for windows mostly)
SRC_PATH = src
OBJ_PATH = obj
CC = clang
CFLAGS = -std=c11 -Wall -Wpointer-arith -Wwrite-strings -Wuninitialized -pedantic
LDFLAGS = -static-libgcc -lmingw32
TARGET = elsewhere.exe
CFLAGS += -DSDL
@Chase-san
Chase-san / powersys.cpp
Last active August 29, 2015 13:56
Cataclysm DDA Power System Rough
bool power_plant::has_power(uint64_t time) {
return shutdown_time > time;
}
void power_plant::powerup(uint64_t time) {
//set next shutdown time to 4-12 days in the future
shutdown_time = time + 24 * (4 + (rand() % 8));
for(int i = 0; i < buildings.size(); ++i) {
buildings[i].powerup();
}
@Chase-san
Chase-san / Expr.ATG
Created December 24, 2013 18:04
This is my grammar for my Expression parser. Made for use with Coco/R.
package org.csdgn.expr.coco;
import java.math.BigDecimal;
COMPILER CompilationUnit
public Expr tree;
CHARACTERS
digit