Last active
August 30, 2018 15:24
-
-
Save MrYakobo/6d5f0e280a46147ae1a3d165b0f4965e to your computer and use it in GitHub Desktop.
Automated download and extract process from https://wiiu.hacks.guide/get-started
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/env bash | |
echo "This script follows the guide from https://wiiu.hacks.guide/get-started as of 2018-08-30." | |
mkdir -p SDCARD | |
cd SDCARD | |
declare -a files=( | |
https://wiiu.hacks.guide/assets/files/config.txt \ | |
https://wiiu.hacks.guide/assets/files/config.ini \ | |
https://github.com/vgmoose/hbas/releases/download/1.5/appstore15.zip \ | |
http://wiiubru.com/appstore/zips/wup_installer_gx2.zip \ | |
https://github.com/koolkdev/disc2app/releases/download/v1.0/disc2app.zip \ | |
https://github.com/Maschell/hid_to_vpad/releases/download/v0.9k/HIDtoVPAD.v0.9k.zip \ | |
https://www.wiiubru.com/appstore/zips/mocha.zip \ | |
https://github.com/GabyPCgeeK/savemii/releases/download/1.2.0.mod5/savemii_mod5.zip \ | |
https://github.com/dimok789/homebrew_launcher/releases/download/v2.1/homebrew_launcher_channel.v2.1.zip \ | |
https://github.com/dimok789/homebrew_launcher/releases/download/v1.3/homebrew_launcher.v1.3.zip \ | |
https://github.com/koolkdev/wiiu-nanddumper/releases/download/v0.3/nanddumper.zip \ | |
https://github.com/FIX94/haxchi/releases/download/v2.5u2_v1.6/Haxchi_v2.5u2.zip \ | |
https://github.com/FIX94/haxchi/releases/download/v2.5u2_v1.6/CBHC_v1.6.zip \ | |
https://wiiubru.com/appstore/zips/nnupatcher.zip | |
) | |
download(){ | |
echo "Downloading all files, please wait..." | |
for i in "${files[@]}"; do | |
if ! [ -f $(basename "$i") ]; then # if not already downloaded | |
curl -LO "$i" | |
fi | |
done | |
echo "Download complete!" | |
#curl -LOOOOOOOOOOOOOO -C - \ | |
} | |
extract(){ # extraction done in order to the guide, don't know if this is neccessary. Overwrites old files | |
mkdir -p wiiu install | |
unzip -o appstore15.zip -d wiiu | |
unzip -o homebrew_launcher.v1.3.zip | |
unzip -o Haxchi_v2.5u2.zip | |
unzip -o CBHC_v1.6.zip | |
mv config.txt haxchi/ | |
mkdir -p install/hbc | |
unzip -o homebrew_launcher_channel.v2.1.zip -d install/hbc | |
unzip -o savemii_mod5.zip -d wiiu/apps | |
unzip -o wup_installer_gx2.zip | |
unzip -o disc2app.zip | |
unzip -o HIDtoVPAD.v0.9k.zip | |
unzip -o nnupatcher.zip | |
unzip -o nanddumper.zip | |
unzip -o mocha.zip | |
mv config.ini wiiu/apps/mocha | |
} | |
download | |
echo "Now extracting..." | |
extract &> /dev/null | |
echo "Configuration complete, copy the files in SDCARD/ to the root of your SD card." | |
rm *.zip | |
cd - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment