Skip to content

Instantly share code, notes, and snippets.

View dotaxis's full-sized avatar

Chase Taylor dotaxis

View GitHub Profile
@dotaxis
dotaxis / memoria.sh
Last active February 4, 2026 15:44
Memoria Patcher for Linux
#!/bin/bash
echo "WARNING!"
echo "A Steam or GOG (Heroic) copy of FINAL FANTASY IX needs to be installed on this device!"
echo
echo "If you face issues with this installer, please pay us a visit on Discord:"
echo "https://discord.gg/tsunamods-community-277610501721030656"
echo "You can find me (Dot) in the #ff9-linux channel!"
echo
if ! awk --version 2>/dev/null | grep -q "GNU Awk"; then
@dotaxis
dotaxis / hobbit_wrapper.sh
Created June 8, 2024 14:54
Wrapper for running HobbitInstaller for FF8 in Linux
#!/bin/bash
# Locate SteamLibrary containing app_id
getSteamLibrary() {
local app_id="$1"
local path=$(
awk -v app_id="$app_id" '
/^[[:space:]]*"[0-9]+"$/ {
in_block = 1;
block = $0;
@dotaxis
dotaxis / Spoofer.js
Created March 18, 2021 00:18
PS4 Spoof Firmware Self-Host
var payload = [233,0,0,0,0,83,72,137,251,232,125,10,0,0,232,96,5,0,0,72,141,53,52,0,0,0,72,137,218,191,11,0,0,0,49,192,232,30,14,0,0,232,11,1,0,0,72,141,61,64,14,0,0,232,104,1,0,0,49,192,91,195,72,137,249,15,50,72,137,215,72,193,231,32,72,9,248,195,72,139,71,8,185,130,0,0,192,72,139,112,64,76,139,64,72,15,50,72,137,209,72,139,150,24,1,0,0,72,193,225,32,72,9,193,72,141,129,64,254,255,255,72,199,70,4,0,0,0,0,199,70,20,0,0,0,0,72,131,201,255,199,2,0,0,0,0,72,139,144,152,227,19,1,72,137,86,48,72,139,144,80,87,44,2,73,137,80,32,73,137,80,24,72,139,151,48,1,0,0,72,191,7,0,0,0,0,0,0,56,72,137,74,96,72,137,122,88,72,137,74,104,15,32,194,72,137,209,72,129,225,255,255,254,255,15,34,193,199,128,254,245,37,0,1,0,3,8,199,128,121,5,38,0,1,0,3,8,199,128,26,6,38,0,1,0,3,8,199,128,168,82,102,0,1,0,3,8,199,128,162,247,107,0,1,0,3,8,199,128,212,142,119,0,1,0,3,8,199,128,26,122,120,0,1,0,3,8,199,128,128,196,168,1,1,0,3,8,199,128,104,5,31,2,1,0,3,8,15,34,194,49,192,195,85,83,72,131,236,8,69,49,201,69,49,192,49,201,49,210,49,246,7
using UnityEngine;
public static class InputHandler
{
private static readonly Camera MainCam = Camera.main;
private static int _frameCount = -1;
private static Vector3 _lastPos = Vector3.zero;
private static Vector2 _delta = Vector2.zero;
public static Vector2 MouseDelta => _MouseDelta();