#!/bin/bash if [ $# -eq 0 ]; then echo "Usage: $0 " exit 1 fi profile="$1" wget https://gitea.tendokyu.moe/TeamTofuShop/segatools/releases/download/latest/segatools.zip -O /tmp/segatools.zip unzip -p /tmp/segatools.zip mercury.zip | bsdtar -xf- -C /tmp/wacca/$profile/game/bin mkdir -p /tmp/wacca/$profile/segatools/{amfs,appdata,option} source profiles/$profile/metadata wget $icf -O /tmp/wacca/$profile/segatools/amfs/ICF1 # [vfs] # ; Insert the path to the game AMFS directory here (contains ICF1 and ICF2) # amfs=..\\..\\segatools\amfs # ; Insert the path to the game Option directory here (unused in Mercury) # option=..\\..\\segatools\option # ; Create an empty directory somewhere and insert the path here. # ; This directory may be shared between multiple SEGA games. # ; NOTE: This has nothing to do with Windows %APPDATA%. # appdata=..\\..\\segatools\appdata