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
#! /usr/bin/perl | |
#This makes two files in $ShrineMusicOutputFolder, BotwShrine_Blessing.wav and BotwShrine_Standard.wav that are both $RuntimeSeconds long | |
#This uses files to generate really random shrine music as heard in Breath of the Wild with the actual rules https://www.youtube.com/watch?v=6logXysLpNk for all the instruments | |
#BGM_Dungeon_Arp_*.bfwav.wav (8), BGM_Dungeon_Bass_*.bfwav.wav (16), BGM_Dungeon_Bell_*.bfwav.wav (2), BGM_Dungeon_Lead_*.bfwav.wav, BGM_Dungeon_Piano_*.bfwav.wav (8), BGM_Dungeon_Strings_*.bfwav.wav (4) | |
#must all be under $ShrineMusicFileFolder | |
#The folder must contain all the files from DungeonBgm, DungeonNormalBgm, and DungeonRewardBgm (probably converted to .wav) | |
$ShrineMusicFileFolder = "/Path/To/DungeonAll/"; |
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 | |
mkdir -p /var/cache/kerneltest | |
#Make a file system image for the VM, and mount it. | |
if [[ -e /var/cache/kerneltest/fs.img ]] | |
then | |
rm /var/cache/kerneltest/fs.img | |
fi | |
truncate -s 2G /var/cache/kerneltest/fs.img | |
mkfs.ext4 /var/cache/kerneltest/fs.img |
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
#Licence GPLv2 | |
# | |
#CharsToLettersMapping.csv | |
#CharsToLettersMapping.json | |
#files are not needed for this script, but they are generated for fixed usage, if you don't want to rely on parsing files from Unicode.org to make your own variant | |
# | |
function ConvertMvpText-ToScrubText($MVPText) | |
{ | |
#Try to be efficient in using files from Unicode.org | |
if ($Global:StrangeCharsToLettersMapping -eq $Null) |