This file contains hidden or 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 hidden or 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 hidden or 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 |
NewerOlder