Skip to content

Instantly share code, notes, and snippets.

@mcu8
mcu8 / README.md
Last active June 2, 2024 21:38
Running A Hat in Time Editor on Linux

Running A Hat in Time Modding Tools on Linux

Tested on Proton-GE 25 and Manjaro Linux

(WIP, may include more details for beginners later)

You need to install protontricks first! (I used yay -s protontricks since I'm using ArchLinux-based distro)

Then, you need to find your Steam library folder, where the compatdata is stored (use google if you don't know how)

Usually it is in $HOME/.steam/root - you can assing it into the $steamdir variable in your terminal: steamdir="$HOME/.steam/root"

@mcu8
mcu8 / hueh.js
Created April 4, 2023 00:39
[Tampermonkey] Twitter: Display "hueh" instead of doge :hueh:
// ==UserScript==
// @name Hueh instead of doge
// @namespace http://tampermonkey.net/
// @version 0.1
// @description doge? here's the real deal!
// @author m_cube
// @icon https://www.google.com/s2/favicons?sz=64&domain=twitter.com
// @grant none
// @match https://*.twitter.com/*
// @match https://twitter.com/*
@mcu8
mcu8 / Main.cs
Created August 10, 2021 16:09
Example mod for Here Comes Niko!
using UnityModManagerNet;
using HarmonyLib;
using System;
using System.Reflection;
namespace NikoOwO
{
static class Main
{
public static bool IsEnabled;
@mcu8
mcu8 / mcu8_SeqAct_MusicTreeVolumePitchMltp.uc
Created September 7, 2019 21:39
Change MusicTree Volume/Pitch multiplers
class mcu8_SeqAct_MusicTreeVolumePitchMltp extends SequenceAction;
var float MultiplerVolume;
var float MultiplerPitch;
defaultproperties
{
ObjName="Change MusicTree Volume/Pitch multiplers"
ObjCategory="Sound"
@mcu8
mcu8 / mcu8_SeqAct_JoinOnlineParty.uc
Last active September 7, 2019 20:31
Script for joining Online Party using Kismet in A Hat in Time
class mcu8_SeqAct_JoinOnlineParty extends SequenceAction;
var() string LobbyName<Tooltip=Lobby name>;
var() bool bDebug<Tooltip=Debug.>;
defaultproperties
{
ObjName="JoinOnlineParty"
ObjCategory="Misc"
@mcu8
mcu8 / AHiT_nomods.bat
Created August 25, 2019 16:58
AHiT_nomods.bat
@echo off
rem You must set it to game installation location
set GAMEDIR="C:\Program Files (x86)\Steam\steamapps\common\HatinTime"
rem Enter into "gamedir"
cd %GAMEDIR%
rem Replace all "mod_disabled=0" to "mod_disabled=1" in HatinTimeMods.ini