Skip to content

Instantly share code, notes, and snippets.

@LOuroboros
LOuroboros / Reghook.js
Created July 22, 2019 17:47 — forked from Tazeki/Reghook.js
YouTube / Invidious RegEx based URL conversion.
// ==UserScript==
// @name URL Conversion | YouTube - Invidious
// @namespace Tazeki
// @description The smallest, possibly most useful YouTube-Invidious conversion script. RegEx based. Report bugs to tangentale@protonmail.com. Sends any /www.youtube.com/ sites to Invidious before page load. Does not affect /other.youtube.com/, (gaming.youtube.com, creatoracademy.youtube.com, etc.).
// @include *youtube*
// @version 1
// @grant none
// @run-at document-start
// ==/UserScript==
@LOuroboros
LOuroboros / PokeScript.xml
Created February 28, 2020 04:21
PokeScript, a User Defined Language for Notepad++ created by Ryuhouji
<NotepadPlus>
<UserLang name="PokeScript" ext="inc" udlVersion="2.1">
<Settings>
<Global caseIgnored="yes" allowFoldOfComments="yes" foldCompact="no" forcePureLC="0" decimalSeparator="0" />
<Prefix Keywords1="no" Keywords2="no" Keywords3="yes" Keywords4="no" Keywords5="yes" Keywords6="yes" Keywords7="yes" Keywords8="no" />
</Settings>
<KeywordLists>
<Keywords name="Comments">00@ 01 02((EOL)) 03 04</Keywords>
<Keywords name="Numbers, prefix1"></Keywords>
<Keywords name="Numbers, prefix2"></Keywords>
@LOuroboros
LOuroboros / StopVMServices.bat
Created November 15, 2021 13:36
Stop VM Services (including WSL)
:: Comment: I use this to shutdown WSL whenever I need to put Windows on a Sleep/Hibernate state.
ECHO Stopping VM Services
sc stop hns
sc stop vmcompute
sc stop lxssmanager
exit
@LOuroboros
LOuroboros / alias.cmd
Created April 22, 2022 21:39
Windows CMD Aliases/Shortcuts
@echo off
:: Usage:
:: Make a String key called "AutoRun" in HKEY_CURRENT_USER\Software\Microsoft\Command Processor
:: Point it to this file, and restart CMD if you have it opened.
DOSKEY ls=dir /B
DOSKEY desktop=cd C:\Users\%USERNAME%\Desktop
DOSKEY explore=explorer.exe .
DOSKEY compact=compact /C /F /S /A /EXE:LZX
@LOuroboros
LOuroboros / 94A82AAA.pnach
Created July 12, 2022 03:51
P3 FES Widescreen Patches for PCSX2
gametitle=Shin Megami Tensei: Persona 3 FES (U)(SLUS-21621)
comment=Widescreen hack by nemesis2000, devina, CeruleansBlue, Arapapa
// Introduction:
// Every cheat below the FMV fix used to be included in PCSX2's code.
// They were removed because some of them are supposedly related to a 60FPS uncapping cheat though.
// https://github.com/PCSX2/pcsx2/commit/d82d25cc102b26275dba952fa9d02abf87df3ea8
// The original file can still be obtained from here:
// https://github.com/PCSX2/pcsx2/blob/d79b4b2352df48d7f36171869c5cbe713dfcda89/bin/resources/cheats_ws.zip
// But it's easier to just host it directly since I don't care about the WS patch of any other game at this point in time.
@LOuroboros
LOuroboros / ScaleModels.json
Last active October 25, 2022 11:57
Scale Models for Magpie
[
// Solid options for anime~esque games and RPG Maker games.
{"name":"Anime4K UpDenS","effects":[
{"effect":"Anime4K_Upscale_Denoise_S"},
{"effect":"CatmullRom","scale":[-1,-1]},
{"effect":"FSR_EASU","scale":[-1,-1]},
{"effect":"FSR_RCAS","sharpness":0.85},
]},
@LOuroboros
LOuroboros / dizzyeggs_works.txt
Last active October 26, 2022 09:51
How to start a project using DizzyEgg's works [OUTDATED!]
[CENTER]So, we have our environment set up and ready to go [I]([B][URL="https://www.pokecommunity.com/showthread.php?t=432351"]WSL[/URL][/B] or [B][URL="https://www.pokecommunity.com/showthread.php?t=425246"]MSys2[/URL][/B])[/I], we know the basics of building a ROM in Pokeemerald.
What can we do now? Well, a lot of things.
Today I'll teach you all, how to:
[list]
[*] Set up a working Pokeemerald project including DizzyEgg's works.
[*] Create a new GitHub repository for our project needs.
[*] Link up our local project with the GitHub repository we just created for it.
[/list]
@LOuroboros
LOuroboros / force_mobile_bulbapedia.js
Created November 18, 2022 16:42
Force Mobile Bulbapedia
// ==UserScript==
// @name Force Mobile Bulbapedia
// @match *://bulbapedia.bulbagarden.net/*
// @run-at document-start
// @grant none
// ==/UserScript==
var oldUrlPath = window.location.pathname;
// Check if ".m" is present in the URL. If not, append it before the host.
@LOuroboros
LOuroboros / sublime.txt
Last active March 6, 2023 07:48
My Sublime Text Preferences
{
"close_windows_when_empty": true,
"color_scheme": "Packages/Theme - One Dark/Widget - One Dark.tmTheme",
"font_size": 10,
"ignored_packages": ["Vintage",],
"theme": "Spacegray.sublime-theme",
"word_wrap": true,
"fold_buttons": false,
"margin": 0,
"show_rel_path": true,
[center]
27 of January from 2023. I'm rewriting this tutorial. I should have done it much sooner, but y'all know me; I'm lazy.
What are the goals? To explain in simple steps how to set up an environment to build Pret's Pokémon Decompilation Projects on WSL.
What is being added? Explanations on how to set up a WSL2 environment and considerations to keep in mind and such.
What's driving me to do this after so long? Devkitpro, in a way. I won't say more.
Let's get to it.
Before we start, I'll need you to make a choice; WSL1 or WSL2.
[size=4][b]List of Pros and Cons[/b][/size]: