Skip to content

Instantly share code, notes, and snippets.

View manciuszz's full-sized avatar

MMWorks manciuszz

View GitHub Profile
@manciuszz
manciuszz / geekbenchLeaderboards.js
Last active April 3, 2025 20:08
A simple script to fetch the 'leaderboards' from Geekbench using JavaScript
{
const PARAMETERS = {
OS: "Windows",
CPU: "10875H"
};
const getScores = function(page) {
return Array.from(page.querySelectorAll('.list-col-inner > .row')).map((row) => {
const model = row.querySelector('.list-col-model').innerText;
const scores = Array.from(row.querySelectorAll('.list-col-text-score')).map((score) => parseInt(score.textContent));
@manciuszz
manciuszz / spotUrlReplacer.userscript.js
Last active March 30, 2025 20:49
Discord's Spotify song link replacer with available alternatives userscript using Songlink/Odesli services.
// ==UserScript==
// @name Spotify Preview to Full Song Replacer
// @version 1.0
// @author MMWorks
// @include https://discord.com/channels/*
// @connect api.song.link
// @grant GM.xmlHttpRequest
// @grant unsafeWindow
// ==/UserScript==
@manciuszz
manciuszz / CVarsDump.json
Last active September 16, 2024 17:08
Star Wars Jedi: Survivor (Patch 9) Complete UE 4.26.2 Default CVars Dump
This file has been truncated, but you can view the full file.
{
"": {
"Flags": [
"Unregistered",
"CreatedFromIni",
"SetByScalability"
],
"Helptext": "IAmNoRealVariable",
"type": "String",
"value": "0"
@manciuszz
manciuszz / AutoExecutor.ahk
Last active September 6, 2024 21:42
Fast 'shell:startup' and Task Scheduler Auto Application Startup replacement using AutoHotkey
#NoEnv
#SingleInstance Force
#NoTrayIcon
SetBatchLines, -1
SetKeyDelay, -1, 1
SetMouseDelay, -1
SetWinDelay, -1
SetControlDelay, -1
@manciuszz
manciuszz / Optimized-Steam.ahk
Created April 6, 2023 01:43
Fast No-Browser STEAM Client Launcher using AutoHotkey
#NoEnv
#NoTrayIcon
ListLines Off
SetBatchLines, -1
Process, Priority,, H
SetWorkingDir %A_ScriptDir%
argumentList =
(
@manciuszz
manciuszz / OpenSymlink.reg
Created March 31, 2023 17:40
Windows 10/11 - Add 'Open real file location' context menu item.
@manciuszz
manciuszz / DeviceProfiles.ini
Last active September 22, 2023 22:55
The Finals Playtest Performance Config v2
[WindowsClient DeviceProfile]
TextureLODGroups=(Group=TEXTUREGROUP_World,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_WorldNormalMap,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_WorldSpecular,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_Character,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_CharacterNormalMap,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_CharacterSpecular,MinLODSize=0,MaxLODSize=512,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_Weapon,MinLODSize=0,MaxLODSize=256,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_WeaponNormalMap,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps)
TextureLODGroups=(Group=TEXTUREGROUP_WeaponSpecular,MinLODSize=0,MaxLODSize=0,MipGenSettings=TMGS_NoMipmaps)
@manciuszz
manciuszz / dumper.bat
Last active May 2, 2024 22:47
Dump Unreal Engine ini files by drag-dropping the game .exe on this batch file.
@echo off
set dumper_path=DumpedConfigs\
set process_path=%~1
start "Dump-Inis" "%process_path%" ^
-AHGameSettingsSubsystemIni=%dumper_path%AHGameSettingsSubsystem.ini ^
-ApexDestructionIni=%dumper_path%ApexDestruction.ini ^
-CameraCalibrationCoreIni=%dumper_path%CameraCalibrationCore.ini ^
-CompatIni=%dumper_path%Compat.ini ^
-DefCompatIni=%dumper_path%DefCompat.ini ^
-ComposureIni=%dumper_path%Composure.ini ^
@manciuszz
manciuszz / downgrade_steam.ps1
Last active March 30, 2024 01:02
Script to automatically download and extract the downgraded version of STEAM Client using PowerShell.
# Script requires to be relative to 'Steam.exe' in order to work
Start-Process -FilePath "Steam.exe" -NoNewWindow -Wait -ArgumentList "-forcesteamupdate", "-forcepackagedownload", "-overridepackageurl https://archive.org/download/dec2022steam", "-exitsteam"
Write-Host "Creating steam.cfg to block STEAM updates" -ForegroundColor Yellow
Set-Content -Path "steam.cfg" -Value "BootStrapperInhibitAll=enable"
Write-Host "... Now you can start STEAM as before with commands like '-no-browser'" -ForegroundColor Green
@manciuszz
manciuszz / DeviceProfiles.ini
Last active July 1, 2023 01:20
'Vampire: The Masquerade - Bloodhunt' performance tweaking
[WindowsNoEditor DeviceProfile]
CVars=D3D12.PSO.DiskCache=1
CVars=D3D12.PSO.DriverOptimizedDiskCache=1
CVars=r.ShaderPipelineCache.Enabled=1
CVars=r.ShaderPipelineCache.StartupMode=1
CVars=r.ShaderPipelineCache.PreOptimizeEnabled=1
CVars=r.ShaderPipelineCache.GameFileMaskEnabled=0
CVars=r.ShaderPipelineCache.BatchSize=50
CVars=r.ShaderPipelineCache.BackgroundBatchSize=1
CVars=r.ShaderPipelineCache.PrecompileBatchSize=50