Skip to content

Instantly share code, notes, and snippets.

View MarkusMaal's full-sized avatar
✈️

Markus Maal MarkusMaal

✈️
View GitHub Profile
@MarkusMaal
MarkusMaal / gist:242008902de1d9c58556947a5107c067
Created November 30, 2025 17:52
uBlock Origin fix for the stupid YouTube layout, where it only shows 3 videos per line on the homepage
! YouTube Fix & Customization by Arch v1.8.5
! -- Modified version by Markus Maal --
! (1/11) YouTube 6 Videos Per Row Fix (Home and Channel Pages) / YouTube Fix & Customization
youtube.com##ytd-rich-grid-row, #contents.ytd-rich-grid-row:style(display:contents !important;)
youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-items-per-row: 6 !important;)
youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-posts-per-row: 6 !important;)
! (2/11) YouTube Home Short Section 7 Videos Per Row Fix / YouTube Fix & Customization
youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-slim-items-per-row: 7 !important;)
youtube.com##ytd-rich-shelf-renderer, html:style(--ytd-rich-grid-items-per-row: 7 !important;)
youtube.com##ytd-rich-grid-renderer, html:style(--ytd-rich-grid-game-cards-per-row: 7 !important;)
@MarkusMaal
MarkusMaal / FlipnicFreecam-public.CT
Last active December 31, 2025 02:59
Cheat Engine Cheat Table for Flipnic running on PCSX2
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="45">
<Forms>
<FlipnicFreecam Class="TCEForm" Encoding="Ascii85">rC3^U8b:gfAZ8aZj[o8)n(vW1/6N4:N$fTcma5hU6I-$a3Z$]-,i1KDF!C{)X9gTseX9D/sxN**59lwcs.aMj;r4Mg]qJ48usbZU+s^d3-ZST%=_kRB^Ch;yDy6}]y@]B3P{Z6(Sh!8FSzrj6uyt,,*kWe=Ho1jxqbU,BmZ.En.[vv)Yg]jed7oW31?598C4x}*(+U}M44Ow9kge,L#B5T:Gc*i:p3=LjYzs[D@1NpRcvfa{7Dhz$ZDid0o^39RITs9KBKYzyeA{11s5{TifXRphnDh=J/xw4WEU]-o7L?7fT5DGd+#Sw{A7yc3Aw5(*WdTo$M1n}cNx4an@}:F^y;X:FgSir962b/}/6T-qhEbv%,u-$uHZ2_##B9l(6hSO(AJ]?p$nCJ^Iu_cc7qRqCZs$wHxE)QlW!e6FqNOBH8yz7iN%g*wbx4ZOdK_@yw/)I;bQy{?;qkAl[ed]i8Cvs5zpl95+X2B)FOpr[.plY{AuCUhiGF94d^A!AfACdXzdiZbtF{;rhecLHEUsx][+Pte]N^YmOvJb1JRVq#X[[G_=!ZH2rOE:eoo{webkAVc$?$foXYp!3uaoe_mNeke29=?dgAAXsb++LGB+..VGQ+E.c3(o6hr2hS@nErAZ,{1@P}iF1jbQNpm=Ps!yc[AHpU1c#Yi7S;1*:6ALme:AQ=*,Orf]]ESglU5]qi-2;S)Lgkyg,7GRW_+UPaCY5-4tX77Klg+(?RYOdeDqYapRy%aB(L4iZ0U.c7u(Z8B8fAT_qou7DDu#2=x.CAOr5Xh@9Ns2RTti}Fv$S[X-qwQ1?:ZA-(iM@wY)i3i8m#G?)B]zs=E.9*-,5914DDcqHjJm;**[9F5yew@G1(xPrE+gGQ,dl7
@MarkusMaal
MarkusMaal / tmd.hexpat
Created May 17, 2025 17:38
ImHex Pattern - PlayStation .TMD file format (3D models)
// based on:
// http://justsolve.archiveteam.org/wiki/TMD_(PlayStation)
struct FlatTriangleVertexNormals {
u8 r,g,b,unknown;
u16 n0;
u16 v0;
u16 n1;
u16 v1;
u16 n2;
@MarkusMaal
MarkusMaal / main.py
Created May 10, 2025 14:28
Map finder for NationsConverter
# requires pygbx from PyPI
from pygbx import Gbx, GbxType
import os, glob
def TrackInfo(path):
# add more authors to include
whitelisted_authors = ["Nadeo"]
# specify environments
@MarkusMaal
MarkusMaal / flipnic_coords.txt
Last active December 19, 2024 21:02
Ball teleportation hacks in Flipnic
*** Flipnic research : Ball teleportation ***
The ball can be teleported to a specific area by changing the value at specified offset to something else. This offset is different depending on the stage and its variant.
You can use these offsets and values by doing the following:
1. Locate the stage you are currently trying to play
2. Copy its offset
3. Open PCSX2 Debugger while the game is running and stage has loaded
4. Press Ctrl+G to go to an offset
5. Paste the copied offset and press Enter
6. Copy a value for one of the areas and paste it at the offset
@MarkusMaal
MarkusMaal / flipnic_camera.txt
Created January 30, 2024 16:22
Free camera in Flipnic (PS2)
These are offsets in PlayStation 2 memory and for the PAL version of the game. These offsets will be different for other versions of the game.
To help you find the correct offsets for your version of the game, load the Metallurgy A stage (a 5-minute demo of this stage is immediately accessible even if you don't have a completed save file) and after letting the animation play, search for this array of bytes in memory: 4A F0 40 44 00 00 D0 41 BA 18 1D 44 00 00 80 3F 4A 30 47 44 FC FF FF 3F BA D8 16 44 00 00 80 3F 00 00 00 00 00 00 00 00 (the trailing zeroes are needed to make sure we only get a single search result)
TIP: You can pause the game if you only have access to the demo. The game will freeze the timer, while still letting you control the camera in memory!
You can edit the memory in PCSX2 nightly builds if you open the debugger under the "Debug" menu (this needs to be enabled in preferences) and go to the "Memory Search" subtab under R5900 tab. Then set type to "Array of byte", enter this value and h
@MarkusMaal
MarkusMaal / NTERRORDATABASE.txt
Created January 30, 2024 15:40
List of Windows NT stop error codes
0x00000001 APC_INDEX_MISMATCH
0x00000002 DEVICE_QUEUE_NOT_BUSY
0x00000003 INVALID_AFFINITY_SET
0x00000004 INVALID_DATA_ACCESS_TRAP
0x00000005 INVALID_PROCESS_ATTACH_ATTEMPT
0x00000006 INVALID_PROCESS_DETACH_ATTEMPT
0x00000007 INVALID_SOFTWARE_INTERRUPT
0x00000008 IRQL_NOT_DISPATCH_LEVEL
0x00000009 IRQL_NOT_GREATER_OR_EQUAL
0x0000000A IRQL_NOT_LESS_OR_EQUAL
@MarkusMaal
MarkusMaal / convert_linux.sh
Last active April 29, 2025 21:17
DaVinci Resolve conversion script for Linux
#!/bin/bash
declare -a queue
echo "This script allows you to convert video file(s) so that they work with DaVinci Resolve free in Linux."
while true; do
read -p "DRAG a video file to this window: " filename
filename="${filename//\'/}"
queue+=("$filename")
echo -ne "Convert another video file? [Y/N]"
read -rsn1 val
echo