From a013a3136d1c48e4b33a02bc3da98c8f2e945a26 Mon Sep 17 00:00:00 2001 From: OCbwoy3 Date: Thu, 29 May 2025 15:24:24 +0300 Subject: [PATCH] VASARAAAAAAAAAAAAAAAAAAA!!!!!!!!!!!!!!! --- bun.lockb | Bin 16741 -> 17125 bytes package.json | 1 + scripts/bin/betterSplash.ts | 110 +++++++++++++++++++---- scripts/bin/patchInternalRobloxStudio.ts | 3 + scripts/bin/r2Upload.ts | 9 +- 5 files changed, 104 insertions(+), 19 deletions(-) diff --git a/bun.lockb b/bun.lockb index 56afe13e4f5a26cacec2f0692a52f392b19b60b2..761def7b5e26f790de86ac5e3c75c4c890377bc3 100755 GIT binary patch delta 2328 zcmaFb#Q3z8ae|(va{Wo8!-wuQHU6kSA&_*F{gTax-+H&NxcD@%RbTgB%Ngp#00!C< z!{zJ$Yk}ENLXd%>p*SP4sDOciA%%&7L5YE(!G(!|L4kpxL6wPtL7su3ft`tgL5_i; z;Uy!4KEuesAj`neuz`_*L56{$VG5M4Vq{>DVqj=UVq{>DU|?wQW@KOxXJBYBWn^Fw zV_;~I2hsHm3=Le23=Ej zoXjK!28Ou|3=G^Lho|P2r4}(TBwo6ml^za4|46h;cD6@Gvkm zeCJ|d;A3ED@Z@G-2nA_O$uCLGD`Q|tWME+6WMF6rWq>I3V1O84!N9;E015#H1_ogU zh6ZT{h=Inu5cT!E5C`u^81SXR_L}HnB1= zL`=?Qwr0J>%D@l;X6dmpFa&{F4Qvby0btezI7@+@fx!^74#IqVsYC$HqNXH1>^lEa>H!(>fPd&Vb|Gdb-U^(U|7v}dfI{F2k2 zarRvTUh2CK=sJl2d|lUMTCGhUedlEYMoB?u+~rd%lV>f}-Xh z|35|s2Gz+cWx^*%$ns9+mGx#+pByP0KAA&~ck*6YZ${0@oO0oeTALH)teF@WZ=S2* z&N$hCS!DAQMLCYi2?B;(4xmV8U|$N&|H43Z4sf)7*}GJuK>2?lV%2`V%}*`5L!)l(DyAxh5Zb~ad$R|xs)RSban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Jik z7#NHg7#P$T7#KiSgAxrWiq)YBMu&lcjRBNG0w#xQYcpz2j@3CV2P!~73PGAc3PE&) z4#@Qk3|9;%+v%!J&d{|G2bD4M<&mQQ9@zLWF~%9`85-%CGMG-js4L0nH2JlzB%|MC zR=q}PSb>-Ev!;Q?eyclJt%05~1H;tG3-u%!mrdTSCn*gpJ{!+7sRuVR)v_=e=ouU9 znKCe(oBUo+(iB$Q9{Qp4WBrM@ixBd#0=ZzB-HxW}*YgoFJdq|<*%K!Hfcc=1sZ52nTYMi`ZUy^a|WNkx9#+{P|4J8?`P3AR_ zWctE5`JRCUqtIkW14%~1$ a + b) % + array.length; + return array[index]; +} + const splashes = [ - "not ben shaped pear-o", + "Keep on ricing yo' Hyprland", + "Let's make today even better!", - "\"I use Nix, btw!\" - OCbwoy3", - "I use Nix, btw!", - "Nix beats arch", - - "You like kissing boys, don't you?", - - "Now with gay furries :3", - "Now with femboys :3", + "\"iUseNixBTW\" You literally... Roblox?", + "is it just me or the arch/nix pipeline turned me into a closeted femboy?", + "the nix pipeline is real", + "Anti-OCbwoy3-ifier MV2 Premium.xpi", + + "Do crabs think fish are flying?", + "Don't forget to water your thoughts.", + "Fox detected. Please pet gently.", + + // Venting ones + + "mount /dev/boyfriend ~", + isLatvian + ? "Latvia.. I hate it here, I wanna move." /* extremely accurate unbiased content coming from a latvian himself */ + : "NOT going back Latvia.", + "rm -rf ~", + + // Minecraft (DEI ones) + + "Amplify and listen to BIPOC voices!", + "Support the BIPOC community and creators!", + "Contains infinite genders!", + "Remember to use gender neutral pronouns!", + "You are valid!", + "I'm glad you're here!", + "You are welcome here!", + "Your gender is valid!", + + // Regretevator ones + + "dr! ar u sure i cant drink 20 blogsy's??", + "That subway wuz so dark! Can't have a party withowt silly litez!", + "Blogsy is so AWESOME!", + "My life is liek a video game i think", + + "What’s yer favorite type o’ wood?", + "Everybody knows th’ best kind o’ buildin’ is made outta grit and woodwork!", + + // Me IRL + + "tfw Hyprland boots faster than I do", + "everyone gangsta till your free trial of life ends", + + // Reality + + "flake 'flake:self' does not provide attribute 'willpower'", + "copilot stop writing my thoughts", + "404: purpose not found", + "respawn button greyed out", + "you’ve reached the end of the existential demo", + "feeling like an empty JSON object" + ]; const debug: boolean = false as false | true; if (debug === true) { - splashes.forEach(async(a)=>{ - await $`notify-send "Welcome to... your PC?" "${a}"`; - }) + splashes.forEach(async (a) => { + await $`notify-send "Welcome to Hyprland!" "${a}"`; + }); } else { - const randomSplash = splashes[Math.floor(Math.random() * splashes.length)]; - - await $`notify-send "Welcome to... your PC?" "${randomSplash}"`; -} + const randomSplash = chooseRandom(splashes); + await $`notify-send "Welcome to Hyprland!" "${randomSplash}"`; +} diff --git a/scripts/bin/patchInternalRobloxStudio.ts b/scripts/bin/patchInternalRobloxStudio.ts index 04ea18d..21b922f 100644 --- a/scripts/bin/patchInternalRobloxStudio.ts +++ b/scripts/bin/patchInternalRobloxStudio.ts @@ -1,6 +1,9 @@ import { promises as fs } from "fs"; import * as path from "path"; import * as os from "os"; +import { setConsoleTitle } from "@ocbwoy3/libocbwoy3"; + +setConsoleTitle("Roblox Studio patcher"); const SIGNATURE = Buffer.from([ 0x48, 0x81, 0xEC, 0x40, 0x03, 0x00, 0x00, 0x84, 0xD2, 0x74, 0x05, 0xE8 diff --git a/scripts/bin/r2Upload.ts b/scripts/bin/r2Upload.ts index b0854f6..201f495 100644 --- a/scripts/bin/r2Upload.ts +++ b/scripts/bin/r2Upload.ts @@ -3,6 +3,9 @@ import { configDotenv } from "dotenv"; import { homedir } from "os"; import { readdirSync, readFileSync, statSync } from "fs"; import { join } from "path"; +import { setConsoleTitle } from "@ocbwoy3/libocbwoy3"; + +setConsoleTitle("R2 Uploader"); try { const start = Date.now(); @@ -34,12 +37,12 @@ try { let [ _, regretevator, floorNum ] = latestFile.match(/\-(regretevator)\-?([0-9]+)?\.png$/) || []; + // the devs changed rich presence, what's the point of parsing the filename if tuxstrap doesn't update the state file anymore? if (regretevator === "regretevator") { latestFile = latestFile.replace(`-regretevator${floorNum ? `-${floorNum}` : ""}.png`,".png") + // OR i could keep the filename and have my worker parse the filename if (floorNum) { urlParams = `?floor=${floorNum}` - } else { - urlParams = `` } } @@ -52,7 +55,7 @@ try { } catch (e_) { const cx = `${e_}`.toLowerCase(); if (cx.includes("enable r2") && cx.includes("cloudflare dashboard")) { - $`notify-send "Cloudflare" "bro u mf didnt pay for r2 >:(
${`${e_}`}"`.nothrow().catch(a => { }); + $`notify-send "Cloudflare" "You owe Cloudflare money!! >:(
${`${e_}`}"`.nothrow().catch(a => { }); process.exit(0); } $`notify-send "Screenshot" "${`${e_}`}"`.nothrow().catch(a => { });