Skip to content

Instantly share code, notes, and snippets.

View ohaiibuzzle's full-sized avatar

OHaiiBuzzle ohaiibuzzle

View GitHub Profile
"""
A simple and silly HTTP server that plays audio from internet sources
"""
from http import server
import urllib
import subprocess
ffplay = None
player = None
url = None
@ohaiibuzzle
ohaiibuzzle / download_gs.ps1
Created July 5, 2021 05:28
Download Genshin without the launcher
param (
[switch]$en = $true,
[switch]$jp = $false,
[switch]$ko = $false,
[switch]$cn = $false,
[switch]$extract = $false
)
Add-Type -Assembly System.Windows.Forms
@ohaiibuzzle
ohaiibuzzle / gsfilecheck.ps1
Last active July 5, 2021 05:04
Check exactly what Genshin file went boom
Add-Type -AssemblyName System.Windows.Forms
$hash_files = @('.\pkg_version', '.\Audio_English(US)_pkg_version', '.\Audio_Japanese_pkg_version', '.\Audio_Korean_pkg_version', '.\Audio_Chinese_pkg_version')
Write-Host("Select your game folder...")
$FileBrowser = New-Object System.Windows.Forms.FolderBrowserDialog
$FileBrowser.Description = "Select your game folder"
if($FileBrowser.ShowDialog((New-Object System.Windows.Forms.Form -Property @{TopMost = $true })) -eq "OK"){
Set-Location($FileBrowser.SelectedPath)
} else {
return 1