Skip to content

Instantly share code, notes, and snippets.

View Venipa's full-sized avatar
:shipit:
Working from home

Venipa

:shipit:
Working from home
View GitHub Profile
@Venipa
Venipa / enable-naraka-advanced-physics.ps1
Last active July 30, 2025 19:13
Enables Naraka's "Advanced" Physics for certain bodyparts.
# Find Naraka: Bladepoint installation path from Steam library folders
# Get Steam installation path from registry
# Get all Steam library paths from registry
$steamLibraries = @()
# Try to get main Steam path from both possible registry locations
$steamRegPaths = @(
"HKLM:\SOFTWARE\WOW6432Node\Valve\Steam"
)
@Venipa
Venipa / move-media-to-folder-level.ps1
Created August 11, 2025 14:44
Moves video files under folders to the upper level and adopts the folder name.
# Moves video files under folders to the upper level and adopts the folder name.
# for example FolderA\FileA.mp4 => FolderA.mp4
# duplicates will append a number, FolderA_<1-100>.mp4, max 100 files can be moved to the upper level.
#
# Use cases:
# - Movie folders with the movie inside
# - Single Album Covers with single or multiple of the same cover.
#
# Check if the first argument is a folder; otherwise, prompt for a folder
# Check if the first argument exists and is a folder; if so, use it as the base directory