Skip to content

Instantly share code, notes, and snippets.

View PackmanDude's full-sized avatar

Mr. Packman PackmanDude

View GitHub Profile
@PackmanDude
PackmanDude / World of Thaumcraft.md
Last active September 21, 2025 20:43
Modified World of Thaumcraft modpack's mods list.

Baubles
Block Drops
CTM
Dynamic Surroundings
Enchanting With Thaumcraft
Gravestone Mod
Guide-API
Jeivillagers
Just Enough Items
OreLib Support Mod

@PackmanDude
PackmanDude / mpool.h
Last active September 21, 2025 18:51
A memory pooling library. (WIP)
#ifndef MPOOL_LIB
#define MPOOL_LIB
#ifdef __has_builtin
# if __has_builtin(__builtin_expect)
# define unlikely(condition) __builtin_expect((condition), 0)
# else
# define unlikely(condition) (condition)
# endif
#endif
@PackmanDude
PackmanDude / magic8.c
Last active April 24, 2025 18:15
Magic 8 game in C.
/* Magic 8 game in C
Copyright (C) 2025 PackmanDude
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
@PackmanDude
PackmanDude / balancity-gnu-linux-fix.md
Last active April 24, 2025 18:06
A guide for running BalanCity on GNU/Linux operating systems.

Instructions

Files you copy/install must be compatible with your game architecture.

  1. Install libgconf
  2. Add this to launch options:
LD_LIBRARY_PATH=/path/to/pango-1.43/lib %command%
@PackmanDude
PackmanDude / set-proton-ge.hook
Last active September 21, 2025 20:57 — forked from usrtrv/update_proton.sh
Update every game's proton version.
[Trigger]
Operation = Install
Operation = Upgrade
Type = Package
Target = proton-ge-custom-bin
[Action]
Description = Setting Proton GE as the default Proton version...
When = PostTransaction
Exec = /bin/sh -c 'export HOME=/home/packman; $HOME/update_proton.sh -p "$(awk \'{ print $2 }\' /usr/share/steam/compatibilitytools.d/proton-ge-custom/version)" 1>/dev/null'