Skip to content

Instantly share code, notes, and snippets.

View YellowApple's full-sized avatar

Ryan S. Northrup (RyNo) YellowApple

View GitHub Profile
@dkaraush
dkaraush / oklch2rgb.js
Last active May 27, 2025 23:00
conversion OKLCH into RGB and RGB into OKLCH in js, simplified
const multiplyMatrices = (A, B) => {
return [
A[0]*B[0] + A[1]*B[1] + A[2]*B[2],
A[3]*B[0] + A[4]*B[1] + A[5]*B[2],
A[6]*B[0] + A[7]*B[1] + A[8]*B[2]
];
}
const oklch2oklab = ([l, c, h]) => [
l,
Setting, DefaultValue, INIValue, CurrentValue, Origin
sScreenShotBaseName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI
sScreenShotFolderName:Display, <unimplemented>, <unimplemented>, <unimplemented>, INI
sRuntimeLODDatabasePath:LODManager, <unimplemented>, <unimplemented>, <unimplemented>, INI
strPluginsFileHeader:General, <unimplemented>, <unimplemented>, <unimplemented>, INI
sLanguage:General, <unimplemented>, <unimplemented>, <unimplemented>, INI
sFailureMessage:LANGUAGE, <unimplemented>, <unimplemented>, <unimplemented>, INI
sResourcePrefixList:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI
sDLCDefaultVoiceSuffix:Archive, <unimplemented>, <unimplemented>, <unimplemented>, INI
sLocalMasterPath:General, <unimplemented>, <unimplemented>, <unimplemented>, INI
@DropTheSquid
DropTheSquid / instructions.md
Created September 17, 2022 22:31
Instructions to run ME3Tweaks Mod Manager semi successfully on the Steam Deck

The Steam Deck can run Mass Effect Legendary Edition with almost no fiddling (at least if you bought it through Steam; Origin installs will not be covered in this guide specifically but most of it should still work if you can get the vanilla game running), but modding it is a different story. You have to run a windows program that has graphical issues without config changes, and give it access to the game directory because the game runs in a sandbox. I will cover how to get the ME3Tweaks Mod Manager running well enough to install and update mods, and lay out the known issues and limitations.

As a reminder, the modding tool set is built for Windows. Linux is not supported and will not be supported in the forseeable future. Linux specific bugs will very likely not get worked on. This guide is to help the small proportion of users who want to use the mod manager on Linux despite the lack of support and the issues and difficulty it will bring.

Most of this guide will happen in Desktop mode, but by the

#!/usr/bin/env python3
"""
Python 3 code that can decompress (to a .gvas file), or recompress (to a .savegame file)
the UE4 savegame file that Astroneer uses.
Though I wrote this for tinkering with Astroneer games saves, it's probably
generic to the Unreal Engine 4 compressed saved game format.
Examples:
Below I collected relevant links and papers more or less pertaining to the subject of tetrahedral meshes.
It's an ever-growing list.
------------------------------
Relevant links:
http://en.wikipedia.org/wiki/Types_of_mesh
http://en.wikipedia.org/wiki/Tetrahedron
http://en.wikipedia.org/wiki/Simplicial_complex
@ruario
ruario / latest-firefox.sh
Last active June 16, 2025 09:35
This script will find the latest Firefox binary package, download it and repackage it into Slackware format.
#!/bin/bash
# latest-firefox Version 1.6.3
# Contributer: drgibbon (thanks!)
# This script will find the latest Firefox binary package, download it
# and repackage it into Slackware format.
# I don't use Firefox for regular browsing but it is handy for
# comparative tests against Vivaldi. :P