hmm yes
This commit is contained in:
parent
3eb3659f71
commit
82d3d51dbf
4 changed files with 22 additions and 4 deletions
BIN
elapseio.dll
Executable file
BIN
elapseio.dll
Executable file
Binary file not shown.
2
init.sh
2
init.sh
|
|
@ -44,7 +44,7 @@ get_required_app () {
|
|||
}
|
||||
|
||||
import_from_ins () {
|
||||
result=$(blkid | grep SEGA_INS | head -n 1 | cut -d: -f1 )
|
||||
result=$(lsblk -fl | awk '/SEGA_INS/ {print "/dev/"$1; exit}')
|
||||
if [ -n "${result:-}" ]; then
|
||||
udisksctl mount --block-device $result
|
||||
mount_point=$(findmnt -n -o TARGET $result)
|
||||
|
|
|
|||
|
|
@ -1,9 +1,20 @@
|
|||
#!/bin/bash
|
||||
airgap=${AIRGAP:-false}
|
||||
set -e
|
||||
if [ -z ${dir+x} ]; then echo "\$dir not set, skipping."; exit 22; else
|
||||
wget https://gitea.tendokyu.moe/TeamTofuShop/segatools/releases/download/latest/segatools.zip -O /tmp/segatools.zip
|
||||
mkdir -p $dir/segatools/{amfs,appdata,option}
|
||||
unzip -p /tmp/segatools.zip mercury.zip | bsdtar -xf- -C $dir/game/bin
|
||||
if [ -f ../imagestore/misc/segatools.zip ]; then
|
||||
mkdir -p $dir/segatools/{amfs,appdata,option}
|
||||
unzip -p ../imagestore/misc/segatools.zip mercury.zip | bsdtar -xf- -C $dir/game/bin
|
||||
else
|
||||
if [ "$airgap" = false ]; then
|
||||
wget https://gitea.tendokyu.moe/TeamTofuShop/segatools/releases/download/latest/segatools.zip -O ../imagestore/misc/segatools.zip
|
||||
mkdir -p $dir/segatools/{amfs,appdata,option}
|
||||
unzip -p ../imagestore/misc/segatools.zip mercury.zip | bsdtar -xf- -C $dir/game/bin
|
||||
else
|
||||
echo "ERROR: Missing following segatools.zip"
|
||||
exit 2
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
sed -i '/^\[vfs\]/,/^\[/ {
|
||||
|
|
|
|||
7
patches/60-elapseio.sh
Normal file
7
patches/60-elapseio.sh
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
elapseio=${ELAPSEIO_ENABLE:-false}
|
||||
if [ "$elapseio" = true ]; then
|
||||
cp ../elapseio.dll $dir/game/bin
|
||||
sed -i '/^\[mercuryio\]/,/^path=/ s/^path=/path=elapseio.dll/' $dir/game/bin/segatools-netenv.ini
|
||||
fi
|
||||
Loading…
Reference in a new issue