This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param ( | |
[switch]$en = $true, | |
[switch]$jp = $false, | |
[switch]$ko = $false, | |
[switch]$cn = $false, | |
[switch]$extract = $false | |
) | |
Add-Type -Assembly System.Windows.Forms |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import subprocess | |
import json | |
import urllib | |
import urllib.request | |
import urllib.parse | |
API_HOST = "hk4e-api-os.hoyoverse.com" | |
def get_wish_urls(): |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to login to ToF on PlayCover | |
# Select the ToF version | |
echo "Please select the region of ToF you want to login to:" | |
echo "[1] Global" | |
echo "[2] China" | |
read -p "Enter your choice: " choice | |
if [ $choice -eq 1 ]; then |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
konabess://H4sIAAAAAAAAAM3Wy26cMBQG4FdBdBskX8FO06q7dtEu21U3YDwJKrfgJI0myrsXSMcx0TkpSJlRZ+nfPnwD6BcPsbmq+vg8blzTVrWNz+LSOjMufP0c/ZAkopJ8+7KPvrelHUzdmV/jjt1gr8cd16Zrzi7726T/PdT2ztYuIdHDz/ZdXpaDdS4xtq5d9CG6IPf04/sxcNXehqtkWp3HuN7aMimq9mVQtdVNldf+Gk955vPw+p/myw/2ct602DKRn46ywuy4NM9xceuCuFisNwfQi+X8Plh+BC00sFDMkjKZE3J0CwssDLOw0qZCHN3CAwtHLLQ0lOP3RcMWtdkiAovALDrjiqDvSwpbJGzRuEUGFolZhCZCoc+IwxYOWyRuSQNLilh2kiq2lcJgisApWUDJEIrakZKqo1NUQFEIBUMQGEFgBDkgQIhL6BvV7HMvwTW7fA+31aziRW7/k5p9vdpy2KI3W9bU7KmqbVXNnqjaVtXs69UmYMv2altTsyeqtjUte4Q+GT/g7rr6ZvyA6/o+ybgk82/CTAtX+79nIh9Np6eoqczQTWfnF5z5uzxlaYbO8dGqOYKgcw4ROIdqHs6RCvX4CJ4jFh6hNUPm+Aico7PFGJZhHB+BYxQNx3CB/isfgWPkQsMkqvEROEbocAyV6LPy0T/GxI9/AHUOwwmCDAAA |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Please make sure GPTK dmg is mounted" | |
read -p "Press enter to continue" | |
# Install GPTK | |
ditto /Volumes/Game\ Porting\ Toolkit-1.0/lib/ ~/Library/Application\ Support/Whisky/Libraries/Wine/lib | |
cd ~/Library/Application\ Support/Whisky/Libraries/Wine/lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import urllib.request | |
import html.parser | |
import json | |
TARGET_URL = ( | |
"http://www.pix" "iv.net/ran" "king.php" "?mode=daily&content=illust&p=" | |
) | |
PAGES = 4 | |
# get a UA from useragents.me/api |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$TargetUrl = "https://pixiv.net/ranking.php?mode=daily&content=illust&p=" | |
$Pages = 4 | |
Add-Type -TypeDefinition @' | |
using System.Runtime.InteropServices; | |
public class Wallpaper { | |
public const uint SPI_SETDESKWALLPAPER = 0x0014; | |
public const uint SPIF_UPDATEINIFILE = 0x01; | |
public const uint SPIF_SENDWININICHANGE = 0x02; | |
[DllImport("user32.dll", SetLastError = true, CharSet = CharSet.Auto)] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Script to recursively find mach-o binaries in a directory | |
# and convert the buildtools using vtool to IOSSIMULATOR | |
import os | |
import subprocess | |
# Path to the vtool | |
vtool_path = "/usr/bin/vtool" | |
codesign_path = "/usr/bin/codesign" | |
xattr_path = "/usr/bin/xattr" |
OlderNewer