Skip to content

Instantly share code, notes, and snippets.

View bearlikelion's full-sized avatar

Mark Arneman bearlikelion

View GitHub Profile
@bearlikelion
bearlikelion / unityextract.sh
Last active August 16, 2026 19:55
.unitypackage native extractor shell script
#!/usr/bin/env bash
#
# unityextract - unpack .unitypackage files into a plain folder tree for Godot.
# Every .fbx becomes a .glb with embedded textures and .meta files are dropped.
#
# Install (the symlink target must be an absolute path or the link dangles):
# chmod +x /opt/unityextract/unityextract.sh
# sudo ln -s /opt/unityextract/unityextract.sh /usr/local/bin/unityextract
#
# Usage:
@bearlikelion
bearlikelion / freshmox.sh
Last active August 1, 2026 16:41
Fresh Proxmox Setup
#!/usr/bin/env bash
# Post-install setup for a fresh single-node Proxmox VE host.
#
# A stock install enables the enterprise repositories, which return 401 without
# a paid subscription, so apt fails before anything else can be done. This
# switches to the free no-subscription repo, disables Ceph, and upgrades.
#
# Safe to re-run: every step is guarded.
#
# scp scripts/pve-bootstrap.sh root@<host>:/tmp/
@bearlikelion
bearlikelion / UI_Marn_freeport_LO1.ini
Created July 2, 2026 19:40
My Everquest Legends UI INI file
[Main]
UISkin=default_modern
AtlasSkin=Default
MapSkin=
[MainChat]
INIVersion=1
FirstTimeAlert=75
XRef=center
YRef=bottom
XPos=-11.901041%
@bearlikelion
bearlikelion / wayland-nvidia-freeze-fix.patch
Created May 21, 2026 01:09
A change to fix the infinite timeout on NVIDIA + Wayland on Linux Forward+
From ed563256840bfac77b9abf7e011cb2971614e1ba Mon Sep 17 00:00:00 2001
From: Mark <markarneman@gmail.com>
Date: Wed, 20 May 2026 21:08:04 -0400
Subject: [PATCH] vulkan wayland rendering infinite timeout fix on nvidia
---
core/config/project_settings.cpp | 9 ++++++
.../vulkan/rendering_device_driver_vulkan.cpp | 32 ++++++++++++++++++-
main/main.cpp | 4 +++
.../wayland/display_server_wayland.cpp | 12 ++++++-
@bearlikelion
bearlikelion / SeedborneSoldiers.log
Created March 30, 2026 02:06
SeedborneSoldiers.x86_64
./SeedborneSoldiers.x86_64
Godot Engine v4.4.1.stable.official.49a5bc7b6 - https://godotengine.org
Vulkan 1.4.312 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce RTX 3060
Random seed is: -1570546712039832842
[S_API] SteamAPI_Init(): Loaded '/home/mark/.local/share/Steam/linux64/steamclient.so' OK.
IPC function call IClientUtils::GetSteamEnvironmentForApp took too long: 61 msec
Setting breakpad minidump AppID = 3039930
SteamInternal_SetMinidumpSteamID: Caching Steam ID: 76561197984176210 [API loaded no]
Successfully connected to Steam!
@bearlikelion
bearlikelion / ghostBeats.py
Created March 8, 2026 02:16 — forked from twobob/ghostBeats.py
Ghost Beats straight to midi. No Deps.
import struct
import math
import random
import os
from typing import List, Tuple, Dict, Optional
# --- MIDI CONSTANTS ---
PPQ = 960
# General MIDI Map
@bearlikelion
bearlikelion / organize_equipment.py
Last active February 8, 2026 01:24
Organize Extracted EQ 1 Equipment
#!/usr/bin/env python3
"""
EverQuest Equipment GLB Organizer
Categorizes and renames 471 GLB equipment files based on EQSage items.json metadata.
"""
import json
import os
import shutil
import re
@bearlikelion
bearlikelion / organize_characters.py
Created February 7, 2026 19:53
Organize Extracted Everquest 1 Characters
#!/usr/bin/env python3
"""Organize EverQuest character exports into Race/Gender folders and rename animations."""
import struct
import json
import os
import shutil
BASE = os.path.dirname(os.path.abspath(__file__))
TEXTURES_DIR = os.path.join(BASE, "Textures")
@bearlikelion
bearlikelion / player.gd
Created January 10, 2026 15:25
Cooties PR2 player.gd solution
class_name Player
extends CharacterBody2D
enum {
NULL = 0,
DEFAULT_LAYER = 1,
ONE_WAY_LAYER = 2,
BOUNCY_LAYER = 4
}
@bearlikelion
bearlikelion / deploy_steam.sh
Last active December 17, 2025 22:23
SurfsUp Steam Deploy Scripts
#!/usr/bin/bash
echo "=== Building SurfsUp Release ==="
GODOT_BIN=~/Source/godot-mark/bin/godot.linuxbsd.editor.x86_64
# Export client builds
echo "[1/3] Exporting Windows Client..."
$GODOT_BIN --path ../ --export-release --headless "Windows Release"