Skip to content

Instantly share code, notes, and snippets.

View kergoth's full-sized avatar

Christopher Larson kergoth

  • Siemens Digital Industries Software
  • X @kergoth
View GitHub Profile

Zed Remote Devcontainers

> tree . -a
.
├── connect.sh
├── .devcontainer
│   ├── devcontainer.json
│   ├── Dockerfile
│   └── postCreate.sh
@JeodC
JeodC / portmaster-sparse-checkout-guide.md
Last active May 18, 2025 00:20
PortMaster-New: Using sparse checkout

PortMaster: Using sparse checkout

Sparse checkout is a useful Git feature that lets you only download and work with specific parts of a repository. The PortMaster-New repository is massive — over 50GB in size. Since you're most likely not going to be modifying multiple ports, there's no need to download the entire thing. Use sparse checkout to only grab what you need.

Getting started: Git

Since you’ll be working in the terminal, you'll need Git installed. Download and install it, either using sudo apt install git or downloading Git for Windows depending on your platform. If you use GitHub Desktop, you may already have Git installed. You can check if it’s installed by running git --version in your terminal.

Sparse checkout

If you haven't done so, fork the repository at https://github.com/PortsMaster/PortMaster-New. You can do this in a web browser. In your computer's terminal, clone it: `git clone --filter=blob:none --depth 1 --no-checkout https://github.com/USERNAME/PortMaster-New PortMaster-New

@Europia79
Europia79 / IUPAG-Naming-Convention.md
Last active April 8, 2025 04:12
An alternate naming convention for ROMs & Romhacks.

IUPAG

International Union of Pure & Applied Gaming:

"By Gamers, For Gamers: Committed to the Organization, Preservation, & Development of Romhacks" !!!

History: IUPAG was born to address the lack of a standard naming convention for romhacks, specifically, with respect to "naming collisions" (where different hacks have the same name): This mostly occurs with (1) Translations & (2) Sports games that update rosters to "current year" (i.e. Tecmo, NHL, etc). However, these "naming collisions" also occur with other hacks: When two different hacks have the same "branding" (name).

Philosophy: The goal is to provide a "Parent Specification" that is easily customizable according to individual preferences, as well as promote other standards, like good, sane patching practices (like "auto-patching").

For a more in-depth review of our History & Philosophy, feel free to join our Discord: https://discord.gg/kEe3aUzJ5D

@JeodC
JeodC / rp5-wine-ports.md
Last active May 18, 2025 00:16
A beginner's guide to creating wine ports for the Ayn Odin 2, Retroid Pocket 5, and Retroid Pocket Mini

Rocknix Wine Ports

Using wine is a deep rabbit hole for anyone not familiar with the software, and an even deeper rabbit hole when combined with box86 or box64. This guide attempts to serve as a basic introduction to using the built-in wine and box packages included with Rocknix on a Retroid Pocket 5. While the Retroid Pocket Mini is a similar setup chain, it is weaker hardware than the Retroid Pocket 5 and thus the examples provided here may not function as well.

Terminology - Wine and Box86/64

The first thing anyone should understand is the vernacular used throughout this guide. Two tools are used to make wine ports possible on ARM64:

  • Box86 and Box64 by ptitSeb are Linux x86 and x86_64 emulators targeting AARCH64/ARM64 architecture.

  • Wine is a software that allows Windows programs to run on Linux systems. Prebuilt wine binaries can be downloaded from the [wine-builds](https://github.com

@JeodC
JeodC / pm-primer-gms.md
Last active May 22, 2025 06:12
PortMaster: Understanding Game Maker Engine - A Primer

image PortMaster: Understanding Game Maker Ports - A Primer image

image

A large chunk of PortMaster ports are games using the GameMaker Engine. This engine (referred to as GMS) is an excellent beginner engine for getting into porting, but can also quickly become pretty advanced. This primer hopes to accurately summarize a few key points for how GMS ports are created and work.

Tools Used

PortMaster Engineers heavily rely on a few major tools that make GMS ports successful.

How to Setup Syncthings with PC and muOS

Terminology

Name Description
Syncthings Syncthing is a continuous file synchronization program. It synchronizes files between two or more computers in real time, safely protected from prying eyes. Your data is your data alone and you deserve to choose where it is stored, whether it is shared with some third party, and how it’s transmitted over the internet.

General Idea

The guide would setup syncthings with a PC and RG35XX Plus running muOS, if your host system is different the concept would be the same however you might need to tweak a few things. I would be syncing my muOS save folder to my PC as a backup method.

@JeodC
JeodC / TUC-Steam-Guide.md
Last active May 21, 2025 01:04
A guide to setting up Command & Conquer: The Ultimate Collection for Steam - Dated March 13th 2024

Command & Conquer: The Ultimate Collection (Steam Guide)

Author: Jeod

Contributors:

  • TerrorTowers
  • hxdr0n0s
  • Unstoppable
  • Agent
@sonic2kk
sonic2kk / get_some_steam_shortcut_information.sh
Created October 24, 2023 20:25
Parse some Steam Shortcut information from shortcuts.vdf using Bash.
#!/usr/bin/env bash
# AppID is a special case I haven't made generic yet since it doesn't have an end byte the same way other fields do afaik
# Adapted from my gist: https://gist.github.com/sonic2kk/4a3383b401931a171a4addc29bdf903f
function get_shortcut_appid {
# Magic that represents 'appid' column
magic_appid="617070696400"
shortcut_hex="$1"
function convert_aid {
@tyalie
tyalie / 01_readme.md
Last active February 11, 2025 19:53
Atuin ZSH up/down arrow integration

Simple script for zsh which gives us a more native up/down arrow behavior for the [atuin magial shell history][1] plugin with behavior similar to e.g. [zsh-history-substring-search][2]. This is an improved reimplemtation of [@Nezteb's gist][3] for the same issue.

Behavior

Note

This assumes default keybindings

First and foremost: The script is aware of multiline buffers. So when going up or down, the script will first try to step through the lines of a multiline buffer, before going to the next history entry.

When pressing up the shell will iteratively go through the previous atuin history and have each result directly in the command buffer / command line. Any text in the initial buffer will be used as a search query.

#!/bin/bash
# NES Flips Wrapper by Europia79
##########################################
# README #
##########################################
# (1) This script requires Linux, Mac, or Git-for-Windows:
# https://gitforwindows.org/
# https://git-scm.com/download/win
# (2) This script also requires Floating IPS (flips) v1.31:
# https://github.com/Alcaro/Flips